@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════
   THEME VARIABLES — DARK (default)
   ══════════════════════════════════════════ */
[data-theme="dark"] {
    --primary: #00d4ff;
    --bg: #030811;
    --bg-alt: #000000;
    --card: #0c1117;
    --border: #1a2030;
    --text: #ffffff;
    --text-inv: #000000;
    --muted: #6b7280;
    --nav-bg: rgba(3, 8, 17, 0.85);
    --icon-toggle: "bi-sun-fill";
}

/* ══════════════════════════════════════════
   THEME VARIABLES — LIGHT
   ══════════════════════════════════════════ */
[data-theme="light"] {
    --primary: #0070f3;
    --bg: #f4f4f5;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --border: #e4e4e7;
    --text: #18181b;
    --text-inv: #ffffff;
    --muted: #71717a;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --icon-toggle: "bi-moon-stars-fill";
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    font-size: 1.0625rem;
    /* Base font size for better readability (17px) */
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════════════════
   PAGE LOADER
   ══════════════════════════════════════════ */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
}

.loader-inner {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.loader-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-inv);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0 auto 15px;
    animation: pulse 1.5s ease infinite;
}

.loader-text {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-fill {
    width: 0%;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    animation: loadBar 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    30% {
        width: 40%;
    }

    70% {
        width: 75%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0 60px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s, border 0.4s;
}

.admin-icon .logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #000;
    /* Fallback color */
}

.admin-icon .logo-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 24px;
}

.nav-brand .nav-logo {
    height: 36px;
    /* Match icon height */
    width: auto;
    border-radius: 8px;
    /* Match icon border-radius */
    object-fit: contain;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.nav-brand .icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inv);
    font-weight: 900;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    background: rgba(128, 128, 128, 0.08);
    border-radius: 30px;
    padding: 5px;
}

.nav-menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 25px;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a.active {
    background: rgba(128, 128, 128, 0.12);
    color: var(--primary);
}

.nav-menu a:hover {
    color: var(--text);
}

.nav-menu .status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    box-shadow: 0 0 6px #22c55e;
    animation: blink 2s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(30deg);
}

.nav-right .btn-login {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-right .btn-login:hover {
    color: var(--primary);
}

.nav-right .btn-signup {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    text-transform: uppercase;
}

.nav-right .btn-signup:hover {
    background: var(--primary);
    color: var(--text-inv);
    border-color: var(--primary);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.06);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #ec4899 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-desc {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 45px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(128, 128, 128, 0.2);
}

