/* ============================================
   WORTIXEV MANIFESTO - MAIN STYLESHEET
   Pixel-perfect match to MANIFESTOPAGE10.png
   ============================================ */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0d0d0d;
    --green-primary: #00e676;
    --green-glow: #00ff88;
    --text-white: #ffffff;
    --text-gray: #999999;
    --text-light-gray: #cccccc;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.0) 0%,
        rgba(10, 10, 10, 0.15) 30%,
        rgba(10, 10, 10, 0.55) 55%,
        rgba(10, 10, 10, 0.85) 75%,
        rgba(10, 10, 10, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-primary);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-headline {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.hero-headline .green {
    color: var(--green-primary);
}

.hero-subtext {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--green-primary);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--green-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.btn-ghost:hover {
    border-color: var(--green-primary);
    background: rgba(0, 230, 118, 0.05);
}

.btn-ghost .play-icon {
    width: 0;
    height: 0;
    border-left: 8px solid var(--text-white);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ============================================
   MAIN SECTION (Diagram + Content)
   ============================================ */
.main-section {
    padding: 80px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.main-grid {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 48px;
    align-items: start;
}

/* --- Diagram as Image with Transparent Clickable Overlays --- */
.diagram-container {
    position: relative;
    width: 100%;
}

.diagram-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Transparent clickable overlay boxes */
.diagram-link {
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 10;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s, background 0.3s;
}

.diagram-link:hover {
    border-color: rgba(0, 230, 118, 0.5);
    background: rgba(0, 230, 118, 0.08);
}

/* Physical Assets (EVs) - right side of diagram, roughly 55%-95% horizontal, 38%-58% vertical */
.diagram-link--ev {
    top: 38%;
    right: 0%;
    width: 38%;
    height: 20%;
}

/* IoT Devices & Ground Truth - bottom of diagram, roughly 15%-85% horizontal, 68%-95% vertical */
.diagram-link--iot {
    bottom: 2%;
    left: 15%;
    width: 70%;
    height: 28%;
}

/* --- Right Content --- */
.right-content {
    padding-top: 0;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-primary);
    margin-bottom: 16px;
}

.section-headline {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.section-paragraph {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* --- Layer List --- */
.layer-list {
    list-style: none;
    margin-bottom: 36px;
}

.layer-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.layer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.layer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-primary);
    flex-shrink: 0;
}

.layer-desc {
    font-size: 13px;
    color: var(--text-gray);
    padding-left: 18px;
}

/* --- Unified Intelligence Separator (in right column) --- */
.unified-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 20px;
}

.unified-separator .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--green-primary), transparent);
}

.unified-separator .label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-primary);
    white-space: nowrap;
}

/* --- Video Player --- */
.video-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 10px;
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.video-thumbnail-overlay:hover {
    background: rgba(0, 0, 0, 0.15);
}

.video-thumbnail-overlay.hidden {
    display: none;
}

.play-button-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.4);
    transition: transform 0.3s;
}

.play-button-circle:hover {
    transform: scale(1.1);
}

.play-button-circle svg {
    width: 22px;
    height: 22px;
    fill: #000;
    margin-left: 3px;
}

.video-caption {
    font-size: 12px;
    color: var(--text-gray);
}

/* --- Unified Intelligence Text (below main section, aligned with video width) --- */
.unified-text {
    padding: 0;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 16px;
}

.unified-text strong {
    color: var(--text-light-gray);
    font-weight: 600;
}

/* ============================================
   UNIFIED INTELLIGENCE BADGE (full width)
   ============================================ */
.unified-full {
    padding: 60px 60px 20px;
    text-align: center;
}

.unified-full-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.unified-full-inner .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--green-primary), transparent);
}

.unified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--green-primary);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-primary);
    white-space: nowrap;
}

.unified-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 50px 60px 80px;
    text-align: center;
}

.cta-headline {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.cta-subtext {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--green-primary);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 24px;
}

.cta-button:hover {
    background: var(--green-glow);
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-gray);
}

.trust-check {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--green-primary);
    stroke-width: 2;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        padding: 0 32px 60px;
    }
    
    .hero-headline {
        font-size: 36px;
    }
    
    .main-section {
        padding: 60px 32px;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .diagram-container {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .cta-section {
        padding: 40px 32px 60px;
    }
    
    .cta-headline {
        font-size: 32px;
    }
    
    .unified-full,
    .unified-text {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 0 20px 48px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-subtext {
        font-size: 13px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-section {
        padding: 40px 20px;
    }
    
    .section-headline {
        font-size: 26px;
    }
    
    .unified-full,
    .unified-text {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cta-section {
        padding: 32px 20px 60px;
    }
    
    .cta-headline {
        font-size: 26px;
    }
    
    .trust-badges {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 24px;
    }
    
    .section-headline {
        font-size: 22px;
    }
    
    .cta-headline {
        font-size: 22px;
    }
}
