:root {
  --ink: #2d2440;
  --ink-soft: #5c5273;
  --cream: #fdf8f1;
  --cream-deep: #f6ecdd;
  --coral: #e5704c;
  --coral-deep: #c9552f;
  --gold: #f0a04b;
  --gold-soft: #f6c667;
  --dusk: #312e5e;
  --rose: #b95d8f;
  --card-border: #ece0cf;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  font-weight: 600;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 22px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand svg { display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    flex-direction: column;
    gap: 4px;
    background: var(--dusk);
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(20, 15, 40, 0.35);
    min-width: 180px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.08); }
}

/* ---------- Hero ---------- */
header.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
    var(--dusk) 0%,
    #5a4177 34%,
    var(--rose) 58%,
    #ea8a5e 76%,
    var(--gold-soft) 100%);
  color: #fff;
  padding: 150px 0 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero p.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0 auto 34px;
  text-wrap: balance;
}
.hero .cta {
  display: inline-block;
  background: #fff;
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(45, 26, 20, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 26, 20, 0.3);
}

/* Floating balloons */
.balloon {
  position: absolute;
  z-index: 1;
  animation: float 7s ease-in-out infinite;
  opacity: 0.95;
}
.balloon.b1 { left: 6%;  top: 24%; width: 90px;  animation-delay: 0s;   }
.balloon.b2 { right: 8%; top: 16%; width: 130px; animation-delay: -2.5s; }
.balloon.b3 { left: 16%; top: 58%; width: 56px;  animation-delay: -4s; opacity: 0.7; }
.balloon.b4 { right: 20%; top: 55%; width: 44px; animation-delay: -1.5s; opacity: 0.6; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@media (prefers-reduced-motion: reduce) {
  .balloon { animation: none; }
}
@media (max-width: 640px) {
  .balloon.b1 { width: 60px; top: 16%; left: 3%; }
  .balloon.b2 { width: 80px; right: 3%; top: 12%; }
  .balloon.b3, .balloon.b4 { display: none; }
}

/* Cappadocia skyline at the base of the hero */
.skyline { display: block; width: 100%; margin-bottom: -2px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 14px;
}
section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
.section-lede {
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 1.05rem;
}

/* ---------- Apps ---------- */
#apps .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(45, 36, 64, 0.09);
}
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--gold-soft), var(--coral));
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.badge {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: #fbe9df;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- About ---------- */
#about { background: var(--cream-deep); }
#about .split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
#about p + p { margin-top: 16px; }
#about p { color: var(--ink-soft); }
#about p strong { color: var(--ink); }
.about-art { text-align: center; }
.about-art svg { max-width: 300px; width: 100%; height: auto; }
@media (max-width: 800px) {
  #about .split { grid-template-columns: 1fr; gap: 40px; }
  .about-art { order: -1; }
  .about-art svg { max-width: 200px; }
}

/* ---------- Contact ---------- */
#contact { text-align: center; }
#contact .section-lede { margin: 0 auto 28px; }
.contact-btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.contact-btn:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
footer {
  background: var(--dusk);
  color: rgba(255,255,255,0.75);
  padding: 40px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
}
