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

:root {
    --primary-color: #00a8ff;
    --primary-dark: #0077b6;
    --cyan-color: #00e5ff;
    --cyan-dark: #00acc1;
    --accent-color: #7209b7;
    
    /* Semantic Colors */
    --text-color: #f8f9fa;
    --text-muted: #adb5bd;
    --text-light: #dee2e6;
    
    /* Backgrounds */
    --bg-color: #0b1120; /* Deep dark blue-black */
    --bg-dark: #050914;
    --bg-card: rgba(255, 255, 255, 0.03);
    
    /* UI Elements */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius: 0.75rem;
    --border-radius-lg: 1.5rem;
    
    /* Branding */
    --brand-purple: #7209b7;
    --brand-purple-light: #b5179e;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 5rem;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --glow-primary: 0 0 20px rgba(0, 168, 255, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 168, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(114, 9, 183, 0.08), transparent 25%);
    z-index: -10;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: rgba(5, 9, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header-scrolled {
    background: rgba(5, 9, 20, 0.98);
    padding: var(--spacing-xs) 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    min-width: 180px; /* Ensure space for logo */
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo {
    height: auto;
    max-width: 100%;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-horizontal {
    display: block;
    height: 40px; /* Fixed height for desktop */
    width: auto;
}

.logo-stacked {
    display: none;
    max-height: 50px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.nav-cta {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 168, 255, 0.2);
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-base);
}

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

/* Main content offset for fixed header */
.main {
    padding-top: 64px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--spacing-md) 0 var(--spacing-md);
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.95)),
        url('assets/radar.jpeg') center/cover no-repeat;
    z-index: -1;
    filter: saturate(1.2) contrast(1.1);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(220, 38, 38, 0.15); /* Red background tint */
    border: 1px solid rgba(220, 38, 38, 0.4); /* Red border */
    border-radius: 2rem;
    color: #f87171; /* Bright red text */
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2); /* Red glow */
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* CTA Buttons Section */
.cta-buttons-section {
    padding-bottom: var(--spacing-md);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 280px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.features-section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    position: relative;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.feature-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.8) 0%, rgba(8, 12, 21, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 168, 255, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    padding: var(--spacing-md);
    padding-left: calc(var(--spacing-md) + 4px);
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cyan-color) 0%, var(--primary-color) 100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.12) 0%, rgba(0, 0, 0, 0.25) 100%);
    border-color: rgba(0, 168, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4);
}

.feature-item:hover::before {
    opacity: 1;
    width: 4px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(145deg, rgba(0, 168, 255, 0.15) 0%, rgba(0, 168, 255, 0.05) 100%);
    border-radius: 0.875rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--cyan-color);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.25) 0%, rgba(0, 168, 255, 0.15) 100%);
    border-color: rgba(0, 229, 255, 0.4);
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* Pricing Box */
.pricing-box {
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.6) 0%, rgba(10, 15, 25, 0.8) 100%);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: sticky;
    top: 100px;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.pricing-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(0, 168, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.price-emphasis {
    color: var(--cyan-color);
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--cyan-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.5);
}

.pricing-badge {
    position: absolute;
    top: 26px;
    right: -56px;
    background: linear-gradient(135deg, var(--cyan-color) 0%, var(--primary-color) 100%);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.5rem 0;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    z-index: 10;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
}

.pricing-logo {
    width: 140px;
    height: auto;
    margin-bottom: var(--spacing-md);
    max-width: 100%;
    opacity: 0.9;
}

.pricing-amount {
    margin-bottom: var(--spacing-xs);
}

