/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  SABLON.CSS — MISNOMAD Template Design System v2
  ─────────────────────────────────────────────────────────
  Tasarım Dili: 70% Linear · 20% Apple · 10% VisionOS
  ─────────────────────────────────────────────────────────
  - Linear: Fonksiyonel minimalizm, temiz hiyerarşi, 
    monokrom + aksan renk, rahat okunabilirlik
  - Apple: Keskin tipografi, bol boşluk, hassas hizalama
  - VisionOS: Cam efekti, derinlik, floating elemanlar
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/

/*═════════════════════════════════════════════════════════
  1. RESET & BASE
═════════════════════════════════════════════════════════*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ── Brand Colors (Matching MISNOMAD Main Site) ── */
  --primary: #38a0ff;
  --primary-hover: #5cc8ff;
  --primary-subtle: rgba(56, 160, 255, 0.12);
  --accent: #5cc8ff;

  /* ── Neutral Palette (Editorial Dark-by-Default) ── */
  --bg: #05080f;
  --bg-subtle: #0a0f1c;
  --bg-muted: #03050a;
  --surface: #0a0f1c;
  --border: rgba(150, 180, 220, 0.14);
  --border-hover: rgba(150, 180, 220, 0.3);
  --ink: #e8f0fb;
  --ink-secondary: #cdd8e8;
  --ink-tertiary: #8295ad;
  --ink-quaternary: #5d6b82;

  /* ── Glass (VisionOS in Dark Theme) ── */
  --glass-bg: rgba(10, 15, 28, 0.72);
  --glass-border: rgba(150, 180, 220, 0.14);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-blur: 16px;

  /* ── Typography (Matching MISNOMAD) ── */
  --font: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro', 'Segoe UI', sans-serif;
  --font-display: 'Cinzel', 'DM Sans', serif;
  --font-mono: 'DM Mono', monospace;

  /* ── Type Scale ── */
  --t-hero: clamp(2.8rem, 7.5vw, 4.8rem);
  --t-display: clamp(2rem, 4vw, 2.8rem);
  --t-section: clamp(1.4rem, 2.4vw, 1.8rem);
  --t-sub: clamp(1.05rem, 1.4vw, 1.2rem);
  --t-body: clamp(0.92rem, 1.1vw, 1rem);
  --t-small: 0.82rem;
  --t-tiny: 0.72rem;
  --t-micro: 0.65rem;

  /* ── Spacing ── */
  --section: clamp(3.5rem, 9vw, 7rem);
  --inline: clamp(1.2rem, 4vw, 2.5rem);
  --gap: 12px;
  --gap-lg: 20px;

  /* ── Radii ── */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --s-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --s-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --s-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --s-xl: 0 24px 60px rgba(0, 0, 0, 0.1);

  /* ── Easing ── */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.3s;
}

/* ── Light Mode (Matching MISNOMAD Light Theme) ── */
[data-theme="light"] {
  --bg: #f0f2f5;
  --bg-subtle: #e6e9ef;
  --bg-muted: #dde0e6;
  --surface: #ffffff;
  --border: rgba(20, 30, 50, 0.10);
  --border-hover: rgba(20, 30, 50, 0.25);
  --ink: #080c14;
  --ink-secondary: #1a2233;
  --ink-tertiary: #4a5a72;
  --ink-quaternary: #6a7a92;
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-subtle: rgba(37, 99, 235, 0.10);
  --accent: #3b82f6;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(20, 30, 50, 0.10);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}


html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--t-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--primary-subtle); color: var(--primary); }

/*═════════════════════════════════════════════════════════
  2. DEMO BAR
═════════════════════════════════════════════════════════*/

.demo-bar {
  background: var(--ink);
  color: var(--ink-quaternary);
  font-size: var(--t-tiny);
  padding: 7px var(--inline);
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 450;
}
.demo-bar a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color var(--duration) var(--ease);
}
.demo-bar a:hover {
  border-color: #fff;
}

.customize-link {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.4;
  text-decoration: none !important;
  border: none;
  border-bottom: none !important;
  transition: all 0.2s ease;
  margin: 0 2px;
  vertical-align: middle;
}
.customize-link:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/*═════════════════════════════════════════════════════════
  3. NAVIGATION — Linear-inspired clean bar
═════════════════════════════════════════════════════════*/

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--inline);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

nav.scrolled {
  border-bottom-color: var(--border-hover);
}

nav .brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

nav .brand span {
  color: var(--primary);
}

nav .nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav .btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: var(--t-small);
  padding: 8px 16px;
  border-radius: var(--r-full);
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring);
}

nav .btn-tel:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

nav .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 16px;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-secondary);
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

nav .btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/*═════════════════════════════════════════════════════════
  4. HERO — Apple-inspired clarity + VisionOS glass
═════════════════════════════════════════════════════════*/

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(55vh, 75vh, 88vh);
  padding: var(--section) var(--inline);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.3) 55%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content .eyebrow {
  font-size: var(--t-tiny);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--t-hero);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: var(--t-sub);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 28px;
}

