/* ==========================================
   HERO AREA (Radiant & Grid Backdrop)
   ========================================== */
.hero {
  padding-block: var(--space-huge) var(--space-section);
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(46, 196, 182, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(227, 100, 20, 0.04) 0%, transparent 40%),
              var(--cream-surface);
}

/* Subtle Grid Background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 76, 92, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 76, 92, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  gap: var(--space-huge);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-huge);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  margin-bottom: var(--space-md);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-teal);
  background: var(--primary-container);
  border-radius: var(--radius-full);
  border: 1px solid rgba(29, 123, 144, 0.12);
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand-secondary);
  border-radius: var(--radius-full);
  box-shadow: var(--glow-orange);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--brand-teal-deep);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--ink-secondary);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* Floating Light Blob */
.hero__blob {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.12) 0%, transparent 70%);
  border-radius: var(--radius-full);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: floatBlob 8s ease-in-out infinite alternate;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

/* ==========================================
   INTERACTIVE PHONE SIMULATOR
   ========================================== */
.phone-mockup {
  position: relative;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
  z-index: 2;
}

@media (min-width: 992px) {
  .phone-mockup {
    margin-inline: auto 0;
  }
}

.phone-mockup__frame {
  position: relative;
  aspect-ratio: 9 / 18.5;
  border-radius: 40px;
  padding: 12px;
  background: #0d1e22;
  border: 4px solid #1c353a;
  box-shadow: 0 30px 60px rgba(5, 20, 24, 0.3),
              0 0 0 2px rgba(255, 255, 255, 0.05),
              0 0 40px rgba(46, 196, 182, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.phone-mockup:hover .phone-mockup__frame {
  transform: translateY(-8px) rotate(-1deg);
}

.phone-mockup__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #0d1e22;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.phone-mockup__status {
  padding: 34px 20px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-teal);
  background: var(--cream);
  border-bottom: 1px solid rgba(15, 76, 92, 0.04);
}

/* Simulator Screen Content Wrapper */
.phone-mockup__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

/* CUSTOMER SCREEN STYLES */
.screen-customer {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeIn 0.4s ease;
}

.phone-mockup__app-header {
  padding: var(--space-md) 16px var(--space-sm);
  background: var(--cream);
}

.phone-mockup__greeting {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-teal-deep);
}

.phone-mockup__location {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.phone-mockup__search {
  margin: 0 16px 12px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1.5px solid rgba(15, 76, 92, 0.1);
  display: flex;
  align-items: center;
  padding-left: 14px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.phone-mockup__search::before {
  content: "🔍";
  margin-right: 8px;
  font-size: 0.8rem;
}

.phone-mockup__chips {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px;
  overflow: hidden;
}

.phone-mockup__chip {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--primary-container);
  color: var(--brand-teal);
}

.phone-mockup__chip--flash {
  background: var(--accent-container);
  color: var(--brand-secondary);
  animation: pulseScale 1.5s infinite alternate;
}

@keyframes pulseScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.phone-mockup__cards {
  flex: 1;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-mockup__card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--cream-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.phone-mockup__card:hover {
  transform: translateX(4px);
}

.phone-mockup__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-container) 0%, var(--secondary-container) 100%);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.phone-mockup__card-text {
  flex: 1;
  min-width: 0;
}

.phone-mockup__card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-mockup__card-meta {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 2px;
}

.phone-mockup__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.phone-mockup__price {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--brand-teal);
}

.phone-mockup__badge {
  font-size: 0.5625rem;
  font-weight: 800;
  padding: 2px 6px;
  background: var(--accent-container);
  color: var(--brand-secondary);
  border-radius: var(--radius-full);
}

/* MERCHANT SCREEN STYLES (Esnaf Paneli) */
.screen-merchant {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeIn 0.4s ease;
}

.screen-merchant .phone-mockup__app-header {
  border-bottom: 1px solid rgba(15, 76, 92, 0.08);
}

.phone-mockup__merchant-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 16px;
  background: var(--cream);
}

.merchant-metric {
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.merchant-metric__val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-teal);
}

.merchant-metric__label {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.phone-mockup__merchant-action {
  margin: 6px 16px 14px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(227, 100, 20, 0.2);
}

.phone-mockup__merchant-action::before {
  content: "➕";
  font-size: 0.75rem;
}

.phone-mockup__merchant-list {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-mockup__item-active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.active-item-info {
  display: flex;
  gap: 8px;
  align-items: center;
}

.active-item-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: var(--radius-full);
}

.active-item-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.active-item-views {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--primary-container);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* SIMULATOR SWITCH BUTTONS (Floating below mockup) */
.simulator-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  background: rgba(255, 255, 255, 0.6);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.simulator-btn {
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--ink-secondary);
  background: transparent;
}

.simulator-btn.active {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ==========================================
   COMPARISON BANNER (Sipariş Yok!)
   ========================================== */
.diff-banner {
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(251, 248, 243, 0.6) 100%);
  border: 1px solid var(--border-strong);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.diff-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
}

.diff-banner p {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  max-width: 58ch;
  margin-inline: auto;
  line-height: 1.6;
}

.diff-banner strong {
  color: var(--brand-primary);
  position: relative;
}

/* ==========================================
   CALL TO ACTION (Premium Bottom Box)
   ========================================== */
.cta-section {
  text-align: center;
  padding: var(--space-huge) var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-lg), 0 20px 50px rgba(15, 76, 92, 0.25);
  position: relative;
  overflow: hidden;
}

/* Subtle glowing circles inside CTA */
.cta-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 139, 36, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-md);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.cta-section .store-badges {
  justify-content: center;
}

.cta-section .store-badge__soon {
  background: var(--gradient-accent);
}

/* ==========================================
   LEGAL DOCUMENT LAYOUT
   ========================================== */
.legal-page {
  padding-block: var(--space-xxl) var(--space-section);
  background: var(--cream-surface);
}

.legal-hero {
  margin-bottom: var(--space-huge);
  padding-bottom: var(--space-xl);
  border-bottom: 2px solid rgba(15, 76, 92, 0.05);
}

.legal-hero h1 {
  margin-block: var(--space-xs);
  color: var(--brand-teal-deep);
}

.legal-meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.legal-doc-type {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.legal-layout {
  display: grid;
  gap: var(--space-xxl);
}

@media (min-width: 992px) {
  .legal-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: var(--space-huge);
  }
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
  padding: var(--space-lg);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-toc h2 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: var(--space-md);
  border-bottom: 1.5px solid rgba(15, 76, 92, 0.08);
  padding-bottom: 6px;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc li {
  margin-bottom: 8px;
}

.legal-toc a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-secondary);
  transition: all var(--transition);
}

.legal-toc a:hover {
  color: var(--brand-primary);
  padding-left: 3px;
}

.legal-prose {
  max-width: var(--prose-max);
}

.legal-prose h2 {
  font-size: 1.375rem;
  color: var(--brand-teal);
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-sm);
  scroll-margin-top: calc(var(--header-h) + var(--space-lg));
  border-bottom: 1px solid rgba(15, 76, 92, 0.05);
  padding-bottom: 4px;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-secondary);
  font-size: 0.96875rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.legal-prose ul {
  margin-bottom: var(--space-md);
}

.legal-notice {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background: color-mix(in srgb, var(--warning) 6%, var(--cream-surface));
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--warning);
  box-shadow: var(--shadow-sm);
}

.page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-body > main {
  flex: 1;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-huge);
}

.section-header p {
  color: var(--ink-secondary);
  font-size: 1.0625rem;
  margin-top: var(--space-sm);
}
