/* ============================================
   THE SELF-CARE DARE — Brand Style System
   Colors: Navy #0A1628 / Cyan #00D4AA
   ============================================ */

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

:root {
  --navy: #0A1628;
  --navy-light: #111D30;
  --navy-medium: #162240;
  --cyan: #00D4AA;
  --cyan-light: #00E8BC;
  --cyan-dark: #00B892;
  --cyan-glow: rgba(0, 212, 170, 0.15);
  --white: #FFFFFF;
  --gray-100: #F7F8FA;
  --gray-200: #E8EAF0;
  --gray-300: #C4C8D4;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: var(--cyan-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cyan);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 680px;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--cyan-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border: 2px solid var(--cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--cyan);
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.nav-brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

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

.nav-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: var(--navy);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero p {
  color: var(--gray-300);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--navy-light);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--navy);
  border-radius: 20px;
}

.phone-mockup-inner {
  width: 90%;
  height: 88%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

.phone-mockup-inner .app-icon-preview {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border: 2px solid var(--cyan);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 800;
  color: var(--cyan);
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.phone-mockup-inner p {
  color: var(--gray-300);
  font-size: 0.8rem;
  text-align: center;
}

/* If user provides a screenshot, swap in with: */
.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* --- Badge Row (social proof) --- */
.badge-row {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
}

.badge-text {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.3;
}

.badge-text strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

/* --- How It Works --- */
.how-it-works {
  background: var(--gray-100);
}

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

.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-dark);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  margin: 0 auto;
  color: var(--gray-500);
}

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

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

.step-number {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* --- Features Section --- */
.features {
  background: var(--white);
}

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

.feature-card {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px var(--cyan-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* --- Five Factors Section --- */
.factors {
  background: var(--navy);
  color: var(--white);
}

.factors .section-header h2 {
  color: var(--white);
}

.factors .section-header p {
  color: var(--gray-300);
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.factor-card {
  text-align: center;
  padding: 36px 16px;
  background: var(--navy-light);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.factor-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.factor-emoji {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.factor-card h4 {
  color: var(--cyan);
  margin-bottom: 8px;
  font-size: 1rem;
}

.factor-card p {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin: 0 auto;
}

/* --- Book Section --- */
.book-section {
  background: var(--gray-100);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.book-visual {
  display: flex;
  justify-content: center;
}

.book-placeholder {
  width: 260px;
  height: 380px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
  border-radius: 4px 16px 16px 4px;
  box-shadow: 12px 12px 40px rgba(10, 22, 40, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  position: relative;
}

.book-placeholder::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cyan);
  border-radius: 4px 0 0 4px;
}

.book-placeholder .book-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.book-placeholder .book-author {
  font-size: 0.8rem;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* If user provides book cover: */
.book-visual img {
  max-width: 280px;
  border-radius: 4px 16px 16px 4px;
  box-shadow: 12px 12px 40px rgba(10, 22, 40, 0.25);
}

.book-content .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-dark);
  margin-bottom: 16px;
}

.book-content h2 {
  margin-bottom: 20px;
}

.book-content p {
  margin-bottom: 16px;
}

.book-content .btn {
  margin-top: 12px;
}

/* --- CTA / Beta Signup Section --- */
.cta-section {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray-300);
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

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

/* Email signup form (for beta/waitlist) */
.signup-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color var(--transition);
}

.signup-form input[type="email"]::placeholder {
  color: var(--gray-500);
}

.signup-form input[type="email"]:focus {
  border-color: var(--cyan);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 32px;
}

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

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gray-500);
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* --- Interior Page Styles --- */
.page-header {
  background: var(--navy);
  padding: 140px 0 64px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--gray-300);
  margin: 0 auto;
}

.page-content {
  padding: 64px 0 96px;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
  color: var(--navy);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
  max-width: none;
}

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

.page-content li {
  margin-bottom: 8px;
  color: var(--gray-700);
  line-height: 1.6;
}

.page-content a {
  color: var(--cyan-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover {
  color: var(--cyan);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  padding: 36px;
  background: var(--gray-100);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.contact-card p {
  margin-bottom: 0;
}

.contact-card + .contact-card {
  margin-top: 0;
}

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

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .factors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .badge-row {
    justify-content: center;
  }

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

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

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

  .book-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-content p {
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

@media (max-width: 480px) {
  .factors-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }
}
