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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #0A0A0A;
  color: #F5F5F7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #007AFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #409CFF;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Layout ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F5F5F7;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
}

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

.nav-links a {
  color: #A1A1A6;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #F5F5F7;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 122, 255, 0.12) 0%, transparent 100%),
    #0A0A0A;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.25);
  color: #007AFF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #A1A1A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #A1A1A6;
  font-weight: 400;
  margin-bottom: 16px;
}

.hero .description {
  font-size: 1.0625rem;
  color: #86868B;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #007AFF;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #0A84FF;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 22px;
  height: 22px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  color: #F5F5F7;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #F5F5F7;
  transform: translateY(-1px);
}

/* ===== Device Frames ===== */
.device-iphone {
  background: #1C1C1E;
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 122, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.device-iphone img {
  border-radius: 22px;
  display: block;
  width: 100%;
  height: auto;
}

.device-iphone::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 0 0 22px 22px;
}

.device-watch {
  background: #1C1C1E;
  border-radius: 48px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 122, 255, 0.06);
  overflow: hidden;
}

.device-watch img {
  border-radius: 42px;
  display: block;
  width: 100%;
  height: auto;
}

.device-watch-sm {
  border-radius: 36px;
  padding: 6px;
  margin: 0 auto 20px;
}

.device-watch-sm img {
  border-radius: 32px;
}

/* ===== Hero Layout with Devices ===== */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.hero-devices {
  position: relative;
  flex-shrink: 0;
}

.hero-devices .device-iphone {
  width: 300px;
}

.hero-watch-pos {
  position: absolute;
  bottom: 40px;
  right: -60px;
  width: 150px;
}

/* ===== App Showcase ===== */
.app-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
}

.app-showcase .device-iphone {
  width: 260px;
}

.app-showcase .device-watch {
  width: 170px;
}

/* ===== Section Headers ===== */
.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007AFF;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #86868B;
  max-width: 560px;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===== Features ===== */
.features {
  background: #0A0A0A;
}

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

.feature-card {
  background: #1C1C1E;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 255, 0.25);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(0, 122, 255, 0.1);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #007AFF;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #86868B;
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 122, 255, 0.06) 0%, transparent 100%),
    #0F0F0F;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007AFF, #00C7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 24px;
  color: #FFFFFF;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9375rem;
  color: #86868B;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Pricing ===== */
.pricing {
  background: #0A0A0A;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: #1C1C1E;
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(0, 122, 255, 0.4);
  background:
    linear-gradient(180deg, rgba(0, 122, 255, 0.06) 0%, #1C1C1E 50%),
    #1C1C1E;
  position: relative;
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #007AFF, #00C7FF);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 16px;
  border-radius: 100px;
}

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 600;
  color: #86868B;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #86868B;
}

.pricing-description {
  font-size: 0.9375rem;
  color: #86868B;
  margin-bottom: 32px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.9375rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.12);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2330D158'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-features li.disabled {
  color: #48484A;
}

.pricing-features li.disabled::before {
  background: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2348484A'%3E%3Cpath d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  text-align: center;
  justify-content: center;
  width: 100%;
}

/* ===== Footer ===== */
footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0A0A0A;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F5F5F7;
}

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

.footer-links a {
  color: #86868B;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #F5F5F7;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #48484A;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-layout {
    flex-direction: column;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-devices .device-iphone {
    width: 220px;
  }

  .hero-watch-pos {
    width: 110px;
    right: -30px;
    bottom: 20px;
  }

  .app-showcase {
    gap: 24px;
    margin-top: 48px;
  }

  .app-showcase .device-iphone {
    width: 200px;
  }

  .app-showcase .device-watch {
    width: 130px;
  }

  .device-watch-sm {
    width: 120px;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== 404 Page ===== */
.error-page {
  text-align: center;
  padding-top: 160px;
}

.error-cta {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .pricing-card {
    padding: 32px 24px;
  }
}

/* ===== Privacy Page ===== */
.privacy-page {
  padding-top: 120px;
  padding-bottom: 96px;
  min-height: 100vh;
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.privacy-content .last-updated {
  color: #86868B;
  font-size: 0.875rem;
  margin-bottom: 48px;
}

.privacy-content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy-content p {
  font-size: 1rem;
  color: #A1A1A6;
  line-height: 1.75;
  margin-bottom: 16px;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.privacy-content li {
  font-size: 1rem;
  color: #A1A1A6;
  line-height: 1.75;
  margin-bottom: 4px;
}

.privacy-content a {
  color: #007AFF;
}

.privacy-highlight {
  background: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0;
}

.privacy-highlight p {
  color: #30D158;
  font-weight: 500;
  margin-bottom: 0;
}

/* ===== Support Page ===== */

.support-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.support-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-page .subtitle {
  color: #8E8E93;
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.contact-card {
  background: #1C1C1E;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 48px;
  text-align: center;
}

.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: #8E8E93;
  margin-bottom: 16px;
}

.contact-link {
  display: inline-block;
  color: #007AFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid #007AFF;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.contact-link:hover {
  background: #007AFF;
  color: #fff;
}

.response-time {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #636366;
}

.faq h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.faq-item {
  background: #1C1C1E;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: background 0.2s;
}

.faq-item:hover {
  background: #2C2C2E;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #007AFF;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 18px;
  color: #8E8E93;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-list {
  color: #8E8E93;
  margin: 8px 0 8px 20px;
  line-height: 1.8;
}
