@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   ÇELİK INTELLIGENCE CORPORATE STYLESHEET
   Sovereign Premium Design System - Dual Theme (Light & Dark)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & DUAL-THEME PROPERTIES
   -------------------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-orbitron: 'Orbitron', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --font-cormorant: 'Cormorant Garamond', serif;

    /* Theme-independent variables */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Animation Durations */
    --pulse-speed: 3s;
    --glow-speed: 5s;
}

/* Light Theme (Default: Bright, Lively, Highly Legible & Professional) */
.light-theme {
    --bg-primary: #f5f7fb;
    --bg-secondary: #ffffff;
    --bg-tertiary: #edf2f7;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --grey-text: #475569;
    
    /* Döğer Gold Palette */
    --gold: #b38e36;
    --gold-rgb: 179, 142, 54;
    --gold-glow: rgba(179, 142, 54, 0.25);
    --gold-border: rgba(179, 142, 54, 0.35);
    --gold-hover: #9c7827;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(179, 142, 54, 0.15);
    --shadow-color: rgba(15, 23, 42, 0.08);
    --shadow-glow: rgba(179, 142, 54, 0.08);
    --shadow-card: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    
    /* Dynamic Lights */
    --ambient-glow-1: rgba(179, 142, 54, 0.06);
    --ambient-glow-2: rgba(59, 130, 246, 0.05);
    --matrix-opacity: 0.04;
}

/* Dark Theme (Premium Night Cyber Blue & Deep Gold Contrast) */
.dark-theme {
    --bg-primary: #04070f;
    --bg-secondary: #080c16;
    --bg-tertiary: #0c1222;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --grey-text: #94a3b8;
    
    /* Döğer Gold Palette */
    --gold: #c8a84e;
    --gold-rgb: 200, 168, 78;
    --gold-glow: rgba(200, 168, 78, 0.4);
    --gold-border: rgba(200, 168, 78, 0.3);
    --gold-hover: #e0be60;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(8, 12, 22, 0.75);
    --glass-border: rgba(200, 168, 78, 0.18);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-glow: rgba(200, 168, 78, 0.15);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    
    /* Dynamic Lights */
    --ambient-glow-1: rgba(200, 168, 78, 0.08);
    --ambient-glow-2: rgba(30, 58, 138, 0.15);
    --matrix-opacity: 0.18;
}

/* --------------------------------------------------------------------------
   2. BASE RESETS & SCROLLBARS
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 18.5px; /* Harf boyutunu bir tık büyüterek okunabilirliği artırdık */
    scroll-snap-type: y proximity;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-outfit);
    line-height: 1.75; /* Satır aralıklarını açarak rahat nefes almasını sağladık */
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* --------------------------------------------------------------------------
   3. AMBIENT GRAPHICS & EFFECTS
   -------------------------------------------------------------------------- */
/* Dot-matrix Grid Background */
.dot-matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: var(--matrix-opacity);
    z-index: -10;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

/* Atmospheric Glow Spheres */
.glow-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -9;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.sf1 {
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--ambient-glow-1) 0%, transparent 70%);
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.sf2 {
    bottom: -15%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--ambient-glow-2) 0%, transparent 70%);
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

