/* ============================================
   Nest Marketing Pages — Shared Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --terracotta: #E07A5F;
  --terracotta-light: #e8957e;
  --terracotta-dark: #c4623f;
  --sage: #81B29A;
  --sage-light: #9cc5b2;
  --sage-dark: #5f9478;
  --cream: #FAF8F5;
  --cream-dark: #f0ece6;
  --slate: #3D405B;
  --slate-light: #575a75;
  --gold: #F2CC8F;
  --gold-light: #f6ddb0;
  --white: #FFFFFF;
  --black: #1a1a2e;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 3px rgba(61, 64, 91, 0.08);
  --shadow-md: 0 4px 12px rgba(61, 64, 91, 0.1);
  --shadow-lg: 0 8px 30px rgba(61, 64, 91, 0.12);
  --shadow-xl: 0 16px 48px rgba(61, 64, 91, 0.15);
  --shadow-warm: 0 4px 20px rgba(224, 122, 95, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--slate);
  background-color: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-slate { color: var(--slate); }
.text-terracotta { color: var(--terracotta); }
.text-sage { color: var(--sage); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--slate);
  border-color: var(--slate);
}

.btn-secondary:hover {
  background-color: var(--slate);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--terracotta);
}

.btn-sage {
  background-color: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-sage:hover {
  background-color: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.navbar-brand:hover {
  color: var(--terracotta);
}

.navbar-brand .logo-icon {
  display: flex;
  align-items: center;
}

.navbar-brand .logo-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav .nav-link {
  padding: 8px 18px;
  color: var(--slate-light);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--terracotta);
  background-color: rgba(224, 122, 95, 0.08);
}

.navbar-cta {
  margin-left: 12px;
}

/* Hamburger Menu Toggle (Pure CSS) */
.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--slate);
  position: relative;
  transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--slate);
  transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hamburger animation on checked */
.menu-toggle:checked ~ .menu-toggle-label .hamburger {
  background-color: transparent;
}

.menu-toggle:checked ~ .menu-toggle-label .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle:checked ~ .menu-toggle-label .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .menu-toggle-label {
    display: block;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }

  .navbar-nav .nav-link {
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
  }

  .navbar-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .navbar-cta .btn {
    width: 100%;
  }

  .menu-toggle:checked ~ .navbar-nav {
    right: 0;
  }

  /* Overlay */
  .menu-toggle:checked ~ .menu-overlay {
    display: block;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(61, 64, 91, 0.3);
    z-index: 999;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(
    135deg,
    #FAF8F5 0%,
    #fdf2ee 25%,
    #f7e8e0 50%,
    #eef5f0 75%,
    #FAF8F5 100%
  );
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 178, 154, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background-color: rgba(224, 122, 95, 0.1);
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--slate);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--slate-light);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-decoration {
  position: absolute;
  font-size: 3rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-decoration:nth-child(1) { top: 20%; left: 8%; animation-delay: 0s; }
.hero-decoration:nth-child(2) { top: 30%; right: 10%; animation-delay: 2s; }
.hero-decoration:nth-child(3) { bottom: 25%; left: 12%; animation-delay: 4s; }
.hero-decoration:nth-child(4) { bottom: 20%; right: 8%; animation-delay: 1s; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background-color: var(--white);
  padding: 48px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

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

.stat-item {
  padding: 8px 16px;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--cream-dark);
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--slate-light);
  font-weight: 500;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid var(--cream-dark);
    padding-top: 24px;
  }
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-section {
  padding: 100px 0;
  background-color: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--slate-light);
  line-height: 1.6;
}

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

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cream-dark);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  border-radius: var(--radius-md);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works-section {
  padding: 100px 0;
  background-color: var(--white);
}

.steps-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--sage));
  z-index: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 300px;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}

.step-item:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 15px rgba(242, 204, 143, 0.4);
}

.step-item:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  box-shadow: 0 4px 15px rgba(129, 178, 154, 0.3);
}

.step-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step-item p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .steps-container::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--cream) 0%, #fdf2ee 100%);
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 36px;
  font-size: 5rem;
  color: var(--terracotta);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: var(--slate-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--slate) 0%, #2d2f47 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.15) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 178, 154, 0.12) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-section {
  padding: 100px 0;
  background-color: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-warm);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  letter-spacing: 0;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0;
}

.pricing-period-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-light);
  margin-top: -4px;
  margin-bottom: 16px;
}

.pricing-description {
  font-size: 0.95rem;
  color: var(--slate-light);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cream-dark);
}

.pricing-features {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--slate);
}

.pricing-features li .check {
  color: var(--sage);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream) 0%, #fdf2ee 50%, #eef5f0 100%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--slate-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.mission-section {
  padding: 80px 0;
  background-color: var(--white);
}

