/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root{
  --navy:#0C1756;
  --navy-dark:#050B3A;
  --navy-light:#1B2C7F;
  --purple: var(--navy);
  --white:#ffffff;
  --text:#0f0f1a;
  --border:#eef0f4;
  --muted:#f6f7fb;
  --ink:#111318;
  --purple-600: var(--navy-light);
  --purple-700: var(--navy-dark);
  --shadow: 0 6px 24px rgba(12,23,86,.08);
  --glass: rgba(255,255,255,.72);
  --bg-gradient: radial-gradient(1200px 600px at 0% -10%, rgba(12,23,86,.12), transparent 60%),
                 radial-gradient(900px 500px at 100% 10%, rgba(5,11,58,.15), transparent 60%);
  --nav-height: 84px;
}

/* Single-theme (section-based dark/light) — dark tokens removed */
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  background-image: var(--bg-gradient);
}
.container { width: min(1100px, 92%); margin: 0 auto; }

/* ===== Navbar ===== */
.navbar {
  position: sticky; 
  top: 0; 
  z-index: 1000;
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  padding:14px 28px;
  background: linear-gradient(180deg, #0B134B, #0C1756);
  border-bottom:1px solid rgba(255,255,255,.08);
  min-height: var(--nav-height);
}
.theme-toggle{ display:none; }
.logo{ height:48px; width:auto; display:block; }   /* LOGO büyütüldü */
.nav-right{ display:flex; align-items:center; gap:26px; }
.nav-right a{ 
  position:relative;
  color:#ffffff;         
  text-decoration:none; 
  font-size:15px; 
  opacity:.9; 
  transition:opacity .2s;
}
.nav-right a:hover{ opacity:1; }
.nav-right a::after{
  content:"";
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:-10px; height:2px; width:0;
  background: var(--purple);
  transition: width .2s ease;
}
.nav-right a:hover::after{ width:50%; }
.nav-right a.active::after{ width:50%; }
.nav-right .cta{
  padding:8px 16px; 
  border-radius:999px; 
  font-weight:600;
  background: linear-gradient(135deg, var(--purple), var(--purple-700));   
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(5,11,58,.35);
}

/* ===== Hero ===== */
.hero{
  position:relative;
  overflow:hidden;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding: clamp(64px, 12vh, 120px) min(5vw, 32px) clamp(48px, 10vh, 96px);
  text-align:center;
  box-sizing:border-box;
  background:#050c2a;
  color:#fff;
}
.bg-shapes{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.shape{
  position:absolute;
  background:rgba(255,255,255,0.06);
  border-radius:4px;
  filter:blur(1px);
  animation: float 12s ease-in-out infinite alternate;
}
.s1{ width:10px; height:10px; top:20%; left:15%; border-radius:50%; }
.s2{ width:18px; height:18px; top:60%; right:20%; }
.s3{ width:80px; height:4px; bottom:25%; left:40%; border-radius:2px; }
.hero .container{
  width: min(640px, 92vw);
  position:relative;
  z-index:2;
  padding: clamp(28px,3.6vw,48px);
  border-radius: 36px;
  background: rgba(7,16,58,.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
  isolation:isolate;
}
.hero .container::before{
  content:"";
  position:absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.25), transparent 55%);
  opacity:.8;
  filter: blur(60px);
  z-index:-1;
}
.hero-title{
  margin:0 0 .9rem; font-size: clamp(42px, 8vw, 96px);
  line-height:1.08; letter-spacing:-.01em; color: #fff; font-weight:800;
  text-shadow: 0 12px 50px rgba(0,0,0,.45), 0 0 30px rgba(255,255,255,.3);
}
.hero-title-top{
  display:block;
  color:#8e5bff;
}
.hero-title-bottom{
  display:block;
}
.hero-subtitle{
  margin:0 auto 1.6rem; max-width:760px; font-size:clamp(18px, 2.5vw, 26px);
  line-height:1.6; color: rgba(255,255,255,.92); font-weight:500;
  text-shadow: 0 8px 30px rgba(0,0,0,.35), 0 0 20px rgba(255,255,255,.2);
}
.hero-tagline{
  display:block; text-align:center; padding:0; border:none; background:none; box-shadow:none; border-radius:0;
  margin:.5rem auto 1.35rem;
  font-size: clamp(14px, 1.6vw, 16px); font-weight:300; color:#CBD0E5;
}
.hero-actions{ margin-top: 0; }
/* Ensure hero CTA spacing is driven by tagline margin */
.hero-actions .btn-primary{ margin-top: 0; }
.btn-primary{
  display:inline-block; margin-top:22px; padding:12px 20px; border-radius:999px;
  font-weight:600; text-decoration:none;
  background: linear-gradient(135deg, var(--purple), var(--purple-600)); color: var(--white);
  border: 1.6px solid rgba(255,255,255,.2);
  transition: transform .22s ease-out, opacity .22s ease-out, box-shadow .24s ease-out, background-position .4s ease-out;
  box-shadow: 0 8px 22px rgba(5,11,58,.32);
  background-size: 200% 100%; background-position: 0 0;
  font-weight:700; padding:12px 22px;
}
.btn-primary:hover, .btn-primary:focus{
  transform: scale(1.03);
  opacity: .98;
  box-shadow: 0 6px 24px rgba(5,11,58,.45), 0 0 0 4px rgba(27,44,127,.22);
  background-position: 100% 0;
}
.btn-primary:focus-visible{ outline:2px solid #A5B4FF; outline-offset:2px; }

/* tagline chip removed in favor of plain text */

/* ===== What We Do ===== */
.whatwedo{ padding:72px 0; background:#F7F8FC; }
.whatwedo, .team{ position: relative; z-index: 0; }
/* Soft fades to blend dark↔light section transitions */
.whatwedo::before, .whatwedo::after, .team::before, .team::after{
  content:""; position:absolute; left:0; right:0; height:56px; pointer-events:none;
}
.whatwedo::before, .team::before{ top:-36px; background: linear-gradient(to bottom, rgba(11,19,75,.18), rgba(11,19,75,0)); }
.whatwedo::after, .team::after{ bottom:-36px; background: linear-gradient(to top, rgba(11,19,75,.18), rgba(11,19,75,0)); }
.whatwedo-grid{
  display:grid; 
  grid-template-columns: 1.15fr .85fr; /* text wider than mockup */
  gap: clamp(24px, 5vw, 56px); 
  align-items:center;     /* ✨ burada center */
}

.whatwedo-text{
  max-width:600px;
  display:flex;
  flex-direction:column;
  justify-content:center; /* dikey ortalama */
  min-height:500px;       /* telefon yüksekliğiyle daha dengeli */
}

/* What We Do başlık ve alt yazıyı yukarı çek */
/* What We Do başlık ve alt yazı hizalama */
.whatwedo h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.4vw, 32px); /* diğer section başlıklarıyla aynı */
  color: var(--navy);  /* koyu lacivert */
}

.lede {
  margin: 6px 0 12px;
  font-size: 20px;      /* bullet’larla aynı font size */
  opacity: .9;
  line-height: 1.5;
}

/* Bullet list */
.bullets { margin: 10px 0 0; padding-left: 0; list-style:none; }
.bullets li { display:flex; align-items:center; gap:10px; margin: 8px 0; font-size:20px; line-height:1.6; }
.bullets .li-ico{ width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; font-size:18px; }
.bullets .li-text{ display:inline; }



/* Telefon çerçevesi */
.phone-frame{
  max-width: 300px;      /* masaüstünde en fazla 300px */
  width: 100%;           /* mobilde %100 */
  aspect-ratio: 9/16;
  border:2px solid rgba(12,23,86,.35);
  border-radius:24px;
  position:relative;
  background: linear-gradient(180deg, #fff, #f6f7fb);
  margin: 0 auto;        /* ortala */
  overflow:hidden;       /* içeriği taşırma */
  box-shadow: var(--shadow);
}
/* What We Do specific tweaks */
.whatwedo .phone-frame{ max-width: 300px; box-shadow: 0 8px 18px rgba(0,0,0,.06); transform: translateY(8px) scale(.985); transition: transform .22s ease-out, box-shadow .22s ease-out; }
.whatwedo .reveal.in-view .phone-frame, .whatwedo .phone-frame.reveal.in-view{ transform: none; }
/* dark variant not needed globally; handled per-section if required */

.phone-notch{
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  width:70px; height:10px; border-radius:8px;
  background:rgba(0,0,0,.08);
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.phone-notch .cam{
  width:8px; height:8px; border-radius:50%; background:rgba(0,0,0,.25);
}
.phone-notch .spk{
  width:32px; height:4px; border-radius:4px; background:rgba(0,0,0,.18);
}
.phone-screen{
  position:absolute; inset:12px; /* kenarlardan boşluk */
  border-radius:16px; overflow:hidden;
}
.phone-screen .phone-iframe{
  width:100%; height:100%; border:0; background:transparent; display:block;
}

/* ===== How It Works ===== */
.howitworks{
  padding:72px 0; background: linear-gradient(180deg, var(--purple-600), var(--purple));
  border-top:1px solid rgba(255,255,255,.10); border-bottom:1px solid rgba(255,255,255,.10);
}
.howitworks h2{
  margin:0 0 20px; text-align:center; font-size:clamp(22px, 3.4vw, 32px); color: #fff;
}
.steps{ --gap: clamp(14px, 2.6vw, 24px); --conn: min(40px, calc(var(--gap) + 12px)); display:grid; grid-template-columns:repeat(4, 1fr); gap:var(--gap); position:relative; }
/* timeline removed */
/* previously added decorative line disabled */
/* (left intentionally blank to avoid rendering) */
@media (min-width:901px){
  /* Ensure arrow fits without overlapping cards */
  .steps{ --gap: 44px; --conn: 36px; }
}
/* smooth chevrons (no white circles) for How It Works */
@media (min-width:901px){
  .howitworks .step:not(:last-child)::after{
    position:absolute; top:50%; left: calc(100% + var(--gap) / 2); transform: translate(-50%, -50%);
    width:auto; height:auto; border-radius:0; background:none; box-shadow:none; pointer-events:none;
    display:block; padding:0; margin:0;
    font-size: 28px; font-weight:800; color: rgba(255,255,255,.95);
    text-shadow: 0 8px 20px rgba(0,0,0,.25);
  }
}

/* Force-disable timeline bar and nodes if any remain */
.howitworks .steps::before, .howitworks .step::before{ content:none !important; display:none !important; }
.step{
  background:#fff; border:1px solid var(--border); border-radius:16px;
  padding:22px; text-align:center;
  transition: box-shadow .22s ease-out, transform .22s ease-out, border-color .22s ease-out, background .22s ease-out;
  position:relative;
}
/* Keep emojis simple, no boxed background */
.step .step-icon{ font-size:24px; margin:4px 0 8px; }
.step:hover{ transform: translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.06); border-color: rgba(12,23,86,.35); background: linear-gradient(180deg, #fff, rgba(12,23,86,.04)); }
/* Dark cards inside How It Works */
.howitworks .step{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color:#fff; backdrop-filter: blur(6px) saturate(120%); -webkit-backdrop-filter: blur(6px) saturate(120%); }
.howitworks .step h3{ color:#fff; }
.howitworks .step p{ color: rgba(255,255,255,.9); }
.howitworks .step:hover{ background: rgba(12,23,86,.18); border-color: rgba(12,23,86,.45); box-shadow: 0 10px 24px rgba(0,0,0,.4); transform: scale(1.02); }
.howitworks .step .step-icon{ transition: transform .22s ease-out; }
.howitworks .step:hover .step-icon{ transform: translateY(-6px); }
/* (removed step badges) */
/* nodes removed */

/* connector: circular chevron between steps (desktop) */
@media (min-width:901px){
  .step:not(:last-child)::before{ content:none; }
  .step:not(:last-child)::after{
    content:"›";
    display:flex; align-items:center; justify-content:center;
    position:absolute; top:50%; left: calc(100% + (var(--gap) - var(--conn)) / 2); transform: translateY(-50%);
    width: var(--conn); height: var(--conn); border-radius:999px; z-index:2;
    font-size: calc(var(--conn) * .6); font-weight:800; line-height:1; color: var(--purple);
    background:#fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.06) inset;
  }
}

/* ===== Team ===== */
.team{ padding:64px 0; background:#fff; }
.team h2{ margin:0 0 20px; text-align:center; font-size:clamp(22px, 3.4vw, 32px); color: var(--navy); }
.team-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:clamp(14px, 2.6vw, 24px); }
.member{ border:1px solid var(--border); border-radius:16px; padding:18px; text-align:center; transition: transform .18s, box-shadow .18s, border-color .18s; background:#fff; }
.member:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); border-color: rgba(12,23,86,.18); }
.avatar{ width:110px; height:110px; border-radius:50%; background:#f1f2f6; margin:0 auto 10px; }
.avatar.placeholder{ background:#f4f6fa; border:1px dashed #cfd6e3; } /* yumuşatıldı */
.avatar-img{
  width:110px; height:110px; object-fit:cover; border-radius:50%;
  display:block; margin:0 auto 10px; border:3px solid var(--purple);
  box-shadow: 0 8px 20px rgba(5,11,58,.25);
}
/* Fine-tune crop for Yusuf so the face centers in the circle */
.avatar-yusuf{ object-position: 40% 38%; }
.name{ font-weight:700; }
.role{ font-size:14px; opacity:.85; }

/* ===== Contact (butonlu) ===== */
.contact{ padding:72px 0; border-top:1px solid var(--border); background: linear-gradient(180deg, #0C1756, #0B134B); }
.contact h2{ margin:0 0 18px; text-align:center; font-size:clamp(22px, 3.4vw, 32px); color: #fff; }
.contact-tagline{ max-width:720px; margin: 8px auto 18px; text-align:center; font-size: clamp(14px, 1.6vw, 16px); color: rgba(255,255,255,.65); font-weight:300; font-style: italic; }
.contact-kicker{
  display:block; margin:0 0 6px; text-align:center;
  font-weight:600; letter-spacing:.2px; font-size:clamp(18px, 2.2vw, 20px);
  color:#fff; text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
/* underline removed as requested */
.contact-row{
  margin-top:12px; display:flex; gap:16px; align-items:center; justify-content:center; flex-wrap:wrap;
}
.btn-linkedin, .btn-email{
  display:inline-block; text-decoration:none; font-weight:700; color:#fff;
  padding:12px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.2);
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%);
  box-shadow: 0 6px 16px rgba(5,11,58,.35);
  transition: transform .22s ease-out, box-shadow .24s ease-out, opacity .2s ease-out;
}
.btn-linkedin:hover, .btn-email:hover{ transform: scale(1.03); box-shadow: 0 6px 20px rgba(5,11,58,.45); opacity:.98; }
.contact-row a:focus-visible{ outline:2px solid #A5B4FF; outline-offset:2px; }

@media (max-width: 560px){
  .contact-row{ gap:12px; }
  .contact-row a{ width:100%; text-align:center; }
}

/* ===== Footer ===== */
.site-footer{
  padding:40px 0 28px; border-top:1px solid rgba(255,255,255,.08);
  text-align:center; color: rgba(255,255,255,.8);
  font-size:13px;
  background:#0B134B;
}
.footer-brand{ margin-bottom:8px; }
.footer-row{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; }
.footer-nav{ margin:6px 0 8px; font-size:12.5px; color:rgba(255,255,255,.6); display:inline-flex; align-items:center; flex-wrap:wrap; }
.footer-nav a{ color:inherit; text-decoration:none; margin:0 0; position:relative; }
.footer-nav a:not(:last-child){ margin-right:14px; }
.footer-nav a:not(:last-child)::after{ content:"|"; margin-left:14px; opacity:.7; }
.footer-nav a:hover{ color:#fff; text-decoration:underline; }
.footer-social{ display:inline-flex; gap:12px; margin-left:24px; align-items:center; }
.footer-social a{ color: rgba(255,255,255,.7); text-decoration:none; font-size:16px; transition: transform .18s ease-out, color .18s ease-out; }
.footer-social a:hover{ color:#fff; transform: scale(1.1); }
@media (max-width: 560px){
  .footer-row{ flex-direction:column; gap:12px; }
  .footer-social{ margin-left:0; }
}

/* ===== Modal ===== */
.modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:3000; }
.modal[aria-hidden="false"]{ display:flex; }
.modal-overlay{ position:absolute; inset:0; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); }
.modal-dialog{
  position:relative; z-index:1; width:min(560px, 92%);
  background:#fff; border-radius:16px; border:1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding:20px 20px 16px;
  transform: translateY(16px); opacity:0; transition: transform .24s ease-out, opacity .24s ease-out;
}
.modal[aria-hidden="false"] .modal-dialog{ transform:none; opacity:1; }
.modal-close{ position:absolute; top:10px; right:10px; width:32px; height:32px; border-radius:8px; border:1px solid var(--border); background:#fff; cursor:pointer; font-size:18px; }
.modal h3{ margin:4px 0 12px; color: var(--navy); }
.field{ display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.field label{ font-weight:600; font-size:14px; color:var(--ink); }
.field .muted{ font-weight:500; opacity:.55; }
.field input, .field textarea{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
  font: inherit; outline:none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus{ border-color: rgba(12,23,86,.55); box-shadow: 0 0 0 3px rgba(12,23,86,.18); }
.modal-actions{ display:flex; justify-content:flex-end; gap:10px; margin-top:8px; }
.btn-secondary{ display:inline-block; padding:10px 16px; border-radius:999px; font-weight:600; border:1px solid var(--border); background:#fff; cursor:pointer; }

/* Prevent background scroll when modal open */
body.modal-open{ overflow:hidden; }

/* ===== Toast ===== */
.toast{ position: fixed; left: 50%; transform: translateX(-50%) translateY(20px); bottom: 18px; background:#111827; color:#fff; padding:10px 14px; border-radius:10px; opacity:0; pointer-events:none; transition: opacity .25s ease-out, transform .25s ease-out; box-shadow: 0 12px 24px rgba(0,0,0,.3); }
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ===== Reveal animations ===== */
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0ms); }
.reveal.in-view{ opacity:1; transform:none; }
.hero .reveal{ transform: translateY(8px); transition: opacity .24s ease-out, transform .24s ease-out; }
.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-actions{ position:relative; z-index:2; }

@keyframes float{
  from{ transform:translateY(0); opacity:0.12; }
  to{ transform:translateY(6px); opacity:0.18; }
}

@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  .step, .member, .btn-primary, .phone-frame{ transition: none !important; transform:none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .hero{ padding: clamp(48px, 10vh, 80px) 16px clamp(32px, 8vh, 56px); }
  .whatwedo-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr 1fr; }
  .team-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px){
  .hero-title{ margin-bottom: .76rem; }
  .hero-subtitle{ margin-bottom: 1.36rem; }
  .hero .container{
    border-radius: 26px;
    padding: 24px;
  }
  .whatwedo-text{
    min-height:auto;
    text-align:center;
    align-items:center;
  }
  .whatwedo-text .bullets{ align-items:flex-start; text-align:left; margin: 12px auto; }
  .whatwedo-media{ order:-1; margin-bottom: 24px; }
  .whatwedo .phone-frame{ max-width: 240px; margin-inline:auto; }
}

@media (max-width: 680px){
  .examples-hero{ padding: 40px 0 16px; }
  .examples{ padding:32px 0 48px; }
  .example-card{ width: min(320px, 94vw); }
}
@media (max-width: 560px){
  .steps{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr; }
  .nav-right{ gap:14px; }
  .logo{ height:32px; }
  /* Mobile: hide nav links, keep only logo */
  .nav-right{ display:none; }
}

/* Hide How It Works timeline and nodes on mobile */
@media (max-width: 768px){ .howitworks .steps::before, .howitworks .step::before{ content:none !important; } }
/* Tighter card padding on small screens */
@media (max-width: 768px){ .howitworks .step{ padding:16px; } }

/* ===== What We Do page (examples grid) ===== */
.examples-hero{ padding: 56px 0 20px; background: #0C1756; color:#fff; text-align:center; border-bottom:1px solid rgba(255,255,255,.08); }
.examples-hero h1{ margin:0 0 6px; font-size: clamp(26px, 5vw, 40px); }
.examples-hero p{ margin:0; opacity:.9; }
.examples{ padding:40px 0 64px; background:#F7F8FC; }
.examples-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 24px); justify-items: center; }
@media (max-width: 680px){ .examples-grid{ grid-template-columns: 1fr; } }
.example-card{ background:#fff; border:1px solid var(--border); border-radius:16px; padding:20px; width:min(320px, 85vw); transition: transform .22s ease-out, box-shadow .22s ease-out, border-color .22s ease-out; display:flex; flex-direction:column; align-items:center; }
.example-card .phone-frame{ width:100%; max-width:280px; }
.example-card:hover{ transform: scale(1.02); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: rgba(12,23,86,.35); }
.example-meta{ margin-top:10px; text-align:center; font-size:14px; color:#334155; opacity:.9; }
