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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Satoshi', system-ui, sans-serif;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Typography from Google Fonts / Local */
h1, h2, h3, h4, .clash {
    font-family: 'Clash Display', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Brutalist - no radius */
    object-fit: cover;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* === PREMIUM TOKENS (Deep Space Theme) === */
:root {
  --bg: #060611;
  --text: #ffffff;
  --text-muted: #a0a0c0;
  --accent: #7c3aed; /* Electric Violet */
  --accent-glow: rgba(124, 58, 237, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --brutalist-border: 3px solid #ffffff;
  --brutalist-shadow: 6px 6px 0px #7c3aed;
  --section-divider: 6px;
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Soft Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3External%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 100px 0;
    position: relative;
    border-bottom: var(--section-divider) solid var(--accent);
}

section:nth-child(even) {
    padding: 60px 0; /* Variable rhythm spacing */
}

/* === NAVIGATION (Centered Logo Nav) === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(6, 6, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex: 1;
}

.nav-links.right {
    justify-content: flex-end;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text);
}

.logo {
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    padding: 0 40px;
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* === HERO SLIDER (Full-Screen) === */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.slide-bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(6, 6, 17, 0.4), rgba(6, 6, 17, 0.9));
}

.slide-content {
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-stat {
    font-size: clamp(80px, 15vw, 180px);
    color: var(--accent);
    line-height: 0.9;
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-title {
    font-size: clamp(32px, 5vw, 64px);
    margin-bottom: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
}

.dot.active {
    background: var(--accent);
}

/* === TIMELINE / VERTICAL STORY LAYOUT === */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    width: 2px;
    height: 100%;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-node {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--accent);
    z-index: 2;
}

/* === ASYMMETRIC GRID === */
.asymmetric-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.ratio-35-65 { grid-template-columns: 0.35fr 0.65fr; }
.ratio-70-30 { grid-template-columns: 0.7fr 0.3fr; }
.ratio-40-60 { grid-template-columns: 0.4fr 0.6fr; }

/* === BRUTALIST BUTTONS === */
.btn-brutal {
    display: inline-block;
    padding: 18px 40px;
    background: #ffffff;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    border: var(--brutalist-border);
    box-shadow: var(--brutalist-shadow);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-brutal:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px var(--accent);
}

.btn-brutal.accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 6px 6px 0px #ffffff;
}

/* === CARDS & PANELS === */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -15px var(--accent-glow);
}

.card-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

/* === GALLERY MASONRY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* === TESTIMONIAL SORTER === */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    align-items: center;
}

.filter-chip {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
}

.search-box {
    padding: 12px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    flex: 1;
    min-width: 250px;
}

/* === COMPARISON TABLE === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    font-family: 'Clash Display', sans-serif;
    font-size: 20px;
}

.check-accent { color: var(--accent); font-weight: bold; }

/* === FOOTER (Logo Watermark Style) === */
footer {
    padding: 100px 0 40px;
    background: #030308;
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(100px, 20vw, 300px);
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    line-height: 0.8;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* === METRICS BANNER (Inner Pages) === */
.metrics-banner {
    width: 100%;
    background: var(--accent);
    padding: 40px 0;
    margin: 60px 0;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-item h3 { font-size: 48px; margin-bottom: 5px; }
.metric-item p { text-transform: uppercase; font-weight: 700; font-size: 12px; }

/* === MOBILE RESPONSIVE === */
@media (max-width: 1024px) {
    .asymmetric-grid {
        grid-template-columns: 1fr !important;
    }
}

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

    .nav-links { display: none; }

    .mobile-toggle { display: block; }

    .logo { padding: 0; }

    .nav-container { padding: 0 24px; }

    .timeline-container::before { display: none; }

    .slide-content h1 { font-size: 40px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-family: 'Clash Display', sans-serif;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}