.mission-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.mission-content p {
  font-size: 1.1rem;
  color: var(--slate-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-section {
  padding: 80px 0;
  background-color: var(--cream);
}

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

.value-card {
  text-align: center;
  padding: 36px 24px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.6;
}

.team-section {
  padding: 80px 0;
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 24px 16px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta-light), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2.5rem;
}

.team-member h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 4px;
}

.team-member p {
  font-size: 0.9rem;
  color: var(--slate-light);
}

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

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-section {
  padding: 80px 0;
  background-color: var(--white);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 48px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-dark);
}

.legal-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-block p {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-block ul {
  margin: 12px 0 16px 0;
  padding-left: 0;
  list-style: none;
}

.legal-block ul li {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.8;
  padding: 4px 0 4px 24px;
  position: relative;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta-light);
}

.legal-block strong {
  color: var(--slate);
  font-weight: 600;
}

.legal-block a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

  .legal-block {
    margin-bottom: 36px;
  }

  .legal-block h2 {
    font-size: 1.3rem;
  }

  .legal-block h3 {
    font-size: 1.1rem;
  }

  .legal-block p,
  .legal-block ul li {
    font-size: 1rem;
  }
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  background: linear-gradient(135deg, var(--cream) 0%, #fdf2ee 100%);
}

.login-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.login-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.login-card .login-subtitle {
  font-size: 1rem;
  color: var(--slate-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-md);
  background-color: var(--cream);
  color: var(--slate);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus {
  border-color: var(--terracotta);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.1);
}

.form-group input::placeholder {
  color: #a0a3b8;
}

.form-error {
  font-size: 0.85rem;
  color: #e74c3c;
  margin-top: 6px;
}

.login-card .btn {
  width: 100%;
  margin-top: 8px;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--slate-light);
}

.login-footer a {
  font-weight: 600;
}

.demo-hint {
  margin-top: 20px;
  padding: 16px;
  background-color: var(--cream);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--slate-light);
  text-align: center;
}

.demo-hint code {
  background-color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--terracotta);
}

/* ============================================
   404 PAGE
   ============================================ */
.not-found-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream) 0%, #eef5f0 100%);
}

.not-found-content h1 {
  font-size: 8rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -4px;
  opacity: 0.8;
}

.not-found-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.not-found-content p {
  font-size: 1.1rem;
  color: var(--slate-light);
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--slate);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand-text {
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-column h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

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

.footer-copyright {
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

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

/* ============================================
   MAIN CONTENT SPACING
   ============================================ */
main {
  min-height: calc(100vh - 72px);
}

/* ============================================
   SVG ICONS
   ============================================ */

/* Base icon styles */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Hero decorations with SVG icons */
.hero-decoration .icon {
  width: 48px;
  height: 48px;
}

/* Feature card icons */
.feature-icon .icon {
  color: var(--terracotta);
}

/* Value icons */
.value-icon .icon {
  color: var(--terracotta);
}

/* Team avatar initials */
.team-initials {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

/* Footer heart icon */
.footer-bottom .heart-icon {
  color: #e74c3c;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  display: inline-block;
}

/* Logo icon sizing */
.logo-icon .icon {
  color: var(--terracotta);
}

/* Hero badge icon */
.hero-badge .icon {
  flex-shrink: 0;
}

/* Login page logo */
.login-section img[alt="Roost"] {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-section {
  padding: 60px 0 100px;
  background-color: var(--white);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 40px;
}

.legal-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.legal-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
  margin-top: 20px;
}

.legal-block p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-block ul {
  margin: 12px 0;
  padding-left: 24px;
}

.legal-block li {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-block a {
  color: var(--terracotta);
  font-weight: 500;
  text-decoration: none;
}

.legal-block a:hover {
  text-decoration: underline;
}

.legal-block strong {
  color: var(--slate);
  font-weight: 600;
}

.legal-block code {
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--slate);
}

/* ============================================
   APPS / DOWNLOAD SECTION
   ============================================ */

.apps-section {
  padding: 100px 0;
  background-color: var(--cream);
}

.apps-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background-color: var(--slate);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
  min-width: 220px;
}

.app-badge:hover {
  background-color: #1a1c2e;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 47, 71, 0.25);
  color: var(--white);
}

.app-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
}

.app-badge-small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}

.app-badge-large {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.apps-platforms {
  text-align: center;
  margin-top: 32px;
  color: var(--slate-light);
  font-size: 0.95rem;
}

.apps-web-link {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

.apps-web-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .apps-grid {
    flex-direction: column;
    align-items: center;
  }

  .app-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}