/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #D4622A;
  --orange-light: #F0845C;
  --orange-bg: #FDF3EE;
  --dark: #1A1A1A;
  --grey: #6B6B6B;
  --grey-light: #F4F4F4;
  --white: #FFFFFF;
  --radius: 16px;
  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

a { text-decoration: none; color: inherit; }

/* ===========================
   NAV
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.nav-links a { color: var(--grey); transition: color .2s; }
.nav-links a:hover { color: var(--dark); }

.btn-nav {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  transition: background .2s !important;
}
.btn-nav:hover { background: var(--orange-light) !important; }

/* ===========================
   HERO
   =========================== */
.hero {
  background: linear-gradient(160deg, #FFF8F5 0%, #FFFFFF 60%);
  padding: 80px 24px 0;
  overflow: hidden;
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 60px;
}

.hero-text {
  flex: 1;
  padding-bottom: 60px;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--orange);
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 500px;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 36px;
}

.hero-screenshots {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.screenshot {
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}

.screen-main {
  width: 200px;
  transform: translateY(0);
}

.screen-side {
  width: 180px;
  transform: translateY(30px);
  opacity: .85;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn-primary.btn-large { font-size: 1.1rem; padding: 18px 36px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ===========================
   STATS BAND
   =========================== */
.stats-band {
  background: var(--dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 96px 0;
  background: var(--white);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1rem;
  color: var(--grey);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

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

.feature-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

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

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ===========================
   PRIVACY
   =========================== */
.privacy {
  background: var(--orange-bg);
  padding: 96px 24px;
}

.privacy-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.privacy-text { flex: 1; }

.privacy-text h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
}

.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.privacy-list p { color: var(--grey); margin-top: 2px; font-size: 0.9rem; }

.privacy-badge {
  flex-shrink: 0;
}

.badge-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 20px 60px rgba(212,98,42,0.3);
}

.badge-icon { font-size: 2.4rem; }

.badge-label {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.2;
}

/* ===========================
   APP STORE CTA
   =========================== */
.appstore-cta {
  background: var(--dark);
  padding: 96px 24px;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ===========================
   SUPPORT
   =========================== */
.support {
  padding: 96px 0;
  background: var(--white);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.support-card {
  border: 1.5px solid #EBEBEB;
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.support-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(212,98,42,0.1);
}

.support-icon { font-size: 2rem; }

.support-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.5;
  flex: 1;
}

/* ===========================
   LEGAL
   =========================== */
.legal {
  background: var(--grey-light);
  padding: 96px 0;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.legal-block p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}

.legal-block a {
  color: var(--orange);
  text-decoration: underline;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  padding: 48px 24px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

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

/* ===========================
   POLICY PAGE
   =========================== */
.policy-main {
  padding: 64px 0 96px;
  background: var(--white);
  min-height: calc(100vh - 64px - 140px);
}

.policy-header {
  margin-bottom: 40px;
}

.policy-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 12px 0 8px;
}

.policy-date {
  font-size: 0.9rem;
  color: var(--grey);
}

.policy-intro {
  background: var(--orange-bg);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 48px;
  font-size: 1rem;
  line-height: 1.6;
}

.policy-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

.policy-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.policy-back {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #EBEBEB;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-wrap {
  max-width: 900px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.field-group input,
.field-group select,
.field-group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid #DEDEDE;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(212,98,42,0.12);
}

.field-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-group textarea {
  resize: vertical;
  min-height: 140px;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--grey);
}

.btn-submit {
  align-self: flex-start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
}

.sidebar-card p {
  font-size: 0.83rem;
  color: var(--grey);
  line-height: 1.5;
}

.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-feedback.success {
  background: #EDFAF4;
  border: 1.5px solid #3AB97A;
  color: #1A6B46;
}

.form-feedback.error {
  background: #FEF2F2;
  border: 1.5px solid #E53E3E;
  color: #7B1C1C;
}

.feedback-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-feedback strong {
  display: block;
  margin-bottom: 2px;
}

.form-feedback p {
  margin: 0;
  font-size: 0.9rem;
  opacity: .85;
}

@media (max-width: 680px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-card { flex: 1; min-width: 200px; }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }

  .hero-text {
    text-align: center;
    padding-bottom: 32px;
  }

  .hero-desc { margin: 0 auto 16px; }

  .hero-screenshots {
    justify-content: center;
  }

  .screen-main { width: 160px; }
  .screen-side { width: 140px; }

  .privacy-inner {
    flex-direction: column;
    text-align: center;
  }

  .privacy-list li {
    text-align: left;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-band { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px; }
  .stat:last-child { border-bottom: none; }

  .screen-side { display: none; }
  .screen-main { width: 200px; }
}
