/* =============================================
   Digimusicharts — Premium Landing Page
   Design System & Styles
   ============================================= */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
    --bg:          #000000;
    --bg-alt:      #0b0b0c;
    --bg-card:     #111113;
    --white:       #ffffff;
    --text:        rgba(255,255,255,0.88);
    --text-sec:    rgba(255,255,255,0.52);
    --text-dim:    rgba(255,255,255,0.3);
    --border:      rgba(255,255,255,0.08);
    --border-hover:rgba(255,255,255,0.18);
    --glow:        rgba(255,255,255,0.04);
    --nav-h:       76px;
    --font:        'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

::selection {
    background: rgba(255,255,255,0.18);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
}


/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10;
    transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.835rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.4s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 10;
}

.nav-cta {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    transition: all 0.35s var(--ease);
}
.nav-cta:hover {
    background: var(--white);
    color: var(--bg);
    border-color: var(--white);
}

.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    padding: 4px 0;
}
.nav-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}
.nav-menu-btn.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}
.nav-menu-btn.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 1200px) {
    .nav-links { gap: 20px; }
    .nav-links a { font-size: 0.75rem; letter-spacing: 0.02em; }
}

@media (max-width: 1100px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .nav-menu-btn { display: flex; }
    .nav-inner { padding: 0 24px; }
}


/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
    overflow-y: auto;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.mobile-menu-close svg {
    color: var(--text-sec);
}

.mobile-menu-search {
    color: var(--text-sec);
    transition: color 0.3s;
}
.mobile-menu-search:hover {
    color: var(--white);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--text);
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.4s var(--ease-out), background 0.2s;
}

.mobile-link:active {
    background: rgba(255,255,255,0.04);
}

.mobile-link svg {
    color: var(--text-dim);
    flex-shrink: 0;
}

.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.24s; }


/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.1s linear;
    will-change: transform;
}

/* YouTube hero background slider */
.hero-yt-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-yt-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s ease;
    overflow: hidden;
    pointer-events: none;
}

.hero-yt-slide.active {
    opacity: 1;
}

.hero-yt-slide iframe,
.hero-yt-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Cover entire area regardless of aspect ratio */
    width: max(100%, 177.78vh);
    height: max(100%, 56.25vw);
    transform: translate(-50%, -50%) scale(1.08);
    border: none;
    object-fit: cover;
    pointer-events: none;
}

.hero-image-fallback {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.06;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: overlay;
    animation: noiseShift 0.15s steps(3) infinite;
}

@keyframes noiseShift {
    0%   { transform: translate(0, 0); }
    33%  { transform: translate(-2px, 1px); }
    66%  { transform: translate(1px, -2px); }
    100% { transform: translate(2px, 2px); }
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: flex-end;
}

.hero-text {
    max-width: 600px;
    text-align: right;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-sec);
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid var(--border-hover);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .hero-content {
        justify-content: center;
        padding: 0 24px;
        align-items: flex-end;
        padding-bottom: 100px;
    }
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--bg);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--white);
    border-radius: 100px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary svg {
    transition: transform 0.35s var(--ease-out);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}
.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    transition: all 0.4s var(--ease);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.06);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--white);
    animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
    0%   { top: -50%; }
    100% { top: 100%; }
}

/* Hero Animations */
.animate-item {
    opacity: 0;
    transform: translateY(32px);
}

body.loaded .animate-item {
    animation: heroReveal 1s var(--ease-out) forwards;
}

body.loaded .hero-tag       { animation-delay: 0.3s; }
body.loaded .hero-title     { animation-delay: 0.5s; }
body.loaded .hero-desc      { animation-delay: 0.7s; }
body.loaded .hero-ctas      { animation-delay: 0.9s; }
body.loaded .hero-scroll-indicator { animation-delay: 1.3s; }

@keyframes heroReveal {
    0%   { opacity: 0; transform: translateY(32px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* ---------- CTA BLOCK (Below Hero) ---------- */
.hero-cta-section {
    background: var(--bg);
    padding: 60px 0 0;
}

.hero-cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 14px;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
}

.cta-block-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.35s var(--ease);
    text-align: center;
    white-space: nowrap;
}

.cta-filled {
    background: var(--white);
    color: var(--bg);
    border: 1px solid var(--white);
}

.cta-filled:hover {
    background: transparent;
    color: var(--white);
}

.cta-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white);
}

.cta-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .hero-cta-section {
        padding: 40px 0 0;
    }
    .hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .cta-block-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 0.88rem;
        border-radius: 100px;
    }
}


/* ---------- SECTION SHARED ---------- */
.section-header {
    padding-top: 120px;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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


/* ---------- MODELS SECTION ---------- */
.models {
    background: var(--bg-alt);
    padding-bottom: 0;
    position: relative;
}

.models::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
    pointer-events: none;
}

.model-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 9px 22px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-sec);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.35s var(--ease);
}

.filter-btn:hover {
    color: var(--white);
    border-color: var(--border-hover);
    background: var(--glow);
}

.filter-btn.active {
    color: var(--bg);
    background: var(--white);
    border-color: var(--white);
}

/* Slider shared */
.slider-wrap {
    position: relative;
    padding: 0 48px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .slider-wrap { padding: 0 24px; }
}

.model-slider {
    display: flex;
    gap: 20px;
    will-change: transform;
    padding: 10px 0 20px;
    /* overflow controlled by JS */
}

.story-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 0 20px;
}

.story-slider::-webkit-scrollbar {
    display: none;
}

/* Model Card */
.model-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.45s var(--ease-out);
    position: relative;
    cursor: pointer;
}

