/* ============================================
   LVDC Akıllı Pano - Yatırımcı Sunum Sitesi
   Pastel, Clean, Professional Design
   ============================================ */

/* === Design Tokens === */
:root {
    /* Light Mode Pastel Colors */
    --bg-primary: #FAFBFE;
    --bg-secondary: #F0F2F8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F7F8FC;
    
    --text-primary: #1A1D2E;
    --text-secondary: #5A5F7A;
    --text-tertiary: #8A8FA6;
    
    --accent: #6366F1;
    --accent-light: #A5B4FC;
    --accent-bg: #EEF2FF;
    --accent-glow: rgba(99, 102, 241, 0.12);
    
    --success: #10B981;
    --success-bg: #ECFDF5;
    --success-text: #065F46;
    
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --danger-text: #991B1B;
    
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    
    --border: #E5E7EB;
    --border-light: #F0F1F5;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    
    --gradient-hero: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-accent: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --nav-height: 72px;
    --section-padding: 100px;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Dark Mode === */
[data-theme="dark"] {
    --bg-primary: #0F1117;
    --bg-secondary: #161822;
    --bg-card: #1C1F2E;
    --bg-card-hover: #252839;
    
    --text-primary: #E8EAF0;
    --text-secondary: #9CA0B8;
    --text-tertiary: #6B7094;
    
    --accent: #818CF8;
    --accent-light: #6366F1;
    --accent-bg: rgba(99, 102, 241, 0.12);
    --accent-glow: rgba(129, 140, 248, 0.15);
    
    --success: #34D399;
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-text: #6EE7B7;
    
    --danger: #FB7185;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --danger-text: #FCA5A5;
    
    --warning: #FBBF24;
    --warning-bg: rgba(245, 158, 11, 0.1);
    
    --border: #2A2D3E;
    --border-light: #1F2233;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
    
    --gradient-hero: linear-gradient(135deg, #4F46E5 0%, #6D28D9 100%);
    --gradient-accent: linear-gradient(135deg, #818CF8 0%, #A78BFA 100%);
    --gradient-card: linear-gradient(145deg, #1C1F2E 0%, #21243A 100%);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
    transition: background var(--transition-slow), color var(--transition-slow);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* === Navigation === */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(250, 251, 254, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

[data-theme="dark"] #navbar {
    background: rgba(15, 17, 23, 0.85);
}

#navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

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

.nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-bg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--accent-bg);
    color: var(--accent);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: opacity var(--transition-fast);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* === Hero Section === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.hero-bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

[data-theme="dark"] .hero-bg-grid::before {
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    animation: fadeInDown 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-base);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.825rem;
    color: var(--text-tertiary);
    margin-top: 4px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
    color: var(--accent);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 500;
    animation: fadeInUp 0.7s ease-out 0.6s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 4px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* === Section Base === */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    display: inline-block;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 12px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Overview Grid === */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.overview-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

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

.card-highlight {
    grid-column: 1 / -1;
    background: var(--accent-bg);
    border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .card-highlight {
    background: rgba(99, 102, 241, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.overview-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.overview-card p {
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.7;
}

/* === Comparison Section === */
.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 60px;
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.comparison-card:hover {
    box-shadow: var(--shadow-lg);
}

.ac-card { border-top: 3px solid var(--danger); }
.dc-card { border-top: 3px solid var(--success); }

.comparison-header {
    margin-bottom: 24px;
}

.comparison-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.comparison-badge.bad {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.comparison-badge.good {
    background: var(--success-bg);
    color: var(--success-text);
}

.comparison-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 52px;
    height: 52px;
    background: var(--gradient-accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.comparison-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.negative svg { color: var(--danger); }
.positive svg { color: var(--success); }

/* Tech Table */
.tech-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-title {
    padding: 24px 28px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.table-scroll {
    overflow-x: auto;
    padding: 20px 28px 28px;
}

.tech-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.925rem;
}

.tech-table th,
.tech-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.tech-table thead th {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
}

.tech-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.tech-table thead th:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.tech-table tbody tr:last-child td {
    border-bottom: none;
}

.tech-table tbody tr {
    transition: background var(--transition-fast);
}

.tech-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
}

.tag-bad {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.tag-good {
    background: var(--success-bg);
    color: var(--success-text);
}

/* === Capacity Section === */
.capacity-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.capacity-chart {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

.chart-bar-group {
    margin-bottom: 24px;
}

.chart-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.chart-bar-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    height: 48px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-ac {
    background: linear-gradient(90deg, #F87171 0%, #EF4444 100%);
}

.bar-dc {
    background: linear-gradient(90deg, #34D399 0%, #10B981 100%);
}

[data-theme="dark"] .bar-ac {
    background: linear-gradient(90deg, #FB7185 0%, #F43F5E 100%);
}

[data-theme="dark"] .bar-dc {
    background: linear-gradient(90deg, #6EE7B7 0%, #34D399 100%);
}

.chart-multiplier {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.multiplier-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.multiplier-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.info-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon { background: var(--danger-bg); color: var(--danger); }
.physics-icon { background: var(--accent-bg); color: var(--accent); }
.reference-icon { background: var(--success-bg); color: var(--success); }

[data-theme="dark"] .problem-icon { color: var(--danger); }
[data-theme="dark"] .physics-icon { color: var(--accent); }
[data-theme="dark"] .reference-icon { color: var(--success); }

.info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Highlight Box */
.highlight-box {
    background: var(--accent-bg);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

[data-theme="dark"] .highlight-box {
    background: rgba(99, 102, 241, 0.08);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-box p {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.highlight-box strong {
    color: var(--text-primary);
}

/* === Timeline === */
.timeline {
    max-width: 700px;
    margin: 0 auto 48px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border);
    z-index: 1;
    transition: all var(--transition-base);
}

.timeline-dot.active {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
}

.timeline-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.7;
}

/* Regulation CTA */
.regulation-cta {
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    text-align: center;
    color: #ffffff;
}

.regulation-cta h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.regulation-cta p {
    opacity: 0.9;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Components === */
.components-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.component-main {
    background: var(--gradient-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.component-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.component-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.component-main h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.component-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.sscb-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sscb-feature {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

[data-theme="dark"] .sscb-feature {
    background: rgba(99, 102, 241, 0.06);
}

.sscb-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-metric {
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.metric-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-left: 2px;
}

.feature-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.component-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
}

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

.component-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.component-icon svg {
    width: 100%;
    height: 100%;
}

.component-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.component-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === Cost Comparison === */
.scenario-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
    margin-bottom: 40px;
}

.scenario-box h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.scenario-box p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.cost-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.cost-column {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.cost-column:hover {
    box-shadow: var(--shadow-lg);
}

.cost-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
}

.ac-cost .cost-header {
    background: var(--danger-bg);
}

.dc-cost .cost-header {
    background: var(--success-bg);
}

.cost-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.cost-subtitle {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.cost-items {
    padding: 8px;
}

.cost-item {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.cost-item:hover {
    background: var(--bg-card-hover);
}

.cost-item.total {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: 4px;
}

.cost-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 4px;
}

.cost-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.bad-value { color: var(--danger); }
.good-value { color: var(--success); }
.good-val { color: var(--success); font-weight: 700; }

.cost-detail {
    display: block;
    font-size: 0.825rem;
    color: var(--text-tertiary);
    margin-top: 4px;
    line-height: 1.4;
}

/* Savings Circle */
.cost-savings {
    text-align: center;
    padding: 20px 0;
}

.savings-circle {
    width: 140px;
    height: 140px;
    position: relative;
    margin: 0 auto 20px;
}

.savings-circle svg {
    transform: rotate(-90deg);
}

.savings-bg {
    stroke: var(--border);
}

.savings-progress {
    stroke: var(--success);
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.savings-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.savings-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--success);
    font-family: var(--font-mono);
}

.savings-percent {
    font-size: 1rem;
    font-weight: 600;
    color: var(--success);
}

.savings-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.savings-total {
    text-align: center;
}

.savings-total-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--success);
    font-family: var(--font-mono);
    display: block;
}

.savings-total-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* === Investment Section === */
.investment-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.investment-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.invest-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateX(-20px);
}

.invest-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.invest-item:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.invest-item.visible:hover {
    transform: translateX(4px);
}

.invest-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.invest-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.invest-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.summary-card {
    background: var(--gradient-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.summary-header {
    padding: 24px 28px;
    background: var(--gradient-accent);
    color: #ffffff;
}

.summary-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.summary-metric {
    padding: 20px 28px;
}

.summary-metric.big {
    padding: 28px;
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 6px;
}

.metric-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.summary-metric.big .metric-val {
    font-size: 2rem;
}

.metric-val small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.summary-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0 28px;
}

.summary-note {
    padding: 20px 28px;
    background: var(--bg-secondary);
}

.summary-note p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Strategy Section === */
.strategy-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.strategy-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.model-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-light);
}

.model-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.model-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    padding: 32px;
    align-items: center;
}

.model-local,
.model-import {
    padding: 24px;
    border-radius: var(--radius-md);
}

.model-local {
    background: var(--success-bg);
}

.model-import {
    background: var(--accent-bg);
}

[data-theme="dark"] .model-local {
    background: rgba(16, 185, 129, 0.06);
}

[data-theme="dark"] .model-import {
    background: rgba(99, 102, 241, 0.06);
}

.model-local h4,
.model-import h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.model-local ul,
.model-import ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-local li,
.model-import li {
    font-size: 0.925rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.model-local li::before,
.model-import li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
}

.model-arrow {
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
}

.partners-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-base);
    position: relative;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.primary-partner {
    border-color: var(--accent);
    border-width: 2px;
}

.partner-rank {
    display: inline-block;
    padding: 4px 12px;
    background: var(--warning-bg);
    color: #92400E;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

[data-theme="dark"] .partner-rank {
    color: var(--warning);
}

.partner-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
}

/* === Conclusion === */
.conclusion-section {
    background: var(--gradient-hero);
    color: #ffffff;
    text-align: center;
    padding: 100px 24px;
}

.conclusion-content {
    max-width: 750px;
    margin: 0 auto;
}

.conclusion-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.conclusion-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 16px;
}

.conclusion-text strong {
    opacity: 1;
}

.conclusion-actions {
    margin-top: 36px;
}

.conclusion-actions .btn-primary {
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.conclusion-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

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

.footer-logo {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-year {
    margin-top: 4px;
}

/* === Modal === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform var(--transition-slow);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.modal-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-body p {
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-info {
    font-size: 0.875rem !important;
    color: var(--text-tertiary) !important;
    margin-bottom: 24px !important;
}

.modal-body .btn {
    margin-top: 12px;
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Customs Section === */
.customs-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 32px;
}

.customs-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.customs-card:hover {
    box-shadow: var(--shadow-lg);
}

.customs-bad {
    border-top: 3px solid var(--danger);
}

.customs-good {
    border-top: 3px solid var(--success);
}

.customs-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
}

.customs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.badge-bad {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.badge-good {
    background: var(--success-bg);
    color: var(--success-text);
}

.customs-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.customs-gtip {
    font-family: var(--font-mono);
    font-size: 0.825rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.customs-card-body {
    padding: 24px 28px;
}

.customs-tax-highlight {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.bad-tax {
    background: var(--danger-bg);
}

.good-tax {
    background: var(--success-bg);
}

[data-theme="dark"] .bad-tax {
    background: rgba(239, 68, 68, 0.08);
}

[data-theme="dark"] .good-tax {
    background: rgba(16, 185, 129, 0.08);
}

.tax-range {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.bad-tax .tax-range {
    color: var(--danger);
}

.good-tax .tax-range {
    color: var(--success);
}

.customs-tax-highlight .tax-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.customs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.925rem;
    line-height: 1.5;
}

.customs-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.customs-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

/* EU Note */
.customs-eu-note {
    background: var(--accent-bg);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

[data-theme="dark"] .customs-eu-note {
    background: rgba(99, 102, 241, 0.08);
}

.eu-flag {
    font-size: 2rem;
    flex-shrink: 0;
}

.eu-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.eu-content p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.eu-content strong {
    color: var(--accent);
}

/* Customs Table */
.customs-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-subtitle {
    padding: 0 28px 0;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.gtip-code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-weight: 500;
    white-space: nowrap;
}

.component-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.component-name {
    font-weight: 600;
    font-size: 0.925rem;
}

.tax-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.925rem;
    color: var(--success);
}

.tax-value.tax-high {
    color: var(--danger);
}

.table-compare-row {
    background: var(--danger-bg) !important;
}

[data-theme="dark"] .table-compare-row {
    background: rgba(239, 68, 68, 0.06) !important;
}

.table-compare-row:hover {
    background: var(--danger-bg) !important;
}

[data-theme="dark"] .table-compare-row:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .comparison-wrapper {
        grid-template-columns: 1fr;
    }
    
    .comparison-vs {
        padding: 8px 0;
    }
    
    .cost-comparison {
        grid-template-columns: 1fr;
    }
    
    .cost-savings {
        order: -1;
    }
    
    .capacity-content {
        grid-template-columns: 1fr;
    }
    
    .investment-layout {
        grid-template-columns: 1fr;
    }
    
    .model-split {
        grid-template-columns: 1fr;
    }
    
    .model-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }
    
    .customs-comparison {
        grid-template-columns: 1fr;
    }
    
    .customs-arrow {
        padding: 8px 0;
    }
    
    .customs-arrow .arrow-circle {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
        --nav-height: 64px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .card-highlight {
        grid-column: auto;
    }
    
    .sscb-features {
        grid-template-columns: 1fr;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .customs-eu-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 16px 10px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.925rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .tax-range {
        font-size: 1.4rem;
    }
}
