/* ==========================================================================
   HAN - Premium E-Commerce Editorial Design System (Scroll-Driven / 2026)
   Clean typography, warm colors, scroll-driven parallax, and triggers.
   ========================================================================== */

/* --- 1. DESIGN TOKENS & VARIABLES --- */
:root {
    /* Color Palette (Light Theme - Warm Editorial Vanilla) */
    --bg-color: #faf7f2;
    --bg-card: #ffffff;
    --text-primary: #1c1a17;
    --text-secondary: #5c5750;
    --accent: #ee5b01;       /* Brand Orange */
    --accent-light: #f1ede4;
    --accent-hover: #d35100;
    --gold: #b38b4f;         /* Ochre/Gold */
    --gold-light: #faf5eb;
    
    /* Layout Borders & Grid Lines */
    --border-color: #e6dfd5;
    --border-light: rgba(28, 26, 23, 0.05);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Radii */
    --shadow-soft: 0 4px 20px rgba(238, 91, 1, 0.04);
    --shadow-premium: 0 20px 50px rgba(28, 26, 23, 0.06);
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Timing & Eases */
    --ease-editorial: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.25s var(--ease-editorial);
    --transition-medium: 0.5s var(--ease-editorial);
    --transition-slow: 0.8s var(--ease-editorial);
}

html[data-theme="dark"] {
    /* Color Palette (Dark Theme - Obsidian & Sage) */
    --bg-color: #0c0b0a;
    --bg-card: #131211;
    --text-primary: #f5f2eb;
    --text-secondary: #9c9489;
    --accent: #ff6e1a;       /* Vibrant Orange for Dark Mode */
    --accent-light: #1c1b19;
    --accent-hover: #ff8540;
    --gold: #d4b27d;
    --gold-light: #22201c;
    
    /* Layout Borders & Grid Lines */
    --border-color: #262422;
    --border-light: rgba(245, 242, 235, 0.05);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* --- 2. BASE STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: background-color var(--transition-medium), color var(--transition-medium);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.625;
    overflow-x: hidden;
}

/* Scroll Progress Line at top of screen */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--gold);
    width: 0%;
    z-index: 1002;
    will-change: width;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.serif-italic {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* --- 3. LAYOUT & GRID SYSTEM --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.section-header {
    max-width: 750px;
    margin-bottom: 4.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    background-color: var(--bg-card);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Grid overlay background lines */
.editorial-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-left: 1px dashed var(--border-light);
    border-right: 1px dashed var(--border-light);
    margin: 0 2rem;
    z-index: 0;
}

/* --- 4. NAVIGATION BAR --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), height var(--transition-medium), opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

body.page-loaded .site-header {
    opacity: 1;
    transform: translateY(0);
}

.site-header.scrolled {
    height: 75px;
    background-color: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark"] .site-header {
    background-color: rgba(19, 18, 17, 0.92);
}

html[data-theme="dark"] .site-header.scrolled {
    background-color: rgba(19, 18, 17, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    transition: height var(--transition-medium);
}

.site-header.scrolled .logo-img {
    height: 42px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    transition: transform var(--transition-medium);
}

html[data-theme="light"] .moon-icon { display: none; }
html[data-theme="dark"] .sun-icon { display: none; }

.cta-button-nav {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background-color: var(--accent);
    color: var(--bg-color) !important;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.cta-button-nav:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1001;
}

.menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--transition-medium), opacity var(--transition-fast);
}

/* --- 5. EDITORIAL HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 11rem);
    display: flex;
    flex-direction: column;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    box-sizing: border-box;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: flex-start;
    z-index: 1;
    margin-top: 15rem;
    margin-bottom: 3rem;
}

.hero-content {
    max-width: 620px;
    opacity: 0;
    transform: translate3d(-35px, 0, 0);
    transition: opacity 1.1s var(--ease-editorial), transform 1.1s var(--ease-editorial);
}

body.page-loaded .hero-content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.22s;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.8rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    border-radius: var(--radius-sm);
    background-color: var(--accent);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.primary-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.primary-button svg {
    transition: transform var(--transition-medium);
}

.primary-button:hover svg {
    transform: translateX(4px);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 1.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.95rem;
    background-color: var(--bg-card);
    transition: border-color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.secondary-button:hover {
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Hero Right: Parallax Layered Visual Cluster */
.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.93) rotate(2deg);
    transition: opacity 1.3s var(--ease-editorial), transform 1.3s var(--ease-editorial);
}

body.page-loaded .hero-visual {
    opacity: 1;
    transform: scale(1) rotate(0);
    transition-delay: 0.46s;
}

.hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 100%;
    transform: scale(0.88);
    transform-origin: center;
}