/* Dynamic Interactive Spotlight tracking Mouse */
.light-flare {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, rgba(var(--gold-rgb), 0.02) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:hover .light-flare {
    opacity: 1;
}

@keyframes floatGlow {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* --------------------------------------------------------------------------
   4. LAYOUT GRID & STRUCTURE
   -------------------------------------------------------------------------- */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.subtitle-chakra {
    font-family: var(--font-orbitron);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 500;
}

.header-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto 0;
    position: relative;
}

.header-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border: 2px solid var(--bg-primary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.section-desc {
    max-width: 800px;
    margin: -20px auto 50px;
    text-align: center;
    color: var(--grey-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Premium Typography Classes */
.cormorant-brand {
    font-family: var(--font-cormorant);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Glassmorphism Base Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: background var(--transition-smooth), border var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

/* Absolute Gold Corner Accents */
.frame-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity var(--transition-smooth), border-color var(--transition-smooth);
}

.frame-corner.tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.frame-corner.tr {
    top: 0;
    right: 0;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.frame-corner.bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.frame-corner.br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.glass-card:hover .frame-corner {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   5. PREMIUM COMPONENTS (BUTTONS & BADGES)
   -------------------------------------------------------------------------- */
/* Premium Sovereign Button styling */
.rg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-orbitron);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.gold-glow-btn {
    background: linear-gradient(135deg, var(--gold) 0%, rgba(var(--gold-rgb), 0.85) 100%);
    color: #ffffff;
    border: 1px solid var(--gold);
    box-shadow: 0 4px 14px 0 var(--gold-glow);
}

.gold-glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(var(--gold-rgb), 0.5);
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
}

.gold-glow-btn:active {
    transform: translateY(0);
}

.secondary-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-orbitron);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.secondary-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-fast);
}

.secondary-link:hover {
    color: var(--gold);
}

.secondary-link:hover::after {
    width: 100%;
}

/* Status Badges */
.card-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-orbitron);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    z-index: 1;
}

