/* ===============================================================
   PIXELECT LANDING PAGE - COMPACT & CLEAN STYLES
   =============================================================== */

:root {
    --primary: #8e44ad;
    --secondary: #3498db;
    --success: #2ecc71;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
}

/* ===============================================================
   HEADER - COMPACT DESIGN
   =============================================================== */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 15px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

/* Compact hover style for top-level links (exclude buttons) */
.nav-menu>ul>li>a:not(.btn) {
    padding: 8px 6px;
    border-radius: 6px;
}

.nav-menu>ul>li>a:not(.btn):hover {
    background: #f3f4f6;
    color: var(--primary);
}

/* Dropdown (Resources) */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-menu .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    z-index: 1001;
    transform: translateY(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-menu .dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown.open>.dropdown-toggle {
    color: var(--primary);
}

.nav-menu .dropdown .dropdown-menu li {
    padding: 0;
    list-style: none;
}

.nav-menu .dropdown .dropdown-menu a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
}

.nav-menu .dropdown .dropdown-menu a:hover {
    background: #f3f4f6;
    color: var(--primary);
}

.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown:hover>.dropdown-toggle {
    color: var(--primary);
}


.btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===============================================================
   HERO SECTION - COMPACT
   =============================================================== */
.hero {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .highlight {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===============================================================
   SECTION STYLES - COMPACT
   =============================================================== */
section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1rem;
}

/* ===============================================================
   FEATURES - COMPACT GRID
   =============================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(142, 68, 173, 0.1);
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===============================================================
   CTA SECTION - COMPACT
   =============================================================== */
.cta {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f8f9fa;
}

/* ===============================================================
   FOOTER - COMPACT
   =============================================================== */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* ===============================================================
   RESPONSIVE - MOBILE
   =============================================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile dropdown: hide by default, toggle with .open class */
    .nav-menu .dropdown .dropdown-menu {
        display: none;
        position: static;
        top: auto;
        left: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 4px 0 0 16px;
        margin: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
    }

    .nav-menu .dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown .dropdown-menu a {
        padding: 8px 0;
        font-size: 13px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ===============================================================
   ANIMATIONS
   =============================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ===============================================================
   OTHER TOOLS SECTION
   =============================================================== */
.other-tools {
    background: var(--gradient);
    padding: 80px 0;
    margin-bottom: 0;
    color: white;
}

.other-tools .section-title {
    color: white;
    margin-bottom: 15px;
}

.other-tools .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.tool-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.tool-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon-box i {
    font-size: 36px;
    color: white;
}

.tool-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.tool-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-tool {
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-tool:hover {
    transform: scale(1.05);
}

/* ===============================================================
   SUCCESS MODAL
   =============================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .success-modal {
    transform: translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.success-modal h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.success-modal p {
    color: var(--gray);
    margin-bottom: 25px;
}

.btn-modal {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Captcha Styles */
.captcha-group {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.captcha-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    letter-spacing: 2px;
    user-select: none;
}

.captcha-input {
    width: 80px !important;
    text-align: center;
    margin-bottom: 0 !important;
    padding: 8px !important;
}

.page-hero {
    padding: 120px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===============================================================
   CONTACT PAGE STYLES
   =============================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: var(--gradient);
    color: white;
    padding: 40px;
    border-radius: 16px;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(142, 68, 173, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.3);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================================================
   PRICING PAGE STYLES
   =============================================================== */
.pricing-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 20px 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 50px auto 0;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 25px 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #e9ecef;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.pricing-card.popular {
    border-color: #667eea;
    border-width: 2px;
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.15);
}

.pricing-card.popular::before {
    opacity: 1;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pricing-badge.most-value {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.price {
    text-align: center;
    margin: 10px 0 18px;
    position: relative;
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 1rem;
    color: #95a5a6;
    text-decoration: line-through;
    font-weight: 600;
}

.price .currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    vertical-align: super;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price .period {
    color: var(--gray);
    font-size: 0.8rem;
    display: block;
    margin-top: 8px;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: -25px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.pricing-features {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--dark);
    line-height: 1.4;
    font-weight: 500;
}

.pricing-features li .icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    color: #667eea;
}

.pricing-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    background: var(--gradient);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.25);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.pricing-btn.btn-outline {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    box-shadow: none;
}

.pricing-btn.btn-outline:hover {
    background: #667eea;
    color: white;
}

.free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 6px;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .price .amount {
        font-size: 2.2rem;
    }
}

:root {
    --primary: #3498db;
    --secondary: #8e44ad;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --gray: #95a5a6;
    --bg-light: #f8f9fa;
    --border: #dee2e6;
    --text-light: #2c3e50;
    --bg-dark: #1a2530;
    --text-dark: #a9b1d6;
    --card-dark: #24283b;
    --border-dark: #414868;
    --pixelect-gradient: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    --pixelect-purple: #8e44ad;
    --pixelect-blue: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4f8 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Main Content Container */
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
    padding: 100px 20px 40px;
}

.auth-container {
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 40px 50px;
    width: 100%;
    max-width: 480px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pixelect-gradient);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.auth-header .logo-icon-auth {
    font-size: 3.5rem;
    background: var(--pixelect-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.auth-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-header .subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 400;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.dark-mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--gray);
    font-size: 0.9rem;
}

.dark-mode-toggle .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.dark-mode-toggle .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dark-mode-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    transition: .4s;
    border-radius: 26px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark-mode-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle input:checked+.slider {
    background-color: var(--primary);
}

.dark-mode-toggle input:checked+.slider:before {
    transform: translateX(24px);
}

.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}

