/*
  BossTrading - Minimal, modern ve erişilebilir bir tema
  Renk paleti: koyu zemin + vurgu mavisi
*/

:root {
  --bg: #0b1020;
  --bg-alt: #0f1630;
  --text: #e7e9f3;
  --muted: #b8bfd8;
  --primary: #4aa3ff;
  --primary-600: #2e8cff;
  --accent: #7c5cff;
  --card: #151c39;
  --success: #2ecc71;
  --warning: #f1c40f;
  --danger: #e74c3c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(124,92,255,.15), transparent),
              radial-gradient(1000px 600px at 80% 10%, rgba(74,163,255,.12), transparent),
              var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html { scroll-behavior: smooth }

.container { width: min(1120px, 92%); margin: 0 auto }
.section { padding: 56px 0; scroll-margin-top: 80px }
.section--alt { background: var(--bg-alt) }
.section--soft { background: rgba(255,255,255,.03) }
.logos.section { padding: 8px 0 }
.section__header { text-align: center; margin-bottom: 24px }
.section__header h2 { font-size: 36px; margin: 0 0 12px }
.section__header p { color: var(--muted); margin: 0 }

.skip-link { position: absolute; left: -9999px; top: auto }
.skip-link:focus { left: 16px; top: 16px; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 8px }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(140%) blur(8px); background: rgba(11,16,32,.6); border-bottom: 1px solid rgba(255,255,255,.06) }
.site-header .container { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 16px 0; position: relative }
.brand { color: #fff; font-weight: 700; letter-spacing: .3px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 20px }
.brand img { display: block }
.nav { display: flex; gap: 20px; align-items: center }
.nav a { color: var(--muted); text-decoration: none }
.nav a:hover { color: var(--text) }
.site-header .brand { order: 0 }
.site-header .nav { order: 1; margin-left: auto }
.site-header .lang-switch { order: 2; margin-left: 12px }
/* Language switch inline on desktop */
.lang-switch { position: static; z-index: 3; margin-right: 0 }
.site-header .menu-toggle { order: 3 }
.lang-switch { display: flex; gap: 6px; margin-right: 12px }
.lang { height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #fff; cursor: pointer }
.lang[aria-pressed="true"] { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 10px; text-decoration: none; border: 1px solid rgba(255,255,255,.12); color: #fff; background: transparent }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none }
.btn--ghost { background: transparent }
.btn--sm { height: 36px; padding: 0 12px }

/* Emphasize CTA button */
.cta-banner .btn--primary { height: 58px; padding: 0 28px; font-weight: 800; font-size: 18px; box-shadow: 0 10px 26px rgba(74,163,255,.38) }
.cta-banner .btn--primary:hover { transform: translateY(-2px) }
.nav .btn--sm { height: 54px; padding: 0 22px; font-weight: 800; font-size: 16px; background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; color: #fff; box-shadow: 0 10px 26px rgba(74,163,255,.38) }
.nav .btn--sm:hover { transform: translateY(-2px) }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.12); background: transparent; border-radius: 10px }
.menu-toggle .bar { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff }

/* Hero */
.hero { position: relative; overflow: clip }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center }
.hero__content h1 { font-size: 48px; line-height: 1.15; margin: 0 0 12px }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 20px }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap }
.hero__trust { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 16px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted) }
.hero__trust li { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px }
.hero__trust strong { color: #fff; font-weight: 700; font-size: 14px }
.hero__trust span { font-size: 13px }
.hero__visual { position: relative; min-height: 320px }
.globe { width: 100%; height: 320px; border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(7,11,24,.55), rgba(7,11,24,.20)),
    url('assets/hero.jpg') center / cover no-repeat,
    url('https://images.pexels.com/photos/4481539/pexels-photo-4481539.jpeg?auto=compress&cs=tinysrgb&w=1400') center / cover no-repeat,
    url('assets/hero-fallback.svg') center / cover no-repeat,
    radial-gradient(120px 80px at 20% 30%, rgba(124,92,255,.18), transparent 70%),
    radial-gradient(180px 120px at 70% 40%, rgba(74,163,255,.16), transparent 65%),
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.globe-img { display: none }
.globe::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; opacity: .35 }
.globe::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 140px at 60% 70%, rgba(0,0,0,.35), transparent 60%); mix-blend-mode: overlay }
.hero__wave { display: none }

