/* =========================================================
   SolarContent - styles.css
   Minimal, modern, responsive
========================================================= */

:root{
  /* Layout */
  --container: 1120px;
  --radius: 16px;

  /* Spacing scale */
  --s-1: 6px;
  --s0: 10px;
  --s1: 14px;
  --s2: 18px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 72px;

  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --fs-0: 14px;
  --fs-1: 16px;
  --fs-2: 18px;
  --fs-3: 22px;
  --fs-4: 34px;
  --fs-5: 44px;

  /* Light colors */
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, .18);

  /* Accent */
  --accent: #0ea5e9;   /* sky */
  --accent-2: #22c55e; /* green */
  --danger: #e11d48;

  /* Shadows */
  --shadow: 0 18px 45px rgba(2, 6, 23, .08);
  --shadow-soft: 0 10px 22px rgba(2, 6, 23, .08);

  /* Transitions */
  --t: 160ms ease;
}


/* Base reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(900px 600px at 85% 0%, rgba(34,197,94,.10), transparent 55%),
    var(--bg);
  line-height: 1.55;
  cursor: default;
}


img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--s2); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible{
  outline: 3px solid rgba(94,234,212,.5);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Utility */
.container{
  width: min(var(--container), calc(100% - 2*var(--s4)));
  margin-inline: auto;
}

.text{ color: var(--text); }
.text--muted{ color: var(--muted); }

.link{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(94,234,212,.45);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t), opacity var(--t);
}
.link:hover{ text-decoration-color: rgba(94,234,212,.9); }

.visually-hidden{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Skip link */
.skip-link{
  position: absolute;
  top: var(--s2);
  left: var(--s2);
  padding: var(--s1) var(--s2);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transform: translateY(-140%);
  transition: transform var(--t);
  z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

/* Header / Nav */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,15,20,.60);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav{
  width: min(var(--container), calc(100% - 2*var(--s4)));
  margin-inline: auto;
  padding: var(--s2) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
  letter-spacing: .2px;
}
.brand__name{
  font-size: var(--fs-2);
  line-height: 1.1;
}

.nav__menu{
  display: none;
  gap: var(--s3);
  align-items: center;
}
.nav__link{
  color: var(--muted);
  font-weight: 600;
  padding: var(--s1) var(--s2);
  border-radius: 999px;
  transition: background var(--t), color var(--t);
}
.nav__link:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.nav__cta{ display: flex; align-items: center; }

/* Buttons */
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 700;
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t), opacity var(--t);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  white-space: nowrap;
}

.button:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.button--primary{
  background: linear-gradient(135deg, rgba(94,234,212,.95), rgba(96,165,250,.92));
  color: #071018;
  border-color: rgba(255,255,255,.18);
  box-shadow: var(--shadow-soft);
}
.button--primary:hover{ opacity: .95; }

.button--secondary{
  background: rgba(255,255,255,.05);
}

/* Sections */
.section{
  padding: var(--s6) 0;
}

.section__title{
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.2;
  letter-spacing: -.3px;
  margin: 0 0 var(--s3);
}

.section__text{
  color: var(--muted);
  margin: 0 0 var(--s4);
  max-width: 70ch;
}

/* Hero */
.section--hero{ padding-top: var(--s5); }

.hero{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  align-items: center;
}

.hero__title{
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -.9px;
  margin: 0 0 var(--s3);
}

.hero__text{
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  max-width: 68ch;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}

.hero__badges{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}

.badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.media-placeholder{
  width: 100%;
  min-height: 280px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    radial-gradient(500px 280px at 30% 30%, rgba(96,165,250,.20), transparent 60%),
    radial-gradient(600px 360px at 70% 0%, rgba(94,234,212,.16), transparent 55%);
  box-shadow: var(--shadow);
}

/* Grids */
.grid{
  display: grid;
  gap: var(--s3);
}
.grid--2{ grid-template-columns: 1fr; }
.grid--3{ grid-template-columns: 1fr; }

/* Cards */
.card{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: var(--s4);
}

