:root {
    --bg-dark: #0A0A0A;
    --bg-card: #111111;
    --bg-sidebar: #0f0f0f;
    --primary: #00D9FF;
    --primary-dark: #00B5D6;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --border: rgba(255, 255, 255, 0.08);
    --glow: rgba(0, 217, 255, 0.4);
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 217, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 217, 255, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: white;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-text {
    background: transparent;
    color: var(--text-main);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 75px;
    /* Increased significantly per user request */
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-text span:first-child {
    font-weight: 800;
    font-size: 1.5rem;
    /* Reduced to balance with larger logo */
    color: white;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    color: var(--text-muted);
    margin: 0 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Language Selector (Legacy) */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 15px;
    background: #0f1012;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 6px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    border-radius: 12px;
}

.lang-btn:hover {
    color: #9CA3AF;
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    color: #FFFFFF;
    background: rgba(0, 217, 255, 0.15);
}

.lang-separator {
    color: #374151;
    font-size: 0.7rem;
    margin: 0 2px;
    font-weight: 300;
}

/* Language Selector Dropdown */
.lang-dropdown {
    position: relative;
    z-index: 1001;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f1012;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-toggle:hover,
.lang-toggle.active {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.05);
}

.lang-toggle i {
    color: var(--primary);
    font-size: 1rem;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #0f1012;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 160px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    text-align: left;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(4px);
}

.lang-option.active {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary);
    font-weight: 600;
}

/* Back to home link */
.back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.back-to-home:hover {
    color: var(--primary);
}

.back-to-home i {
    font-size: 0.8rem;
}

/* Hero */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(0, 217, 255, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-proof {
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Stats */
.stats {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* How It Works (Steps) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-card {
    position: relative;
    padding: 20px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--bg-card), rgba(0, 217, 255, 0.03));
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
    background: rgba(0, 217, 255, 0.2);
}

/* Testimonials */
.stars {
    color: var(--primary);
    margin-top: 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.quote {
    font-style: italic;
    color: #dfdfdf;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.1);
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05) 0%, var(--bg-card) 100%);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 15px 0 5px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 12px;
    color: #ddd;
    font-size: 0.95rem;
}

.pricing-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-item summary i {
    transition: transform 0.3s;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
    padding-bottom: 120px;
}

.cta-content-wrapper {
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.small-proof {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* --- DASHBOARD STYLES --- */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.sidebar-logo {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s;
    text-decoration: none;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary);
}

.menu-item i {
    width: 20px;
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: var(--bg-dark);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Dashboard Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.metric-trend {
    font-size: 0.85rem;
    font-weight: 600;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

/* Dashboard Tables */
.table-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 30px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

td {
    font-size: 0.95rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.status-draft {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Auth Views */
.auth-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    margin-bottom: 16px;
    outline: none;
    transition: all 0.2s;
}

.auth-input:focus {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.05);
}

.auth-divider {
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .pricing-grid,
    .stats-grid,
    .steps-grid,
    .testimonials-grid,
    .features-grid,
    /* Added features-grid */
    .metrics-grid {
        grid-template-columns: 1fr !important;
        /* Force single column */
        gap: 20px;
    }

    .pricing-card.popular {
        transform: scale(1);
        z-index: 1;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Nav Tweaks */
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Dashboard Header */
    .mobile-dashboard-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }
}

/* Improved Tablet Breakpoint */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 50px;
    }

    .logo-text span:first-child {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 500px) {
    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 50px 0;
    }
}

/* Desktop: Hide mobile dashboard header */
.mobile-dashboard-header {
    display: none;
}

/* --- MOBILE MENU & NAV STYLES --- */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

.mobile-links a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.mobile-actions {
    margin-top: auto;
    padding-bottom: 40px;
}

/* --- MODAL STYLES (Existing) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}/* ============================================ */
/* RESPONSIVE MEDIA QUERIES */
/* ============================================ */

/* Tablet and Mobile - 900px and below */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .pricing-grid,
    .stats-grid,
    .steps-grid,
    .testimonials-grid,
    .features-grid,
    .metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .pricing-card.popular {
        transform: scale(1);
        z-index: 1;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Nav Tweaks */
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .mobile-dashboard-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }
}

/* Improved Tablet Breakpoint - 768px */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .logo img {
        height: 50px;
    }

    .logo-text span:first-child {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Small Mobile Breakpoint - 500px */
@media (max-width: 500px) {
    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 50px 0;
    }

    .mobile-menu-btn {
        display: block !important;
    }
}