/* Logos */
.logos .marquee { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 36px; overflow: hidden; white-space: nowrap; color: var(--muted); opacity: .75; padding: 6px 0; animation: scroll 40s linear infinite }
.logos .marquee span { display: inline-block }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch }
.card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column }
.card:hover { transform: translateY(-4px) }
.solution-card { position: relative; overflow: hidden; border-radius: 16px; transform: translateZ(0); will-change: transform; transform-origin: center; transition: transform .2s ease, box-shadow .2s ease; min-height: 180px; gap: 8px }
.solution-card:hover { transform: scale(1.01); box-shadow: 0 16px 36px rgba(0,0,0,.35) }
.solution-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); color: #cfe2ff; margin-bottom: 10px }
.solutions-note { margin: 14px 0 0; color: var(--muted); text-align: center }
.solutions-cta { display: grid; place-items: center; margin-top: 16px }
.btn--xl { height: 64px; padding: 0 28px; font-size: 18px; font-weight: 800; box-shadow: 0 12px 28px rgba(74,163,255,.38) }
.card h3 { margin: 0 0 8px; font-size: 20px }
.card p { margin: 0; color: var(--muted) }
.solution-card h3 { margin-top: 4px }

.cta-banner { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(124,92,255,.08); border: 1px dashed rgba(124,92,255,.45); padding: 14px 16px; border-radius: 14px }
.cta-banner p { margin: 0; color: var(--muted) }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--card); padding: 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px }
.step__num { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); font-weight: 700 }
.step h3 { margin: 2px 0 6px }
.step p { margin: 0; color: var(--muted) }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.feature { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 16px }
.feature h3 { margin: 0 0 6px }
.feature p { margin: 0; color: var(--muted) }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.plan { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 16px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column }
.plan--featured { border-color: rgba(124,92,255,.6); box-shadow: 0 12px 28px rgba(124,92,255,.25) }
.ribbon { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 700; padding: 3px 7px; border-radius: 8px; font-size: 11px }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); font-weight: 700; padding: 2px 7px; border-radius: 999px; font-size: 10px }
.tag--popular { background: rgba(46,204,113,.18); border-color: rgba(46,204,113,.5); color: #c6f3da }
.plan__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px }
.price { display: inline-flex; align-items: baseline; gap: 2px }
.price .currency { opacity: .85 }
.price .amount { font-size: 24px; font-weight: 800 }
.plan__features { margin: 12px 0 10px; padding: 0 0 0 16px; color: var(--muted) }
.plan__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto }
.plan .btn--primary { height: 48px; padding: 0 18px; font-weight: 800 }
.plan .btn--ghost { height: 48px; padding: 0 18px; font-weight: 700 }

/* Trust & Social Proof */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.metric { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow) }
.metric__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px }
.metric__number { font-size: 28px; font-weight: 900; color: #fff; line-height: 1 }
.metric__label { color: var(--muted); font-size: 14px }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.testimonial { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 16px }
.testimonial .stars { color: #ffd76a; letter-spacing: 2px; margin-bottom: 8px }
.testimonial blockquote { margin: 0 0 8px }
.testimonial figcaption { color: var(--muted); font-size: 14px }

/* Contact */
.contact-form { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 16px; box-shadow: var(--shadow) }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center }
/* Contact emphasis */
#contact .section__header h2 { font-size: 42px }
#contact .section__header p { font-size: 18px }
.contact-actions { background: rgba(124,92,255,.08); border: 1px solid rgba(124,92,255,.35); padding: 20px; border-radius: 16px }
.contact-actions .btn--primary { height: 64px; padding: 0 28px; font-size: 18px; font-weight: 800; box-shadow: 0 12px 28px rgba(74,163,255,.38) }
.contact-actions .btn--ghost { height: 64px; padding: 0 24px; font-size: 16px; font-weight: 700; border: 1px dashed rgba(255,255,255,.35) }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px }
label { display: grid; gap: 6px; color: var(--muted) }
input, select, textarea { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; height: 44px; padding: 10px 12px; border-radius: 10px; outline: none }
textarea { height: auto; resize: vertical }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap }
.form-note { color: var(--muted); margin: 0 }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); background: #0a0f1e }
.site-footer .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 0 }
.footer__links { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0 }
.footer__links a { color: var(--muted); text-decoration: none }
.footer__links a:hover { color: var(--text) }
.footer__meta { display: flex; gap: 16px; color: var(--muted) }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: .6s ease }
.reveal.is-visible { opacity: 1; transform: translateY(0) }