.editorial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.editorial-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border: 1px solid var(--border-light);
    margin: 1rem;
    z-index: 1;
}

.card-header-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.card-main-stat {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.card-stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.card-bento-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.subgrid-item h5 {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.subgrid-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Floating Parallax Badges (Values calculated in JS using --scroll-y) */
.parallax-badge-top {
    position: absolute;
    bottom: 20px;
    left: -40px;
    top: auto;
    right: auto;
    padding: 0.85rem 1.2rem;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 3;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    will-change: transform;
}

.parallax-badge-top .badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.parallax-badge-top h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.parallax-badge-top p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.parallax-chart-bottom {
    position: absolute;
    bottom: 20px;
    right: -25px;
    padding: 1rem 1.2rem;
    width: 190px;
    z-index: 3;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    will-change: transform;
}

.parallax-chart-bottom h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.parallax-chart-bottom .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.parallax-chart-bottom .chart-percentage {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    background-color: var(--accent-light);
    padding: 0.15rem 0.4rem;
    border-radius: 100px;
}

.sparkline-container {
    height: 35px;
    display: flex;
    align-items: flex-end;
}

.sparkline {
    width: 100%;
    height: 30px;
}

.sparkline-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 3.5s ease-out forwards infinite;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* Background gradient blob */
.hero-bg-accent {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

/* --- 6. LOGO MARQUEE (Infinite scrolling client logotypes) --- */
.logo-marquee-wrapper {
    margin-top: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s var(--ease-editorial), transform 1s var(--ease-editorial);
}

body.page-loaded .logo-marquee-wrapper {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.68s;
}

.marquee-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.marquee {
    display: flex;
    width: 100%;
    user-select: none;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    min-width: 100%;
    gap: 7rem;
    animation: scroll 35s linear infinite;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.logo-item:hover {
    opacity: 1;
    color: var(--accent);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* --- 7. HUMAN STORY / METRICS (Bento Grid) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.bento-card.col-span-2 {
    grid-column: span 2;
}

.bento-card.highlight {
    background-color: var(--accent);
    color: var(--bg-color);
    border-color: transparent;
}

.bento-card.highlight .card-desc {
    color: rgba(255, 255, 255, 0.75);
}

.card-number {
    position: absolute;
    left: -0.2em;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 11rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

html[data-theme="dark"] .card-number {
    color: var(--text-primary);
    opacity: 0.04;
}

.bento-card.highlight .card-number {
    color: var(--bg-color);
    opacity: 0.12;
}

.card-content-wrapper {
    position: relative;
    z-index: 2;
    padding-left: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- 8. SCROLL-DRIVEN SERVICES HORIZONTAL TRACK --- */
.horizontal-scroll-section {
    overflow-x: hidden;
    padding-bottom: 9rem;
}

.horizontal-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0 3rem 0;
}

.horizontal-scroll-track {
    display: flex;
    gap: 2.5rem;
    padding: 0 10vw;
    width: max-content;
    will-change: transform;
}

.horizontal-card {
    flex-shrink: 0;
    width: 440px;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- 9. DARBOĞAZ TEŞHİS HUNİSİ (Interactive Funnel Card) --- */
.funnel-container {
    max-width: 800px;
    margin: 0 auto;
}

.funnel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.funnel-progress-wrapper {
    margin-bottom: 3rem;
}

.funnel-progress-bar {
    height: 4px;
    background-color: var(--accent-light);
    border-radius: 10px;
    overflow: hidden;
}

.funnel-progress-fill {
    height: 100%;
    background-color: var(--gold);
    width: 25%;
    transition: width var(--transition-medium);
}

.funnel-steps-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.funnel-step {
    display: none;
    animation: stepFadeIn 0.5s var(--ease-editorial) forwards;
}

.funnel-step.active {
    display: block;
}

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

.step-question {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 2.2rem;
}

/* Choice Grid Options */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.option-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.option-card:hover {
    border-color: var(--accent);
    background-color: var(--accent-light);
}

.option-card.selected {
    border-color: var(--accent);
    background-color: var(--accent-light);
    box-shadow: 0 0 0 1px var(--accent);
}

.option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    position: relative;
    flex-shrink: 0;
    transition: border-color var(--transition-fast);
}

.option-card.selected .option-radio {
    border-color: var(--accent);
}

.option-card.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

.option-label {
    font-size: 1rem;
    font-weight: 600;
}

/* Text Input Forms */
.form-inputs-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-input {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background-color: var(--bg-color);
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent);
    outline: none;
}

.hidden-field {
    display: none !important;
    visibility: hidden;
}

.funnel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.btn-back:hover {
    color: var(--text-primary);
}

.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    background-color: var(--accent);
    color: var(--bg-color);
    font-weight: 600;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dynamic Results Layout */
.funnel-success {
    text-align: center;
    animation: stepFadeIn 0.6s var(--ease-editorial);
}

.success-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.score-card {
    background-color: var(--accent-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 550px;
    border: 1px solid rgba(39, 69, 56, 0.05);
}

.score-title-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.score-digit {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    margin: 1rem 0;
}

.score-verdict {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.score-recommendation {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.error-message {
    color: #e05e5e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: none;
}

/* --- 10. FAQ ACCORDION --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.faq-cross {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.faq-cross::before, .faq-cross::after {
    content: '';
    position: absolute;
    background-color: var(--text-primary);
    transition: transform var(--transition-medium);
}

/* Horizontal line */
.faq-cross::before {
    top: 8px;
    left: 1px;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-cross::after {
    top: 1px;
    left: 8px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-cross {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-medium), opacity var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 1.2rem;
}

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

/* --- 11. EDITORIAL FOOTER --- */
.site-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
}

.footer-logo-centered {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.social-circle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-contact-link:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* --- 12. SCROLL TRIGGER REVEAL UTILITIES --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    will-change: opacity, transform;
    transition: opacity 1s var(--ease-editorial), transform 1s var(--ease-editorial);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Left sliding entry */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    will-change: opacity, transform;
    transition: opacity 1s var(--ease-editorial), transform 1s var(--ease-editorial);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Right sliding entry */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    will-change: opacity, transform;
    transition: opacity 1s var(--ease-editorial), transform 1s var(--ease-editorial);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* --- 13. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bento-card.col-span-2 {
        grid-column: span 1;
    }
    
    .horizontal-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .horizontal-scroll-track {
        padding: 0;
        gap: 1.5rem;
        transform: none !important;
    }
    
    .horizontal-card {
        width: 320px;
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none !important;
    }
    
    .header-actions .cta-button-nav {
        display: none;
    }
    
    .mobile-menu-btn.open .menu-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.open .menu-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.open .menu-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.85rem;
    }
    
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .funnel-card {
        padding: 2.5rem 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    
    .funnel-footer {
        flex-direction: column-reverse;
        gap: 1.2rem;
    }
    
    .btn-back, .btn-next {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.85rem;
    }
    
    .card-content-wrapper {
        padding-left: 0;
    }
    
    .card-number {
        font-size: 8rem;
        left: -0.1em;
    }
}

/* --- 14. CUSTOM CURSOR & HOVER INTERACTION --- */
#custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s var(--ease-editorial), height 0.3s var(--ease-editorial), border-color 0.3s, background-color 0.3s;
    will-change: transform;
}

/* Hover active state */
body.cursor-hovering #custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent);
}

body.cursor-hovering #custom-cursor-ring {
    width: 54px;
    height: 54px;
    background-color: rgba(39, 69, 56, 0.06);
    border-color: var(--accent);
}

@media (max-width: 1024px) {
    #custom-cursor-dot, #custom-cursor-ring {
        display: none !important;
    }
}

/* --- 15. SECTION STACKING ANIMATIONS (Natural Scroll & Transitions) --- */
@media (min-width: 1025px) {
    html, body {
        height: auto;
        scroll-behavior: smooth;
        overflow-y: visible;
    }
    
    .hero {
        min-height: 100vh !important;
        width: 100vw;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-top: calc(var(--header-height) + 11rem) !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .section {
        min-height: auto !important;
        width: 100vw;
        position: relative;
        overflow: hidden;
        display: block;
        padding: 8rem 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Target internal elements for transitions */
    .hero-content, .hero-visual,
    .bento-grid,
    .funnel-card, .faq-list {
        opacity: 0;
        transform: translate3d(0, 70px, 0) scale(0.94);
        transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
    }
    
    /* When active (fully snapped) */
    .active-section .hero-content,
    .active-section .hero-visual,
    .active-section .bento-grid,
    .active-section .funnel-card,
    .active-section .faq-list {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    
    /* When scrolled past (exit - subtle parallax drift upward, stays visible) */
    .scrolled-past .hero-content,
    .scrolled-past .hero-visual,
    .scrolled-past .bento-grid,
    .scrolled-past .funnel-card,
    .scrolled-past .faq-list {
        opacity: 1;
        transform: translate3d(0, -35px, 0);
    }
    
    /* When upcoming (waiting below - staying translated down) */
    .upcoming .hero-content,
    .upcoming .hero-visual,
    .upcoming .bento-grid,
    .upcoming .funnel-card,
    .upcoming .faq-list {
        opacity: 0;
        transform: translate3d(0, 70px, 0) scale(0.94);
    }
    
    /* Staggered delays inside active sections */
    .active-section .hero-content { transition-delay: 0.05s; }
    .active-section .hero-visual { transition-delay: 0.15s; }
    
    .active-section .bento-grid { transition-delay: 0.15s; }
    .active-section .funnel-card { transition-delay: 0.1s; }
    .active-section .faq-list { transition-delay: 0.1s; }
    
    /* Sequential card reveal delays within bento grids */
    .active-section .bento-grid .bento-card:nth-child(1) { transition-delay: 0.15s; }
    .active-section .bento-grid .bento-card:nth-child(2) { transition-delay: 0.28s; }
    .active-section .bento-grid .bento-card:nth-child(3) { transition-delay: 0.4s; }
}

/* --- 16. SERVICES CENTER ALIGNMENT & STICKY OVERRIDES --- */
#hizmetler .section-header {
    padding-top: 3.5rem;
}

@media (min-width: 1025px) {
    #hizmetler {
        height: auto !important;
        position: relative !important;
        padding: 8rem 0 !important;
    }
    
    #hizmetler .sticky-wrapper {
        position: relative;
        height: auto;
        width: 100%;
        display: block;
        overflow: visible;
    }

    .horizontal-scroll-wrapper.row-2 {
        margin-top: 1.5rem;
        padding-top: 0;
    }

    .horizontal-scroll-track {
        padding-left: calc((100vw - 1200px) / 2 + 2rem);
        padding-right: calc((100vw - 1200px) / 2 + 2rem);
    }
}

/* --- 17. WORD ROTATOR OVERRIDES --- */
.word-rotator-wrapper {
    display: inline-block;
    position: relative;
    height: 1.22em;
    vertical-align: bottom;
    overflow: hidden;
    margin: 0 0.05em;
}

.word-rotator-wrapper.concept-wrapper {
    margin-right: 0.15em;
}

.word-rotator {
    display: inline-block;
    position: relative;
    height: 100%;
    width: 100%;
}

.word-rotator .word {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-editorial), opacity 0.6s var(--ease-editorial);
    white-space: nowrap;
    display: inline-block;
    line-height: 1.15;
}

.word-rotator .word.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.word-rotator .word.leaving {
    opacity: 0;
    transform: translateY(-100%);
}

/* --- 18. PREMIUM LEGAL MODAL STYLES --- */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-editorial);
}

.legal-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal-modal-content {
    position: relative;
    width: 90%;
    max-width: 720px;
    max-height: 80vh;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    z-index: 10;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s var(--ease-editorial);
    overflow: hidden;
}

.legal-modal.active .legal-modal-content {
    transform: scale(1) translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 12;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
}

.legal-modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
    border-color: var(--text-secondary);
}