.hero .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #1a1d1a;
  font-weight: 600;
  font-size: var(--t-body);
  padding: 12px 26px;
  border-radius: var(--r-full);
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
  box-shadow: var(--s-md);
}

.hero .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--s-lg);
}

/* ── Hero scroll indicator (Linear-dot style) ── */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: opacity var(--duration);
}
.hero-scroll:hover { opacity: 0.7; }
.hero-scroll .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: scrollDot 2.2s ease-in-out infinite;
}
.hero-scroll .line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/*═════════════════════════════════════════════════════════
  5. STRIP — announcement bar (Linear-style)
═════════════════════════════════════════════════════════*/

.strip {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  padding: 10px var(--inline);
  text-align: center;
  font-size: var(--t-small);
  color: var(--ink-secondary);
  overflow: hidden;
  white-space: nowrap;
}

.strip strong { color: var(--ink); }

.strip-inner {
  display: inline-flex;
  animation: stripMarquee 24s linear infinite;
}

.strip-inner span { margin-right: 2.5rem; }

@keyframes stripMarquee {
  to { transform: translateX(-50%); }
}

/*═════════════════════════════════════════════════════════
  6. SECTION LAYOUT — Apple-style generous spacing
═════════════════════════════════════════════════════════*/

section {
  padding: var(--section) var(--inline);
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-tertiary);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--t-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--ink);
}

.section-title span { color: var(--primary); }

.section-desc {
  color: var(--ink-secondary);
  max-width: 48ch;
  margin-bottom: 32px;
  font-size: var(--t-sub);
  line-height: 1.65;
}

/*═════════════════════════════════════════════════════════
  7. PRODUCT GRID — Linear card design
═════════════════════════════════════════════════════════*/

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform var(--duration) var(--ease-spring),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  cursor: default;
  position: relative;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--s-sm);
  transform: translateY(-3px);
}

.product-card .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--r-sm);
}

.product-card h3 {
  font-size: var(--t-small);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.product-card .price {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.product-card .price .old {
  font-weight: 400;
  color: var(--ink-tertiary);
  text-decoration: line-through;
  font-size: var(--t-small);
  margin-right: 6px;
}

.product-card .badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
}

/*═════════════════════════════════════════════════════════
  8. FEATURES GRID
═════════════════════════════════════════════════════════*/

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--s-md);
}

.feature-card .icon {
  font-size: 1.4rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-subtle);
  border-radius: var(--r-sm);
}

.feature-card h3 {
  font-weight: 600;
  font-size: var(--t-sub);
  margin-bottom: 6px;
  color: var(--ink);
}

.feature-card p {
  color: var(--ink-secondary);
  font-size: var(--t-small);
  line-height: 1.6;
}

/*═════════════════════════════════════════════════════════
  9. FOOTER
═════════════════════════════════════════════════════════*/

footer {
  border-top: 1px solid var(--border);
  padding: 32px var(--inline);
  text-align: center;
  font-size: var(--t-small);
  color: var(--ink-secondary);
  line-height: 1.8;
}

footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

footer a:hover {
  border-color: var(--ink);
}

/*═════════════════════════════════════════════════════════
  10. WHATSAPP FLOATING — VisionOS-inspired glass
═════════════════════════════════════════════════════════*/

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--glass-shadow);
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
  animation: waEnter 0.5s var(--ease-spring) 0.6s both;
}

@keyframes waEnter {
  from { transform: scale(0) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: var(--s-lg);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/*═════════════════════════════════════════════════════════
  11. REVEAL ANIMATIONS (IntersectionObserver)
═════════════════════════════════════════════════════════*/

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

/*═════════════════════════════════════════════════════════
  12. VISIONOS GLASS COMPONENT
═════════════════════════════════════════════════════════*/

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
}

/*═════════════════════════════════════════════════════════
  13. RESPONSIVE
═════════════════════════════════════════════════════════*/

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; gap: 8px; }
  .features { grid-template-columns: 1fr; }
  nav .brand { font-size: 0.95rem; }
  nav .btn-tel { 
    font-size: var(--t-tiny); 
    padding: 6px 12px; 
  }
  nav .btn-outline {
    padding: 6px 12px;
    font-size: var(--t-tiny);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .wa-float { animation: none; }
}

/* ── Product Images & Typographic Numbers ── */
.product-img {
  width: 100%;
  aspect-ratio: 16/10;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-muted);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease-spring);
}
.product-card:hover .product-img img,
.feature-card:hover .product-img img {
  transform: scale(1.05);
}
.feature-card .num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 2px solid var(--primary-subtle);
  padding-bottom: 2px;
}


/* ── GrapesJS Editor Override: Prevent Blank Pages ── */
[data-gjs-type="wrapper"] [data-reveal],
.gjs-dashed [data-reveal],
.gjs-selected [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
