/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --clr-primary: #004DE6;
    --clr-primary-hover: #003BBD;
    --clr-primary-light: #EBF2FF;
    
    --clr-secondary: #0F172A;
    --clr-secondary-light: #1E293B;
    
    --clr-text-main: #334155;
    --clr-text-muted: #64748B;
    
    --clr-bg: #FFFFFF;
    --clr-bg-alt: #F8FAFC;
    --clr-bg-dark: #0F172A;
    
    --clr-border: #E2E8F0;
    --clr-accent: #38BDF8;
    --clr-success: #10B981;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px -10px rgba(0, 77, 230, 0.4);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-secondary);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ===== Layout & Utility ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-2xl) 0;
}

.bg-light { background-color: var(--clr-bg-alt); }
.bg-dark { 
    background-color: var(--clr-bg-dark); 
    color: white; 
}
.bg-dark h2, .bg-dark h3 { color: white; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.mt-4 { margin-top: var(--space-xl); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight {
    color: var(--clr-primary);
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-primary);
    background-color: var(--clr-primary-light);
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
.section-subtitle.light-text { color: #CBD5E1; }

.highlight-text {
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--clr-bg);
    color: var(--clr-secondary);
    border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
    background-color: var(--clr-bg-alt);
    border-color: #cbd5e1;
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--clr-border);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.blend-multiply {
    mix-blend-mode: multiply;
}

.footer-logo-wrapper {
    display: inline-flex !important;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-text-main);
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--clr-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trust-indicators i {
    color: var(--clr-success);
    width: 16px;
    height: 16px;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0,77,230,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--clr-border);
    animation: float 6s ease-in-out infinite;
}

.browser-mockup {
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.browser-header {
    background: #F8FAFC;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
}

.browser-header .dots {
    position: absolute;
    left: 16px;
    display: flex;
    gap: 8px;
}

.browser-url {
    background: #E2E8F0;
    padding: 4px 30px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--clr-text-muted);
    font-family: var(--font-body);
}

.hero-image-real {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
}

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

/* ===== Info Cards (Problem/Benefits) ===== */
.stat-card, .benefit-card {
    background: var(--clr-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon, .benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.stat-icon i, .benefit-icon i {
    width: 30px;
    height: 30px;
}

.benefit-card {
    border-color: rgba(255,255,255,0.1) !important;
    background: var(--clr-secondary-light);
}
.benefit-card .benefit-icon { background: rgba(0, 77, 230, 0.2); }

/* ===== Solution Section ===== */
.container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
}

.feature-text h4 { margin-bottom: 0.25rem; }

.mock-ui {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border);
    overflow: hidden;
}

.ui-header {
    background: var(--clr-bg-alt);
    padding: 1rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dots { display: flex; gap: 6px; }
.dots span {
    width: 12px; height: 12px; border-radius: 50%; background: #CBD5E1;
}
.dots span:nth-child(1) { background: #EF4444; }
.dots span:nth-child(2) { background: #F59E0B; }
.dots span:nth-child(3) { background: #10B981; }

.url {
    background: white;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    flex: 1;
    text-align: center;
}

.ui-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton {
    background: var(--clr-bg-alt);
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.skeleton.line { height: 16px; width: 100%; }
.skeleton.line.short { width: 60%; }
.skeleton.block { height: 100px; width: 100%; }

.badge-success {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-success);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 4px;
    align-self: flex-start;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--clr-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.stars {
    color: #FBBF24;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 2px;
}
.stars i { width: 20px; height: 20px; }
.stars .filled { fill: #FBBF24; }

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--clr-secondary);
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info strong { display: block; color: var(--clr-secondary); }
.author-info span { font-size: 0.875rem; color: var(--clr-text-muted); }


/* ===== Free Trial Section ===== */
.free-trial-section {
    padding: var(--space-2xl) 0;
}

.free-trial-card {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1a2744 40%, #003BBD 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 77, 230, 0.35);
}

.free-trial-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.free-trial-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.free-trial-content h2 {
    color: white;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.free-trial-content > p {
    color: #CBD5E1;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.free-trial-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.trial-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.trial-feature i {
    width: 18px;
    height: 18px;
    color: var(--clr-accent);
}

.btn-trial {
    background: white;
    color: var(--clr-primary);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}

.btn-trial:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.4);
}

.btn-trial i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-trial:hover i {
    transform: translateX(4px);
}

.trial-note {
    margin-top: 1.25rem !important;
    font-size: 0.875rem !important;
    color: #94A3B8 !important;
    margin-bottom: 0 !important;
}


/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--clr-primary) 0%, #00287A 100%);
    color: white;
    padding: var(--space-2xl) 0;
}

.cta-section h2 { color: white; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.25rem; color: #EBF2FF; max-width: 700px; margin: 0 auto 2.5rem; }

.cta-actions .btn-primary {
    background: white;
    color: var(--clr-primary);
}
.cta-actions .btn-primary:hover {
    background: #f1f5f9;
}

.cta-note {
    font-size: 0.875rem !important;
    margin-top: 1rem !important;
    opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
    background: var(--clr-bg-dark);
    color: #94A3B8;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { max-width: 300px; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.link-col li { margin-bottom: 0.75rem; }
.link-col a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
}

.social-links { display: flex; gap: 1rem; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: #1E293B;
    border-radius: 50%;
    color: white;
}
.social-links a:hover { background: var(--clr-primary); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .container-split, .hero-container { grid-template-columns: 1fr; gap: 3rem;}
    .hero { padding-top: 120px; text-align: center; }
    .hero-actions { justify-content: center; }
    .nav-links, .nav-actions .btn-outline { display: none; }
    .trust-indicators { justify-content: center; }
    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .free-trial-card { padding: 2.5rem 1.5rem; }
    .free-trial-features { flex-direction: column; align-items: center; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
/* ===== Video Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

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

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #000;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-close i {
    width: 24px;
    height: 24px;
}

.sound-alert {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2010;
    background: rgba(0, 77, 230, 0.9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sound-alert.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: pulse-sound 2s infinite;
}

.sound-alert i {
    width: 20px;
    height: 20px;
}

@keyframes pulse-sound {
    0% { transform: translateX(-50%) scale(1); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }
    50% { transform: translateX(-50%) scale(1.05); box-shadow: 0 15px 35px rgba(0, 77, 230, 0.4); }
    100% { transform: translateX(-50%) scale(1); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }
}

@media (max-width: 900px) {
    .modal-container {
        max-width: 100%;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.5);
        padding: 0.5rem;
        border-radius: 50%;
        backdrop-filter: blur(4px);
    }
}