.model-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 60%);
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.model-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 
        0 24px 48px rgba(0,0,0,0.4),
        0 0 60px rgba(255,255,255,0.02);
}

.model-card:hover::before {
    opacity: 1;
}

.model-card-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d0f, #161618);
}

.model-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.model-card:hover .model-card-visual img {
    transform: scale(1.08);
}

/* Play overlay on model cards */
.model-card-visual .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    z-index: 2;
    transition: background 0.4s;
}

.model-card:hover .model-card-visual .play-overlay {
    background: rgba(0,0,0,0.35);
}

.model-card-visual .play-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    opacity: 0.7;
    transition: all 0.4s var(--ease);
}

.model-card:hover .model-card-visual .play-icon {
    opacity: 1;
    background: rgba(255,255,255,0.22);
    transform: scale(1.12);
}

.card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    color: var(--white);
    z-index: 2;
}

.model-card-info {
    padding: 20px 24px 24px;
    position: relative;
    z-index: 2;
}

.model-card-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.model-card-info span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-sec);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Card filter hide/show */
.model-card.hidden {
    display: none;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px 48px 0;
}

@media (max-width: 768px) {
    .slider-controls { padding: 24px 24px 0; }
}

.slider-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-sec);
    transition: all 0.35s var(--ease);
}

.slider-btn:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.05);
}


/* ---------- STORIES SECTION ---------- */
.stories {
    background: var(--bg);
    padding-bottom: 120px;
    position: relative;
}

.stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, var(--bg-alt), var(--bg));
    pointer-events: none;
}

/* Story Card */
.story-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out);
}

.story-card:hover {
    transform: translateY(-4px);
}

.story-thumb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    background: var(--bg-card);
}

.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), filter 0.6s;
}

.story-card:hover .story-thumb img {
    transform: scale(1.06);
    filter: brightness(0.7);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: background 0.4s;
}

.story-card:hover .play-overlay {
    background: rgba(0,0,0,0.4);
}

.play-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s var(--ease);
}

.story-card:hover .play-icon {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.story-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.story-card:hover h4 {
    color: var(--white);
}


/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 40px;
    background: var(--bg);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-sec);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}


/* ---------- WHATSAPP FAB ---------- */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s cubic-bezier(0.16,1,0.3,1);
}

.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}


/* ---------- VIDEO MODAL ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(16px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.5s var(--ease-out);
}

.video-modal.open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sec);
    transition: color 0.3s;
    z-index: 10;
}
.modal-close:hover { color: var(--white); }

.modal-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.modal-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero-content {
        justify-content: center;
        padding: 0 24px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
        bottom: 28px;
    }

    .section-header {
        padding-top: 80px;
    }

    .model-card {
        flex: 0 0 280px;
    }

    .story-card {
        flex: 0 0 300px;
    }

    .model-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 7px 16px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .model-card {
        flex: 0 0 260px;
    }

    .story-card {
        flex: 0 0 270px;
    }
}


/* ---------- UTILITY ANIMATIONS ---------- */
@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* Smooth section transitions via gradient overlays are handled inline */


/* ---------- FAQ / SSS SECTION ---------- */
.faq {
    background: #111111;
    padding: 80px 0 80px;
}

.faq .section-header {
    text-align: center;
}

.faq-subtitle {
    font-size: 1.05rem;
    color: var(--text-sec);
    line-height: 1.7;
    max-width: 600px;
    margin: 16px auto 0;
}

.faq-group {
    max-width: 800px;
    margin: 0 auto 48px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-sec);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s var(--ease);
    background: none;
    border: none;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--text);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out);
    color: var(--text-sec);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out), padding 0.45s var(--ease-out);
    padding: 0 0;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 0 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.75;
}

@media (max-width: 768px) {
    .faq {
        padding: 80px 0 60px;
    }
    .faq-question {
        font-size: 0.92rem;
        padding: 16px 0;
    }
    .faq-answer p {
        font-size: 0.88rem;
    }
}


/* ---------- CONTACT / FORM SECTION ---------- */
.contact {
    background: var(--bg-alt);
    padding: 120px 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-sec);
    transition: color 0.3s;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--text-dim);
}

.contact-item:hover {
    color: var(--white);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 520px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    align-self: flex-start;
    margin-top: 4px;
}


/* ---------- BIZ KIMIZ PAGE ---------- */

/* Page Hero */
.page-hero {
    padding: 180px 0 80px;
    background: var(--bg);
}

.page-hero-content {
    max-width: 640px;
}

.page-hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero-desc {
    font-size: 1.1rem;
    color: var(--text-sec);
    line-height: 1.7;
}

/* About Grid (Misyon / Vizyon / Degeler) */
.about-section {
    padding: 80px 0 100px;
    background: var(--bg-alt);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-block {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.about-block:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.about-icon {
    margin-bottom: 20px;
    color: var(--text-sec);
}

.about-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.about-block p {
    font-size: 0.9rem;
    color: var(--text-sec);
    line-height: 1.7;
}

/* About Story */
.about-story {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
}

.about-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-alt), var(--bg));
    pointer-events: none;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.story-text .section-title {
    margin-bottom: 24px;
}

.story-text p {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
    .story-stats { gap: 24px; }
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.story-image-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.story-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.story-image-wrap:hover img {
    transform: scale(1.04);
}

.story-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    pointer-events: none;
}

/* About CTA Band */
.about-cta {
    padding: 80px 0 120px;
    background: var(--bg);
}

.cta-band {
    text-align: center;
    padding: 64px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.cta-band h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-band p {
    font-size: 1rem;
    color: var(--text-sec);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn-primary {
    display: inline-flex;
}
