/* ==========================================================================
   Birikim Yap (birikimyap.app) - World-Class Complete CSS
   Fixes: 1:1 Mascot Frame & Siri Spotlight Big Mascot 3D Glow Container
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    --primary: #00E58F;
    --primary-dark: #00C279;
    --primary-glow: rgba(0, 229, 143, 0.35);
    --primary-light: rgba(0, 229, 143, 0.1);
    
    --dark-emerald: #0D3228;
    --gold: #B98E4B;
    --danger: #EF4444;
    --orange: #F59E0B;
    
    --bg-body: #060D0A;
    --bg-surface: #0E1A15;
    --bg-surface-elevated: #152720;
    --border-color: rgba(0, 229, 143, 0.18);
    
    --text-main: #F4FDF8;
    --text-muted: #94A3B8;
    
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 35px rgba(0, 229, 143, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-body: #F4F8F5;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #E5F5EC;
    --border-color: rgba(13, 50, 40, 0.14);
    
    --text-main: #0D3228;
    --text-muted: #475569;
    --shadow-soft: 0 10px 30px rgba(13, 50, 40, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Background Ambient Orbs */
.bg-glow-orb-1 {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 229, 143, 0.2) 0%, rgba(13, 50, 40, 0.05) 60%, transparent 80%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

.bg-glow-orb-2 {
    position: absolute;
    top: 1300px;
    right: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(185, 142, 75, 0.18) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

/* Top Exchange Rates Ticker Bar */
.ticker-bar {
    background: linear-gradient(90deg, #091F19 0%, #0D3228 50%, #091F19 100%);
    color: #FFF;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1.5px solid rgba(0, 229, 143, 0.35);
}

.ticker-content {
    display: inline-flex;
    gap: 48px;
    animation: tickerMove 28s linear infinite;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.ticker-item span {
    color: #00E58F;
    font-weight: 900;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(6, 13, 10, 0.88);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition);
}

[data-theme="light"] .navbar {
    background: rgba(244, 248, 245, 0.92);
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

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

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

.theme-toggle-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 19px;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, #00E58F 0%, #00DF89 100%);
    color: #031D14;
    font-weight: 900;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 22px rgba(0, 229, 143, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 143, 0.5);
    background: linear-gradient(135deg, #00FF9D 0%, #00E58F 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* App Store Official Badges */
.app-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 8px 18px;
    text-decoration: none;
    transition: var(--transition);
}

.app-badge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.app-badge-sub {
    font-size: 9.5px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
}

.app-badge-title {
    font-size: 14px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
}

/* Social Proof Banner */
.social-proof-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rating-stars {
    color: #F59E0B;
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 50px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 229, 143, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #00E58F 0%, #B98E4B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 34px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
}

/* ==========================================================================
   Dynamic Phone Mockup & Screen Simulator (Dark / Light Theme Sync)
   ========================================================================== */

.phone-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 380px;
    height: 780px;
    max-width: 100%;
    background: #0A1410;
    border-radius: 48px;
    border: 10px solid #1A2E25;
    box-shadow: var(--shadow-glow), 0 30px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 24px;
    background: #1A2E25;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 50;
}

/* Inside Mobile Screen - Supports Dynamic Light & Dark Modes */
.m-screen {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 32px 14px 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
    transition: var(--transition);
}

/* LIGHT THEME MOBILE SCREEN */
/* TELEFON ÖNİZLEMESİNİN TEMASI.
   Eskiden bu kurallar .m-screen.light-mode / .m-screen.dark-mode sınıflarına
   bağlıydı ve sınıfı JS, DOMContentLoaded'da atıyordu. HTML'de ise sınıf sabit
   "light-mode" yazıyordu; sitenin varsayılanı koyu olduğu için telefon her
   açılışta önce BEYAZ boyanıp sonra koyuya dönüyordu. Diller arasında geçerken
   göze çarpan sıçrama buydu.
   Artık kurallar <head> içinde, boyama başlamadan önce ayarlanan
   data-theme özniteliğine bağlı; sınıf beklemeye gerek kalmadığı için
   telefon ilk karede doğru renkte çiziliyor.
   :not([data-theme="light"]) yazılmasının sebebi: JS tamamen kapalıysa
   öznitelik hiç oluşmaz, o durumda da sitenin varsayılanı olan koyu geçerli. */
:root[data-theme="light"] .m-screen {
    background: #F4F8F5;
    color: #0A1410;
}

:root[data-theme="light"] .m-screen .m-greeting { color: #0A1410; }
:root[data-theme="light"] .m-screen .m-date-line { color: #64748B; }
:root[data-theme="light"] .m-screen .m-bell-btn { background: #FFF; color: #0A1410; border-color: rgba(0,0,0,0.06); }
:root[data-theme="light"] .m-screen .m-goal-card-light { background: #FAF6ED; border: 1px solid rgba(212,160,89,0.35); }
:root[data-theme="light"] .m-screen .m-goal-badge-light { background: #EBF3EE; color: #0D3228; }
:root[data-theme="light"] .m-screen .m-val-num { color: #0A1410; }
:root[data-theme="light"] .m-screen .m-val-lbl { color: #4B6358; }
:root[data-theme="light"] .m-screen .m-saved-pill { background: #D6F5E5; color: #00A362; }
:root[data-theme="light"] .m-screen .m-mascot-circle-frame { background: #FFFFFF; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
:root[data-theme="light"] .m-screen .m-summary-card-dark { background: #0D3228; color: #FFF; }
:root[data-theme="light"] .m-screen .m-section-title { color: #0A1410; }
:root[data-theme="light"] .m-screen .m-expense-card-list { background: #FFF; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
:root[data-theme="light"] .m-screen .m-exp-title { color: #0A1410; }
:root[data-theme="light"] .m-screen .m-exp-amount { color: #0A1410; }
:root[data-theme="light"] .m-screen .m-bottom-nav { background: #FFF; color: #64748B; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
:root[data-theme="light"] .m-screen .m-nav-item.active { color: #0D3228; }

/* DARK THEME MOBILE SCREEN (1:1 Match with HomeDashboardScreen.tsx Dark Theme) */
:root:not([data-theme="light"]) .m-screen {
    background: #091712;
    color: #FFF;
}

:root:not([data-theme="light"]) .m-screen .m-greeting { color: #F1F5F9; }
:root:not([data-theme="light"]) .m-screen .m-date-line { color: #8E9C95; }
:root:not([data-theme="light"]) .m-screen .m-bell-btn { background: rgba(0,229,143,0.15); color: #00E58F; border-color: rgba(0,229,143,0.3); }
:root:not([data-theme="light"]) .m-screen .m-goal-card-light { 
    background: linear-gradient(135deg, #162B23 0%, #0F1F19 100%); 
    border: 1.2px solid rgba(0, 223, 137, 0.3);
    box-shadow: 0 6px 18px rgba(0, 223, 137, 0.15);
}
:root:not([data-theme="light"]) .m-screen .m-goal-badge-light { background: rgba(0,223,137,0.18); color: #00E58F; }
:root:not([data-theme="light"]) .m-screen .m-val-num { color: #F1F5F9; }
:root:not([data-theme="light"]) .m-screen .m-val-lbl { color: rgba(255,255,255,0.6); }
:root:not([data-theme="light"]) .m-screen .m-saved-pill { background: rgba(0,229,143,0.16); color: #00E58F; border: 1px solid rgba(0,229,143,0.3); }
:root:not([data-theme="light"]) .m-screen .m-mascot-circle-frame { 
    background: #FFFFFF; 
    box-shadow: 0 0 16px rgba(0, 229, 143, 0.4); 
    border: 2px solid #00E58F;
}
:root:not([data-theme="light"]) .m-screen .m-summary-card-dark { 
    background: linear-gradient(135deg, rgba(0, 229, 143, 0.12) 0%, rgba(13, 50, 40, 0.45) 100%); 
    border: 1px solid rgba(0, 229, 143, 0.25);
    color: #FFF; 
}
:root:not([data-theme="light"]) .m-screen .m-section-title { color: #FFF; }
:root:not([data-theme="light"]) .m-screen .m-expense-card-list { background: #0E1A15; border: 1px solid rgba(0,229,143,0.2); }
:root:not([data-theme="light"]) .m-screen .m-exp-title { color: #FFF; }
:root:not([data-theme="light"]) .m-screen .m-exp-amount { color: #FFF; }
:root:not([data-theme="light"]) .m-screen .m-bottom-nav { background: #0E1A15; border-top: 1px solid rgba(0,229,143,0.2); color: #8E9C95; }
:root:not([data-theme="light"]) .m-screen .m-nav-item.active { color: #00E58F; }

.m-screen::-webkit-scrollbar {
    display: none;
}

/* Header */
.m-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.m-greeting {
    font-size: 22px;
    font-weight: 900;
}

.m-date-line {
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

.m-alert-line {
    font-size: 12px;
    font-weight: 900;
    color: #EF4444;
    margin-top: 2px;
}

.m-bell-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Goal Card Container + Speech Bubble */
.m-goal-container {
    position: relative;
    margin-bottom: 14px;
}

.m-speech-bubble-red {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #E03131;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(224, 49, 49, 0.4);
    z-index: 20;
}

.m-speech-bubble-red::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #E03131;
}

.m-goal-card-light {
    border-radius: 26px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.m-goal-badge-light {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.m-goal-values-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 6px;
}

.m-val-lbl {
    font-size: 9px;
    font-weight: 800;
}

.m-val-num {
    font-size: 17px;
    font-weight: 900;
}

.m-saved-pill {
    padding: 4px 10px;
    border-radius: 12px;
}

.m-mascot-circle-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: var(--transition);
}

.m-mascot-circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Metric Summary Card */
.m-summary-card-dark {
    border-radius: 22px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.m-sum-col {
    flex: 1;
    text-align: center;
}

.m-sum-lbl {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

.m-sum-val {
    font-size: 15px;
    font-weight: 900;
    margin-top: 2px;
}

.m-sum-divider {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,0.15);
}

/* Main Action Add Button */
.m-btn-add-expense {
    background: linear-gradient(135deg, #00C97B 0%, #00E58F 100%);
    color: #031D14;
    font-size: 16px;
    font-weight: 900;
    padding: 14px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 229, 143, 0.4);
    margin-bottom: 16px;
    cursor: pointer;
}

/* Recent Expenses Header & List */
.m-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.m-section-title {
    font-size: 17px;
    font-weight: 900;
}

.m-total-pill {
    background: #EAF4EE;
    color: #0D3228;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 900;
}

.m-period-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.m-filter-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 12px;
    font-weight: 800;
    color: #64748B;
    text-align: center;
    cursor: pointer;
}

.m-filter-btn.active {
    background: #00E58F;
    color: #031D14;
    border-color: #00E58F;
    box-shadow: 0 4px 12px rgba(0, 229, 143, 0.3);
}

.m-expense-card-list {
    border-radius: 24px;
    padding: 12px;
    margin-bottom: 12px;
}

.m-expense-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 10px;
    border-left: 3px solid #00E58F;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.m-expense-row-item:last-child {
    border-bottom: none;
}

.m-exp-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.m-exp-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,229,143,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.m-exp-title {
    font-size: 14px;
    font-weight: 800;
}

.m-exp-sub {
    font-size: 11px;
    color: #64748B;
    font-weight: 600;
}

.m-exp-week-tag {
    background: #D6F5E5;
    color: #00A362;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 900;
    margin-left: 6px;
}

.m-exp-right {
    text-align: right;
}

.m-exp-amount {
    font-size: 15px;
    font-weight: 900;
}

.m-exp-date {
    font-size: 10px;
    color: #94A3B8;
    font-weight: 700;
}

/* Floating Bottom Navbar */
.m-bottom-nav {
    position: sticky;
    bottom: 0;
    z-index: 40;
    margin-top: auto;
    border-radius: 26px;
    padding: 8px 12px 6px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.m-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.m-nav-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    margin-top: 1px;
}

/* ==========================================================================
   Siri Section App Icon 3D Card Container (Matches Top Logo 1:1)
   ========================================================================== */

.siri-app-icon-card {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 48px;
    background: linear-gradient(135deg, rgba(0, 229, 143, 0.15) 0%, rgba(13, 50, 40, 0.6) 100%);
    border: 2px solid var(--primary);
    padding: 14px;
    box-shadow: 0 20px 50px rgba(0, 229, 143, 0.35), 0 0 35px rgba(0, 229, 143, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: mascotFloat 4s ease-in-out infinite;
}

.siri-app-icon-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 229, 143, 0.5);
}

.siri-app-icon-card img {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Feature Showcase & Sections */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 60px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Testimonials / Customer Reviews Cards */
.user-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00E58F, #B98E4B);
    color: #031D14;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.user-info-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
}

.user-info-role {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Dynamic Calculator Widget */
.calculator-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-field label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
}

.input-field input {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 800;
    outline: none;
}

.calc-result-card {
    background: linear-gradient(135deg, #0D3228 0%, #0E1A15 100%);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.calc-result-title {
    font-size: 12px;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-result-num {
    font-size: 42px;
    font-weight: 900;
    color: #FFF;
    margin: 10px 0;
}

/* FAQ Accordion */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17.5px;
    font-weight: 800;
}

.faq-answer {
    margin-top: 14px;
    font-size: 14.5px;
    color: var(--text-muted);
    display: none;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Legal Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sticky Bottom CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 50, 40, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--primary);
    padding: 12px 24px;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background: rgba(6, 13, 10, 0.95);
}

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

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-heading {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-cta-group, .hero-stats, .social-proof-bar {
        justify-content: center;
    }

    .grid-3, .grid-4, .calc-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* ---- Dil geçişi (TR / EN) ----
   Sıradan bir menü bağlantısı olarak eklendiğinde göze çarpmıyordu.
   İki dilli bir hap olarak gösteriliyor; etkin dil vurgulu. */
.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    overflow: hidden;
    margin-left: 8px;
    flex: none;
}
.lang-switch a {
    padding: 5px 11px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}
.lang-switch a:hover { color: var(--text-main); }
.lang-switch a.active {
    background: #00E58F;
    color: #031D14;
}
@media (max-width: 992px) {
    .lang-switch { margin-left: 0; }
}

/* "YAKINDA APP STORE'DA" ROZETLERİ.
   Uygulama henüz yayında olmadığı için indirme çağrıları bağlantı değil:
   <a href> yerine <span> olarak yazıldılar ki tıklanabilir görünmesinler.
   Kutu ölçüleri butonlarınkiyle birebir aynı kalıyor; amaç düzeni hiç
   bozmadan "henüz değil" mesajını vermek.
   App Store adresi hazır olduğunda yapılacak tek şey: bu span'leri tekrar
   <a href="..."> yapmak ve .yakinda sınıfını kaldırmak.

   Özgüllük notu: .btn-primary ve .app-badge-btn tek sınıf (0,1,0); buradaki
   iki sınıflı seçiciler (0,2,0) olduğu için dosya sırasından bağımsız
   kazanıyorlar. Hover kuralları da aynı şekilde bir basamak yukarıda. */
.btn-primary.yakinda,
.app-badge-btn.yakinda {
    cursor: default;
    user-select: none;
}

/* Yeşil dolgulu butonlar hâlâ "tıkla" diye bağırıyordu; tema değişkenleriyle
   soluklaştırıldılar. Değişken kullanmanın sebebi açık temada da okunaklı
   kalması: koyuda #94A3B8/#152720, açıkta #475569/#E5F5EC. */
.btn-primary.yakinda {
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

/* Apple rozeti siyah kalıyor: App Store'un kendi biçimi bu ve sayfadaki
   yerini koruyor. Yalnızca tıklanabilirlik izlenimi kaldırıldı. */
.app-badge-btn.yakinda {
    opacity: 0.85;
}

.btn-primary.yakinda:hover,
.app-badge-btn.yakinda:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
    background: var(--bg-surface-elevated);
}

.app-badge-btn.yakinda:hover {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Alt bilgideki bağlantı düz metne dönüştü; komşu bağlantılarla aynı
   hizada dursun diye onların tipografisini alıyor, ama imleç değişmiyor. */
.footer-links .footer-yakinda {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.75;
    cursor: default;
}
