:root {
  --bg-primary: #09090b;
  --bg-secondary: #0c0c0f;
  --bg-card: #18181b;
  --bg-card-hover: #1f1f23;
  --bg-surface: #27272a;

  --brand-primary: #7c3aed;
  --brand-secondary: #2563eb;

  --accent-violet: #8b5cf6;
  --accent-purple-soft: #a78bfa;
  --accent-pink: #ec4899;
  --accent-rose: #f472b6;
  --accent-cyan: #22d3ee;
  --accent-emerald: #06d6a0;
  --accent-amber: #fbbf24;
  --accent-orange: #f97316;

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --border-subtle: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.1);

  --gradient-brand: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --gradient-cta: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);

  --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-hover: 0 4px 24px rgba(0,0,0,0.4);

  --radius: 14px;
  --radius-sm: 8px;
  --nav-height: 64px;
  --section-gap: 120px;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scrollbar-gutter: stable; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }

/* ══════ LAYOUT ══════ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { padding: var(--section-gap) 0; position: relative; scroll-margin-top: var(--nav-height); }

/* ══════ NAV ══════ */
nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); backdrop-filter: blur(20px) saturate(1.2); background: rgba(9,9,11,0.85); border-bottom: 1px solid var(--border-subtle); z-index: 1000; transition: background 0.3s; }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { height: 32px; width: auto; border-radius: 8px; flex-shrink: 0; }
.nav-logo-text { font-weight: 700; font-size: 1.2rem; color: var(--text-primary); letter-spacing: -0.3px; }
.nav-logo-text .brand-x { color: var(--accent-violet); font-weight: 800; font-size: 1.25rem; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-switcher { display: flex; background: var(--bg-card); border-radius: 8px; padding: 2px; border: 1px solid var(--border-subtle); }
.lang-btn { padding: 5px 12px; border: none; background: transparent; color: var(--text-muted); font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; cursor: pointer; border-radius: 6px; transition: all 0.2s; letter-spacing: 0.5px; }
.lang-btn.active { background: var(--brand-primary); color: white; }

.btn-cta { padding: 8px 20px; background: var(--brand-primary); color: white; border: none; border-radius: 8px; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-cta:hover { background: #6d28d9; }

/* ══════ HERO ══════ */
.hero { min-height: auto; display: flex; align-items: center; padding-top: calc(var(--nav-height) + 80px); padding-bottom: 80px; position: relative; }
.hero .container { text-align: center; max-width: 760px; }
.hero-logo { width: 200px; height: auto; display: block; margin: 0 auto 36px; animation: fadeInUp 0.6s ease; }

.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; animation: fadeInUp 0.6s ease 0.1s both; }
.hero h1 .gradient-text { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; font-weight: 400; animation: fadeInUp 0.6s ease 0.2s both; }

.hero-cta-group { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s both; }
.btn-hero-primary { padding: 14px 36px; background: var(--brand-primary); color: white; border: none; border-radius: 10px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-hero-primary:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,58,237,0.25); }
.btn-hero-secondary { padding: 14px 36px; background: transparent; color: var(--text-primary); border: 1px solid var(--border-hover); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-hero-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }

/* ══════ SECTION HEADERS ══════ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label { display: inline-block; font-size: 1rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-violet); margin-bottom: 14px; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-desc { font-size: 1rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto; font-weight: 400; line-height: 1.7; }

/* ══════ PERSONAS ══════ */
.personas-section { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.category-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 48px; }
.cat-tab { padding: 8px 16px; border: 1px solid var(--border-subtle); background: transparent; color: var(--text-muted); font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; border-radius: 8px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.cat-tab:hover { border-color: var(--border-hover); color: var(--text-secondary); }
.cat-tab.active { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }
.cat-tab .tab-count { font-size: 0.65rem; background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 4px; font-weight: 600; }

.persona-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.persona-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 24px; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden; }
.persona-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-avatar { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.card-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.card-domain { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.3px; text-transform: uppercase; }
.card-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.card-tag { padding: 3px 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle); border-radius: 6px; font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }
.card-risk { position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 50%; }

.show-more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 40px auto 0; padding: 12px 32px; background: transparent; color: var(--text-secondary); border: 1px solid var(--border-subtle); border-radius: 10px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.show-more-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* ══════ HOW IT WORKS ══════ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 36px 24px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); transition: all 0.2s; }
.step-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.step-number { width: 48px; height: 48px; background: var(--brand-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: white; margin: 0 auto 20px; }
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ══════ DEMO CHATS ══════ */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-chat { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; }
.demo-chat:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card); }
.demo-chat-header { padding: 14px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-subtle); }
.demo-chat-avatar { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.demo-chat-name { font-weight: 600; font-size: 0.875rem; }
.demo-chat-status { font-size: 0.7rem; color: var(--accent-emerald); display: flex; align-items: center; gap: 4px; }
.demo-chat-status::before { content: ''; width: 5px; height: 5px; background: var(--accent-emerald); border-radius: 50%; }
.demo-messages { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.msg { max-width: 85%; padding: 10px 16px; border-radius: 14px; font-size: 0.84rem; line-height: 1.55; }
.msg-user { align-self: flex-end; background: var(--brand-primary); color: white; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; background: var(--bg-surface); color: var(--text-primary); border-bottom-left-radius: 4px; border: 1px solid var(--border-subtle); }

/* ══════ APP SHOWCASE CAROUSEL ══════ */
.app-showcase { margin-top: 72px; text-align: center; }
.app-showcase .section-title { margin-bottom: 40px; }
.phone-carousel { display: flex; justify-content: center; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 16px 0 32px; scrollbar-width: none; }
.phone-carousel::-webkit-scrollbar { display: none; }
.phone-slide { flex: 0 0 auto; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-frame { width: 240px; aspect-ratio: 9/19.5; background: var(--bg-card); border: 2px solid var(--border-subtle); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-card); transition: all 0.25s; position: relative; }
.phone-frame::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 10px; z-index: 2; }
.phone-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-hover); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.phone-label { font-size: 0.84rem; font-weight: 500; color: var(--text-muted); }
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.carousel-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--bg-card); color: var(--text-muted); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.carousel-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
@media(max-width: 968px) { .phone-frame { width: 200px; } .phone-carousel { gap: 20px; } }
@media(max-width: 600px) { .phone-frame { width: 180px; } .phone-carousel { gap: 16px; padding: 12px 0 24px; } .app-showcase { margin-top: 48px; } }

