/* ============================================
   Roamly — Public Site Styles
   Eklenti ile uyumlu: dark base + cyan brand
   ============================================ */

:root {
  /* Background — eklenti ile aynı */
  --bg-base: #0a0e14;
  --bg-elevated: #111720;
  --bg-card: #161d28;
  --bg-input: #0d121a;
  --bg-hover: #1a2332;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.15);
  
  /* Text */
  --text-primary: #f5f7fa;
  --text-secondary: #a0aec0;
  --text-muted: #6b7785;
  --text-disabled: #4a5560;
  
  /* Brand — Cyan bolt gradient */
  --brand-primary: #22d3ee;
  --brand-secondary: #0891b2;
  --brand-glow: rgba(34, 211, 238, 0.3);
  --brand-gradient: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
  
  /* Status */
  --status-success: #22c55e;
  --status-warning: #f59e0b;
  --status-danger: #ef4444;
  
  /* Premium */
  --premium-gold: #fbbf24;
  
  /* Layout */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --container-width: 1180px;
  --gutter: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background gradient blob */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(8, 145, 178, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--brand-primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: #67e8f9; }

img { max-width: 100%; height: auto; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 0;
}
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-primary);
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-brand svg { width: 32px; height: 32px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--brand-gradient);
  color: #0a0e14 !important;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { color: #0a0e14 !important; opacity: 0.9; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.acik {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--border-subtle);
    gap: 12px;
    align-items: flex-start;
  }
  .nav-burger { display: block; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-gradient);
  color: #0a0e14;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.25);
  color: #0a0e14;
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}
.hero h1 {
  background: linear-gradient(180deg, #f5f7fa 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}
.hero .accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: 920px;
}
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .stat .num { font-size: 28px; }
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.feature:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand-primary);
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   SHOWCASE (alternating image+text rows)
   ============================================ */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.flip .text { order: 2; }
.showcase-row .text h2 { margin-bottom: 16px; }
.showcase-row .text p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
}
.showcase-row .image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.showcase-row .image img {
  display: block;
  width: 100%;
}
@media (max-width: 768px) {
  .showcase-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .showcase-row.flip .text { order: 1; }
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  flex: 1 1 270px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all 0.2s;
}
.price-card .btn { margin-top: auto; }
.price-card.featured {
  border-color: var(--brand-primary);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, rgba(34, 211, 238, 0.02) 100%);
  transform: scale(1.03);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #0a0e14;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-card .name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.price-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .price small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}
.price-card .price-alt {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.price-card .save {
  display: inline-block;
  font-size: 11px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-bottom: 16px;
}
.price-card ul {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}
.price-card li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.price-card li::before {
  content: '✓';
  color: var(--brand-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card .btn {
  width: 100%;
  justify-content: center;
}
.payment-methods {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.payment-methods .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: var(--border-default); }
.faq summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--brand-primary);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-brand { margin-bottom: 12px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--brand-primary); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   GENERIC PAGE (privacy, terms, help, welcome)
   ============================================ */
.page {
  padding: 64px 0;
  max-width: 760px;
  margin: 0 auto;
}
.page header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.page header .eyebrow { margin-bottom: 8px; }
.page header h1 { margin-bottom: 12px; }
.page header .lede {
  color: var(--text-secondary);
  font-size: 17px;
}
.page section h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.page section h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.page section p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}
.page section ul, .page section ol {
  margin: 12px 0 16px 24px;
  color: var(--text-secondary);
}
.page section li { margin-bottom: 8px; line-height: 1.7; }
.page section strong { color: var(--text-primary); }
.page section code {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--brand-primary);
}
.page section .callout {
  background: rgba(34, 211, 238, 0.05);
  border-left: 3px solid var(--brand-primary);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  color: var(--text-primary);
}
.page section .callout.warn {
  background: rgba(245, 158, 11, 0.06);
  border-left-color: var(--status-warning);
}
.page section .callout.danger {
  background: rgba(239, 68, 68, 0.06);
  border-left-color: var(--status-danger);
}

/* ============================================
   STATUS / SUCCESS PAGES (eposta-dogrula etc.)
   ============================================ */
.status-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
}
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.status-card .icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--brand-primary);
}
.status-card.success .icon-wrap {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--status-success);
}
.status-card.error .icon-wrap {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--status-danger);
}
.status-card h1 { font-size: 1.6rem; margin-bottom: 12px; }
.status-card p { color: var(--text-secondary); margin-bottom: 24px; }

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }
