/* =========================================================
   CyroStart — Global Styles
   Palette: warm sunrise — peach, coral, golden, soft cream
   Tone: playful, calm, premium
   ========================================================= */

:root{
  /* Backgrounds */
  --bg-primary: #fff7ef;
  --bg-secondary: #ffeadd;
  --bg-elevated: rgba(255, 255, 255, 0.55);
  --bg-deep: #1f1327;

  /* Accents (sunrise) */
  --accent-primary: #ff7a59;      /* coral */
  --accent-secondary: #ffb066;    /* warm apricot */
  --accent-highlight: #8a6bff;    /* soft twilight violet */
  --accent-gold: #ffd27a;

  /* Text */
  --text-primary: #221a2e;
  --text-secondary: #4a3f55;
  --text-muted: #7c7388;
  --text-invert: #fff7ef;

  /* Utilities */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 10px 30px rgba(255, 122, 89, 0.12);
  --shadow-lift: 0 20px 60px rgba(138, 107, 255, 0.18);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 20px 40px rgba(255, 122, 89, 0.25);

  --border-glass: 1px solid rgba(255, 255, 255, 0.5);
  --blur: blur(18px);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Poppins', 'Inter', sans-serif;

  --maxw: 1320px;
}

/* Reset */
*,*::before,*::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(255,178,120,0.35), transparent 60%),
    radial-gradient(800px 500px at 110% 10%, rgba(138,107,255,0.18), transparent 60%),
    linear-gradient(180deg, #fff7ef 0%, #ffeedd 100%);
  min-height: 100vh;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; transition: color .25s ease; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
ul{ list-style: none; }

/* Layout */
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; width: 100%; }
.section{ padding: 110px 0; position: relative; }

/* Typography */
h1,h2,h3,h4,h5{ font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); font-weight: 700; }
h1{ font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2{ font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3{ font-size: 1.35rem; }
p{ color: var(--text-secondary); }
.lead{ font-size: 1.15rem; max-width: 640px; }
.muted{ color: var(--text-muted); font-size: 0.95rem; }

.eyebrow{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 89, 0.12);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.gradient-text{
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-highlight) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ transform: translateY(-2px); filter: brightness(1.05); box-shadow: var(--shadow-lift); }
.btn-outline{
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(34, 26, 46, 0.15);
  backdrop-filter: var(--blur);
}
.btn-outline:hover{ transform: translateY(-2px); border-color: var(--accent-primary); color: var(--accent-primary); }

/* Navigation */
.glass-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 247, 239, 0.7);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: background .3s ease, box-shadow .3s ease;
}
.glass-nav.scrolled{ background: rgba(255, 247, 239, 0.9); box-shadow: 0 6px 30px rgba(0,0,0,0.05); }
.nav-container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo{ display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--text-primary); }
.logo-mark{
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-highlight));
  color: white;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
}
.nav-links{ display: flex; gap: 28px; }
.nav-links a{
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-highlight));
  transition: width .3s ease;
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }

.menu-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span{
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero{ position: relative; padding: 100px 0 120px; overflow: hidden; }
.hero-bg{ position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb{ position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.orb-1{ width: 420px; height: 420px; background: var(--accent-primary); top: -100px; left: -120px; animation: floatY 10s ease-in-out infinite; }
.orb-2{ width: 360px; height: 360px; background: var(--accent-highlight); bottom: -100px; right: -100px; animation: floatY 12s ease-in-out infinite reverse; }
.orb-3{ width: 300px; height: 300px; background: var(--accent-gold); top: 40%; right: 20%; opacity: 0.35; animation: floatY 14s ease-in-out infinite; }

.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-title{ margin-bottom: 20px; }
.hero-sub{ font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; color: var(--text-secondary); }
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats{ display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div{ display: flex; flex-direction: column; }
.hero-stats strong{ font-family: var(--font-head); font-size: 1.6rem; color: var(--text-primary); }
.hero-stats span{ font-size: 0.85rem; color: var(--text-muted); }

.hero-visual{ position: relative; }
.hero-img{
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.floating-card{
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  animation: floatCard 6s ease-in-out infinite;
}
.floating-card strong{ display: block; font-size: 0.9rem; color: var(--text-primary); }
.floating-card p{ font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.floating-card .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 0 4px rgba(255,122,89,0.25); }
.floating-card .emoji{ font-size: 1.5rem; }
.card-1{ top: 30px; left: -30px; animation-delay: 0s; }
.card-2{ bottom: 40px; right: -20px; animation-delay: 2s; }

/* Section head */
.section-head{ text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2{ margin-bottom: 14px; }
.section-head em{ color: var(--accent-primary); font-style: normal; }
.section-head p{ color: var(--text-secondary); }

/* Feature cards */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card{
  background: var(--bg-elevated);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.feature-icon{
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,122,89,0.15), rgba(138,107,255,0.15));
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card h3{ margin-bottom: 10px; }
.feature-card p{ font-size: 0.95rem; }

/* Showcase */
.showcase-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.showcase-visual img{ border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); aspect-ratio: 4/5; object-fit: cover; }
.flow-list{ margin: 28px 0 32px; display: flex; flex-direction: column; gap: 22px; }
.flow-list li{ display: flex; gap: 18px; align-items: flex-start; }
.flow-list span{
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  font-weight: 700;
  font-family: var(--font-head);
}
.flow-list strong{ display: block; font-size: 1.05rem; margin-bottom: 4px; color: var(--text-primary); }
.flow-list p{ color: var(--text-secondary); font-size: 0.95rem; }

/* Testimonials */
.testimonial-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial{
  background: var(--bg-elevated);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .3s ease;
}
.testimonial:hover{ transform: translateY(-4px); }
.testimonial p{ font-size: 1.05rem; color: var(--text-primary); margin-bottom: 16px; font-style: italic; }
.testimonial footer{ color: var(--text-muted); font-size: 0.9rem; }

/* CTA Section */
.cta-section{ padding: 80px 0 120px; }
.cta-card{
  text-align: center;
  padding: 70px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(255,122,89,0.25), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(138,107,255,0.25), transparent 60%),
    rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  box-shadow: var(--shadow-lift);
}
.cta-card h2{ margin-bottom: 14px; }
.cta-card p{ margin-bottom: 30px; color: var(--text-secondary); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-card .hero-ctas{ justify-content: center; margin-bottom: 0; }

/* Page Hero */
.page-hero{ padding: 120px 0 80px; position: relative; overflow: hidden; }
.page-hero.small{ padding: 100px 0 60px; }
.page-hero h1{ margin-bottom: 18px; max-width: 800px; }
.page-hero .lead{ color: var(--text-secondary); }

/* Split grid */
.split-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-grid img{ border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); aspect-ratio: 5/4; object-fit: cover; }
.split-grid h2{ margin-bottom: 16px; }
.split-grid p{ margin-bottom: 14px; }

/* Values */
.values-section{ background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent); }

/* Team */
.team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card{
  background: var(--bg-elevated);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: transform .3s ease;
}
.team-card:hover{ transform: translateY(-4px); }
.team-card img{
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
}
.team-card h4{ font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.team-card span{ color: var(--text-muted); font-size: 0.9rem; }

/* Contact */
.contact-grid{ display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-list{ display: flex; flex-direction: column; gap: 18px; margin: 24px 0 32px; }
.contact-list li{ display: flex; flex-direction: column; gap: 2px; }
.contact-list strong{ font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list a{ color: var(--accent-primary); font-weight: 500; }
.contact-list a:hover{ color: var(--accent-highlight); }
.contact-img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin-top: 12px; }

.contact-form{
  background: rgba(255,255,255,0.7);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-soft);
}
.contact-form label{ display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.contact-form input, .contact-form textarea, .contact-form select{
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid rgba(34,26,46,0.12);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text-primary);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255,122,89,0.15);
}
.contact-form button{ align-self: flex-start; margin-top: 6px; }

/* Legal */
.legal-container{ max-width: 820px; }
.legal-container h2{ font-size: 1.4rem; margin: 32px 0 12px; }
.legal-container h2:first-child{ margin-top: 0; }
.legal-container p, .legal-container ul{ color: var(--text-secondary); margin-bottom: 14px; }
.legal-container ul{ padding-left: 20px; list-style: disc; }
.legal-container a{ color: var(--accent-primary); }
.legal-container a:hover{ color: var(--accent-highlight); }

/* Rules */
.rules-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rule-card{
  background: var(--bg-elevated);
  backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.rule-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.rule-card h3{ margin: 12px 0 10px; }

/* Footer */
.site-footer{
  margin-top: 80px;
  padding: 70px 0 30px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5));
  border-top: 1px solid rgba(255,255,255,0.6);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4{ font-family: var(--font-head); font-size: 1rem; margin-bottom: 14px; color: var(--text-primary); }
.footer-grid a{ display: block; color: var(--text-secondary); font-size: 0.93rem; margin-bottom: 8px; }
.footer-grid a:hover{ color: var(--accent-primary); }
.footer-tag{ color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; max-width: 260px; }
.newsletter{ display: flex; gap: 8px; margin-top: 12px; }
.newsletter input{
  flex: 1;
  padding: 12px 14px;
  border: 1px solid rgba(34,26,46,0.12);
  border-radius: var(--radius-sm);
  background: white;
  font-family: inherit;
  font-size: 0.9rem;
}
.newsletter input:focus{ outline: none; border-color: var(--accent-primary); }
.newsletter button{ padding: 12px 20px; font-size: 0.9rem; }
.footer-bottom{
  padding-top: 24px;
  border-top: 1px solid rgba(34,26,46,0.08);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* Mobile nav overlay */
@media (max-width: 900px){
  .menu-toggle{ display: flex; }
  .nav-cta{ display: none; }
  .nav-links{
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255,247,239,0.98);
    backdrop-filter: var(--blur);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right .35s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,0.1);
  }
  .nav-links.open{ right: 0; }
  .nav-links a{ font-size: 1.2rem; }
}