/* Responsive */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr }
  .cards { grid-template-columns: repeat(2, 1fr); align-items: stretch }
  .features { grid-template-columns: repeat(2, 1fr) }
  .pricing { grid-template-columns: repeat(2, 1fr) }
  .testimonials { grid-template-columns: repeat(2, 1fr) }
  .metrics { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 640px) {
  .nav { position: fixed; inset: 64px 16px auto 16px; background: rgba(11,16,32,.96); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 12px; flex-direction: column; gap: 12px; transform: scale(.98); opacity: 0; pointer-events: none; transition: .2s ease }
  .nav.is-open { opacity: 1; transform: scale(1); pointer-events: auto }
  .menu-toggle { display: inline-block }
  .lang-switch { position: absolute; right: 16px; top: 14px }
  .cards { grid-template-columns: 1fr; align-items: stretch }
  .features { grid-template-columns: 1fr }
  /* Mobile: yatay kaydırmalı planlar */
  .pricing { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 6px }
  .plan { scroll-snap-align: start }
  .testimonials { grid-template-columns: 1fr }
  .metrics { grid-template-columns: 1fr }
  .form-grid { grid-template-columns: 1fr }
  .cta-banner { flex-direction: column; align-items: flex-start }
  #contact .section__header h2 { font-size: 36px }
  #contact .section__header p { font-size: 16px }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* FAQ */
.faqs { display: grid; gap: 12px }
.faq { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 12px }
.faq summary { cursor: pointer; font-weight: 600 }
.faq p { color: var(--muted); margin: 8px 0 0 }

/* Anchor spacing tweaks (bring titles higher) */
#services, #process, #why, #trust, #pricing, #testimonials, #faq, #contact { scroll-margin-top: 24px }
#faq.section, #why.section, #services.section, #process.section, #trust.section, #pricing.section, #testimonials.section, #contact.section { padding-top: 16px }
#faq .section__header { margin-top: 0 }
#why .section__header { margin-bottom: 28px }
/* Trust: bring header even higher */
#trust { scroll-margin-top: 16px }
#trust.section { padding-top: 8px }
#trust .section__header { margin-bottom: 24px }
/* FAQ: final fix */
#faq { scroll-margin-top: 16px !important }
#faq.section { padding-top: 0 !important }
#faq .section__header { margin: 0 0 20px !important }
#services .section__header { margin-bottom: 28px }
@media (max-width: 640px) {
  #services, #process, #why, #trust, #pricing, #testimonials, #faq, #contact { scroll-margin-top: 20px }
  #faq.section, #why.section, #services.section, #process.section, #trust.section, #pricing.section, #testimonials.section, #contact.section { padding-top: 12px }
  #faq .section__header { margin-top: 0 }
  #why .section__header { margin-bottom: 24px }
  /* Trust mobile tweak */
  #trust { scroll-margin-top: 16px }
  #trust.section { padding-top: 10px }
  #trust .section__header { margin-bottom: 20px }

/* FINAL override: ensure Why section sits higher and aligned */
#why { scroll-margin-top: 16px !important }
#why.section { padding-top: 0 !important }
#why .section__header { margin-top: 0 !important; margin-bottom: 20px !important }
}


