/* ===== Tokens ===== */
:root{
  --bg: #07090d;
  --bg-elev: #0d1016;
  --panel: rgba(255,255,255,0.04);
  --panel-border: rgba(255,255,255,0.08);
  --text: #eef1f6;
  --text-dim: #9aa3b2;
  --text-faint: #636d7e;
  --accent: #3EE8C7;
  --accent-2: #6E6BFF;
  --accent-grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:'Space Grotesk', 'Inter', sans-serif;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em; color:var(--text-dim);}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
img{max-width:100%; display:block;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
.text-gradient{
  background:var(--accent-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ===== Background decor ===== */
.bg-glow{
  position:fixed; border-radius:50%; filter:blur(90px); z-index:0; pointer-events:none; opacity:.35;
}
.bg-glow--one{ width:600px; height:600px; top:-200px; left:-150px; background:var(--accent); }
.bg-glow--two{ width:600px; height:600px; top:200px; right:-200px; background:var(--accent-2); }
.bg-grid{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 80%);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent-grad); color:#06080c;
  box-shadow:0 10px 30px -8px rgba(62,232,199,0.35);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 36px -8px rgba(62,232,199,0.5); }
.btn-ghost{
  background:transparent; color:var(--text); border-color:var(--panel-border);
}
.btn-ghost:hover{ border-color:rgba(255,255,255,0.25); background:rgba(255,255,255,0.03); }
.btn-sm{ padding:9px 18px; font-size:.85rem; }
.btn-wide{ width:100%; padding:14px; }

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(7,9,13,0.7);
  border-bottom:1px solid var(--panel-border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ flex-shrink:0; }
.brand-name{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.2rem; letter-spacing:-0.02em; }

.main-nav{ display:flex; gap:32px; }
.main-nav a{ font-size:.92rem; color:var(--text-dim); font-weight:500; transition:color .2s; }
.main-nav a:hover{ color:var(--text); }

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

.lang-switch{
  display:flex; align-items:center; gap:6px; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:999px; padding:6px 12px; font-size:.78rem; font-weight:600; color:var(--text-dim); cursor:pointer;
  letter-spacing:.02em;
}
.lang-opt{ padding:2px 4px; border-radius:6px; transition:color .2s; }
.lang-opt.is-active{ color:var(--accent); }
.lang-sep{ color:var(--text-faint); }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:var(--panel); border:1px solid var(--panel-border); border-radius:10px; cursor:pointer;
}
.nav-toggle span{ width:16px; height:2px; background:var(--text); margin:0 auto; border-radius:2px; transition:.2s; }

/* ===== Hero ===== */
.hero{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center;
  padding:110px 24px 90px;
}
.eyebrow{
  display:inline-block; font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent); background:rgba(62,232,199,0.08); border:1px solid rgba(62,232,199,0.2);
  padding:6px 14px; border-radius:999px; margin-bottom:22px;
}
.hero h1{ font-size:clamp(2.1rem, 4.2vw, 3.4rem); font-weight:700; }
.hero h1 span{ display:block; }
.hero-sub{ font-size:1.08rem; max-width:520px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px; }
.hero-tags{ display:flex; gap:10px; flex-wrap:wrap; }
.hero-tags span{
  font-size:.78rem; color:var(--text-dim); background:var(--panel); border:1px solid var(--panel-border);
  padding:7px 14px; border-radius:999px;
}

