/* ============================================
   RYDORA — Brand Design System
   Primary: #FF6B00 | Dark: #0D0D0D | Surface: #141414
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --orange: #FF6B00;
  --orange-dim: #CC5500;
  --orange-glow: rgba(255,107,0,0.15);
  --orange-glow-strong: rgba(255,107,0,0.3);
  --black: #0D0D0D;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --surface-3: #242424;
  --border: rgba(255,255,255,0.08);
  --text: #F0EDE8;
  --text-muted: #888;
  --text-faint: #555;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex; align-items: center;
  padding: 0 5%;
}

.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.5px;
  display: flex; align-items: center;
}
.nav-logo span { color: var(--orange); }
.nav-logo img { height: 152px; max-height: 152px; width: auto; max-width: auto; object-fit: contain; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-dim) !important; color: var(--white) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.page-wrapper { padding-top: var(--nav-h); }
section { padding: 100px 5%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dim); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ===== CARDS ===== */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--orange-glow-strong); transform: translateY(-3px); }

/* ===== TAG / BADGE ===== */
.tag {
  display: inline-block;
  background: var(--orange-glow);
  color: var(--orange);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: 20px;
  border: 1px solid rgba(255,107,0,0.2);
}

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-faint); font-size: 0.8rem;
}

/* ===== HERO GLOW ===== */
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== GRID HELPERS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== ICON BOX ===== */
.icon-box {
  width: 48px; height: 48px;
  background: var(--orange-glow); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(255,107,0,0.2);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  section { padding: 60px 5%; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--surface); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; }
  .nav-logo img { height: 174px; max-height: 174px; }
  .container { padding: 0 6%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  section { padding: 45px 6%; }
  .nav { padding: 0 4%; }
  .nav-logo img { height: 150px; max-height: 150px; }
}