.btn-dark {
    background: rgba(128, 128, 128, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-dark:hover {
    background: rgba(128, 128, 128, 0.15);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section {
    padding: 100px 60px;
}

.page-section {
    padding-top: 150px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--muted);
    margin-top: 15px;
    font-size: 1rem;
}

/* ══════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 30px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 22px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(5deg);
}

.feature-icon.blue {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.feature-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.feature-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

[data-theme="light"] .feature-icon.blue {
    background: rgba(0, 112, 243, 0.1);
    color: #0070f3;
}

[data-theme="light"] .feature-icon.green {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

[data-theme="light"] .feature-icon.purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   HARDWARE GRID
   ══════════════════════════════════════════ */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.hw-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hw-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.hw-icon {
    width: 38px;
    height: 38px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hw-item:hover .hw-icon {
    transform: rotate(8deg) scale(1.1);
}

[data-theme="light"] .hw-icon {
    background: rgba(0, 112, 243, 0.08);
}

.hw-item span {
    font-weight: 600;
    font-size: 0.88rem;
}

.section-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 50px;
}

/* ══════════════════════════════════════════
   RESELLER CARDS
   ══════════════════════════════════════════ */
.reseller-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.reseller-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.reseller-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.reseller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
    border: 2px solid var(--border);
}

.reseller-card:hover .reseller-avatar {
    transform: scale(1.08);
    border-color: var(--primary);
}

.reseller-card .location {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.reseller-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.reseller-card .type {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.reseller-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.reseller-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
}

.reseller-icons a:hover {
    background: var(--primary);
    color: var(--text-inv);
    transform: translateY(-4px) scale(1.1);
}

/* ══════════════════════════════════════════
   PRICING CARDS
   ══════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px 35px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    will-change: transform;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.07);
}

[data-theme="light"] .pricing-card.featured {
    box-shadow: 0 0 40px rgba(0, 112, 243, 0.1);
}

.pricing-card .badge-pop {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-inv);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card h3 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.price-block {
    background: rgba(128, 128, 128, 0.04);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    transition: border-color 0.3s;
}

.pricing-card:hover .price-block {
    border-color: var(--primary);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.price-row .label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1px;
}

.price-row .amount {
    font-size: 1.8rem;
    font-weight: 800;
}

.price-row .amount.highlight {
    color: var(--primary);
}

.price-row .amount.small {
    font-size: 1.1rem;
}

.pricing-list {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 14px;
    color: var(--muted);
}

.pricing-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.btn-buy {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    background: rgba(128, 128, 128, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-buy:hover {
    background: rgba(128, 128, 128, 0.15);
    transform: translateY(-2px);
}

.pricing-card.featured .btn-buy {
    background: var(--primary);
    color: var(--text-inv);
    border: none;
}

.pricing-card.featured .btn-buy:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

[data-theme="light"] .pricing-card.featured .btn-buy:hover {
    box-shadow: 0 8px 25px rgba(0, 112, 243, 0.3);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 70px 60px 30px;
    background: var(--bg-alt);
    transition: background 0.4s;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 15px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--muted);
}

.footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col .email {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-top: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.watermark {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(128, 128, 128, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.watermark strong {
    color: var(--primary);
    font-weight: 800;
}

.watermark:hover {
    border-color: var(--primary);
    color: var(--text);
    background: rgba(128, 128, 128, 0.08);
    transform: translateY(-2px);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(128, 128, 128, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
}

.status-badge .dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: blink 2s ease infinite;
}

/* ══════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ══════════════════════════════════════════ */
.auth-page {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-left::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.auth-left-content {
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.auth-left-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.auth-left-content p {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.auth-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--muted);
}

.auth-feat i {
    color: var(--primary);
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.auth-card-header {
    margin-bottom: 35px;
}

.auth-card-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-card-header p {
    color: var(--muted);
    font-size: 1rem;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    animation: fadeInUp 0.4s ease;
}

.auth-alert.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.auth-alert.success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.auth-alert.success a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.3s ease;
}

.input-wrap:focus-within {
    border-color: var(--primary);
}

.input-wrap i {
    color: var(--muted);
    font-size: 1rem;
    flex-shrink: 0;
    transition: color 0.3s;
}

.input-wrap:focus-within i {
    color: var(--primary);
}

.input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
}

.input-wrap input::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.auth-submit {
    width: 100%;
    padding: 18px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
    margin-top: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(128, 128, 128, 0.15);
}

/* Toggle Password */
.toggle-pass {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

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

/* Forgot + Extras Row */
.auth-extras {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-top: -8px;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.forgot-link:hover {
    opacity: 0.7;
}

.auth-switch {
    text-align: center;
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--muted);
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.auth-switch a:hover {
    opacity: 0.8;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {

    .features-grid,
    .reseller-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 80px 30px;
    }

    .navbar {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .features-grid,
    .reseller-grid,
    .pricing-grid,
    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 60px 20px;
    }

    .navbar {
        padding: 0 20px;
    }

    .page-section {
        padding-top: 120px;
    }

    .auth-page {
        flex-direction: column;
    }

    .auth-left {
        padding: 40px 25px;
    }

    .auth-left-content h1 {
        font-size: 2.5rem;
    }

    .auth-right {
        padding: 40px 25px;
    }
}

/* ═══ PREMIUM EXTRAS ═══ */
.gradient {
    background: linear-gradient(to right, #00d2ff, #a855f7, #00d2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    font-weight: 800;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}