.card-status-badge.live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.card-status-badge.dev {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-status-badge.research {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Spinning Gear (For Active Loading Indicators) */
.spinning-gear {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-muted);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.action-status-label {
    font-family: var(--font-orbitron);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION STYLING
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: background var(--transition-smooth), border var(--transition-smooth), height var(--transition-smooth);
}

.main-header.scrolled {
    height: 65px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-tamga {
    fill: none;
    stroke: var(--gold);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-smooth);
}

.header-logo:hover .logo-tamga {
    transform: rotateY(180deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: var(--font-orbitron);
    font-size: 19.5px; /* Eskisi gibi 17px taban boyuta sabitlendi */
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
    line-height: 1.1;
}

.company-name span {
    color: var(--gold);
    font-weight: 400;
    margin-left: 1px;
}

.company-sub {
    font-family: var(--font-orbitron);
    font-size: 10px; /* Eskisi gibi 17px taban boyuta sabitlendi */
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-orbitron);
    font-size: 12.75px; /* Eskisi gibi 17px taban boyuta sabitlendi */
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--bg-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle-btn:hover {
    border-color: var(--gold);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    position: absolute;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    fill: var(--gold);
}

/* Hide / show theme icons based on active theme */
.light-theme .theme-toggle-btn .sun-icon {
    transform: translateY(40px);
    opacity: 0;
}

.light-theme .theme-toggle-btn .moon-icon {
    transform: translateY(0);
    opacity: 1;
}

.dark-theme .theme-toggle-btn .sun-icon {
    transform: translateY(0);
    opacity: 1;
}

.dark-theme .theme-toggle-btn .moon-icon {
    transform: translateY(-40px);
    opacity: 0;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: none;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   7. HERO INTRODUCTION SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.brand-badge {
    display: inline-block;
    font-family: var(--font-orbitron);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    border: 1px solid var(--gold-border);
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    background: rgba(var(--gold-rgb), 0.05);
}

.hero-title {
    font-family: var(--font-cormorant);
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title span {
    font-family: var(--font-cormorant);
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--grey-text);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* Large Pulsing Shield visual */
.hero-visual-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.kalkan-shield-pulse {
    width: 280px;
    height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kalkan-shield-pulse::before,
.kalkan-shield-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-border);
    border-radius: 20%;
    animation: shieldPulse var(--pulse-speed) infinite linear;
    pointer-events: none;
}

.kalkan-shield-pulse::after {
    animation-delay: calc(var(--pulse-speed) / 2);
}

.hero-tamga-vector {
    width: 160px;
    height: 220px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    z-index: 5;
    filter: drop-shadow(0 0 20px var(--gold-glow));
    animation: subtleRotate 12s infinite alternate ease-in-out;
}

.visual-subtext {
    font-family: var(--font-orbitron);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 24px;
}

@keyframes shieldPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes subtleRotate {
    0% { transform: rotateY(0deg) rotate(0deg); }
    50% { transform: rotateY(15deg) rotate(2deg); }
    100% { transform: rotateY(-15deg) rotate(-2deg); }
}

/* --------------------------------------------------------------------------
   8. PORTFOLIO & DURAN VARLIKLAR GRID
   -------------------------------------------------------------------------- */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.asset-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.asset-card h3 {
    font-size: 1.8rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.asset-subtitle {
    font-family: var(--font-orbitron);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.card-text {
    color: var(--grey-text);
    font-size: 1.02rem;
    line-height: 1.68;
    margin-bottom: auto;
}

.card-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

/* Specific Active Asset Glow */
.asset-card.active-asset {
    border-color: rgba(var(--gold-rgb), 0.4);
    box-shadow: 0 8px 32px var(--shadow-glow);
}

.asset-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--gold-rgb), 0.6);
    box-shadow: 0 12px 40px var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE VALUATION DASHBOARD & FLOW DIAGRAM
   -------------------------------------------------------------------------- */
.valuation-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.valuation-canvas-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interactive-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 20px 0;
}

/* Diagram Nodes styling */
.diagram-node {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-color);
    transition: all var(--transition-fast);
}

.diagram-node:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
    transform: scale(1.03);
}

.diagram-node.active-node {
    border-color: var(--gold);
    background: rgba(var(--gold-rgb), 0.05);
    box-shadow: 0 0 20px var(--gold-glow);
    transform: scale(1.05);
}

.node-title {
    font-family: var(--font-orbitron);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.node-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.node-val {
    font-family: var(--font-orbitron);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    margin-top: 8px;
    background: rgba(var(--gold-rgb), 0.1);
    padding: 2px 8px;
    border-radius: 2px;
}

/* Root Node */
.root-node {
    width: 260px;
    z-index: 5;
    border-color: rgba(var(--gold-rgb), 0.5);
    padding: 20px 30px;
}

/* Downstream animated lines */
.diagram-flow-lines {
    position: relative;
    width: 100%;
    height: 60px;
}

.flow-line {
    position: absolute;
    background: var(--glass-border);
    transition: background var(--transition-smooth);
}

/* Animated flow particle overlay */
.flow-line::after {
    content: '';
    position: absolute;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: flowMove 2s infinite linear;
}

/* Vertical Core Connector */
.fl1 {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.fl1::after {
    top: 0;
    left: 0;
    width: 2px;
    height: 15px;
}

/* Horizontal Span lines */
.fl2 {
    top: 50%;
    left: 17%;
    right: 17%;
    height: 2px;
}

.fl2::after {
    top: 0;
    left: 0;
    width: 20px;
    height: 2px;
    animation-name: flowMoveX;
}

/* Left/Right Vertical Drops */
.fl3 {
    top: 50%;
    left: 17%;
    width: 2px;
    height: 50%;
    display: none;
}

@keyframes flowMove {
    0% { top: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes flowMoveX {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Subsidiaries row - Optimized fluid flex layout for zero-truncation premium presentation */
.subsidiary-nodes-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
    z-index: 5;
}

.subsidiary-nodes-row .diagram-node {
    flex: 1 1 160px;
    max-width: 190px;
    padding: 14px 12px;
}

/* Asset Valuation detail box */
.valuation-details-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.interactive-detail-box {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glow);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.interactive-detail-box.pulse-update {
    border-color: var(--gold);
    animation: borderHighlight 0.6s ease;
}

@keyframes borderHighlight {
    0% { border-color: var(--glass-border); transform: scale(0.99); }
    50% { border-color: var(--gold); transform: scale(1.01); }
    100% { border-color: var(--gold); transform: scale(1); }
}

/* --------------------------------------------------------------------------
   10. FOUNDER BIOGRAPHY SECTION
   -------------------------------------------------------------------------- */
.founder-layout-split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.founder-image-wrapper {
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 320px; /* Biraz genişleterek çerçevenin asaletini artırdık */
    height: 410px; /* Alt alta gelen dikey ünvanlar için yüksekliği artırdık */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    border-color: rgba(var(--gold-rgb), 0.3);
}

.about-tamga {
    width: 100px;
    height: 140px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.founder-name {
    font-family: var(--font-orbitron);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.founder-title {
    font-family: var(--font-orbitron);
    font-size: 0.58rem; /* Çok satırlı dikey yerleşim için fontu bir tık küçülttük */
    letter-spacing: 1.2px;
    line-height: 1.8; /* Dikey dizilimde mükemmel okunabilirlik */
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 14px; /* İsim ile ilk satır arasına zarif bir mesafe */
}

.expert-badge {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-orbitron);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast);
}

.expert-badge:hover {
    border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   11. STRATEGIC CONTACT & COOPERATION FORM
   -------------------------------------------------------------------------- */
.contact-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-list > div {
    font-family: var(--font-outfit);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: rgba(var(--gold-rgb), 0.03);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    padding: 18px 22px;
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    backdrop-filter: blur(10px);
}

.contact-info-list > div:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--gold-rgb), 0.4);
    box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.1);
}

.contact-info-list > div strong {
    font-family: var(--font-orbitron);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.contact-form-card {
    border-color: rgba(var(--gold-rgb), 0.25);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-family: var(--font-orbitron);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-outfit);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--gold);
    background: var(--bg-secondary);
}

/* --------------------------------------------------------------------------
   12. MEDIA QUERIES & RESPONSIVE LAYOUTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual-wrapper {
        margin-top: 40px;
    }

    .valuation-split,
    .founder-layout-split,
    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .valuation-canvas-card {
        order: 2;
    }

    .valuation-details-card {
        order: 1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    /* Mobile Header & Navigation toggle styling */
    .mobile-nav-toggle {
        display: flex;
        z-index: 150;
    }

    /* Mobile active hamburger */
    .mobile-nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 120;
        transition: right var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 0 40px;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .subsidiary-nodes-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .subsidiary-nodes-row .diagram-node {
        width: 100%;
        max-width: none;
    }

    .diagram-flow-lines {
        height: 30px;
    }

    .diagram-node.root-node {
        width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   13. PREMIUM MULTILINGUAL LANGUAGE SELECTOR
   -------------------------------------------------------------------------- */
.lang-selector-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-selector {
    height: 38px;
    padding: 0 28px 0 12px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-orbitron);
    font-size: 12.75px; /* Eskisi gibi 17px taban boyuta sabitlendi */
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
    box-shadow: var(--shadow-glow);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b38e36'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

/* Theme sensitive arrow colors */
.dark-theme .lang-selector {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c8a84e'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
}

.lang-selector:hover {
    border-color: var(--gold);
    transform: scale(1.02);
}

.lang-selector:focus {
    border-color: var(--gold);
    background-color: var(--bg-secondary);
}

.lang-selector option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-outfit);
    font-size: 0.9rem;
    padding: 8px;
}