/* ══════ LANGUAGES ══════ */
.languages-section { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lang-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
.lang-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: all 0.2s; }
.lang-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.lang-flag { font-size: 2.8rem; margin-bottom: 14px; }
.lang-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.lang-native { font-size: 0.9rem; color: var(--text-muted); font-style: italic; }

/* ══════ TRUST ══════ */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 28px; display: flex; gap: 16px; transition: all 0.2s; }
.trust-card:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.trust-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.trust-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.trust-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.trust-disclaimer { margin-top: 40px; padding: 24px 28px; background: rgba(251,191,36,0.03); border: 1px solid rgba(251,191,36,0.08); border-radius: var(--radius); display: flex; align-items: flex-start; gap: 14px; }
.trust-disclaimer .disclaimer-icon { font-size: 1.4rem; flex-shrink: 0; }
.trust-disclaimer p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.trust-disclaimer strong { color: var(--accent-amber); }

/* ══════ CRISIS ══════ */
.crisis-bar { background: rgba(236,72,153,0.02); border-top: 1px solid rgba(236,72,153,0.06); border-bottom: 1px solid rgba(236,72,153,0.06); padding: 40px 0; scroll-margin-top: var(--nav-height); }
.crisis-inner { text-align: center; }
.crisis-inner h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; color: var(--accent-pink); }
.crisis-inner > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.crisis-numbers { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.crisis-num { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: rgba(236,72,153,0.04); border: 1px solid rgba(236,72,153,0.08); border-radius: 10px; }
.crisis-num .num-label { font-size: 0.75rem; color: var(--text-muted); }
.crisis-num .num-value { font-size: 1.15rem; font-weight: 700; color: var(--accent-pink); letter-spacing: 0.5px; }

.crisis-block-tr { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.crisis-block-en { display: none; }
[lang="en"] .crisis-block-tr { display: none; }
[lang="en"] .crisis-block-en { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }


/* ══════ CLOSING ══════ */
.closing-section { text-align: center; padding: 100px 0; }
.closing-section .section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.closing-section .section-desc { margin-bottom: 0; }

/* ══════ FOOTER ══════ */
footer { padding: 48px 0 32px; border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-brand-logo img { height: 22px; width: 22px; border-radius: 5px; }
.footer-brand-logo span { font-size: 1rem; font-weight: 700; }
.footer-brand-logo .brand-x { color: var(--accent-violet); font-weight: 800; font-size: 1.05rem; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; max-width: 240px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 32px; height: 32px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; color: var(--text-muted); transition: all 0.2s; }
.footer-socials a:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* ══════ ANIMATIONS ══════ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════ RESPONSIVE ══════ */
@media(max-width: 968px) {
  .steps-grid, .lang-grid { grid-template-columns: 1fr; gap: 16px; }
  .demo-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  :root { --section-gap: 80px; }
}
@media(max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group a { width: 100%; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .crisis-numbers { flex-direction: column; align-items: center; }
  .persona-grid { grid-template-columns: 1fr; }
  .crisis-block-tr, .crisis-block-en, [lang="en"] .crisis-block-en { flex-direction: column; align-items: center; }
  .lang-grid-2 { grid-template-columns: 1fr; }
}
.mobile-menu-btn { display: none; width: 36px; height: 36px; background: transparent; border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--text-primary); font-size: 18px; cursor: pointer; align-items: center; justify-content: center; }
@media(max-width: 968px) { .mobile-menu-btn { display: flex; } }

/* ══════ SKIP NAV ══════ */
.skip-nav { position: absolute; top: -100%; left: 16px; padding: 10px 20px; background: var(--brand-primary); color: white; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; font-size: 0.875rem; z-index: 10000; text-decoration: none; transition: top 0.2s; }
.skip-nav:focus { top: 0; }

/* ══════ FOCUS STYLES ══════ */
:focus-visible { outline: 2px solid var(--accent-violet); outline-offset: 2px; border-radius: 4px; }

/* ══════ MOBILE NAV OVERLAY ══════ */
.nav-links.mobile-open { display: flex !important; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-primary); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border-subtle); z-index: 999; }
