/* ETHEREAL DESIGN SYSTEM - LIGHT PREMIUM */
/* Clean, Corporate, Authoritative */

:root {
    --eth-bg: #ffffff;
    --eth-surface: #f8fafc;
    /* Slate 50 */
    --eth-text: #0f172a;
    /* Slate 900 */
    --eth-muted: #64748b;
    /* Slate 500 */
    --eth-accent: #0f172a;
    /* Royal Navy */
    --eth-primary: #2563eb;
    /* Corporate Blue */
    --eth-border: #e2e8f0;
    /* Slate 200 */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --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 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

body {
    background-color: var(--eth-bg);
    color: var(--eth-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 1. COMPONENT RESET */
.eth-section {
    position: relative;
    overflow: hidden;
}

.eth-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--eth-text);
}

/* 2. SPLIT HERO */
.eth-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: white;
    padding-top: 80px;
    /* Header Offset */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--eth-surface);
    border: 1px solid var(--eth-border);
    border-radius: 100px;
    color: var(--eth-text);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--eth-primary);
    border-radius: 50%;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--eth-muted);
    margin-bottom: 3rem;
    max-width: 540px;
}

.hero-visual {
    position: relative;
    height: 700px;
}

.hero-img-card {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    background: var(--eth-surface);
    transition: transform 0.6s var(--ease-out);
}

.hero-img-card:hover {
    transform: translateY(-10px);
}

/* 3. METRIC STRIP */
.metric-strip {
    border-top: 1px solid var(--eth-border);
    border-bottom: 1px solid var(--eth-border);
    padding: 4rem 0;
    background: white;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-item {
    border-left: 2px solid var(--eth-border);
    padding-left: 1.5rem;
}

.metric-val {
    font-size: 3rem;
    font-weight: 700;
    color: var(--eth-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-feature-settings: "tnum";
}

.metric-label {
    font-size: 0.9rem;
    color: var(--eth-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 4. CONTENT ACCORDION (Problem/Solution) */
.eth-content-section {
    padding: 120px 0;
    background: var(--eth-surface);
}

.content-header {
    margin-bottom: 5rem;
    max-width: 700px;
}

.section-label {
    color: var(--eth-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.tabs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--eth-border);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--eth-primary);
    margin-bottom: 1.5rem;
}

.list-check {
    list-style: none;
    padding: 0;
}

.list-check li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--eth-border);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--eth-text);
}

.check-icon {
    color: var(--eth-primary);
    flex-shrink: 0;
}

/* 5. TECH GRID */
.tech-grid-section {
    padding: 120px 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tech-card {
    padding: 2rem;
    background: var(--eth-surface);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--eth-muted);
    transition: 0.2s;
}

.tech-card:hover {
    background: var(--eth-primary);
    color: white;
}

/* UTILITIES & ANIMATION */
/* Override global cinematic.css fade-up within industry pages */
.world-class-wrapper .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Support both .in-view (industry JS) and .visible (global JS) */
.world-class-wrapper .fade-up.in-view,
.world-class-wrapper .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FALLBACK: If JS fails, ensure content is always visible after 1s */
@keyframes ensureVisible {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.world-class-wrapper .fade-up {
    animation: ensureVisible 0.8s ease-out 0.5s both;
}

.delay-100 {
    transition-delay: 0.1s;
    animation-delay: 0.6s !important;
}

.delay-200 {
    transition-delay: 0.2s;
    animation-delay: 0.7s !important;
}

.delay-300 {
    transition-delay: 0.3s;
    animation-delay: 0.8s !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-pill {
        margin: 0 auto 2rem;
    }

    .tabs-wrapper {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }
}