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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Cyberpunk Clean Theme */
  --bg: #0b0b0d;
  --bg-deep: #050505;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent-primary: #00f2ff; /* Electric Blue */
  --accent-secondary: #ff00ff; /* Magenta Neon */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-neon: 0 0 15px rgba(0, 242, 255, 0.3);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', serif;
}

body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, .nav-link-large {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }

/* === BACKGROUND TEXTURE: CSS Particle/Dot Grid === */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: radial-gradient(circle, rgba(0, 242, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: grid-pulse 10s infinite alternate linear;
}

@keyframes grid-pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.1) translate(-15px, -15px); opacity: 0.8; }
}

/* === OVERLAY-ONLY NAVIGATION === */
.nav-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--accent-primary);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-neon);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--bg);
    transition: 0.3s;
}

.nav-toggle.active {
    background: var(--accent-secondary);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li { margin: 1.5rem 0; }

.nav-link-large {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--text);
    transition: 0.3s;
    position: relative;
}

.nav-link-large:hover, .nav-link-large.active {
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--accent-primary);
}

.nav-link-large::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-link-large:hover::after { width: 100%; }

/* === FIXED TOP BAR (Visual Only / Logo) === */
.brand-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 998;
    background: rgba(11, 11, 13, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

/* === LAYOUT ARCHETYPE: Editorial / Magazine Style === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 60px 0;
    position: relative;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* === HERO: Testimonial Style === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 242, 255, 0.2), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-quote-block {
    grid-column: 1 / 8;
    padding: 2rem;
}

.hero-quote {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    font-family: var(--font-heading);
    color: var(--text);
    margin-bottom: 2rem;
}

.hero-image-wrap {
    grid-column: 8 / 13;
    position: relative;
    padding: 1rem;
}

.hero-image-wrap img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-md);
    filter: grayscale(0.5);
    border: 1px solid var(--accent-primary);
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 242, 255, 0.4), transparent);
    pointer-events: none;
}

.hero-meta {
    margin-top: 2rem;
    border-left: 4px solid var(--accent-secondary);
    padding-left: 1.5rem;
}

/* === SPLIT-COLOR BUTTONS === */
.btn-split {
    position: relative;
    display: inline-flex;
    height: 54px;
    min-width: 220px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-split .left-side {
    width: 50%;
    height: 100%;
    background: var(--accent-primary);
}

.btn-split .right-side {
    width: 50%;
    height: 100%;
    background: var(--accent-secondary);
}

.btn-split .btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 1;
    mix-blend-mode: exclusion;
}

.btn-split:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* === SECTION DIVIDERS: Diagonal Slant === */
.slant-divider {
    height: 100px;
    width: 100%;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

/* === MASONRY: CSS Columns === */
.masonry-grid {
    columns: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: 0.3s;
}

.masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
    border-color: var(--accent-primary);
}

@media (max-width: 1024px) { .masonry-grid { columns: 2; } }
@media (max-width: 768px) { .masonry-grid { columns: 1; } }

/* === MODULAR BLOCKS === */
.module-block {
    background: var(--bg-deep);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    margin-bottom: 25px;
    border-radius: var(--radius-sm);
}

/* === TAB-BASED SHOWCASE === */
.tab-showcase {
    background: var(--bg-deep);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--glass-border);
}

.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 3rem;
    overflow-x: auto;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--accent-primary);
    color: var(--bg);
    box-shadow: var(--shadow-neon);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

/* === FOOTER: Sticky Bottom Bar + Collapsible === */
.main-footer {
    position: relative;
    background: var(--bg-deep);
    border-top: 1px solid var(--glass-border);
}

.footer-collapsible {
    padding: 60px 0;
    max-height: 2000px;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

.footer-collapsible.collapsed {
    max-height: 0;
    padding: 0;
}

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

.footer-bottom-bar {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: rgba(11, 11, 13, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 0;
    z-index: 100;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-toggle {
    background: none;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 5px 15px;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a { color: var(--accent-primary); }
.breadcrumbs span { margin: 0 10px; }

/* === STAGGERED ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .editorial-grid { display: block; }
    .hero-quote-block, .hero-image-wrap { margin-bottom: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .tab-content.active { grid-template-columns: 1fr; }
    .hero-image-wrap img { height: 400px; }
    .hero-quote { font-size: 2.5rem; }
}

/* Image Gradients */
.img-overlay-wrap {
    position: relative;
}

.img-overlay-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 242, 255, 0.4), transparent);
    z-index: 1;
    pointer-events: none;
}

.img-overlay-wrap img {
    position: relative;
    z-index: 0;
}

/* Stats Strip */
.stats-strip {
    background: linear-gradient(90deg, var(--bg-deep), var(--accent-primary));
    padding: 40px 0;
    color: var(--bg-deep);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
}