.card--plain{
  background: var(--surface-2);
  box-shadow: none;
}

.card__title{
  margin: 0 0 var(--s2);
  font-size: 18px;
  letter-spacing: -.2px;
}

.card__text{
  color: var(--muted);
  margin: 0 0 var(--s3);
}

.card__list li{
  color: var(--text);
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.card__list li:first-child{ border-top: none; padding-top: 0; }

.list--checks li{
  position: relative;
  padding-left: 28px;
  color: var(--text);
  margin: 10px 0;
}
.list--checks li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

/* CTA block inside sections */
.section__cta{
  margin-top: var(--s4);
  display: flex;
  gap: var(--s2);
}

/* Steps */
.steps{
  display: grid;
  gap: var(--s2);
  margin: 0;
  padding: 0;
}

.step{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--s2);
  padding: var(--s3);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
}

.step__number{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(94,234,212,.12);
  border: 1px solid rgba(94,234,212,.25);
  color: var(--text);
  font-weight: 900;
  font-family: var(--mono);
}

.step__title{
  margin: 0 0 6px;
  font-weight: 800;
}

.step__text{
  margin: 0;
  color: var(--muted);
}

/* Contact / Form */
.form{
  display: grid;
  gap: var(--s3);
}

.form__row{
  display: grid;
  gap: 6px;
}


.label{
  font-size: 13px;
  font-weight: 600;
  color: rgba(15,23,42,.75);
  letter-spacing: .2px;
}


.input,
.textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.28);
  background: #ffffff;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -1px 0 rgba(15,23,42,.04);

  transition:
    border-color var(--t),
    box-shadow var(--t),
    transform var(--t);
}

.input::placeholder,
.textarea::placeholder{
  color: rgba(100,116,139,.55);
  font-weight: 400;
}


.input:focus,
.textarea:focus{
  border-color: rgba(0,122,255,.55); /* Apple blue */
  box-shadow:
    0 0 0 4px rgba(0,122,255,.14),
    inset 0 1px 0 rgba(255,255,255,.7);
  outline: none;
}


.textarea{ resize: vertical; min-height: 140px; }

.form__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
}

.form__hint{
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: var(--s4) 0;
  background: rgba(0,0,0,.15);
}

.footer{
  display: grid;
  gap: var(--s3);
  align-items: center;
}

.footer__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
}

.footer__text{
  margin: 6px 0 0;
  color: var(--muted);
}

