/* =============================================================================
   erenbostan.com — STYLES
   ========================================================================== */
:root {
  --blue: #3087ce;
  --blue-bright: #4ea3e6;
  --blue-deep: #1f5f96;
  --bg: #0b0f16;
  --bg-2: #0f1520;
  --panel: #131b28;
  --panel-2: #17202f;
  --line: #222e42;
  --text: #eef2f8;
  --muted: #9aa7bd;
  --muted-2: #6f7d94;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-blue: 0 20px 60px -20px rgba(48, 135, 206, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand-name, .hero-tagline, .stat-value {
  font-family: "Sora", "Inter", sans-serif;
}
.container { width: min(var(--maxw), 92%); margin: 0 auto; }
section { position: relative; padding: 88px 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -20px rgba(48,135,206,.7); }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-bright); }
.btn-ghost { background: transparent; color: var(--muted); padding: 8px 12px; }
.btn-ghost:hover { color: var(--blue-bright); }

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11,15,22,.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; font-weight: 600; }
.brand-name { font-size: 1.12rem; letter-spacing: -.2px; text-transform: lowercase; color: var(--text); }
.brand-name strong { font-weight: 800; color: var(--blue-bright); }
.nav { display: flex; gap: 6px; }
.nav-link {
  color: var(--muted); font-size: .93rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-linkedin { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.lang-select {
  height: 34px; padding: 0 10px; border-radius: 8px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  font-weight: 700; font-size: .82rem; font-family: inherit; transition: border-color .2s, color .2s;
}
.lang-select:hover { border-color: var(--blue); color: var(--blue-bright); }
.lang-select option { background: var(--panel); color: var(--text); }
.menu-toggle { display: none; width: 40px; height: 34px; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------------- hero ---------------- */
.hero { padding: 150px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(48,135,206,.22), transparent 60%),
    radial-gradient(50% 50% at 0% 20%, rgba(31,95,150,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/moto.jpg") center 40% / cover no-repeat;
  opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 10%, transparent 96%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .1;
  mask-image: radial-gradient(60% 60% at 70% 10%, #000, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: center; }
.hero-tagline { color: var(--blue-bright); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; font-size: .82rem; margin-bottom: 16px; }
.hero-headline { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.5px; }
.hero-subline { color: var(--muted); font-size: 1.08rem; margin-top: 20px; max-width: 46ch; }
.hero-location { color: var(--muted-2); font-size: .9rem; margin-top: 16px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero-badge { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.badge-glow { position: absolute; inset: -20px; background: radial-gradient(circle, rgba(48,135,206,.35), transparent 65%); filter: blur(20px); z-index: -1; }
.hero-badge .LI-profile-badge { min-height: 260px; }
.badge-note { color: var(--blue-bright); font-size: .78rem; font-weight: 600; letter-spacing: .3px; }

/* ---------------- stats ---------------- */
.stats { padding: 0; margin-top: -30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 26px 22px; text-align: center;
}
.stat-value { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.stat-label span { display: block; color: var(--muted-2); font-size: .78rem; }

/* ---------------- section titles ---------------- */
.section-eyebrow { text-align: center; color: var(--muted-2); text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 600; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.4px; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.section-link { color: var(--blue-bright); font-weight: 600; font-size: .92rem; }
.section-link:hover { text-decoration: underline; }

/* ---------------- clients ---------------- */
.clients { padding: 70px 0; }
.client-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 22px 0 14px; }
.client-chip {
  padding: 9px 18px; box-shadow: var(--shadow);
  color: var(--muted); font-weight: 500; font-size: .9rem; background: var(--panel);
}
.clients-note { text-align: center; color: var(--muted-2); font-size: .85rem; }

/* ---------------- about ---------------- */
.about-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.about-photo { position: relative; margin-top: 8px; }
.about-photo::before {
  content: ""; position: absolute; inset: -18px;
  background: radial-gradient(circle, rgba(48,135,206,.28), transparent 65%);
  filter: blur(24px); z-index: -1;
}
.about-photo img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.about-title { margin-bottom: 20px; }
.about-body { margin-top: 22px; display: grid; gap: 16px; }
.about-body p { color: var(--muted); font-size: 1.05rem; }
.about-body p:first-child { color: var(--text); font-size: 1.14rem; }

/* ---------------- experience timeline ---------------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), transparent); }
.tl-item { position: relative; padding: 0 0 30px 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(48,135,206,.15); }
.tl-content { background: var(--panel); padding: 18px 20px; transition: background .2s, transform .2s; }
.tl-content:hover { background: var(--panel-2); transform: translateX(3px); }
.tl-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.tl-top h3 { font-size: 1.1rem; }
.tl-period { color: var(--blue-bright); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tl-company { color: var(--text); font-weight: 500; margin-top: 2px; font-size: .95rem; }
.tl-company span { color: var(--muted-2); font-weight: 400; }
.tl-desc { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ---------------- products ---------------- */
.product-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 44px; }
.pcard {
  position: relative; display: block; background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 24px;
  transition: transform .2s, background .2s;
}
.pcard:hover { transform: translateY(-4px); background: linear-gradient(180deg, var(--panel-2), var(--panel-2)); }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pcard-top h3 { font-size: 1.3rem; }
.pcard-tag { font-size: .72rem; font-weight: 600; color: var(--blue-bright); padding: 4px 9px; white-space: nowrap; }
.pcard p { color: var(--muted); font-size: .93rem; }
.pcard-arrow { position: absolute; top: 20px; right: 20px; color: var(--muted-2); opacity: 0; transition: opacity .2s, transform .2s; }
.pcard:hover .pcard-arrow { opacity: 1; transform: translate(2px,-2px); }
.suite-title { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.product-suite { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.suite-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(255,255,255,.03);
  font-weight: 600; font-size: .92rem;
}
.suite-chip em { font-style: normal; font-size: .68rem; font-weight: 600; padding: 2px 7px; text-transform: uppercase; letter-spacing: .5px; }
.suite-live em { background: rgba(48,135,206,.16); color: var(--blue-bright); }
.suite-beta em { background: rgba(230,180,60,.14); color: #e6b43c; }
.suite-dev em { background: rgba(150,160,180,.12); color: var(--muted); }
.products-cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 4px; }

/* ---------------- skills ---------------- */
.skill-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.skill-group { background: var(--panel); padding: 22px 24px; }
.skill-group h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-bright); margin-bottom: 14px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag { padding: 6px 12px; background: rgba(255,255,255,.03); font-size: .86rem; color: var(--text); }

/* ---------------- honors ---------------- */
.honors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.honor-list { display: grid; gap: 14px; margin-top: 22px; }
.honor-item { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); padding: 16px 18px; }
.honor-ico { color: var(--blue-bright); font-size: 1.1rem; line-height: 1.5; }
.honor-item strong { display: block; font-size: 1rem; }
.honor-item span { color: var(--muted); font-size: .88rem; }
.honor-langs { color: var(--muted-2); font-size: .88rem; margin-top: 18px; }

/* ---------------- contact ---------------- */
.contact { padding-bottom: 96px; }
.contact-inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: 44px; align-items: center;
  background: linear-gradient(135deg, rgba(48,135,206,.12), rgba(31,95,150,.05));
  padding: 44px; }
.contact-body { color: var(--muted); font-size: 1.08rem; margin-top: 14px; max-width: 48ch; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.contact-address { color: var(--muted-2); font-size: .82rem; margin-top: 18px; }
.contact-link { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.03); padding: 14px 18px; transition: background .2s, transform .2s; }
.contact-link:hover { background: rgba(255,255,255,.06); transform: translateX(3px); }
.cl-ico { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(48,135,206,.14); color: var(--blue-bright); font-weight: 700; font-size: .95rem; }
.cl-body { display: flex; flex-direction: column; }
.cl-body em { font-style: normal; color: var(--muted-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; }
.cl-body strong { font-size: .98rem; }
.contact-badge { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-badge-title { color: var(--muted); font-size: .85rem; }

/* ---------------- footer ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; color: var(--muted-2); font-size: .85rem; }
.footer-inner #footerName { color: var(--text); font-weight: 600; }
.footer-built { margin-left: auto; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { order: -1; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-featured { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 260px; }
  .skill-groups { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: 1fr; gap: 8px; }
  .contact-inner { grid-template-columns: 1fr; padding: 30px; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(11,15,22,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    transform: translateY(-140%); transition: transform .3s ease; z-index: 40;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav-link { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-toggle { display: flex; }
  .btn-linkedin span { display: none; }
}
@media (max-width: 520px) {
  section { padding: 64px 0; }
  .hero { padding: 120px 0 70px; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .btn-linkedin { display: none; }
  .footer-built { margin-left: 0; }
}
