/* RydStation marketing homepage. All styles live here (no inline CSS): base +
   keyframes, reusable component classes, hover/motion, and responsive rules. */

/* ---- Base ------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
section[id] { scroll-margin-top: 80px; }
body { margin: 0; background: #FFFFFF; font-family: 'Inter', Helvetica, Arial, sans-serif; }
a { color: #E85D00; text-decoration: none; }
a:hover { color: #FF6B00; }

/* ---- Keyframes -------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, -18px) rotate(3deg); }
}
@keyframes floatSlow2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, 22px) rotate(-4deg); }
}

/* ---- Utilities ------------------------------------------------------- */
.reveal { opacity: 0; animation: fadeUp 0.8s ease-out forwards; }
/* Scroll-reveal stagger delays (ms suffix). */
.d40 { animation-delay: 0.04s; }
.d50 { animation-delay: 0.05s; }
.d80 { animation-delay: 0.08s; }
.d100 { animation-delay: 0.10s; }
.d160 { animation-delay: 0.16s; }
.d240 { animation-delay: 0.24s; }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E85D00; margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; color: #17181C; }

/* ---- Page shell ------------------------------------------------------ */
.page { background: #FFFFFF; color: #17181C; min-height: 100vh; width: 100%; overflow-x: hidden; }

/* ---- Brand mark (reused in nav + footer) ----------------------------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: #FF6B00; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #FFFFFF; font-size: 18px; }
.brand-mark.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #17181C; }

/* ---- Buttons --------------------------------------------------------- */
.btn-primary { display: inline-block; background: #FF6B00; color: #FFFFFF; font-weight: 700; border-radius: 8px; padding: 9px 18px; font-size: 14px; transition: background 0.2s ease; }
.btn-primary.btn-block { display: block; width: 100%; text-align: center; padding: 11px 22px; border-radius: 9px; }
.btn-cta { display: inline-block; background: #FF6B00; color: #FFFFFF; padding: 14px 30px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-ghost { display: inline-block; border: 1px solid rgba(0,0,0,0.14); color: #17181C; padding: 14px 30px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: border-color 0.2s ease, transform 0.2s ease; }
.btn-submit { background: #FF6B00; color: #FFFFFF; border: none; padding: 15px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 8px; font-family: inherit; transition: background 0.2s ease, transform 0.2s ease; }

/* ---- Nav ------------------------------------------------------------- */
.site-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px 6vw; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: #54565C; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; padding: min(14vh, 120px) 6vw 100px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.blob-1 { position: absolute; top: -80px; right: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,0,0.16), transparent 70%); animation: floatSlow 9s ease-in-out infinite; filter: blur(2px); }
.blob-2 { position: absolute; bottom: -100px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,0,0.1), transparent 70%); animation: floatSlow2 11s ease-in-out infinite; }
.shape-1 { position: absolute; top: 22%; left: 8%; width: 120px; height: 120px; border: 1.5px solid rgba(255,107,0,0.28); border-radius: 24px; transform: rotate(18deg); animation: floatSlow 7s ease-in-out infinite; }
.shape-2 { position: absolute; bottom: 16%; right: 10%; width: 90px; height: 90px; border: 1.5px solid rgba(255,107,0,0.22); border-radius: 50%; animation: floatSlow2 8s ease-in-out infinite; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.hero-logo { width: 72px; height: 72px; border-radius: 20px; background: #FF6B00; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #FFFFFF; font-size: 34px; margin-bottom: 24px; box-shadow: 0 20px 60px -20px rgba(255,107,0,0.5); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,0,0.08); border: 1px solid rgba(255,107,0,0.25); color: #D95700; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #FF6B00; }
.hero-title { font-size: clamp(32px, 6vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; color: #17181C; }
.hero-title-accent { color: #FF6B00; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: #5A5C63; line-height: 1.6; margin: 0 0 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---- About ----------------------------------------------------------- */
.about { padding: 90px 6vw; border-top: 1px solid rgba(0,0,0,0.06); max-width: 1180px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; align-items: center; }
.about-text { font-size: 16px; line-height: 1.75; color: #5A5C63; margin: 0; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { background: #FAFAF9; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 26px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.feature-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,107,0,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-icon-dot { width: 16px; height: 16px; border-radius: 50%; background: #FF6B00; }
.feature-icon-square { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #FF6B00; }
.feature-icon-triangle { width: 16px; height: 16px; background: #FF6B00; clip-path: polygon(50% 0%, 100% 100%, 0% 100%); }
.feature-icon-ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #FF6B00; }
.feature-title { font-weight: 700; font-size: 15px; color: #17181C; margin-bottom: 6px; }
.feature-desc { font-size: 13.5px; color: #75777D; line-height: 1.55; }

/* ---- Download -------------------------------------------------------- */
.download { padding: 90px 6vw; border-top: 1px solid rgba(0,0,0,0.06); background: #FAFAF9; }
.download-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.download .section-title { margin-bottom: 48px; }
.dl-cards { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.dl-card { background: #FFFFFF; border: 1px solid rgba(0,0,0,0.07); border-radius: 20px; padding: 32px; width: 260px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 8px 30px -12px rgba(0,0,0,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.qr { width: 150px; height: 150px; border-radius: 14px; background: repeating-linear-gradient(45deg, #F1F1EF, #F1F1EF 8px, #E7E7E4 8px, #E7E7E4 16px); border: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.qr-text { font-family: monospace; font-size: 11px; color: #8A8C92; text-align: center; padding: 0 10px; }
.dl-name { font-weight: 700; font-size: 15px; color: #17181C; margin-bottom: 4px; }
.dl-desc { font-size: 13px; color: #75777D; margin-bottom: 18px; }

/* ---- Contact --------------------------------------------------------- */
.contact { padding: 90px 6vw; border-top: 1px solid rgba(0,0,0,0.06); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact .section-title { margin-bottom: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 13px; font-weight: 600; color: #3A3B40; }
.req { color: #FF6B00; }
.input { background: #FAFAF9; border: 1px solid rgba(0,0,0,0.12); border-radius: 10px; padding: 13px 16px; color: #17181C; font-size: 15px; font-family: inherit; }
.input.textarea { resize: vertical; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { padding: 48px 6vw; border-top: 1px solid rgba(0,0,0,0.06); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-weight: 700; font-size: 14px; color: #17181C; }
.footer-copy { font-size: 13px; color: #9A9CA1; margin-left: 8px; }
.footer-social { display: flex; gap: 20px; }
.footer-link { font-size: 13px; color: #75777D; }

/* ---- Form field states ----------------------------------------------- */
input::placeholder, textarea::placeholder { color: #A6A8AE; }
input:focus, textarea:focus { outline: none; border-color: #FF6B00 !important; }

/* ---- Hover states ---------------------------------------------------- */
.nav-link:hover { color: #FF6B00 !important; }
.btn-primary:hover { background: #E85D00 !important; color: #FFFFFF !important; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(255,107,0,0.55); }
.btn-ghost:hover { border-color: #FF6B00 !important; transform: translateY(-2px); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -18px rgba(0,0,0,0.14); border-color: rgba(255,107,0,0.35) !important; }
.dl-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -16px rgba(0,0,0,0.16) !important; }
.btn-submit:hover { background: #E85D00 !important; transform: translateY(-1px); }

/* ---- Motion / responsive -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; }
  .blob-1, .blob-2, .shape-1, .shape-2 { animation: none !important; }
}
@media (max-width: 640px) {
  /* Nav: drop the secondary text links, keep the logo + Contact CTA so it never
     overflows on a phone (sections are still reachable by scrolling). */
  .nav-link { display: none; }
  .about-features { grid-template-columns: 1fr !important; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 30px !important; }
}