/* --------------------------------------------------------------------------
   14. RIGHT-TO-LEFT (RTL) STYLES FOR ARABIC (ar)
   -------------------------------------------------------------------------- */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .lang-selector {
    padding: 0 12px 0 28px;
    background-position: left 8px center;
}

html[dir="rtl"] .company-name span {
    margin-left: 0;
    margin-right: 1px;
}

html[dir="rtl"] .nav-menu {
    border-left: none;
}

@media (max-width: 768px) {
    html[dir="rtl"] .nav-menu {
        left: -100%;
        right: auto;
        border-right: 1px solid var(--glass-border);
        border-left: none;
        transition: left var(--transition-smooth);
    }
    
    html[dir="rtl"] .nav-menu.open {
        left: 0;
        right: auto;
    }
}

html[dir="rtl"] .hero-title span {
    display: inline-block;
}

html[dir="rtl"] .hero-actions {
    flex-direction: row; /* Respects direction: rtl automatically */
}

html[dir="rtl"] .card-status-badge {
    left: 16px;
    right: auto;
}

html[dir="rtl"] .spinning-gear {
    margin-left: 0;
}

html[dir="rtl"] .action-status-label {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .expert-badge {
    text-align: right;
}

/* Swap card corner frames in RTL mode to align correctly */
html[dir="rtl"] .frame-corner.tl {
    top: 0;
    left: auto;
    right: 0;
    border-top: 2px solid var(--gold);
    border-left: none;
    border-right: 2px solid var(--gold);
}

html[dir="rtl"] .frame-corner.tr {
    top: 0;
    right: auto;
    left: 0;
    border-top: 2px solid var(--gold);
    border-right: none;
    border-left: 2px solid var(--gold);
}

html[dir="rtl"] .frame-corner.bl {
    bottom: 0;
    left: auto;
    right: 0;
    border-bottom: 2px solid var(--gold);
    border-left: none;
    border-right: 2px solid var(--gold);
}

html[dir="rtl"] .frame-corner.br {
    bottom: 0;
    right: auto;
    left: 0;
    border-bottom: 2px solid var(--gold);
    border-right: none;
    border-left: 2px solid var(--gold);
}

/* --------------------------------------------------------------------------
   Timeline Section CSS
   -------------------------------------------------------------------------- */
.timeline-container {
    margin-top: 50px;
    padding: 40px 30px;
}

.interactive-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 30px;
    gap: 20px;
}