.pricing-amount .price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.pricing-tagline {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-feature-item:last-child {
    border-bottom: none;
}

.pricing-check {
    color: var(--cyan-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
    min-width: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #00a8ff 0%, #0077b6 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 1.125rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #33bfff 0%, #0088cc 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-pricing {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    width: 100%;
    margin-top: auto;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

/* Demo Section */
.demo-section-wrapper {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.demo-section {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-section .section-header {
    margin-bottom: var(--spacing-lg);
}

.demo-video {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.demo-placeholder-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(0, 168, 255, 0.2);
    transition: transform var(--transition-base);
}

.video-wrapper:hover .demo-placeholder-image {
    transform: scale(1.01);
}

.play-button {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: none;
    color: #fff;
    font-size: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3),
                0 4px 20px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    padding: 0;
}

.play-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4),
                0 6px 30px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.play-button:active {
    transform: translate(-50%, -50%) scale(1.02);
}

.play-button i {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: inline-block;
    margin-left: 6px; /* Shift icon slightly to the right */
}

.demo-video-element {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(0, 168, 255, 0.2);
}

/* Footer */
.footer {
    background: rgba(5, 9, 20, 0.95);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

.privacy-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-note p {
    margin-bottom: 0.5rem;
}

.footer-links {
    margin: var(--spacing-sm) auto;
    text-align: center;
}

.footer-links a {
    color: var(--cyan-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-sm);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .pricing-box {
        position: relative;
        top: auto;
        max-width: 450px;
        margin: 0 auto;
        order: -1; /* Show pricing first on mobile */
        overflow: hidden; /* Ensure badge stays contained */
    }
}

@media (max-width: 768px) {
    /* Logo */
    .logo-container {
        min-width: auto;
        max-width: 200px;
        flex: 1;
    }

    .logo-horizontal {
        display: block !important;
        height: auto;
        width: 100%;
        max-height: 40px;
        object-fit: contain;
        object-position: left;
    }

    .logo-stacked {
        display: none !important;
    }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-xs);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-list.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-link.nav-cta {
        margin-top: var(--spacing-xs);
    }

    .main {
        padding-top: 70px;
    }

    /* Hero Padding */
    .hero {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }

    /* Typography */
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Layout */
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn,
    .btn {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Features */
    .features {
        padding: var(--spacing-md) 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.05rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    /* Pricing */
    .pricing-box {
        padding: var(--spacing-md);
    }

    .pricing-badge {
        font-size: 0.6rem;
        right: -40px;
    }

    .pricing-amount .price {
        font-size: 2.25rem;
    }

    /* Demo */
    .demo-section-wrapper {
        padding: var(--spacing-lg) 0;
    }

    .demo-section {
        padding: var(--spacing-md);
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .play-button i {
        font-size: 2rem;
        display: inline-block;
        margin-left: 4px; /* Shift icon slightly to the right */
    }

    /* Footer */
    .footer {
        padding: var(--spacing-md) 0;
    }

    .privacy-note {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .privacy-note i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .pricing-amount .price {
        font-size: 2rem;
    }

    .pricing-logo {
        width: 100px;
    }

    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .play-button {
        width: 65px;
        height: 65px;
        font-size: 1.875rem;
    }

    .play-button i {
        font-size: 1.875rem;
        display: inline-block;
        margin-left: 4px; /* Shift icon slightly to the right */
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-item,
    .pricing-box,
    .demo-section {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .feature-item:nth-child(1) { animation-delay: 0.1s; }
    .feature-item:nth-child(2) { animation-delay: 0.2s; }
    .feature-item:nth-child(3) { animation-delay: 0.3s; }
    .feature-item:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- CHECKOUT FLOW STYLES --- */

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.step.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

.step.completed {
    background: var(--cyan-color);
    color: #000;
}

.step-line {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--transition-base);
}

.step-line.completed {
    background: var(--cyan-color);
}

.step-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.checkout-notice,
.checkout-subtitle.checkout-notice {
    font-size: 0.9rem;
    color: #f87171;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-top: var(--spacing-sm);
}

.location-notice,
.checkout-subtitle.location-notice {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(34, 197, 94, 0.2);
    margin-top: var(--spacing-sm);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

/* Main content - checkout pages */
.main.checkout-main {
    padding-top: 100px;
    padding-bottom: var(--spacing-xl);
    min-height: calc(100vh - 150px);
}

/* Checkout Layout */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-lg);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Checkout Card */
.checkout-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.checkout-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.checkout-logo {
    width: 120px;
    height: auto;
    margin-bottom: var(--spacing-sm);
}

.checkout-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.price-display {
    margin-bottom: var(--spacing-xs);
}

.price-display .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-display .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.checkout-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Styles */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
}

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

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Checkbox */
.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.terms-link {
    color: var(--cyan-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.terms-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Optional label */
.optional {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Fieldset Styles */
.form-fieldset {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
}

.fieldset-legend {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 0 0.5rem;
}

.fieldset-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.fieldset-note.warning {
    color: #f87171;
    font-weight: 500;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-radio {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.radio-input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.radio-label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.5;
}

/* Select Dropdown */
.form-select {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23adb5bd' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
}

.form-select option {
    background: var(--bg-dark);
    color: var(--text-color);
}

/* Map Container */
.map-container {
    width: 100%;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

#map_canvas {
    width: 100%;
    height: 350px;
}

.map-instructions {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.map-instructions p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.map-instructions p:last-child {
    margin-bottom: 0;
}

/* Wide Layout for Review Pages */
.checkout-wrapper-wide {
    grid-template-columns: 1fr;
    max-width: 700px;
}

.checkout-card-wide {
    width: 100%;
}

/* Review Data Display */
.review-section {
    margin-bottom: var(--spacing-md);
}

.review-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.review-value {
    font-size: 1rem;
    color: var(--text-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-grid {
    display: grid;
    gap: var(--spacing-sm);
}

.review-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.review-divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--spacing-sm) 0;
}

.review-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.review-data {
    color: var(--text-color);
}

/* Payment Page */
.payment-card {
    text-align: center;
}

.payment-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(0, 168, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.payment-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.payment-price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-checkout {
    width: 100%;
    max-width: 400px;
    margin: 0 auto var(--spacing-lg);
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.security-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: var(--spacing-md);
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-align: left;
}

.security-notice i {
    font-size: 1.5rem;
    color: #f87171;
    flex-shrink: 0;
}

.security-notice p {
    font-size: 0.85rem;
    color: #f87171;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 600px) {
    .review-row {
        grid-template-columns: 1fr;
    }

    #map_canvas {
        height: 280px;
    }
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #00a8ff 0%, #0077b6 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #33bfff 0%, #0088cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Features Sidebar */
.features-sidebar {
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.6) 0%, rgba(10, 15, 25, 0.8) 100%);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: sticky;
    top: 100px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.features-sidebar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(0, 168, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.features-sidebar .features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.features-sidebar .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-sidebar .feature-item:last-child {
    border-bottom: none;
}

.feature-check {
    color: var(--cyan-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}



/* --- CHECKOUT MEDIA QUERIES --- */

/* Responsive Design */
@media (max-width: 900px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .features-sidebar {
        position: relative;
        top: auto;
        order: -1;
    }
}

@media (max-width: 600px) {
    .main {
        padding-top: 80px;
    }

    .checkout-card {
        padding: var(--spacing-md);
    }

    .checkout-title {
        font-size: 1.5rem;
    }

    .price-display .price {
        font-size: 2rem;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features-sidebar {
        padding: var(--spacing-md);
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .checkout-card,
    .features-sidebar {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .features-sidebar {
        animation-delay: 0.2s;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Terms Page */
.terms-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.terms-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.terms-content {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.terms-content p {
    margin-bottom: var(--spacing-sm);
}

.terms-actions {
    text-align: center;
}

.terms-actions .btn {
    display: inline-flex;
    flex: none;
}
