/* ===== AI-Inspired Modern Design - Light Theme ===== */
/* ClassPlus Landing Page - Futuristic Style */

/* ===== CSS Variables ===== */
:root {
    /* AI Color Palette */
    --primary: #5b5bd6;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #0891b2;
    --accent: #0e7490;
    --neon-blue: #00b4d8;
    --neon-purple: #9333ea;

    /* Light Theme */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --border-glass: rgba(91, 91, 214, 0.15);
    --border-light: rgba(0, 0, 0, 0.1);

    /* Text Colors - Higher Contrast */
    --text-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-light: #64748b;

    /* Status Colors - Darker for contrast */
    --success: #059669;
    --success-dark: #047857;
    --warning: #d97706;
    --error: #dc2626;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5b5bd6 0%, #0891b2 100%);
    --gradient-neon: linear-gradient(135deg, #5b5bd6 0%, #9333ea 100%);
    --gradient-hero: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 50%, #f5f3ff 100%);
    --gradient-section: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);

    /* Shadows */
    --glow-primary: 0 0 40px rgba(91, 91, 214, 0.3);
    --glow-accent: 0 0 30px rgba(8, 145, 178, 0.25);
    --shadow-card: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* Animated Background Orbs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 10% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Subtle Grid Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

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

/* ===== Glassmorphism Effects ===== */
.glass {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
}

/* ===== Buttons ===== */
.btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary), 0 10px 30px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary), 0 20px 40px -10px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: var(--bg-glass);
    color: var(--primary);
    border: 2px solid var(--border-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    box-shadow: var(--glow-primary);
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    padding: 160px 0 60px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Floating Orbs Animation */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1); }
    50% { box-shadow: 0 4px 30px rgba(99, 102, 241, 0.2); }
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 25px;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--primary);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 16px;
}

.hero-feature i {
    color: var(--success);
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-note i {
    color: var(--primary);
}

/* Phone Mockup - Futuristic */
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    background: linear-gradient(145deg, #1e1e2e, #2d2d44);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(99, 102, 241, 0.2),
        0 0 60px rgba(99, 102, 241, 0.15);
    position: relative;
    animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 48px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(25px);
}

.phone-screen {
    background: var(--bg-white);
    border-radius: 35px;
    overflow: hidden;
}

.app-header {
    background: var(--gradient-primary);
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 17px;
}

.app-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--bg-light);
}

.app-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.app-card:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    transform: translateX(5px);
}