.footer__links{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.footer__link{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.footer__link:hover{
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.05);
}

.footer__copy{
  margin: 0;
  color: rgba(169,183,204,.75);
  font-size: 14px;
}

/* Responsive */
@media (min-width: 860px){
  .nav__menu{ display: flex; }

  .hero{
    grid-template-columns: 1.15fr .85fr;
    gap: var(--s5);
  }

  .grid--2{ grid-template-columns: 1fr 1fr; }
  .grid--3{ grid-template-columns: 1fr 1fr 1fr; }

  .footer{
    grid-template-columns: 1.2fr 1fr auto;
    justify-content: space-between;
  }
}

/* Small tweaks */
@media (max-width: 420px){
  .container{ width: min(var(--container), calc(100% - 2*var(--s3))); }
  .button{ width: 100%; }
  .nav{ gap: var(--s2); }
  .nav__cta{ width: 100%; }
}

/* Optional: section spacing balance */
.section--problem .card--plain,
.section--contact .card--plain{
  padding: var(--s4);
}

/* Light theme refinements */
.site-header{
  background: rgba(247,250,252,.75);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav__link{
  color: var(--muted);
}
.nav__link:hover{
  background: rgba(15,23,42,.05);
  color: var(--text);
}

.button{
  background: rgba(15,23,42,.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.button:hover{
  background: rgba(15,23,42,.06);
}

.button--primary{
  background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(34,197,94,.90));
  color: #062018;
  border-color: rgba(15,23,42,.10);
  box-shadow: var(--shadow);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(241,245,249,.85));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card--plain{
  background: rgba(255,255,255,.75);
}

.media-placeholder{
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(241,245,249,.75)),
    radial-gradient(500px 280px at 30% 30%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(600px 360px at 70% 0%, rgba(34,197,94,.14), transparent 55%);
}

/* =========================================================
   Trust line (hero under-text)
========================================================= */
.trust-line{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 0;
  padding: 0;
}

.trust-line__item{
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,.03);
}

.trust-line__dot{
  color: rgba(71,85,105,.7);
  font-weight: 900;
}

/* =========================================================
   WOW Hero Preview (fixed stage, overlap cards)
========================================================= */
.wow{
  position: relative;
  height: 360px;             /* sabit sahne: hero metnini bozmaz */
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(241,245,249,.85));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* arka plan “glow” (premium hissi) */
.wow::before{
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(340px 220px at 20% 20%, rgba(14,165,233,.20), transparent 60%),
    radial-gradient(420px 260px at 85% 10%, rgba(34,197,94,.14), transparent 55%);
  pointer-events: none;
}

/* Kartlar artık sahnenin içinde absolute */
.wow-card{
  position: absolute;
  left: 16px;
  right: 16px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform var(--t), box-shadow var(--t);
}

.wow-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* 3 kartın sahne içindeki konumları */
.wow-card--primary{
  top: 16px;
  transform: rotate(-1deg);
}

.wow-card--secondary{
  top: 124px;
  left: 28px;
  right: 28px;
  transform: rotate(1deg);
}

.wow-card--mini{
  top: 248px;
  left: 44px;
  right: 44px;
}

/* Kart içi */
.wow-card__header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.wow-pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #062018;
  background: rgba(14,165,233,.16);
  border: 1px solid rgba(14,165,233,.25);
}

.wow-pill--alt{
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.22);
}

.wow-pill--dark{
  color: var(--text);
  background: rgba(15,23,42,.06);
  border: 1px solid var(--border);
}

.wow-meta{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

/* Visual area – daha kısa, kartları şişirmesin */
.wow-visual{
  height: 120px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(240px 140px at 25% 35%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(300px 200px at 80% 0%, rgba(34,197,94,.12), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,245,249,.70));
}

.wow-visual--grid{
  background:
    linear-gradient(0deg, rgba(15,23,42,.05), rgba(15,23,42,.05)),
    repeating-linear-gradient(90deg, rgba(15,23,42,.08), rgba(15,23,42,.08) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(0deg, rgba(15,23,42,.08), rgba(15,23,42,.08) 1px, transparent 1px, transparent 34px),
    radial-gradient(240px 140px at 25% 35%, rgba(34,197,94,.12), transparent 60%),
    radial-gradient(300px 200px at 80% 0%, rgba(14,165,233,.14), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,245,249,.70));
}

.wow-visual--line{
  height: 96px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,245,249,.75)),
    repeating-linear-gradient(90deg, rgba(14,165,233,.22), rgba(14,165,233,.22) 10px, transparent 10px, transparent 34px);
}

.wow-card__body{
  padding: 12px 14px 0;
}

.wow-title{
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: -.2px;
}

.wow-text{
  margin: 0 0 12px;
  color: var(--muted);
}

.wow-card__footer{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.wow-tag{
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,.03);
}

/* Mobilde sahneyi küçült */
@media (max-width: 520px){
  .wow{ height: 320px; }
  .wow-card--secondary{ top: 112px; }
  .wow-card--mini{ top: 222px; }
  .wow-visual{ height: 105px; }
}

/* Desktop hero’da metin kaymasın diye: hero grid zaten 2 kolon.
   Ekstra güvenlik: hero__media genişliği sabit kalsın. */
@media (min-width: 860px){
  .hero__media{
    justify-self: end;
    width: 100%;
    max-width: 460px;
  }
}

.form{
  padding: var(--s4);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

/* Subtle section separation */
.section:nth-of-type(even){
  background: rgba(15,23,42,.02);
}
.form .button--primary{
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
}
