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

:root {
  --brand: #E55934;
  --brand-dark: #C9501E;
  --brand-light: #FFF0EA;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --surface: #F9FAFB;
  --white: #FFFFFF;
  --dark: #111111;
  --dark-surface: #1C1C1E;
  --dark-border: rgba(255,255,255,0.08);
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 22px;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--brand); }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, #FFF7F4 0%, #FFF0EA 50%, #FAFAFA 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Apple guidelines: min 40px height, clear space = ¼ badge height */
.btn-appstore {
  display: inline-block;
  padding: 10px;
  margin: -10px;
  transition: opacity 0.15s;
}

.btn-appstore:hover { opacity: 0.8; }

.badge-appstore-img {
  display: block;
  height: 50px;
  width: auto;
}

/* ── Phone Mockup ─────────────────────────────────────────────── */

.phone-mockup {
  width: 248px;
  background: #1A1A1A;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  flex-shrink: 0;
}

.phone-screen {
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: stretch;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── AI Section ───────────────────────────────────────────────── */

.ai-section {
  background: var(--dark);
  padding: 100px 0;
  color: var(--white);
}

.ai-label {
  display: inline-block;
  background: rgba(229, 89, 52, 0.2);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 12px;
}

.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 60px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-sub.light { color: rgba(255,255,255,0.5); }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ai-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.ai-card:hover {
  border-color: rgba(229, 89, 52, 0.4);
}

.ai-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.ai-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.ai-card > p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.ai-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-detail-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.ai-detail-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* ── Features ─────────────────────────────────────────────────── */

.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── iOS Section ──────────────────────────────────────────────── */

.ios-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}

.ios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.ios-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}

.ios-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ios-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ios-icon {
  font-size: 1.5rem;
}

.ios-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.ios-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Support ─────────────────────────────────────────────────── */

.support {
  padding: 100px 0;
}

.support-inner {
  max-width: 680px;
}

.support h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.support-text > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ── FAQ ─────────────────────────────────────────────────────── */

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Contact ─────────────────────────────────────────────────── */

.contact-box {
  background: var(--brand-light);
  border: 1px solid rgba(229, 89, 52, 0.2);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.btn-contact {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn-contact:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  background: var(--dark);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .phone-mockup { width: 200px; }

  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .phone-mockup { width: 160px; }
  .ai-grid, .features-grid, .ios-grid { grid-template-columns: 1fr; }

}
