:root {
    --bg-dark: #0a1628;
    --primary: #0f4c81;
    --accent: #ff8562;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-light: #f5f7fa;
    --success: #22c55e;
    --error: #ef4444;
    --spacing-container: 1200px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2, .section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.section-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Layout */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #e67554;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 133, 98, 0.3);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo img {
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links .btn {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* ==================== HERO ==================== */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
    color: #fff;
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

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

.hero-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hero-video {
    width: 100%;
    display: block;
}

.hero-fallback {
    display: none;
    width: 100%;
}

.hero-video:not([src]) ~ .hero-fallback,
.hero-video.error ~ .hero-fallback {
    display: block;
}

.hero-tagline {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.status-badge {
    background: var(--success);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-text {
    font-size: 16px;
    opacity: 0.8;
}

/* ==================== PROBLEM ==================== */
.problem-section {
    background: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.problem-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: #fee2e2;
    color: var(--error);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.problem-card h3 {
    color: var(--text-dark);
}

.problem-card p {
    color: #555;
    font-size: 16px;
}

.problem-summary {
    background: #fff;
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    border-radius: 0 12px 12px 0;
    max-width: 800px;
    margin: 0 auto;
}

.problem-summary p {
    font-size: 18px;
    color: #444;
}

/* ==================== SOLUTION ==================== */
.solution-section {
    background: #fff;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.solution-content h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary);
}

.solution-content p {
    margin-bottom: 20px;
    color: #444;
}

.solution-status {
    background: var(--bg-light);
    padding: 28px;
    border-radius: 12px;
    margin-top: 32px;
}

.solution-status h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

.status-list {
    display: grid;
    gap: 10px;
}

.status-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.status-list .check {
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

.status-list .open {
    color: #999;
    font-size: 18px;
}

.solution-media {
    position: sticky;
    top: 120px;
}

.solution-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.img-caption {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-top: 12px;
}

/* ==================== TECHNOLOGY ==================== */
.technology-section {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.step-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.tech-details {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tech-details h3 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--primary);
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tech-item strong {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-item span {
    color: #555;
    font-size: 15px;
}

/* ==================== WHY / COMPARISON ==================== */
.why-section {
    background: #fff;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.comparison-header {
    background: var(--bg-dark);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.comparison-header .comparison-col {
    padding: 16px 20px;
    text-align: center;
}

.comparison-header .comparison-col:first-child {
    text-align: left;
}

.comparison-header .highlight {
    background: var(--primary);
}

.comparison-row {
    border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .comparison-col {
    padding: 16px 20px;
    text-align: center;
    font-size: 15px;
}

.comparison-row .comparison-col:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-row .highlight {
    background: rgba(15, 76, 129, 0.05);
}

.comparison-row .yes { color: var(--success); font-weight: bold; }
.comparison-row .no { color: var(--error); font-weight: bold; }
.comparison-row .partial { color: #f59e0b; font-weight: bold; }

/* ==================== CONTACT ==================== */
.contact-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
    color: #fff;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-what,
.contact-offer {
    background: rgba(255,255,255,0.1);
    padding: 28px;
    border-radius: 12px;
}

.contact-what h4,
.contact-offer h4 {
    margin-bottom: 16px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.contact-what ul,
.contact-offer ul {
    display: grid;
    gap: 12px;
}

.contact-what li,
.contact-offer li {
    font-size: 15px;
    padding-left: 20px;
    position: relative;
}

.contact-what li::before,
.contact-offer li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    color: var(--text-dark);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    cursor: pointer;
    background: #fff;
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 28px;
}

.footer-brand p {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-container,
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        order: 1;
    }

    .hero-media {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-status {
        justify-content: center;
    }

    .solution-media {
        position: relative;
        top: 0;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

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

    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

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

    .contact-details {
        grid-template-columns: 1fr;
    }

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

    .comparison-table {
        font-size: 14px;
    }

    .comparison-header .comparison-col,
    .comparison-row .comparison-col {
        padding: 12px 8px;
    }

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

    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 64px;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ==================== DOT GRID BACKGROUND (ANIMATED) ==================== */
.dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
    animation: dotPulse 8s ease-in-out infinite;
}

.dot-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(15,76,129,0.08) 2px, transparent 2px);
    background-size: 64px 64px;
    animation: dotDrift 25s linear infinite;
}

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

@keyframes dotDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(32px, 32px); }
}

/* Ensure content sits above dot grid */
.navbar,
section,
.footer {
    position: relative;
    z-index: 1;
}

/* ==================== HERO ADDITIONS ==================== */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-gif {
    width: 100%;
    border-radius: 12px;
}

.hero-text {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 28px;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .hero-text {
        margin: 0 auto 28px;
    }
}

/* ==================== VIDEO SECTION ==================== */
.video-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

.video-intro {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.video-intro h2 {
    color: #fff;
    margin-bottom: 16px;
}

.video-intro p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.promo-video {
    width: 100%;
    display: block;
    background: #000;
}

/* ==================== EMAIL CTA ==================== */
.contact-cta {
    text-align: center;
    padding: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.email-btn {
    font-size: 22px;
    padding: 24px 48px;
    gap: 12px;
}

.email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
}

.email-hint {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .email-btn {
        font-size: 18px;
        padding: 20px 32px;
    }

    .contact-cta {
        padding: 32px 24px;
    }
}

/* ==================== LOGO WITH TEXT ==================== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.5px;
}

/* Footer text fix */
.footer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-text strong {
    color: #fff;
    font-size: 16px;
}

.footer-text span {
    font-size: 13px;
    opacity: 0.7;
}

/* ==================== MARKET STATS ==================== */
.market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.source-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .market-stats {
        grid-template-columns: 1fr;
    }

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

/* ==================== COMPARISON TABLE (5 COLUMNS) ==================== */
.comparison-header,
.comparison-row {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.comparison-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 24px;
    font-style: italic;
}

@media (max-width: 768px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    }

    .comparison-header .comparison-col,
    .comparison-row .comparison-col {
        padding: 10px 6px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    }

    .comparison-header .comparison-col,
    .comparison-row .comparison-col {
        padding: 8px 4px;
        font-size: 11px;
    }
}

/* ==================== AUDIENCE SECTION ==================== */
.audience-section {
    background: var(--bg-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.audience-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.audience-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a6bb8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
}

.audience-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary);
}

.audience-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 48px auto 0;
    }
}

/* ==================== STEP CARD VISUAL ==================== */
.step-card-visual {
    position: relative;
}

.step-visual {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* ==================== TECHNOLOGY SECTION PATTERN ==================== */
.technology-section {
    background:
        linear-gradient(90deg, rgba(15,76,129,0.03) 1px, transparent 1px),
        linear-gradient(rgba(15,76,129,0.03) 1px, transparent 1px),
        var(--bg-light);
    background-size: 24px 24px;
}

/* ==================== FOOTER FULL LOGO ==================== */
.footer-logo-full {
    height: 40px;
    width: auto;
}
