:root {
  /* MotionEaze Brand Colors */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;

  --color-peach: #FBE3D3;
  --color-cream: #FFF3EA;
  --color-mist-blue: #E6F3F6;
  --color-coral: #F5B7A6;
  --color-sage: #ADCBBA;
  --color-text-primary: #1E1F28;
  --color-text-secondary: #5A5F72;
  --color-text-light: rgba(30, 31, 40, 0.6);
  --color-white: #FFFFFF;

  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 18px 40px rgba(245, 183, 166, 0.18);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

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

body {
  background: #FCFCFC;
  background-attachment: fixed;
  color: #1A1C23;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .section-title {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

a {
  color: inherit;
}

/* Glassmorphism Containers */
.glass-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

/* Navbar */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 100;
  background: rgba(252, 252, 252, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.logo-text {
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

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

.nav-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.nav-pill:hover {
  color: var(--color-text-primary);
  border-color: rgba(0, 0, 0, 0.2);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
  background: var(--color-coral);
  box-shadow: 0 8px 16px rgba(245, 183, 166, 0.4);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(245, 183, 166, 0.5);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 160px 5% 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.hero-layout {
  width: 100%;
  max-width: 1400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(3.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1E1E1E;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.heading-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.heading-swish {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 20px;
  z-index: -1;
  pointer-events: none;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-text-secondary);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.ssc-logo {
  max-width: 260px;
  height: auto;
  display: block;
}

.cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.cta-button.primary-cta {
  background: var(--color-coral);
  color: white;
  box-shadow: 0 10px 24px rgba(245, 183, 166, 0.4);
}

.cta-button.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(245, 183, 166, 0.6);
}

.cta-button.secondary-cta {
  background: #FFD22D;
  color: #111;
  box-shadow: 0 8px 20px rgba(255, 210, 45, 0.2);
}

.cta-button.secondary-cta:hover {
  transform: translateY(-3px);
  background: #FFC900;
}

.ghost-button {
  display: inline-block;
  color: var(--color-text-primary);
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid rgba(30, 31, 40, 0.12);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.hero-decorative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-mockup {
  position: absolute;
  width: 28vw;
  max-width: 280px;
  z-index: 2;
}

.floating-mockup img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: darken;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.mockup-left {
  top: 0%;
  left: 5%;
  transform: rotate(-12deg);
}

.mockup-right {
  top: 5%;
  right: 5%;
  transform: rotate(8deg);
}

@media (max-width: 960px) {
  .hero-decorative {
    position: relative;
    height: auto;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    justify-items: center;
    align-items: center;
    order: 2;
  }

  .floating-mockup {
    position: relative;
    width: min(44vw, 220px);
    max-width: 220px;
  }

  .mockup-left,
  .mockup-right {
    top: auto;
    left: auto;
    right: auto;
    transform: none;
  }

  .floating-icon {
    position: relative;
    padding: 10px;
    transform: none;
  }

  .floating-1,
  .floating-2,
  .floating-3,
  .floating-4 {
    top: auto;
    left: auto;
    right: auto;
  }

  .floating-icon img {
    max-width: 36px;
  }
}

@media (max-width: 640px) {
  .hero-decorative {
    gap: 1rem;
  }

  .floating-mockup {
    grid-column: span 2;
    width: min(78vw, 240px);
  }

  .floating-icon {
    border-radius: 16px;
  }
}

.floating-icon {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 0 0 2px rgba(255,255,255,1);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-1 {
  top: 6%;
  left: 28%;
  transform: rotate(-15deg);
}

.floating-2 {
  top: 8%;
  right: 28%;
  transform: rotate(18deg);
}

.floating-3 {
  top: 85%;
  left: 32%;
  transform: rotate(-8deg);
}

.floating-4 {
  top: 90%;
  right: 30%;
  transform: rotate(12deg);
}

/* App Store Button */
.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

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

/* Section Headings */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.6rem;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
}

.section-sub {
  margin-top: 0.9rem;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

/* Challenge Section */
.challenge-section {
  padding: 6rem 5%;
  background: #FFFFFF;
}

.challenge-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.challenge-centered .section-kicker {
  color: #1A1C23;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.challenge-centered .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1A1C23;
  margin-bottom: 1.5rem;
}

.challenge-centered .section-sub {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto 4rem;
}

.sickness-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.sickness-card {
  background: #F8F9FA;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.sickness-card:hover {
  transform: translateY(-5px);
}

.sickness-card span {
  font-weight: 600;
  color: #1A1C23;
  font-size: 1rem;
}

.arrow-down {
  margin: 2rem 0;
}

.relief-block {
  margin-top: 2rem;
}

.relief-title {
  color: var(--color-coral);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.relief-sub {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

/* How It Works Section */
.steps-section {
  padding: 6rem 5%;
  background: #FFFFFF;
}

.steps-centered {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.steps-centered .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1A1C23;
  margin-bottom: 0.5rem;
}

.steps-centered .section-sub {
  color: var(--color-text-secondary);
  margin-bottom: 6rem;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  text-align: left;
}

.step-row.reverse {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
  max-width: 450px;
}

.step-badge {
  width: 48px;
  height: 48px;
  background: var(--color-coral);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-content h3 {
  font-size: 1.75rem;
  color: #1A1C23;
  margin-bottom: 1rem;
  font-weight: 700;
}

.step-content p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-meta {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.step-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.css-phone-frame {
  width: min(100%, 360px);
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.css-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: darken;
}

.avatar-card {
  width: 320px;
  height: 420px;
  background: #FFF5F0;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.avatar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  background: #CFD8DC;
}

.avatar-circle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-status {
  font-weight: 700;
  color: #ED9566;
  font-size: 1.25rem;
}

@media (max-width: 960px) {
  .step-row, .step-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 3.5rem;
  }
  
  .step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .css-phone-frame {
    width: 280px;
    height: 580px;
  }

  .steps-container {
    gap: 6rem;
  }
}

/* Legal Links */
.legal {
  padding: 1rem 5% 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.legal-card {
  padding: 2rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.legal-card p {
  color: var(--color-text-secondary);
  margin: 0.75rem 0 1.2rem;
}

.legal-link {
  font-weight: 600;
  color: var(--color-coral);
}

/* Support Callout */
.support-callout {
  padding: 0 5% 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.support-card {
  padding: 2.8rem;
}

.support-callout .support-card {
  text-align: center;
}

.support-card.spaced {
  margin-bottom: 2rem;
}

.support-card p {
  color: var(--color-text-secondary);
}

.support-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.support-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.support-list {
  padding-left: 1.2rem;
  color: var(--color-text-secondary);
}

.support-list li {
  margin-bottom: 0.6rem;
}

.faq-list h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.faq-list p {
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

/* Document Pages (Privacy / Terms / Support) */
.document-page {
  padding: 120px 5% 4rem 5%;
  max-width: 900px;
  margin: 0 auto;
}

.document-header {
  margin-bottom: 3rem;
  text-align: center;
}

.document-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.document-header p {
  color: var(--color-text-secondary);
}

.document-content {
  padding: 3rem;
}

.document-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.document-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 600;
}

.document-content p, .document-content ul {
  color: var(--color-text-secondary);
  margin-bottom: 1.2rem;
}

.document-content ul {
  padding-left: 1.5rem;
}

.document-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  padding: 4rem 5%;
  text-align: center;
  color: var(--color-text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
}

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

/* Animations */
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 50px) scale(1.1); }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 120px;
  }

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

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }

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

  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 1rem 5%;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .document-content {
    padding: 2rem;
  }
}
