@import url("https://fonts.cdnfonts.com/css/poppins");

:root {
    /* Dashboard-inspired color scheme */
    --primary-dark: #1e1b2e;
    --secondary-dark: #2a2545;
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a855f7;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;

    /* Gradients matching dashboard */
    --primary-gradient: linear-gradient(135deg, #1e1b2e 0%, #2a2545 100%);
    --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    --blue-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --green-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Background colors */
    --bg-primary: #0f0e1a;
    --bg-secondary: #1e1b2e;
    --bg-card: #2a2545;
    --bg-card-hover: #342d4a;

    /* Border and shadow */
    --border-color: #3b3556;
    --shadow-soft: 0 4px 20px rgba(139, 92, 246, 0.1);
    --shadow-medium: 0 10px 40px rgba(139, 92, 246, 0.15);
    --shadow-strong: 0 20px 60px rgba(139, 92, 246, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: "Poppins", sans-serif !important;
    line-height: 1.6;
    color: var(--text-primary);
    background: #16113a;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive container base */
.section-container,
.nav-container,
.hero-container,
.contact-container,
.footer-container {
    width: 100%;
    max-width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #16113a;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #383a61;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
    background: #272953;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    overflow: visible;
}

input::placeholder {
    color: #e0e1e7 !important;
    opacity: 0.7;
}

textarea::placeholder {
    color: #e0e1e7 !important;
    opacity: 0.7;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo img {
    height: 35px;
    width: auto;
}

.logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo {
        font-size: 20px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--purple-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
}

.auth-btn {
    padding: 10px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    position: relative;
}

.auth-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.auth-btn.login {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: white;
}

.auth-btn.login:hover {
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1100;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-dropdown-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.user-dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-dropdown.active .user-dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #272953;
    border: 1px solid #383a61;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999;
    backdrop-filter: blur(20px);
    padding: 8px 0;
}

.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-primary);
}

.user-dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.user-dropdown-icon {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

/* Mobile User Dropdown */
.mobile-user-dropdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.mobile-user-name {
    font-weight: 600;
}

.mobile-user-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    color: var(--text-primary);
}

.mobile-dropdown-item.logout:hover {
    color: #ef4444;
}

/* Ensure proper spacing for mobile user dropdown */
@media (max-width: 768px) {
    .mobile-user-dropdown {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .mobile-user-info {
        padding: 0.75rem 0;
        margin-bottom: 0.5rem;
    }

    .mobile-dropdown-item {
        padding: 0.75rem 0;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.footer-brand i {
    color: #06b6d4;
    font-size: 14px;
    background: #16113a;
    padding: 11px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #383a61;
}

.mobile-nav-menu.active {
    display: flex;
}

.mobile-nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    color: #fff;
}

.mobile-nav-menu .auth-buttons {
    margin-top: 1rem;
    align-self: center;
    display: flex !important;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-menu .auth-btn {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 14px !important;
    min-width: auto !important;
}

/* Hero Section */

/* Features Section */
.features {
    padding: 70px 0;
    background: #272953;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.plans .section-header {
    margin-bottom: 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: white;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;

    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 36px;
    line-height: 48px;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding: 0px 20px;
}

@media (min-width: 768px) {
    .section-title {
        padding: 0px 50px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        padding: 0px 100px;
    }
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.plans .section-subtitle {
    margin-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(580px, 1fr));
    }
}

.feature-card {
    background: #16113a;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #383a61;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    background: #272953;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon i {
    font-size: 25px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 15px;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-right: 12px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;

    color: var(--text-primary);
    width: auto;
    float: left;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    width: 100%;
    float: left;
}

.feature-list {
    list-style: none;
    width: 100%;
    float: left;
}

.feature-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 0;
}

.feature-list li::before {
    content: "✅";
    font-size: 16px;
}

/* Plans Section */
.plans {
    padding: 80px 0 60px 0;
    background: linear-gradient(180deg, #16113a 0%, #1a0f2e 100%);
    position: relative;
}

/* Pricing Toggle */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pricing-toggle {
    background: #272953;
    border: 1px solid #383a61;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    position: relative;
}

.toggle-option {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-width: 90px;
}

.toggle-option.active {
    color: white;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 86px;
    height: calc(100% - 12px);

    border-radius: 50px;
    transition: transform 0.3s ease;
    z-index: 1;
    box-shadow: var(--shadow-soft);
}

.toggle-slider.yearly {
    transform: translateX(86px);
}

.discount-badge {
    background: var(--accent-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    margin-left: 1rem;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .plans-grid {
        gap: 2rem;
    }
}

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 0 28px 28px 28px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    height: 100%;
    overflow: hidden;
}

.plan-card .plan-name {
    margin-top: 15px;
}

.plan-card.executive-plan .plan-name {
    margin-top: 28px;
}

.plan-card:hover {
    border-color: #38bdf8;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.plan-card.executive-plan {
    border: 2px solid rgba(229, 200, 82, 0.5);
    background: rgba(229, 200, 82, 0.05);
}

.plan-card.executive-plan:hover {
    border-color: #E5C852;
    box-shadow: 0 10px 30px rgba(229, 200, 82, 0.4);
}

.plan-card.featured {
    border: 2px solid rgba(56, 189, 248, 0.3);
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.plan-card.featured::before {
    display: none;
}

.plan-card.featured:hover {
    border-color: #38bdf8;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    color: #38bdf8;
    letter-spacing: -0.5px;
}

.plan-card.executive-plan .plan-name {
    color: #E5C852;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: #E5C852;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    line-height: 1;
}

.plan-price-period {
    color: #7dd3fc;
    font-size: 14px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: block;
    font-weight: 500;
}

.plan-original-price {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
    display: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.plan-original-price.show {
    opacity: 1;
    transform: translateY(0);
}

.plan-savings {
    background: var(--accent-green);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    display: none;
    transform: scale(0);
    transition: all 0.3s ease;
}

.plan-savings.show {
    opacity: 1;
    transform: scale(1);
}

.plan-features {
    list-style: none;
    color: #c7f9ff;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
    padding: 0;
}

.plan-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    display: block;
    color: #c7f9ff;
    font-size: 14px;
    line-height: 1.5;
    gap: 0;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E5C852;
    font-weight: bold;
    font-size: 16px;
}

.plan-card.executive-plan .plan-features li::before {
    content: '★';
}

.plan-cta {
    width: 100%;
    background: linear-gradient(135deg, #38bdf8, #764ba2);
    color: #fff;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.2;
    margin-top: auto;
    user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.plan-card.featured .plan-cta {
    background: linear-gradient(135deg, #38bdf8, #764ba2);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
}

.plan-card.featured .plan-cta:hover {
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.plan-card.executive-plan .plan-cta {
    background: linear-gradient(135deg, #E5C852, #d4a017);
}

.plan-card.executive-plan .plan-cta:hover {
    box-shadow: 0 8px 20px rgba(229, 200, 82, 0.4);
}

/* Executive Plan Info Box */
.plan-card .executive-info {
    background: rgba(229, 200, 82, 0.15);
    border: 1px solid rgba(229, 200, 82, 0.4);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0 1.5rem 0;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #e5e7eb;
}

.plan-card .executive-info strong {
    color: #E5C852;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.plan-card .executive-info div {
    margin-bottom: 0.5rem;
}

.plan-card .executive-info div:last-child {
    margin-bottom: 0;
}

@media (max-width: 540px) {
    .plan-card .executive-info {
        font-size: 0.8rem;
        padding: 0.875rem;
        margin: 0.75rem 0 1.25rem 0;
    }

    .plan-card .executive-info strong {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
}

.plan-cta-disabled {
    width: 100%;
    background: #6b7280;
    color: #9ca3af;
    padding: 12px;
    border: 1px solid #6b7280;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: not-allowed;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
}

/* FAQ Section */
.faq {
    padding: 70px 0;
    background: #272953;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #16113a;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #383a61;
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #06b6d4;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 70px 0;
    background: #16113a;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-form {
    background: #272953;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 2px solid #383a61;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 7px 0.5rem;
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #383a61 !important;
    color: #e0e1e7 !important;
    background: transparent !important;
    font-family: "Poppins", sans-serif !important;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Error styles for form validation */
.form-input.error,
.form-textarea.error {
    border-color: var(--accent-red) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    display: none;
    color: var(--accent-red);
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.loading-ring {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    margin: 2px;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.loading-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loading-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loading-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: #272953;
    padding: 70px 0px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animation classes */
.animate-fade-up,
.animate-fade-left,
.animate-fade-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-fade-left {
    transform: translateX(-30px);
}

.animate-fade-right {
    transform: translateX(30px);
}

/* Mobile Responsiveness */

/* Extra Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .section-container {
        max-width: 1600px;
    }

    .nav-container {
        max-width: 1600px;
    }

    .hero {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 60px;
    }

    .section-title {
        font-size: 42px;
        line-height: 54px;
    }
}

/* Large Desktop (1440px - 1919px) */
@media (max-width: 1440px) {
    .section-container {
        max-width: 1200px;
    }

    .nav-container {
        max-width: 1200px;
    }

    .hero {
        max-width: 1200px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    }
}

/* Desktop/Laptop (1200px - 1439px) */
@media (max-width: 1200px) {
    .section-container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    }

    .section-title {
        padding: 0 50px;
        font-size: 32px;
        line-height: 42px;
    }
}

/* Tablet Landscape (1024px - 1199px) */
@media (max-width: 1024px) {
    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-dashboard {
        order: -1;
    }

    .dashboard-mockup {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-title {
        font-size: 28px;
        line-height: 38px;
        padding: 0 20px;
    }

    .nav-menu {
        gap: 1.5rem;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 900px) {
    .mobile-mockup {
        right: -25px;
        width: 110px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 23px;
    }

    .section-title {
        font-size: 26px;
        line-height: 34px;
    }

    .dashboard-mockup {
        font-size: 0.7rem;
    }

    .main-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Improved tablet landscape (900px - 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 30px;
        line-height: 38px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-cta-group {
        justify-content: flex-start;
    }
    
    .mobile-mockup {
        right: -30px;
        width: 120px;
    }
    
    .section-container {
        padding: 0 2rem;
    }
}

/* Mobile Tablet (768px - 899px) */
@media (max-width: 768px) {
    .auth-buttons {
        display: block !important;
        margin-left: auto;
        margin-right: 1rem;
        max-width: fit-content;
    }

    .auth-btn {
        display: unset;
        float: left;
        padding: 8px 16px;
        font-size: 12px;
        min-width: 65px;
    }

    /* Hide user dropdown on mobile, use mobile menu instead */
    .user-dropdown {
        display: none;
    }

    .mobile-nav-menu {
        padding: 1rem !important;
        gap: 0 !important;
        top: 80px !important;
    }

    .mobile-nav-menu a {
        padding: 1rem !important;
    }
    
    .mobile-nav-menu .auth-buttons {
        margin-top: 1rem;
        padding: 0 1rem;
    }

    .dashboard-mockup {
        max-width: 720px;
        font-size: 0.65rem;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-content.animate-fade-left {
        padding: 0;
    }

    .animate-fade-right {
        transform: translateX(0px) !important;
        padding: 0;
    }

    .mobile-mockup {
        right: -20px !important;
        bottom: 24px;
        width: 130px;
    }

    .nav-menu,
    .nav-container > .auth-buttons,
    .user-dropdown {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    /* Ensure mobile nav menu auth buttons are visible */
    .mobile-nav-menu .auth-buttons {
        display: flex !important;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-container {
        text-align: center;
        gap: 3rem;
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .features-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }

    .pricing-toggle-container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }

    /* Ensure auth buttons don't overflow on small screens */
    .auth-buttons {
        margin-left: auto;
        margin-right: 0.25rem;
        flex-shrink: 0;
    }

    .main-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .main-stat-card {
        padding: 0.75rem;
    }

    .main-stat-number {
        font-size: 1.2rem;
    }

    .main-stat-label {
        font-size: 0.65rem;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
        padding: 0 10px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
        padding: 2rem;
    }
}

/* Large Mobile (600px - 767px) */
@media (max-width: 600px) {
    .auth-buttons {
        margin-left: auto;
        margin-right: 0.5rem;
        max-width: fit-content;
    }

    .auth-btn {
        padding: 7px 14px;
        font-size: 12px;
        min-width: 65px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        justify-items: center;
    }

    .device-mockup {
        width: 320px;
        max-width: 100%;
        margin: 0 auto;
    }

    .mobile-mockup {
        bottom: 12px !important;
        width: 110px !important;
        right: -15px !important;
    }

    .section-title {
        padding: 0px !important;
        font-size: 20px;
        line-height: 28px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 20px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .feature-card,
    .plan-card {
        padding: 2rem;
    }

    .nav-container {
        height: 65px;
        padding: 0 0.75rem;
    }

    .mobile-nav-menu {
        top: 65px !important;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 15px;
    }

    .plan-features {
        height: auto;
        min-height: 200px;
    }

    .main-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Medium Mobile (540px - 599px) */
@media (max-width: 540px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .device-mockup {
        width: 300px;
        max-width: 100%;
        margin: 0 auto;
    }

    .mobile-mockup {
        width: 105px !important;
        bottom: 10px !important;
        right: -12px !important;
    }

    .hero h1 {
        font-size: 22px;
        line-height: 30px;
    }

    .hero-subtitle {
        font-size: 12px;
        line-height: 19px;
    }

    .section-title {
        font-size: 20px;
        line-height: 28px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-content.animate-fade-left {
        padding: 0 20px;
    }

    .animate-fade-right {
        padding: 0 20px;
    }

    .feature-card,
    .plan-card {
        padding: 1.75rem;
    }

    .contact-form {
        padding: 1.75rem;
    }

    .hero-cta-group {
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 14px;
        width: 100%;
        max-width: 200px;
    }

    .faq-question {
        font-size: 14px;
        line-height: 20px;
        padding: 15px;
        font-weight: 600;
    }

    .footer-container {
        gap: 1.5rem;
    }

    .main-stats {
        grid-template-columns: 1fr;
    }

    .main-stat-card {
        padding: 1rem;
        text-align: center;
    }
}

/* Small Mobile (480px - 539px) */
@media (max-width: 480px) {
    .auth-buttons {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .auth-btn {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 60px;
    }

    .user-details img {
        height: 18px !important;
        margin-right: 10px;
    }

    .device-mockup {
        width: 280px;
        max-width: 100%;
    }

    .mobile-mockup {
        bottom: 8px !important;
        width: 100px !important;
        right: -10px !important;
    }

    .hero {
        padding: 100px 0 40px !important;
    }

    .unlock-ai {
        font-size: 8px !important;
        font-weight: normal !important;
    }

    .hero h1 {
        font-size: 22px;
        line-height: 30px;
    }

    .section-title {
        font-size: 18px;
        line-height: 26px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 200px;
    }

    .feature-card,
    .plan-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-right: 12px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

    .hero-content.animate-fade-left {
        padding: 0 15px;
    }

    .animate-fade-right {
        padding: 0 15px;
    }

    .section-container {
        padding: 0 1rem;
    }

    .nav-container {
        height: 60px;
        padding: 0 0.5rem;
    }

    .logo img {
        height: 25px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .feature-list li,
    .plan-features li {
        font-size: 13px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }
}

.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 2rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 1rem 60px;
    }
}


.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: auto;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        gap: 4rem;
        min-height: 80vh;
    }
}

.hero-content {
    color: white;
}

@media (min-width: 900px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-block;
    background: #272953;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 36px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
        line-height: 42px;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 36px;
        line-height: 45px;
    }
}

@media (min-width: 1440px) {
    .hero-content h1 {
        font-size: 42px;
        line-height: 52px;
    }
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 25px;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, #3b82f6, #06b6d4) !important;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: #272953;
    color: white;
    border: 1px solid #383a61;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-dashboard {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 899px) {
    .hero-dashboard {
        order: -1;
    }
}

.device-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: perspective(1200px) rotateX(5deg) rotateY(-10deg);
    transition: transform 0.3s ease;
}

@media (min-width: 900px) and (max-width: 1199px) {
    .device-mockup {
        max-width: 450px;
    }
}

@media (max-width: 899px) {
    .device-mockup {
        transform: perspective(1200px) rotateX(0deg) rotateY(-3deg);
        max-width: 420px;
    }
}

@media (max-width: 540px) {
    .device-mockup {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .device-mockup {
        max-width: 300px;
    }
}

/* Enhanced Responsive Dashboard Optimizations */
@media (max-width: 1200px) {
    .device-mockup {
        width: 480px;
    }

    .dashboard-mockup {
        font-size: 0.7rem;
    }

    .main-stat-number {
        font-size: 0.9rem;
    }

    .main-stat-label {
        font-size: 0.55rem;
    }
}

.device-mockup:hover {
    transform: perspective(1200px) rotateX(2deg) rotateY(-5deg);
}

.laptop-frame {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e0);
    border-radius: 12px 12px 4px 4px;
    padding: 8px 8px 20px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid #383a61;
}

.laptop-frame::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #2d3748, #1a202c);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 3px rgba(0, 0, 0, 0.3);
}

.laptop-frame::after {
    content: "MacBook Pro";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #718096;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.laptop-base {
    position: absolute;
    bottom: -8px;
    left: -5%;
    right: -2%;
    height: 8px;
    background: linear-gradient(145deg, #a0aec0, #718096);
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #9ca3af;
}

.screen {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.dashboard-mockup {
    background: #272953;
    padding: 0.5rem;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    font-size: 0.65rem;
}

@media (max-width: 480px) {
    .dashboard-mockup {
        font-size: 0.55rem;
        padding: 0.35rem;
    }
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.5rem;
    background: var(--card-bg);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-details h3 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.user-details p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin: 0;
}

.unlock-ai {
    background: var(--green-gradient);
    color: white;
    border: none;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.main-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.main-stat-card {
    background: var(--card-bg);
    padding: 0.3rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.main-stat-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.1rem;
}

.main-stat-label {
    font-size: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.main-stat-change {
    font-size: 0.675rem;
    font-weight: 600;
}

.positive {
    color: rgba(16, 187, 39, 1);
}

.negative {
    color: #10bb27ff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.chart-section {
    background: var(--card-bg);
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-title {
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
}

.chart-dropdown {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.chart-container {
    height: 200px;
    background: linear-gradient(
        180deg,
        rgba(79, 143, 247, 0.1) 0%,
        transparent 100%
    );
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    align-items: end;
    height: 100%;
    padding: 1rem;
    gap: 8px;
}

.chart-bar {
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
    flex: 1;
    min-height: 20px;
    position: relative;
}

.chart-bar:nth-child(1) {
    height: 30%;
}

.chart-bar:nth-child(2) {
    height: 45%;
}

.chart-bar:nth-child(3) {
    height: 80%;
}

.chart-bar:nth-child(4) {
    height: 95%;
}

.chart-bar:nth-child(5) {
    height: 70%;
}

.chart-bar:nth-child(6) {
    height: 25%;
}

.chart-bar:nth-child(7) {
    height: 55%;
}

.chart-bar:nth-child(8) {
    height: 85%;
}

.earnings-section {
    display: grid;
    gap: 1rem;
}

.ai-tips {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.3rem;
    border-radius: 4px;
    color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ai-tips-header {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.ai-tips h4 {
    font-size: 0.55rem;
    font-weight: 600;
    margin: 0;
}

.ai-tips p {
    font-size: 0.45rem;
    line-height: 1.2;
    margin: 0;
    opacity: 0.9;
}

.ratios-table {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ratios-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ratios-header h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.ratio-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
}

.ratio-row:last-child {
    border-bottom: none;
}

.ratio-label {
    color: var(--text-secondary);
}

.ratio-value {
    color: white;
    text-align: right;
}

.ratio-change {
    text-align: right;
    font-weight: 600;
}

.bottom-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.bottom-metric {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.bottom-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.bottom-metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mobile-mockup {
    position: absolute;
    right: -60px;
    bottom: 15px;
    width: 150px;
    z-index: 10;
    transform: rotateY(15deg) rotateZ(-5deg);
    transition: transform 0.3s ease;
}

.mobile-mockup:hover {
    transform: rotateY(10deg) rotateZ(-2deg);
}

.phone-frame {
    background: #16113a;
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: #4a5568;
    border-radius: 2px;
}

.phone-frame::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #4a5568;
    border-radius: 2px;
}

.phone-screen {
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mobile-dashboard {
    padding: 0.5rem;
    font-size: 0.6rem;
    height: 100%;
    overflow: hidden;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-title {
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
}

.mobile-live {
    background: var(--purple-gradient);
    color: white;
    border: none;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-size: 0.5rem;
    font-weight: 600;
}

.mobile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.mobile-stat-card {
    background: var(--card-bg);
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-stat-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.1rem;
}

.mobile-stat-label {
    font-size: 0.45rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.mobile-chart {
    background: var(--card-bg);
    border-radius: 4px;
    padding: 0.4rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-chart-title {
    color: white;
    font-size: 0.55rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mobile-progress-item {
    margin-bottom: 0.25rem;
}

.mobile-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.mobile-progress-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.mobile-progress-fill {
    height: 100%;
    border-radius: 1px;
}

.reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 20%,
        transparent 80%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

.dashboard-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.live-button {
    background: var(--purple-gradient);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-button::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--purple-gradient);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.earnings-cards {
    display: grid;
    gap: 1rem;
}

.earnings-card {
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.earnings-card.purple {
    background: var(--purple-gradient);
}

.earnings-card.green {
    background: var(--green-gradient);
}

.earnings-amount {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.earnings-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.goals-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.goals-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.goal-progress {
    margin-bottom: 1rem;
}

.goal-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.goal-name {
    color: white;
}

.goal-value {
    color: var(--text-secondary);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-fill.contacts {
    background: #f59e0b;
    width: 69.8%;
}

.progress-fill.emails {
    background: #f59e0b;
    width: 48.5%;
}

.progress-fill.appointments {
    background: #10b981;
    width: 100%;
}

.progress-fill.listings {
    background: #3b82f6;
    width: 86.8%;
}

.progress-fill.closed {
    background: #3b82f6;
    width: 63.8%;
}

.summary-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trend-up {
    color: var(--green);
}

.trend-down {
    color: #ef4444;
}

.animate-fade-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-fade-right {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .mobile-nav-menu .auth-buttons {
        display: none !important;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .performance-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .faq-question {
        font-size: 14px;
        line-height: 23px;
        text-align: left;
        font-weight: normal;
        padding: 15px;
    }

    .contact-form.animate-fade-right {
        padding: 20px 20px;
    }

    .footer-brand div {
        align-items: center;
        justify-content: center;
    }

    .footer-container {
        gap: 1rem;
    }
}

/* Extra Small Mobile (430px - 479px) */
@media (max-width: 430px) {
    .auth-buttons {
        margin-left: auto;
        margin-right: 0.25rem;
        gap: 0;
    }

    .auth-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 50px;
    }

    .nav-container {
        padding: 0 0.5rem;
        height: 60px;
    }

    .mobile-nav-menu {
        top: 60px !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .device-mockup {
        width: 280px;
        margin: 0 auto;
    }

    .mobile-mockup {
        width: 90px !important;
        bottom: 6px !important;
        right: -8px !important;
    }

    .hero h1 {
        font-size: 19px;
        line-height: 27px;
    }

    .hero-subtitle {
        font-size: 11px;
        line-height: 18px;
    }

    .section-title {
        font-size: 16px;
        line-height: 23px;
    }

    .hero-content.animate-fade-left {
        padding: 0 15px;
    }

    .animate-fade-right {
        padding: 0 15px;
    }

    .section-container {
        padding: 0 0.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 9px 16px;
        font-size: 12px;
        width: 100%;
        max-width: 160px;
    }

    .hero-cta-group {
        gap: 0.5rem;
    }

    .feature-card,
    .plan-card {
        padding: 1.25rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .logo img {
        height: 22px;
    }

    .form-input,
    .form-textarea {
        padding: 10px 0.75rem;
        font-size: 14px;
    }

    .form-label {
        font-size: 14px;
    }
}

/* Very Small Mobile (360px - 414px) */
@media (max-width: 415px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .device-mockup {
        width: 260px;
        margin: 0 auto;
    }

    .mobile-mockup {
        width: 85px !important;
        bottom: 5px !important;
        right: -6px !important;
    }

    .hero h1 {
        font-size: 18px;
        line-height: 25px;
    }

    .hero-subtitle {
        font-size: 11px;
        line-height: 17px;
    }

    .auth-buttons {
        margin-left: auto;
        margin-right: 0.25rem;
    }

    .auth-btn {
        padding: 5px 9px;
        font-size: 10px;
        min-width: 45px;
    }

    .nav-container {
        height: 55px;
        padding: 0 0.5rem;
    }

    .logo img {
        height: 20px;
    }

    .hero h1 {
        font-size: 19px;
        line-height: 26px;
    }

    .hero-content.animate-fade-left {
        padding: 0 12px;
    }

    .animate-fade-right {
        padding: 0 12px;
    }

    .section-title {
        font-size: 16px;
        line-height: 22px;
    }

    .section-container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 90px 0 35px !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 8px 14px;
        font-size: 11px;
        width: 100%;
        max-width: 140px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .section-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .feature-card,
    .plan-card {
        padding: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .plan-name {
        font-size: 1.25rem;
    }

    .plan-price {
        font-size: 2.5rem;
    }

    .main-stat-number {
        font-size: 1rem;
    }

    .main-stat-label {
        font-size: 0.6rem;
    }
}

/* Ultra Small Mobile (320px - 359px) */
@media (max-width: 359px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .device-mockup {
        width: 240px;
        margin: 0 auto;
    }

    .mobile-mockup {
        width: 75px !important;
        bottom: 4px !important;
        right: -5px !important;
    }

    .nav-container {
        height: 50px;
        padding: 0 0.25rem;
    }

    .mobile-nav-menu {
        top: 50px !important;
    }

    .logo img {
        height: 18px;
    }

    .auth-btn {
        padding: 4px 7px;
        font-size: 9px;
        min-width: 40px;
    }

    .hero h1 {
        font-size: 16px;
        line-height: 23px;
    }

    .hero-subtitle {
        font-size: 10px;
        line-height: 16px;
    }

    .section-title {
        font-size: 14px;
        line-height: 19px;
    }

    .hero-content.animate-fade-left,
    .animate-fade-right {
        padding: 0 8px;
    }

    .section-container {
        padding: 0 0.25rem;
    }

    .hero {
        padding: 80px 0 30px !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 7px 12px;
        font-size: 10px;
        width: 100%;
        max-width: 120px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    .feature-card,
    .plan-card,
    .contact-form {
        padding: 0.75rem;
    }

    .mobile-menu-toggle {
        font-size: 18px;
    }
}

/* MISSING RESPONSIVE COVERAGE - CONTACT, FOOTER, PLANS */

/* Contact Section & Form Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-label {
        font-size: 14px;
        margin-bottom: 0.4rem;
    }

    .contact-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    .contact-item {
        gap: 0.75rem;
    }
}

@media (max-width: 540px) {
    .contact-form {
        padding: 1rem;
    }

    .form-input,
    .form-textarea {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-label {
        font-size: 13px;
    }

    .contact-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 430px) {
    .form-input,
    .form-textarea {
        padding: 6px 8px;
        font-size: 12px;
    }

    .form-label {
        font-size: 12px;
    }

    .contact-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
}

/* Footer Responsive Coverage */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        margin-bottom: 1rem;
    }

    .footer-brand p {
        font-size: 14px;
        line-height: 1.6;
        max-width: 500px;
        margin: 1rem auto 0;
    }

    .footer-links h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links ul li {
        margin: 0.5rem 0;
    }
}

@media (max-width: 540px) {
    .footer-brand h3 {
        font-size: 1.2rem;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    .footer-links ul li a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.5;
        padding: 0 1rem;
    }
}

@media (max-width: 430px) {
    .footer-brand p {
        font-size: 12px;
    }

    .footer-links ul li a {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Plan Cards Enhanced Responsive */
@media (max-width: 768px) {
    .plans {
        padding: 60px 0 40px 0;
    }

    .plans-grid {
        grid-template-columns: 1fr !important;
        max-width: 500px;
        margin: 0 auto;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .plan-card {
        padding: 1.75rem 1.5rem;
        margin: 0;
    }

    .plan-card.featured {
        transform: none !important;
        margin: 0;
    }

    .pricing-toggle-container {
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 540px) {
    .plans {
        padding: 50px 0 30px 0;
    }

    .plans-grid {
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .plan-card {
        padding: 1.5rem 1.25rem;
    }

    .plan-price {
        font-size: 2.5rem !important;
    }

    .plan-name {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem;
    }

    .plan-features li {
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }

    .plan-cta {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    .plan-original-price,
    .plan-savings {
        font-size: 0.75rem;
    }

    .pricing-toggle-container {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 430px) {
    .plans {
        padding: 40px 0 25px 0;
    }

    .pricing-toggle-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .pricing-toggle {
        width: 100%;
        max-width: 280px;
    }

    .toggle-option {
        font-size: 0.75rem;
        padding: 10px 18px;
    }

    .plan-card {
        padding: 1.25rem 1rem;
    }

    .plan-price {
        font-size: 2.25rem !important;
    }

    .plan-name {
        font-size: 1.15rem !important;
    }

    .plan-features li {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }

    .plan-cta {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* Button & Loading Ring Responsive */
@media (max-width: 540px) {
    .btn-primary,
    .btn-secondary {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .loading-ring {
        width: 16px;
        height: 16px;
    }

    .loading-ring div {
        width: 12px;
        height: 12px;
        border-width: 1px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* Mobile User Dropdown Responsive */
@media (max-width: 768px) {
    .mobile-user-dropdown {
        padding: 1rem;
    }

    .mobile-user-name {
        font-size: 14px;
    }

    .mobile-user-email {
        font-size: 12px;
    }

    .mobile-dropdown-item {
        padding: 0.75rem;
        font-size: 14px;
    }
}

/* Section Badge & Headers Responsive */
@media (max-width: 540px) {
    .section-badge {
        font-size: 12px;
        padding: 6px 20px;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 430px) {
    .section-badge {
        font-size: 11px;
        padding: 5px 16px;
    }
}

/* Animation Responsive Optimizations */
@media (max-width: 768px) {
    .animate-fade-left,
    .animate-fade-right,
    .animate-fade-up {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Additional Mobile Optimizations for Very Small Screens */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    
    .section-title {
        font-size: 16px !important;
        line-height: 24px !important;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
    }
    
    .section-subtitle {
        font-size: 13px !important;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    
    .feature-card,
    .plan-card {
        padding: 1.25rem !important;
    }
    
    .plan-name {
        font-size: 1.25rem !important;
    }
    
    .plan-price {
        font-size: 2rem !important;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    .footer-brand h3 {
        font-size: 1.25rem !important;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px !important;
        min-height: auto !important;
    }
    
    .hero-container {
        min-height: auto !important;
        gap: 2rem !important;
    }
    
    .section-container {
        padding: 0 1.5rem !important;
    }
    
    .features,
    .plans,
    .testimonials {
        padding: 50px 0 !important;
    }
}

/* Improve Touch Targets for Mobile */
@media (max-width: 768px) {
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .auth-btn {
        min-height: 36px;
    }
    
    .plan-cta,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
    }
    
    .faq-question {
        min-height: 48px;
    }
}

/* Ensure proper overflow handling */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.section-container,
.nav-container,
.hero-container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Improve testimonials grid responsiveness */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Better footer responsiveness */
@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-brand,
    .footer-links {
        text-align: center !important;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}



/* ===== Blog Slider Section ===== */
.blog-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
    padding: 0 3.5rem;
    overflow: hidden;
}

.blog-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 1.5rem;
}

.blog-card {
    min-width: calc((100% - 4.5rem) / 4);
    max-width: calc((100% - 4.5rem) / 4);
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.blog-card-category {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-card-title {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 10px;
}

.blog-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.blog-nav-btn:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.blog-prev {
    left: 0;
}

.blog-next {
    right: 0;
}

.blog-dots .blog-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.blog-dots .blog-dot.active {
    background: var(--accent-cyan);
    transform: scale(1.3);
}

@media (max-width: 1024px) {
    .blog-card {
        min-width: calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 640px) {
    .blog-card {
        min-width: 100%;
        max-width: 100%;
    }

    .blog-nav-btn {
        display: none;
    }

    .blog-carousel-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .blog-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .blog-carousel {
        scroll-snap-type: x mandatory;
    }

    .blog-card {
        scroll-snap-align: start;
    }
}
