/* Palette Name: Charcoal-Terracotta Tech (Dynamic Tech Style) */
/* Primary: #E65F2B (Terracotta), Accent: #F4A261 (Amber), Dark: #121214 (Charcoal), Light: #F8F9FA, Muted: #4A154B */

:root {
    --color-dark-bg: #121214;
    --color-light-bg: #F8F9FA;
    --color-accent-primary: #E65F2B;
    --color-accent-secondary: #F4A261;
    --color-dark-surface: #1E1E22;
    --color-light-surface: #FFFFFF;
    --color-text-light: #F8F9FA;
    --color-text-dark: #1E1E22;
    --color-text-muted: #707075;
    --color-accent-purple: #4A154B;
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-light-bg);
}

/* Sharp Border-style & Dramatic Shadows */
.hscroll-card, .checklist-item, .gallery-item, .tech-form input, .tech-form textarea, .btn-tech-primary, .faq-card, .value-card, #cookie-banner, .step-card, .comparison-table-tech, .num-section-item {
    border-radius: 0 !important; /* Strict sharp requirement */
}

/* Dramatic shadows */
.hscroll-card, .checklist-item, .gallery-item, .tech-form, .faq-card, .value-card, .thank-box-tech, .step-card {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hscroll-card:hover, .checklist-item:hover, .gallery-item:hover, .faq-card:hover, .value-card:hover, .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.30);
}

/* Containers & Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 16px;
}

/* Sections color-mode: mixed */
.section-dark {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
}

.section-light {
    background-color: var(--color-light-bg);
    color: var(--color-text-dark);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-dark-bg);
    border-bottom: 2px solid var(--color-accent-primary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo - always on the left */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-accent-primary);
    text-decoration: none;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hamburger - ALWAYS RIGHT */
.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none; /* Desktop hidden */
}

.hamburger .line {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--color-accent-primary);
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent-secondary);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-dark-bg);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 18px;
    display: block;
}

/* HERO SECTION: bold-text-only style */
.hero-bold-tech {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-accent-purple) 100%);
    color: var(--color-text-light);
    padding: 80px 16px;
    text-align: center;
    border-bottom: 6px solid var(--color-accent-primary);
}

.hero-tech-container {
    max-width: 900px;
    margin: 0 auto;
}

