/* ============================================
   NOURIAM HOMEPAGE STYLES
   nouriam.com
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors */
  --purple-primary: #7842D9;
  --purple-dark: #5E2FB8;
  --purple-light: #9B6FE8;
  --navy: #172B55;

  /* Palette */
  --lavender-dark: #8B6FAE;
  --lavender-light: #C4B1D4;
  --lavender-pale: #E8E0F0;
  --coral-primary: #E8A598;
  --coral-dark: #C47B6B;
  --coral-light: #F5D4CE;
  --cream: #FDF8F4;
  --warm-white: #FFFAF5;

  /* Neutrals */
  --text-dark: #2D2D2D;
  --text-medium: #5A5A5A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --border: #E5E5E5;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 7rem;
  --container-max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

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

a {
  color: var(--purple-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--purple-dark);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--lavender-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(120, 66, 217, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(120, 66, 217, 0.4);
  color: var(--white);
}

/* Section Label */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--coral-primary);
  margin-bottom: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

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

.logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: var(--text-medium);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--purple-primary);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* App Section */
.app-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.app-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-content {
  order: 1;
}

.app-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--lavender-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender-dark);
  flex-shrink: 0;
}

.feature span {
  font-size: 0.9375rem;
  color: var(--text-dark);
}

/* Waitlist Box */
.waitlist-box {
  background: var(--cream);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--lavender-light);
}

.waitlist-box > p:first-child {
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1rem;
}

.waitlist-form {
  display: flex;
  gap: 0.5rem;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lavender-light);
  border-radius: 50px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease;
  background: var(--white);
}

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

.waitlist-form button {
  padding: 0.75rem 1.5rem;
  background: var(--purple-primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.waitlist-form button:hover {
  background: var(--purple-dark);
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.waitlist-success {
  display: none;
  color: var(--lavender-dark);
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* App Visual */
.app-visual {
  order: 2;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--lavender-pale) 0%, var(--cream) 50%, var(--coral-light) 100%);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-content {
  text-align: center;
  padding: 2rem;
}

.screen-logo {
  height: 20px;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.screen-greeting {
  display: block;
  font-size: 0.875rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.screen-question {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.screen-moods {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.mood {
  font-size: 1.75rem;
  opacity: 0.9;
}

/* Ebook Section */
.ebook-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--lavender-pale) 0%, var(--cream) 100%);
}

.ebook-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.book-mockup {
  perspective: 1000px;
}

.book-cover {
  width: 240px;
  height: 320px;
  background: linear-gradient(145deg, var(--lavender-pale) 0%, var(--cream) 30%, var(--coral-light) 100%);
  border-radius: 4px 12px 12px 4px;
  box-shadow:
    -15px 15px 30px rgba(0,0,0,0.12),
    inset -2px 0 4px rgba(0,0,0,0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotateY(-8deg);
  position: relative;
}

.book-cover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 15px;
  background: linear-gradient(90deg, rgba(0,0,0,0.08), transparent);
  border-radius: 4px 0 0 4px;
}

.book-brand {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lavender-dark);
  margin-bottom: 1.5rem;
}

.book-cover h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.book-cover p {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 0;
}

/* Ebook Content */
.ebook-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--lavender-dark);
  margin-bottom: 1.5rem;
}

.ebook-description {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.ebook-includes {
  list-style: none;
  margin-bottom: 2rem;
}

.ebook-includes li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.ebook-includes svg {
  color: var(--purple-primary);
  flex-shrink: 0;
}

.ebook-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ebook-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.price-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--coral-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: 0.25rem;
}

/* About Section */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-content {
  max-width: 750px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-content p {
  color: var(--text-medium);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value {
  text-align: center;
  padding: 2rem;
  background: var(--cream);
  border-radius: 16px;
}

.value h4 {
  color: var(--lavender-dark);
  margin-bottom: 0.75rem;
}

.value p {
  color: var(--text-medium);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  color: var(--lavender-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--lavender-light);
  line-height: 1.6;
  margin: 0;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: var(--lavender-light);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.company-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.company-info p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.company-info a {
  color: var(--lavender-light);
}

.company-info a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
  .app-section .container,
  .ebook-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-content {
    order: 2;
  }

  .app-visual {
    order: 1;
  }

  .app-features {
    justify-content: center;
  }

  .feature {
    justify-content: center;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .ebook-visual {
    order: 1;
  }

  .ebook-content {
    order: 2;
  }

  .ebook-includes {
    display: inline-block;
    text-align: left;
  }

  .ebook-cta {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

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

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

@media (max-width: 600px) {
  :root {
    --section-padding: 4rem;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero {
    padding: 8rem 0 4rem;
  }

  .nav {
    display: none;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

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