.legal-modal-body {
    padding: 3rem;
    overflow-y: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-modal-body h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.legal-modal-body h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.legal-modal-body p {
    margin-bottom: 1.2rem;
}

.legal-modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-modal-body li {
    margin-bottom: 0.6rem;
    list-style-type: square;
}

.legal-modal-body strong {
    color: var(--text-primary);
}

/* Custom Scrollbar for Legal Body */
.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

@media (max-width: 768px) {
    .legal-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .legal-modal-content {
        max-height: 85vh;
    }
}

/* --- 19. PREMIUM FULLSCREEN MOBILE MENU STYLES --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-body);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-editorial);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-height) + 2rem) 2rem 3rem 2rem;
    box-sizing: border-box;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: auto;
    margin-bottom: auto;
}

.mobile-menu-nav a {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: transform 0.3s ease, color 0.3s ease;
    width: fit-content;
}

.mobile-menu-nav a:hover, .mobile-menu-nav a:active {
    color: var(--accent);
    transform: translateX(10px);
}

.mobile-menu-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-contact span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mobile-menu-contact a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-contact a:hover {
    color: var(--accent);
}

.mobile-menu-socials {
    display: flex;
    gap: 1.5rem;
}

.mobile-menu-socials a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.mobile-menu-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* --- 20. PROJECT START FORM STYLES --- */
.project-form-container {
    max-width: 800px;
    margin: 3rem auto 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
    box-sizing: border-box;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-sizing: border-box;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(181, 143, 90, 0.15); /* Soft gold halo */
}

/* Custom select styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23706e6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form-feedback-message {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    display: none;
    margin-top: 1rem;
}

.form-feedback-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.form-feedback-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

@media (max-width: 768px) {
    .project-form-container {
        padding: 2.2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .form-footer {
        justify-content: center;
    }
    
    .form-footer button {
        width: 100%;
        justify-content: center;
    }
}