.hero-visual{ position:relative; height:440px; }
.panel{
  position:absolute; background:var(--bg-elev); border:1px solid var(--panel-border); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px 20px;
}
.panel-code{
  top:0; left:0; width:340px; font-family:'SF Mono', 'Fira Code', monospace; font-size:.78rem; color:#c6cdd8;
}
.panel-dots{ display:flex; gap:6px; margin-bottom:14px; }
.panel-dots span{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.15); }
.panel-dots span:nth-child(1){ background:#ff5f57; }
.panel-dots span:nth-child(2){ background:#febc2e; }
.panel-dots span:nth-child(3){ background:#28c840; }
.panel-code pre{ margin:0; white-space:pre-wrap; }
.c-key{ color:#6E6BFF; } .c-str{ color:#3EE8C7; } .c-fn{ color:#f0c674; } .c-num{ color:#f0c674; } .c-comment{ color:#636d7e; }

.panel-status{
  top:50px; right:0; width:280px; display:flex; flex-direction:column; gap:12px;
}
.status-row{ display:flex; align-items:center; gap:10px; font-size:.82rem; color:var(--text-dim); }
.status-row b{ margin-left:auto; color:var(--text); font-weight:600; font-size:.8rem; }
.dot{ width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.dot-ok{ background:var(--accent); box-shadow:0 0 0 4px rgba(62,232,199,0.15); }
.dot-warn{ background:#f0c674; box-shadow:0 0 0 4px rgba(240,198,116,0.15); }

.panel-browser{
  bottom:0; left:40px; width:320px;
}
.browser-bar{ display:flex; align-items:center; gap:6px; margin-bottom:14px; }
.browser-bar span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.15); }
.browser-url{
  margin-left:8px; font-size:.7rem; color:var(--text-faint); background:rgba(255,255,255,0.04);
  padding:4px 10px; border-radius:6px; flex:1;
}
.bb-line{ height:8px; border-radius:6px; background:rgba(255,255,255,0.08); margin-bottom:8px; }
.w-70{ width:70%; } .w-40{ width:40%; }
.bb-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; margin-top:12px; }
.bb-grid div{ height:46px; border-radius:8px; background:rgba(255,255,255,0.05); }

/* ===== Trust strip ===== */
.trust-strip{ position:relative; z-index:1; text-align:center; padding:10px 24px 40px; }
.trust-strip p{ font-size:1rem; color:var(--text-faint); max-width:620px; margin:0 auto; }

/* ===== Sections ===== */
.section{ position:relative; z-index:1; padding:90px 24px; }
.section-alt{ background:linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent); }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.section-tag{
  display:inline-block; font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent-2); margin-bottom:14px;
}
.section-head h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); }

/* ===== Services ===== */
.services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.service-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius);
  padding:36px 32px; transition:transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover{ transform:translateY(-4px); border-color:rgba(255,255,255,0.16); background:rgba(255,255,255,0.055); }
.service-icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:rgba(62,232,199,0.1); color:var(--accent); margin-bottom:22px;
}
.service-icon--alt{ background:rgba(110,107,255,0.1); color:var(--accent-2); }
.service-card h3{ font-size:1.3rem; }
.service-list{ margin:20px 0 22px; display:flex; flex-direction:column; gap:10px; }
.service-list li{
  font-size:.92rem; color:var(--text-dim); padding-left:22px; position:relative;
}
.service-list li::before{
  content:""; position:absolute; left:0; top:7px; width:8px; height:8px; border-radius:2px;
  background:var(--accent-grad);
}
.card-link{ font-weight:600; font-size:.9rem; color:var(--accent); }

/* ===== Features ===== */
.features-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.feature-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius);
  padding:28px 24px;
}
.feature-num{ font-family:'Space Grotesk',sans-serif; font-size:1.6rem; font-weight:700; color:var(--text-faint); margin-bottom:14px; }
.feature-card h3{ font-size:1.05rem; margin-bottom:8px; }
.feature-card p{ font-size:.88rem; margin:0; }

/* ===== Process ===== */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
.process-step{ position:relative; padding-top:8px; }
.process-index{
  display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%;
  background:var(--accent-grad); color:#06080c; font-weight:700; font-family:'Space Grotesk',sans-serif; margin-bottom:18px;
}
.process-step h3{ font-size:1.05rem; }
.process-step p{ font-size:.88rem; }

/* ===== CTA banner ===== */
.cta-banner{ position:relative; z-index:1; padding:20px 24px 90px; }
.cta-inner{
  background:linear-gradient(135deg, rgba(62,232,199,0.1), rgba(110,107,255,0.1));
  border:1px solid var(--panel-border); border-radius:24px; padding:60px 40px; text-align:center;
}
.cta-inner h2{ font-size:clamp(1.5rem,3vw,2.1rem); max-width:600px; margin:0 auto 14px; }
.cta-inner p{ max-width:520px; margin:0 auto 28px; }

/* ===== Contact ===== */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; }
.contact-info h2{ font-size:clamp(1.6rem,3vw,2.1rem); }
.contact-list{ display:flex; flex-direction:column; gap:18px; margin:30px 0; }
.contact-list li{ display:flex; gap:14px; align-items:flex-start; }
.contact-ico{
  width:38px; height:38px; flex-shrink:0; border-radius:10px; background:var(--panel); border:1px solid var(--panel-border);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
}
.contact-list b{ display:block; font-size:.82rem; color:var(--text-faint); font-weight:600; margin-bottom:2px; }
.contact-list a, .contact-list span{ font-size:.98rem; color:var(--text); }
.contact-note{ font-size:.8rem; color:var(--text-faint); font-style:italic; }

