/* e-kahya — premium marketing site */

:root {
  --primary: #B85C38;
  --primary-dark: #8F4528;
  --primary-light: #D4845F;
  --primary-soft: #F8EBE3;
  --surface: #FBF9F6;
  --surface-elevated: #FFFFFF;
  --text: #2A211C;
  --text-muted: #6E5F56;
  --text-soft: #9A8B82;
  --border: rgba(42, 33, 28, 0.08);
  --success: #3D7A52;
  --success-soft: #E8F3EC;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(42, 33, 28, 0.06);
  --shadow: 0 8px 32px rgba(42, 33, 28, 0.08);
  --shadow-lg: 0 20px 60px rgba(42, 33, 28, 0.12);
  --max: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(184, 92, 56, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(184, 92, 56, 0.08), transparent 50%),
    var(--surface);
}
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled,
.site-header.is-scrolled {
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: blur(14px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--surface-elevated);
  box-shadow: 0 2px 12px rgba(184, 92, 56, 0.18);
}
.app-icon-large {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  margin-inline: auto;
  box-shadow: var(--shadow);
}
.logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  margin-left: .35rem;
  box-shadow: 0 4px 14px rgba(184, 92, 56, 0.28);
}
.nav-cta:hover { background: var(--primary-dark) !important; }

.menu-toggle {
  display: none;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .45rem .65rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 6px 20px rgba(184, 92, 56, 0.32);
}
.btn-primary:hover { background: linear-gradient(145deg, var(--primary), var(--primary-dark)); }
.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 380px);
    gap: 2rem;
    padding: 4.5rem 0 2rem;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-size: .8rem;
  color: var(--text-soft);
}
.trust-row span { display: inline-flex; align-items: center; gap: .35rem; }

.phone-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .phone-wrap { margin-inline: 0; margin-left: auto; max-width: 300px; }
}
.phone {
  width: 100%;
  background: linear-gradient(160deg, #2A211C 0%, #1a1410 100%);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transform: none;
}
@media (min-width: 900px) {
  .phone { transform: perspective(900px) rotateY(-5deg) rotateX(2deg); }
}
.phone-inner {
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  min-height: 400px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: .65rem 1rem .25rem;
  font-size: .68rem;
  color: var(--text-soft);
}
.phone-content { padding: .5rem 1rem 1.25rem; }
.phone-greeting { font-size: .72rem; color: var(--text-soft); }
.phone-title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: .15rem 0 1rem;
}
.mock-card {
  background: var(--surface-elevated);
  border-radius: 14px;
  padding: .85rem 1rem;
  margin-bottom: .6rem;
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.mock-card small { color: var(--text-soft); font-size: .7rem; display: block; margin-bottom: .15rem; }
.mock-card strong { font-size: .86rem; font-weight: 600; }
.mock-card .pill {
  font-size: .68rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: .2rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mock-card.success { border-color: var(--success); }
.mock-card.success .pill { color: var(--success); background: var(--success-soft); }

/* Stats ribbon */
.stats-ribbon {
  margin-top: -1rem;
  padding-bottom: 1rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  color: var(--primary-dark);
  margin-bottom: .2rem;
}
.stat span { font-size: .76rem; color: var(--text-muted); line-height: 1.35; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.45) 100%);
  border-block: 1px solid var(--border);
}
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.75rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .65rem;
}
.section-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-bottom: .6rem;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--text-muted); font-size: .98rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}
.card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity .22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 92, 56, 0.15);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.card p { font-size: .88rem; color: var(--text-muted); }

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.security-item {
  display: flex;
  gap: .85rem;
  padding: 1.2rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.security-item:hover { box-shadow: var(--shadow); }
.security-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--success-soft);
  color: var(--success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.security-item .icon svg { width: 22px; height: 22px; }
.security-item h3 { font-size: .92rem; margin-bottom: .25rem; }
.security-item p { font-size: .82rem; color: var(--text-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto .85rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(184, 92, 56, 0.3);
}
.step h3 { font-size: .95rem; margin-bottom: .35rem; }
.step p { font-size: .85rem; color: var(--text-muted); }

.faq { max-width: 40rem; margin: 0 auto; }
.faq details {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .65rem;
  padding: .9rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] {
  border-color: rgba(184, 92, 56, 0.2);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: .6rem; font-size: .86rem; color: var(--text-muted); }
.faq a { color: var(--primary); }

.cta-panel {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #C46A42 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 56px rgba(184, 92, 56, 0.38);
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.cta-panel h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.85rem;
  margin-bottom: .5rem;
  position: relative;
}
.cta-panel p { opacity: .92; margin-bottom: 1.35rem; font-size: .95rem; position: relative; }
.cta-panel .btn-secondary {
  background: #fff;
  border-color: transparent;
  color: var(--primary-dark);
  position: relative;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-brand p { font-size: .88rem; color: var(--text-muted); margin-top: .75rem; max-width: 22rem; }
.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin-bottom: .75rem;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: .88rem;
  padding: .25rem 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-soft);
  text-align: center;
}
.disclaimer { margin-top: .65rem; font-size: .75rem; max-width: 42rem; margin-inline: auto; line-height: 1.5; }

/* Subpages */
.page-main { padding: 2.5rem 0 4rem; max-width: 44rem; }
.legal-page {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.page-main h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  margin-bottom: .5rem;
  letter-spacing: -0.02em;
}
.page-main .lead { color: var(--text-muted); margin-bottom: 2rem; }
.page-main h2 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; color: var(--primary-dark); }
.page-main p, .page-main li { font-size: .92rem; color: var(--text-muted); margin-bottom: .75rem; }
.page-main ul { padding-left: 1.25rem; }
.page-main a { color: var(--primary); }

.download-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 28rem;
  margin: 2rem auto;
}
.download-card .btn { width: 100%; max-width: 16rem; }
.note { font-size: .85rem; color: var(--text-muted); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-header { position: sticky; }
  .site-header .wrap { position: relative; width: 100%; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) - .5rem);
    right: 0;
    left: 0;
    flex-direction: column;
    background: rgba(251, 249, 246, 0.98);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem;
    box-shadow: var(--shadow);
    z-index: 200;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; text-align: center; }
  .legal-page { padding: 1.5rem 1.15rem; }
  .phone { transform: none; }
}

@media (max-width: 768px) {

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .stat:hover { transform: none; }
}
