/* ==========================================================================
   Deep Rise - landing & legal pages
   Tek dosya, dis bagimlilik yok: fontlar sistem yiginindan, gorseller yerel.
   Boylece sayfa hicbir ucuncu tarafa istek atmaz (gizlilik + hiz).
   ========================================================================== */

:root {
  --bg:            #04101d;
  --bg-2:          #071a2c;
  --surface:       rgba(255, 255, 255, .045);
  --surface-2:     rgba(255, 255, 255, .075);
  --border:        rgba(140, 200, 235, .16);
  --text:          #e8f3fa;
  --text-dim:      #9fb9cc;
  --text-faint:    #6f8ba1;
  --accent:        #3fd6c0;
  --accent-2:      #ffb340;
  --danger:        #ff6b6b;
  --radius:        16px;
  --radius-lg:     24px;
  --maxw:          1140px;
  --shadow:        0 18px 48px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* HTML'de width/height ozniteligi var (CLS icin); CSS'te height:auto
   olmazsa kucultulen gorseller ezilir. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 16, 29, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; gap: 14px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700;
         letter-spacing: .3px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav.main { margin-left: auto; display: flex; gap: 26px; align-items: center; }
nav.main a { color: var(--text-dim); font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/hero-bg.jpg") center/cover no-repeat;
  opacity: .45; transform: scale(1.06);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% -10%, rgba(63, 214, 192, .16), transparent 60%),
              linear-gradient(180deg, rgba(4, 16, 29, .55) 0%, rgba(4, 16, 29, .94) 88%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); background: rgba(63, 214, 192, .1);
  border: 1px solid rgba(63, 214, 192, .28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.03; margin: 0 0 18px;
  letter-spacing: -1.4px; font-weight: 800;
}
.hero p.lead { font-size: 19px; color: var(--text-dim); margin: 0 0 32px; max-width: 34em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 650; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, #4fe0c9, #21a99a); color: #04231f; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .75;
             letter-spacing: .4px; }

.phone {
  position: relative; margin: 0 auto; width: 100%; max-width: 460px;
  border-radius: 26px; padding: 10px;
  background: linear-gradient(160deg, #16324a, #071a2c);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.phone img { width: auto; height: auto; border-radius: 18px; }

/* ---------- sections ---------- */

section { padding: 84px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; letter-spacing: -.6px;
  font-weight: 750;
}
.section-head p { color: var(--text-dim); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 680; }
.card p { margin: 0; color: var(--text-dim); font-size: 15.5px; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 21px;
  background: rgba(63, 214, 192, .12); border: 1px solid rgba(63, 214, 192, .25);
}

/* bolgeler */
.zones { display: grid; gap: 14px; }
.zone {
  display: grid; grid-template-columns: 132px 1fr auto; align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 24px;
}
.zone .depth { font-variant-numeric: tabular-nums; font-weight: 700;
               color: var(--accent); font-size: 15px; letter-spacing: .4px; }
.zone h3 { margin: 0 0 2px; font-size: 18px; }
.zone p { margin: 0; color: var(--text-dim); font-size: 15px; }
.zone .tag { font-size: 12px; color: var(--text-faint); white-space: nowrap; }

/* galeri */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots figure { margin: 0; border-radius: var(--radius); overflow: hidden;
                border: 1px solid var(--border); background: #000; }
.shots img { width: auto; height: auto; }
.shots figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--text-dim);
                    background: var(--surface); }

/* SSS */
details.faq {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 24px; margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 640; font-size: 17px;
                      list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--accent);
                             font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { color: var(--text-dim); margin: 12px 0 0; }

/* ---------- legal / metin sayfalari ---------- */

.doc { padding: 56px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 6px; }
.doc .updated { color: var(--text-faint); font-size: 14.5px; margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 42px 0 12px; letter-spacing: -.2px; }
.doc h3 { font-size: 17.5px; margin: 26px 0 8px; color: var(--text); }
.doc p, .doc li { color: var(--text-dim); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 11px 14px; border: 1px solid var(--border); }
.doc th { background: var(--surface-2); color: var(--text); font-weight: 640; }
.doc td { color: var(--text-dim); }
.callout {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 18px 22px; margin: 24px 0;
}
.callout p { margin: 0; }

.toc { background: var(--surface); border: 1px solid var(--border);
       border-radius: var(--radius); padding: 20px 26px; margin-bottom: 34px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--border); background: #030c17;
  padding: 56px 0 40px; font-size: 15px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: 1.2px;
                 text-transform: uppercase; color: var(--text-faint); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: var(--text-dim); }
footer.site a:hover { color: var(--text); }
.legal-note { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border);
              color: var(--text-faint); font-size: 13.5px; }
address { font-style: normal; color: var(--text-dim); line-height: 1.7; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone { transform: none; max-width: 420px; }
  .grid-3, .grid-2, .shots { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .zone { grid-template-columns: 100px 1fr; }
  .zone .tag { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 62px 0; }
  .grid-3, .grid-2, .shots { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  nav.main { gap: 16px; }
  nav.main a { font-size: 14px; }
  header.site .wrap { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
