/* sectors.css - Dark Theme for Premium Sectors Page Layout */

/* Body Override for specific backgrounds if needed */
.sectors-page-dark {
    --bg-primary: #000000;
    
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #aaaaaa;

    --accent-primary: #3ED5B0;
    --accent-gradient: linear-gradient(135deg, #3ED5B0 0%, #00FFA3 100%);
    
    --nav-bg: rgba(0, 0, 0, 0.85);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.sectors-main {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
}

/* Layout Details */
.sectors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px; /* Desktop padding */
}

/* Hero Section */
.sectors-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-primary);
    padding: 100px 24px;
    position: relative;
}

.sectors-hero-headline {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(44px, 6vw, 80px);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.sectors-hero-subheadline {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

/* Sector Sections */
.sector-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--bg-primary);
}

.sector-header {
    margin-bottom: 40px;
}

.sector-name {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.sector-tagline {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    line-height: 1.5;
}

/* Use Cases */
.use-cases {
    margin-bottom: 32px;
}

.use-cases-heading {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.use-case-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.use-case-item {
    margin-bottom: 24px;
    padding-left: 32px;
    position: relative;
    font-size: clamp(16px, 1.5vw, 18px); /* Mobile 16px, Desktop 18px */
    font-weight: 400;
    color: var(--text-secondary); /* Use case descriptions in light grey */
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.use-case-item::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-primary);
    font-size: 20px;
    font-weight: 600;
}

.use-case-item strong {
    font-weight: 600;
    color: var(--text-primary); /* Bold white titles */
    letter-spacing: 0.005em;
    display: inline;
}

/* Governance Note */
.governance-note {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 400;
    color: var(--text-muted); /* Medium grey */
    letter-spacing: 0.015em;
    font-style: italic;
    line-height: 1.6;
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.governance-note strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Closing Section */
.closing-section {
    padding: 100px 24px;
    text-align: center;
    background-color: var(--bg-primary);
}

.closing-headline {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.closing-body {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

/* Teal Custom Button */
.btn-teal {
    background-color: var(--accent-primary);
    color: #000000;
    padding: 16px 48px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-teal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(62, 213, 176, 0.3);
    color: #000000;
}

/* =========================================
   Fade-in-up — pure CSS, no JS required
   Elements animate in automatically via @keyframes.
   The .visible class is kept for compatibility but not needed.
   ========================================= */

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

.fade-in-up {
    opacity: 1;               /* always visible — JS failure safe */
    transform: translateY(0);
    animation: fadeUpIn 0.7s ease-out forwards;
}

/* Stagger delays by position within sector sections */
.sectors-hero .fade-in-up:nth-child(1)  { animation-delay: 0.1s; }
.sectors-hero .fade-in-up:nth-child(2)  { animation-delay: 0.25s; }

.sector-section .sector-name            { animation-delay: 0.05s; }
.sector-section .sector-tagline         { animation-delay: 0.15s; }
.sector-section .use-cases-heading      { animation-delay: 0.2s; }
.sector-section .use-case-item:nth-child(1)  { animation-delay: 0.25s; }
.sector-section .use-case-item:nth-child(2)  { animation-delay: 0.4s; }
.sector-section .use-case-item:nth-child(3)  { animation-delay: 0.55s; }
.sector-section .use-case-item:nth-child(4)  { animation-delay: 0.7s; }
.sector-section .governance-note        { animation-delay: 0.85s; }

.closing-section .fade-in-up:nth-child(1) { animation-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none;
    }
}

/* Mobile Breakpoints overrides */
@media (max-width: 768px) {
    .sectors-container {
        padding: 0 24px;
    }

    .sector-section {
        padding: 60px 0;
    }
    
    .closing-section {
        padding: 60px 24px;
    }
}