.contact-form{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius);
  padding:32px; display:flex; flex-direction:column; gap:18px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field label{ font-size:.82rem; color:var(--text-dim); font-weight:500; }
.form-field input, .form-field select, .form-field textarea{
  background:rgba(255,255,255,0.03); border:1px solid var(--panel-border); border-radius:var(--radius-sm);
  padding:12px 14px; color:var(--text); font-family:inherit; font-size:.92rem; outline:none;
  transition:border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--accent); }
.form-field textarea{ resize:vertical; }
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }
.form-status{ font-size:.85rem; min-height:1em; margin:0; color:var(--accent); }
.form-status.is-error{ color:#ff8a8a; }
.form-legal-note{ font-size:.78rem; color:var(--text-faint); margin:-6px 0 4px; }
.form-legal-note a{ color:var(--text-dim); text-decoration:underline; text-underline-offset:2px; }
.form-legal-note a:hover{ color:var(--text); }

/* ===== Footer ===== */
.site-footer{ position:relative; z-index:1; border-top:1px solid var(--panel-border); padding:50px 24px; }
.footer-inner{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.footer-brand p{ max-width:260px; font-size:.88rem; margin-top:10px; }
.footer-links{ display:flex; gap:26px; flex-wrap:wrap; }
.footer-links a{ font-size:.9rem; color:var(--text-dim); }
.footer-links a:hover{ color:var(--text); }
.footer-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; font-size:.82rem; color:var(--text-faint); text-align:right; }
.footer-legal-link{ color:var(--text-faint); text-decoration:underline; text-underline-offset:2px; }
.footer-legal-link:hover{ color:var(--text-dim); }

/* ===== Reveal animation ===== */
[data-reveal]{
  opacity:0; transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }

/* ===== References page ===== */
.ref-hero{ padding-top:70px; }
.ref-intro{ max-width:560px; margin:0 auto; text-align:center; }
.ref-empty{ text-align:center; color:var(--text-faint); padding:40px 0; }

.ref-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:28px; margin-top:20px;
}
.ref-card{
  display:flex; flex-direction:column; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius); overflow:hidden; transition:transform .25s ease, border-color .25s ease, background .25s ease;
}
.ref-card:hover{ transform:translateY(-4px); border-color:rgba(255,255,255,0.16); background:rgba(255,255,255,0.055); }
.ref-thumb{
  aspect-ratio:16/10; overflow:hidden; background:var(--bg-elev); border-bottom:1px solid var(--panel-border);
}
.ref-thumb img{ width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.ref-body{ padding:24px; }
.ref-category{
  display:inline-block; font-size:.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--accent); background:rgba(62,232,199,0.1); border:1px solid rgba(62,232,199,0.2);
  padding:4px 10px; border-radius:999px; margin-bottom:12px;
}
.ref-body h3{ font-size:1.15rem; margin-bottom:8px; }
.ref-body p{ font-size:.9rem; margin-bottom:16px; }
.ref-link{ font-weight:600; font-size:.88rem; color:var(--accent); }

/* ===== KVKK / legal page ===== */
.kvkk-page{ padding-top:70px; }
.kvkk-container{ max-width:760px; }
.kvkk-page .section-head{ text-align:left; max-width:none; margin-bottom:40px; }
.kvkk-page h1{ font-size:clamp(1.6rem, 3vw, 2.1rem); }
.kvkk-intro{ font-size:.95rem; }
.kvkk-body h2{ font-size:1.05rem; margin:28px 0 10px; color:var(--text); }
.kvkk-body h2:first-child{ margin-top:0; }
.kvkk-body p{ font-size:.92rem; line-height:1.7; color:var(--text-dim); }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; padding-top:60px; }
  .hero-visual{ height:380px; order:-1; }
  .panel-code{ width:88%; }
  .panel-status{ width:70%; right:0; top:40px; }
  .panel-browser{ width:78%; left:4%; }
  .features-grid{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .main-nav{ display:none; }
}

@media (max-width: 680px){
  .header-inner{ height:64px; }
  .main-nav{
    position:absolute; top:64px; left:0; right:0; background:rgba(7,9,13,0.97);
    border-bottom:1px solid var(--panel-border);
    flex-direction:column; padding:18px 24px; gap:16px; display:none;
  }
  .main-nav.is-open{ display:flex; }
  .nav-toggle{ display:flex; }
  .header-actions .btn-sm{ display:none; }
  .services-grid{ grid-template-columns:1fr; }
  .features-grid{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .hero-visual{ height:340px; }
  .panel{ padding:14px 16px; }
  .cta-inner{ padding:40px 24px; }
}
