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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #5EA08C;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container--narrow {
  max-width: 760px;
}

section {
  padding: 80px 0;
}

/* ===== Navigation ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f0f3;
  z-index: 100;
  padding: 16px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  color: #60646C;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(
    180deg,
    rgba(195, 214, 197, 0.18) 0%,
    rgba(232, 213, 245, 0.12) 50%,
    #ffffff 100%
  );
  text-align: center;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #000;
}

.hero h1 span {
  background: linear-gradient(135deg, #5EA08C 0%, #A2B5F8 50%, #F8A4B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: #60646C;
  max-width: 580px;
  margin: 0 auto 40px;
}

.app-store-badge {
  display: inline-block;
}

.app-store-badge img {
  height: 54px;
  width: auto;
}

.hero-palette {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.hero-palette .swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Swatch colors */
.swatch-sage     { background: #C4D4C4; }
.swatch-blue     { background: #A2B5F8; }
.swatch-orange   { background: #F9D5AF; }
.swatch-pink     { background: #F8A4B0; }
.swatch-peach    { background: #E9C4B4; }
.swatch-tan      { background: #D7B69D; }

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.1rem;
  color: #60646C;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Features ===== */
#features {
  background: #fafafa;
}

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

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #f0f0f3;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: #60646C;
  font-size: 0.95rem;
  line-height: 1.55;
}

.icon-palette { background: #C4D4C4; }
.icon-outfit  { background: #A2B5F8; }
.icon-makeup  { background: #F8A4B0; }
.icon-score   { background: #F9D5AF; }
.icon-closet  { background: #E9C4B4; }
.icon-seasons { background: #D7B69D; }

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cbd5c5, #b0bea8);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

.step p {
  color: #60646C;
  font-size: 0.95rem;
}

/* ===== Seasonal Colors ===== */
#seasons {
  background: #fafafa;
}

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

.season-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #f0f0f3;
}

.season-colors {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.season-colors .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.season-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Season dot colors */
.season-card[data-season="bright-spring"] { --dot-1: #FF6B6B; --dot-2: #FFD93D; --dot-3: #6BCB77; }
.season-card[data-season="light-spring"]  { --dot-1: #FFA07A; --dot-2: #FFDAB9; --dot-3: #98D8C8; }
.season-card[data-season="true-spring"]   { --dot-1: #FF8C00; --dot-2: #FFD700; --dot-3: #32CD32; }
.season-card[data-season="light-summer"]  { --dot-1: #ADD8E6; --dot-2: #E6E6FA; --dot-3: #FFB6C1; }
.season-card[data-season="soft-summer"]   { --dot-1: #708090; --dot-2: #B0C4DE; --dot-3: #C8A2C8; }
.season-card[data-season="true-summer"]   { --dot-1: #4682B4; --dot-2: #DA70D6; --dot-3: #CD5C5C; }
.season-card[data-season="soft-autumn"]   { --dot-1: #BDB76B; --dot-2: #BC8F8F; --dot-3: #8FBC8F; }
.season-card[data-season="true-autumn"]   { --dot-1: #D2691E; --dot-2: #B8860B; --dot-3: #556B2F; }
.season-card[data-season="deep-autumn"]   { --dot-1: #8B0000; --dot-2: #8B4513; --dot-3: #2F4F4F; }
.season-card[data-season="bright-winter"] { --dot-1: #FF1493; --dot-2: #00CED1; --dot-3: #9400D3; }
.season-card[data-season="deep-winter"]   { --dot-1: #191970; --dot-2: #800020; --dot-3: #013220; }
.season-card[data-season="true-winter"]   { --dot-1: #DC143C; --dot-2: #000080; --dot-3: #228B22; }

.season-colors .dot:nth-child(1) { background: var(--dot-1); }
.season-colors .dot:nth-child(2) { background: var(--dot-2); }
.season-colors .dot:nth-child(3) { background: var(--dot-3); }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid #f0f0f3;
  background: #ffffff;
  position: relative;
}

.pricing-card.featured {
  border-color: #5EA08C;
  box-shadow: 0 4px 20px rgba(94, 160, 140, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #5EA08C;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-period {
  color: #60646C;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: #3a3a3a;
}

.pricing-features li::before {
  content: "\2713";
  color: #5EA08C;
  font-weight: 700;
  margin-right: 10px;
}

.pricing-note {
  text-align: center;
  color: #60646C;
  font-size: 0.9rem;
  margin-top: 24px;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(195, 214, 197, 0.15) 100%
  );
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  color: #60646C;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===== Footer ===== */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #999;
  margin-top: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #999;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

/* Simple footer variant (legal/support pages) */
.footer-simple {
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

.footer-simple a {
  color: #999;
}

/* ===== Legal Pages ===== */
.legal-content {
  padding: 40px 0 80px;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: #60646C;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p,
.legal-content li {
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ===== Support Page ===== */
.support-header {
  text-align: center;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(195,214,197,0.12) 0%, #ffffff 100%);
}

.support-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-header p {
  color: #60646C;
  font-size: 1.1rem;
}

.contact-section {
  padding: 40px 0 60px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: #fafafa;
  border: 1px solid #f0f0f3;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

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

.contact-card p {
  color: #60646C;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.contact-card a {
  font-weight: 600;
}

.faq-section {
  padding: 0 0 80px;
}

.faq-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #f0f0f3;
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: 1px solid #f0f0f3;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: default;
}

.faq-answer {
  color: #60646C;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer a {
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .seasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

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

  .seasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f0f0f3;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
  }

  .section-header h2,
  .cta h2 {
    font-size: 1.75rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .support-header {
    padding: 40px 0 28px;
  }

  .support-header h1 {
    font-size: 1.75rem;
  }
}