.progress-step {
    text-align: center;
    flex-grow: 1;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.85rem;
}

.progress-step .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 3px solid var(--border);
    transition: all 0.4s ease;
    font-size: 16px;
}

.progress-step.active .icon {
    background: var(--pixelect-gradient);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.progress-line {
    position: absolute;
    height: 3px;
    background-color: var(--border);
    top: 20px;
    left: 20%;
    width: 60%;
    z-index: 0;
    border-radius: 3px;
}

.progress-line-fill {
    height: 100%;
    width: 0%;
    background: var(--pixelect-gradient);
    transition: width 0.6s ease;
    border-radius: 3px;
}

.form-section-wrapper {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.form-container {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden-form {
    transform: translateX(120%);
    opacity: 0;
    position: absolute;
    width: 100%;
}

.active-form {
    transform: translateX(0);
    opacity: 1;
    position: relative;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.form-group:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    background-color: white;
    transform: translateY(-1px);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 42px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-strength {
    height: 6px;
    display: flex;
    gap: 3px;
    margin-top: 8px;
    border-radius: 6px;
    overflow: hidden;
}

.strength-bar {
    flex-grow: 1;
    background-color: var(--light);
    height: 100%;
    transition: background-color 0.3s;
    border-radius: 3px;
}

.password-strength.weak .strength-bar:nth-child(1) {
    background-color: var(--danger);
}

.password-strength.medium .strength-bar:nth-child(-n+2) {
    background-color: var(--warning);
}

.password-strength.strong .strength-bar {
    background-color: var(--success);
}

#otp-code {
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.6em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--pixelect-gradient);
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-link {
    font-size: 0.95rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-link:hover {
    text-decoration: underline;
    color: var(--secondary);
}

.message-area {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
    border: 2px solid transparent;
    font-weight: 500;
}

.message-area.success {
    background: linear-gradient(135deg, rgba(46, 174, 96, 0.1), rgba(46, 174, 96, 0.05));
    color: var(--success);
    border-color: var(--success);
}

.message-area.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    color: var(--danger);
    border-color: var(--danger);
}

.message-area.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    color: var(--primary);
    border-color: var(--primary);
}

.spinner {
    border: 4px solid rgba(52, 152, 219, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: var(--primary);
    animation: spin 1s ease infinite;
    margin: 25px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

/* Dark Mode Theme (scoped to content only) */
body.dark-mode {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1419 100%);
    color: var(--text-dark);
}

body.dark-mode .auth-container {
    background-color: var(--card-dark);
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode h1,
body.dark-mode label,
body.dark-mode .dark-mode-toggle {
    color: #c0caf5;
}

body.dark-mode input {
    background-color: #1f2335;
    color: #c0caf5;
    border-color: var(--border-dark);
}

body.dark-mode input:focus {
    background-color: #24283b;
    border-color: var(--primary);
}

body.dark-mode .progress-step {
    color: #737c9a;
}

body.dark-mode .progress-step .icon {
    background-color: #2a2f4d;
    border-color: #414868;
}

body.dark-mode .progress-step.active .icon {
    background: var(--pixelect-gradient);
    border-color: var(--primary);
}

body.dark-mode .progress-line {
    background-color: #414868;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .main-container {
        padding: 20px 10px;
        min-height: calc(100vh - 120px);
    }

    .auth-container {
        padding: 30px 25px;
        margin: 10px;
        border-radius: 15px;
    }

    .auth-header h1 {
        font-size: 1.6rem;
    }

    .auth-header .logo-icon-auth {
        font-size: 3rem;
    }

    .progress-step .icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .progress-step {
        font-size: 0.8rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"] {
        padding: 12px 14px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 1rem;
    }

    #otp-code {
        font-size: 1.5rem;
        letter-spacing: 0.4em;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px 10px;
    }

    .auth-container {
        padding: 25px 20px;
        max-width: 100%;
    }

    .form-section-wrapper {
        min-height: 480px;
    }

    .progress-indicator {
        margin-bottom: 25px;
    }

    .progress-step {
        font-size: 0.75rem;
    }

    .progress-step .icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ===============================================================
   OTHER TOOLS SECTION - BEAUTIFUL CARDS
   =============================================================== */
.other-tools .tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4) !important;
}

.other-tools .tool-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icon animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.other-tools .tool-card:hover .fas {
    animation: float 2s ease-in-out infinite;
}

/* Smooth section transitions */
section {
    scroll-margin-top: 80px;
}

/* Better responsive for tool cards */
@media (max-width: 768px) {
    .other-tools {
        padding: 60px 20px !important;
    }

    .other-tools .tool-card {
        padding: 30px 20px !important;
    }
}