.timeline-track {
    position: absolute;
    top: 34px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(var(--gold-rgb), 0.2) 100%);
    z-index: 1;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    transition: transform var(--transition-smooth);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    transition: all var(--transition-fast);
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    transition: transform var(--transition-fast);
}

.timeline-item:hover .timeline-dot::after {
    transform: translate(-50%, -50%) scale(1);
}

.timeline-item:hover .timeline-dot {
    background: var(--gold);
    box-shadow: 0 0 15px rgba(var(--gold-rgb), 0.6);
    transform: scale(1.15);
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-year {
    font-family: var(--font-orbitron);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-card);
    transition: background var(--transition-smooth), border var(--transition-smooth);
    width: 100%;
    max-width: 210px;
}

.timeline-item:hover .timeline-content {
    background: var(--glass-bg);
    border-color: rgba(var(--gold-rgb), 0.3);
}

.timeline-item-title {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-item-desc {
    font-size: 0.72rem;
    color: var(--grey-text);
    line-height: 1.5;
}

/* Mobile responsive styling */
@media (max-width: 768px) {
    .interactive-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .timeline-track {
        top: 20px;
        bottom: 20px;
        left: 24px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--gold) 0%, rgba(var(--gold-rgb), 0.2) 100%);
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        gap: 15px;
    }
    
    .timeline-dot {
        margin-bottom: 0;
        margin-top: 4px;
        flex-shrink: 0;
        z-index: 2;
    }
    
    .timeline-year {
        margin-bottom: 0;
        margin-top: 4px;
        width: 75px;
        flex-shrink: 0;
    }
    
    .timeline-content {
        max-width: 100%;
    }
}

/* Active Milestone Interactive States */
.timeline-item.active-milestone .timeline-dot {
    background: var(--gold);
    box-shadow: 0 0 20px var(--gold);
    transform: scale(1.25);
}

.timeline-item.active-milestone .timeline-dot::after {
    transform: translate(-50%, -50%) scale(1);
    background: var(--bg-secondary);
}

.timeline-item.active-milestone .timeline-content {
    background: rgba(var(--gold-rgb), 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.timeline-item.active-milestone {
    transform: translateY(-5px);
}