.app-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.app-card-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
.app-card-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.app-card-icon.purple {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.app-card-text {
    display: flex;
    flex-direction: column;
}

.app-card-text strong {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 3px;
}

.app-card-text span {
    color: var(--text-muted);
    font-size: 12px;
}

/* ===== Section Styles ===== */
section {
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-header h2 .highlight {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ===== Pain Points Section ===== */
.pain-points {
    padding: 100px 0;
    background: var(--bg-white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pain-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.pain-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.pain-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.pain-icon.red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}
.pain-icon.orange {
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    color: #ea580c;
}
.pain-icon.yellow {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #ca8a04;
}

.pain-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.pain-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.pain-solution {
    text-align: center;
    margin-top: 60px;
}

.solution-arrow {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 25px;
    box-shadow: var(--glow-primary);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pain-solution p {
    font-size: 22px;
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--gradient-section);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-card.featured {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: var(--gradient-primary);
    border: none;
    overflow: hidden;
}

.feature-card.featured .featured-header {
    display: flex;
    align-items: center;
    gap: 25px;
}

.feature-card.featured .featured-header h3 {
    margin-bottom: 0;
}

.feature-card.featured .featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.feature-card.featured .featured-content p {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.8;
}

.feature-card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.feature-badge.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.feature-badge.purple { background: linear-gradient(135deg, #a855f7, #c084fc); }
.feature-badge.green { background: linear-gradient(135deg, #10b981, #34d399); }
.feature-badge.red { background: linear-gradient(135deg, #ef4444, #f87171); }

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: var(--primary);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}
.feature-icon.purple {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #9333ea;
}
.feature-icon.green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #059669;
}
.feature-icon.red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 0;
    flex-shrink: 0;
}

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

.feature-card.featured h3 {
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.feature-card.featured .feature-list li {
    color: rgba(255, 255, 255, 0.95);
}

.feature-list li i {
    color: var(--success);
    font-size: 16px;
}

.feature-card.featured .feature-list li i {
    color: #67e8f9;
}

/* ===== Comparison Section ===== */
.comparison {
    padding: 100px 0;
    background: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: white;
}

.comparison-table th {
    padding: 28px 35px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table th.other {
    background: rgba(0, 0, 0, 0.15);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-table th.classplus {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-table td {
    padding: 22px 35px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
    color: var(--text-primary);
}

.comparison-table td i {
    margin-right: 12px;
    color: var(--primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr {
    transition: background 0.3s;
}

.comparison-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.03);
}

.comparison-table .other {
    color: var(--text-secondary);
}

.comparison-table .classplus {
    color: var(--primary-dark);
    font-weight: 700;
    background: rgba(99, 102, 241, 0.08);
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status.full {
    background: #dcfce7;
    color: #047857;
    font-weight: 700;
}

.status.partial {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
}

.status.none {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
}

/* ===== Calculator Section ===== */
.calculator {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.calculator-text h2 {
    font-size: 40px;
    color: white;
    margin-bottom: 25px;
}

.calculator-text h2 .highlight {
    color: #67e8f9;
}

.calculator-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.calculator-form {
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--shadow-lg);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--bg-light);
    color: var(--text-dark);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.calculator-result {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 20px;
}

.result-item {
    flex: 1;
    text-align: center;
}

.result-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
}

.result-item.current .result-value {
    color: var(--text-muted);
}

.result-item.new .result-value {
    color: var(--primary);
}

.result-item.savings .result-value {
    color: var(--success);
}

.result-note {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.result-arrow {
    color: var(--text-light);
    font-size: 24px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: var(--gradient-section);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-glass);
    transition: all 0.4s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.testimonial-quote {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--glow-primary);
}

.author-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 3px;
}

.author-info span {
    color: var(--text-muted);
    font-size: 13px;
}

.stats-bar {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    opacity: 0.9;
    font-size: 16px;
    display: block;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px 40px;
    border: 2px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--glow-primary), var(--shadow-lg);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--glow-primary);
}

.pricing-header {
    text-align: center;
    margin-bottom: 35px;
}

.pricing-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.pricing-price {
    margin-bottom: 12px;
}

.pricing-price .price {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .period {
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 14px;
}

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

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.included {
    color: var(--text-primary);
}

.pricing-features li.included i {
    color: var(--success);
}

.pricing-features li.excluded {
    color: var(--text-light);
}

.pricing-features li.excluded i {
    color: var(--text-light);
}

.pricing-note {
    text-align: center;
    margin-top: 50px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 16px;
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-note i {
    color: var(--primary);
    margin-right: 10px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--gradient-section);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.faq-question {
    width: 100%;
    padding: 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
    font-size: 18px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 28px 28px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
}

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

.cta-text p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-benefits {
    list-style: none;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 16px;
}

.cta-benefits li i {
    color: var(--success);
    font-size: 20px;
}

.cta-form {
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
}

.cta-form .form-group {
    margin-bottom: 22px;
}

.cta-form label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 14px;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: var(--bg-light);
    color: var(--text-dark);
}

.cta-form input::placeholder {
    color: var(--text-muted);
}

.cta-form select {
    cursor: pointer;
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-note {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.form-note a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.form-note a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1e1e2e, #2d2d44);
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .logo-icon {
    background: var(--gradient-primary);
}

.footer-brand .logo-text {
    color: white;
    -webkit-text-fill-color: white;
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 25px;
}

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

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

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links ul a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info li i {
    color: #67e8f9;
    width: 16px;
}

.contact-info li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info li a:hover {
    color: #67e8f9;
}

.contact-info li small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--bg-white);
    padding: 35px;
    transition: right 0.3s;
    z-index: 2001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: var(--primary);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 80px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-nav .btn {
    margin-top: 25px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content,
    .calculator-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image {
        order: -1;
    }

    .hero-text h1 {
        font-size: 42px;
    }

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

    .feature-card.featured {
        grid-column: span 2;
    }

    .feature-card.featured .featured-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

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

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

    .calculator-inputs {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 36px;
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .pain-grid,
    .features-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.featured {
        grid-column: span 1;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 40px 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .calculator-result {
        flex-direction: column;
    }

    .result-arrow {
        transform: rotate(90deg);
    }

    .cta-form .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cta-text h2,
    .calculator-text h2 {
        font-size: 28px;
    }

    .phone-mockup {
        width: 260px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection color */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-dark);
}

/* ===== Success Modal ===== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.success-modal-content {
    background: var(--bg-white);
    border-radius: 28px;
    padding: 50px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal.active .success-modal-content {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    animation: success-bounce 0.6s ease 0.2s;
}

@keyframes success-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.success-icon i {
    color: white;
    font-size: 40px;
    animation: success-check 0.4s ease 0.4s both;
}

@keyframes success-check {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon-ring {
    position: absolute;
    inset: -8px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: success-ring 1.5s ease-out infinite;
}

@keyframes success-ring {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0; }
}

.success-modal-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-modal-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.success-modal-content .success-note {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.success-contact {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 18px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.success-contact span {
    color: var(--text-muted);
    font-size: 14px;
}

.success-contact a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.success-contact a:hover {
    color: var(--primary-dark);
}

.success-modal-content .btn {
    min-width: 200px;
}