.tech-badge {
    display: inline-block;
    background-color: var(--color-accent-primary);
    color: var(--color-text-light);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tech-title {
    font-size: clamp(32px, 6vw, 64px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.tech-lead {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.btn-tech-primary {
    display: inline-block;
    background-color: var(--color-accent-primary);
    color: var(--color-text-light);
    text-decoration: none;
    padding: 16px 36px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-tech-primary:hover {
    background-color: var(--color-accent-secondary);
}

/* SECTION HEADERS */
.section-tag {
    color: var(--color-accent-primary);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title-tech {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle-tech {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 700px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-left {
    margin-bottom: 48px;
}

/* SECTION 1: Horizontal Scroll */
.hscroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 24px;
}

.hscroll-container {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.hscroll-card {
    background-color: var(--color-dark-surface);
    border-top: 4px solid var(--color-accent-primary);
    padding: 32px;
    width: 320px;
    color: var(--color-text-light);
}

.card-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-accent-secondary);
    margin-bottom: 16px;
}

.hscroll-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.hscroll-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* SECTION 2: Checklist Block */
.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.checklist-item {
    background-color: var(--color-light-surface);
    border-left: 4px solid var(--color-accent-primary);
    padding: 20px;
    display: flex;
    gap: 16px;
}

.checkmark {
    color: var(--color-accent-primary);
    font-size: 24px;
    font-weight: bold;
}

.checklist-item h4 {
    margin-bottom: 4px;
}

/* SECTION 3: Gallery Grid */
.gallery-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 24px;
    color: var(--color-text-light);
}

.text-placeholder {
    background-color: var(--color-accent-purple);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.alt-bg {
    background-color: var(--color-dark-surface);
}

/* SECTION 4: Quote Highlight */
.quote-section {
    background-color: var(--color-accent-primary);
    color: var(--color-text-light);
    text-align: center;
    padding: 80px 16px;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 80px;
    font-family: serif;
    line-height: 1;
    display: block;
    color: var(--color-accent-secondary);
}

.quote-text {
    font-size: clamp(18px, 4vw, 28px);
    font-style: italic;
    margin-bottom: 24px;
}

/* SECTION 5: Comparison Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.comparison-table-tech {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-light-surface);
}

.comparison-table-tech th, .comparison-table-tech td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table-tech th {
    background-color: var(--color-dark-surface);
    color: var(--color-text-light);
    font-weight: bold;
}

/* PROGRAM PAGE: Numbered Sections */
.program-hero, .mission-hero, .contact-hero {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-dark-surface) 100%);
    color: var(--color-text-light);
    padding: 60px 16px;
    border-bottom: 4px solid var(--color-accent-primary);
}

.sharp-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.numbered-sections-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.num-section-item {
    background-color: var(--color-dark-surface);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-right: 4px solid var(--color-accent-primary);
}

.num-large {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-accent-primary);
    line-height: 1;
}

/* MISSION PAGE: Timeline */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

.timeline-item {
    background-color: var(--color-dark-surface);
    padding: 32px;
    border-left: 4px solid var(--color-accent-secondary);
}

.timeline-date {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-accent-primary);
    margin-bottom: 8px;
}

/* VALUES GRID */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: var(--color-light-surface);
    padding: 32px;
    border-top: 4px solid var(--color-accent-primary);
}

/* CONTACT PAGE: Form & Sidebar */
.tech-form {
    background-color: var(--color-light-surface);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background-color: #fcfcfc;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent-primary);
    outline: none;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block-tech h3 {
    margin-bottom: 8px;
    color: var(--color-accent-primary);
}

.accent-link {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-weight: bold;
}

.status-block {
    background-color: var(--color-accent-purple);
    color: var(--color-text-light);
    padding: 24px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.faq-card {
    background-color: var(--color-light-surface);
    padding: 24px;
    border-bottom: 4px solid var(--color-accent-secondary);
}

.faq-card h4 {
    margin-bottom: 12px;
}

/* LEGAL PAGES */
.legal-page {
    padding: 40px 0;
}

.legal-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
}

.legal-date {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.legal-content h2 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.highlight-box {
    background-color: rgba(230, 95, 43, 0.1);
    border-left: 4px solid var(--color-accent-primary);
    padding: 16px;
}

/* THANK PAGE */
.thank-box-tech {
    background-color: var(--color-dark-surface);
    color: var(--color-text-light);
    padding: 48px;
}

.thank-next-steps {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

.step-card {
    background-color: var(--color-dark-bg);
    padding: 24px;
}

.step-link {
    color: var(--color-accent-secondary);
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
    font-weight: bold;
}

.thank-action-bar {
    margin-top: 40px;
}

/* FOOTER */
.site-footer {
    padding: 60px 16px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    font-size: 12px;
    text-align: center;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--color-dark-surface);
    color: var(--color-text-light);
    border-top: 4px solid var(--color-accent-primary);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--color-accent-secondary);
    text-decoration: none;
    font-weight: bold;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
}

.cookie-btn-accept {
    background-color: var(--color-accent-primary);
    color: var(--color-text-light);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Mobile-First Responsive Breakpoints */

@media (min-width: 600px) {
    #cookie-banner {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 768px) {
    /* Header & Navigation */
    .desktop-nav {
        display: block;
    }
    .hamburger {
        display: none;
    }

    /* Grids */
    .grid-two-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .num-section-item {
        flex-direction: row;
    }
    .num-large {
        flex-basis: 150px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .mobile-nav {
        display: block;
    }
    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (min-width: 1024px) {
    .gallery-layout {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-item.large-item {
        grid-column: span 2;
    }
}