/* ═══════════════════════════════════════════════════════════════════════
   Roayn — style.css
   Premium AI Prompts & Creative Resources Platform
   Deep navy / Royal purple / Electric blue / Soft gold
═══════════════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:         #0B1020;
  --navy-2:       #111827;
  --navy-3:       #1E2A44;
  --navy-4:       #263352;
  --purple:       #7C3AED;
  --purple-2:     #9D5CF6;
  --purple-light: #F5F3FF;
  --blue:         #2563EB;
  --blue-2:       #3B82F6;
  --blue-light:   #EFF6FF;
  --gold:         #F5C542;
  --gold-2:       #FBBF24;
  --gold-light:   #FFFBEB;
  --teal:         #0D9488;
  --teal-light:   #CCFBF1;
  --rose:         #E11D48;
  --rose-light:   #FFF1F2;
  --indigo:       #4F46E5;
  --indigo-light: #EEF2FF;

  /* Text */
  --text:   #0F172A;
  --muted:  #64748B;
  --dim:    #94A3B8;
  --subtle: #CBD5E1;

  /* Surfaces */
  --bg:       #F8FAFC;
  --bg-2:     #FFFFFF;
  --border:   #E2E8F0;
  --border-2: #CBD5E1;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.05);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-xl: 0 24px 64px rgba(15,23,42,0.16);

  /* Glow */
  --glow-purple: 0 0 40px rgba(124,58,237,0.25);
  --glow-blue:   0 0 40px rgba(37,99,235,0.2);
  --glow-gold:   0 0 30px rgba(245,197,66,0.2);

  /* Typography */
  --font-head: 'Syne', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  /* Spacing */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Container ──────────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 28px;
}


/* ════════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 50px;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer; transition: all 0.22s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.18s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.4);
}
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn--outline-dark {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn--outline-dark:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}
.btn--sm  { padding: 9px 18px; font-size: 0.83rem; }
.btn--lg  { padding: 15px 32px; font-size: 0.97rem; }
.btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }


/* ════════════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,16,32,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.25s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  color: #fff; flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(124,58,237,0.5);
}
.logo-r {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.logo-word { color: #fff; }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
}
.nav-links a {
  padding: 7px 13px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--dim);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }

.nav-actions { margin-left: auto; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto; border-radius: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  padding: 100px 0 90px;
  overflow: hidden;
}

/* Background layers */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hb-glow {
  position: absolute; border-radius: 50%; filter: blur(100px);
  animation: orb-drift 18s ease-in-out infinite;
}
.hb-glow--purple {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: rgba(124,58,237,0.18);
  animation-duration: 22s;
}
.hb-glow--blue {
  width: 500px; height: 500px;
  bottom: -150px; right: 10%;
  background: rgba(37,99,235,0.15);
  animation-duration: 18s; animation-direction: reverse;
}
.hb-glow--gold {
  width: 300px; height: 300px;
  top: 30%; right: 5%;
  background: rgba(245,197,66,0.08);
  animation-duration: 26s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(40px, -30px); }
  66%       { transform: translate(-20px, 20px); }
}
.hb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hb-noise {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}

/* Hero text */
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 50px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.78rem; font-weight: 600; color: #C4B5FD;
  letter-spacing: 0.03em; margin-bottom: 22px;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.ht-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--purple-2) 50%, var(--blue-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 1.05rem; line-height: 1.75;
  color: #94A3B8; max-width: 520px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.ht-item { display: flex; flex-direction: column; gap: 3px; }
.ht-num  {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 800;
  color: #fff;
}
.ht-item span:last-child { font-size: 0.76rem; color: #64748B; }
.ht-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }


/* ── Dashboard Panel ─────────────────────────────────────────────── */
.hero-visual { position: relative; }
.hv-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hv-orb--1 {
  width: 200px; height: 200px;
  top: -40px; right: -40px;
  background: rgba(124,58,237,0.25);
}
.hv-orb--2 {
  width: 160px; height: 160px;
  bottom: -30px; left: -30px;
  background: rgba(37,99,235,0.2);
}

.dash-panel {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.08);
}

.dash-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dash-logo-dot {
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-logo-dot::after { content: 'R'; font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; color: #fff; }
.dash-topbar-label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7); flex: 1; }
.dash-badge-live {
  font-size: 0.68rem; font-weight: 700; color: #34D399;
  background: rgba(52,211,153,0.1);
  padding: 3px 9px; border-radius: 50px;
}

.dash-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Featured card inside dashboard */
.dash-feature-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(37,99,235,0.1));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius);
  cursor: pointer; transition: background 0.2s;
}
.dash-feature-card:hover { background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(37,99,235,0.16)); }
.dfc-art {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(124,58,237,0.2);
  position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.dfc-circle {
  position: absolute; border-radius: 50%; opacity: 0.6;
}
.dfc-c1 { width: 30px; height: 30px; background: var(--purple); top: -10px; left: -8px; }
.dfc-c2 { width: 22px; height: 22px; background: var(--blue); bottom: -8px; right: -6px; }
.dfc-c3 { width: 16px; height: 16px; background: var(--gold); top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.8; }
.dfc-icon { position: relative; z-index: 1; font-size: 1rem; }
.dfc-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dfc-label {
  font-size: 0.65rem; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.dfc-text strong { font-size: 0.85rem; color: #fff; }
.dfc-meta { font-size: 0.72rem; color: var(--dim); }
.dfc-arrow { color: var(--dim); font-size: 1rem; }

/* Chips */
.dash-chips {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.chip {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.75);
  cursor: pointer; transition: opacity 0.18s;
}
.chip:hover { opacity: 0.8; }
.chip-icon { font-size: 0.9rem; }
.chip--purple { background: rgba(124,58,237,0.18); border: 1px solid rgba(124,58,237,0.25); }
.chip--blue   { background: rgba(37,99,235,0.18);  border: 1px solid rgba(37,99,235,0.25); }
.chip--gold   { background: rgba(245,197,66,0.14); border: 1px solid rgba(245,197,66,0.22); }
.chip--teal   { background: rgba(13,148,136,0.16); border: 1px solid rgba(13,148,136,0.25); }

/* Stats row */
.dash-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}
.ds-item {
  flex: 1; padding: 10px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.ds-item:last-child { border-right: none; }
.ds-val { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: #fff; }
.ds-key { font-size: 0.68rem; color: var(--dim); }

/* Mini cards */
.dash-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dmc {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7);
}
.dmc-icon { font-size: 1rem; }
.dmc--a { background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2); }
.dmc--b { background: rgba(245,197,66,0.1);  border: 1px solid rgba(245,197,66,0.18); }

/* Floating cards */
.float-card {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: float-y 4s ease-in-out infinite;
}
.fc--1 {
  top: -28px; right: -20px;
  animation-delay: 0s;
}
.fc--2 {
  bottom: -24px; left: -24px;
  animation-delay: 1.8s;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.fc-icon { font-size: 1.1rem; }
.fc-text { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.85); line-height: 1.3; }


/* ════════════════════════════════════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════════════════════════════════ */
.section-head { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 10px;
}
.section-label--light { color: #C4B5FD; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.18;
  color: var(--text); letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-sub { font-size: 1.02rem; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }


/* ════════════════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════════════ */
.features { padding: 100px 0; background: var(--bg-2); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feat-card {
  padding: 30px 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
  display: flex; flex-direction: column; gap: 12px;
}
.feat-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.fc-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.fc-iw--purple { background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: 0 4px 14px rgba(124,58,237,0.35); }
.fc-iw--blue   { background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.fc-iw--gold   { background: linear-gradient(135deg, #D97706, var(--gold-2)); box-shadow: 0 4px 14px rgba(245,197,66,0.3); }
.fc-iw--teal   { background: linear-gradient(135deg, var(--teal), #14B8A6); box-shadow: 0 4px 14px rgba(13,148,136,0.3); }
.feat-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--text);
}
.feat-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; flex: 1; }
.feat-link {
  font-size: 0.83rem; font-weight: 600; color: var(--purple);
  transition: gap 0.15s;
  display: inline-flex; align-items: center;
  margin-top: 4px;
}
.feat-link:hover { opacity: 0.75; }


/* ════════════════════════════════════════════════════════════════════
   CATEGORIES
═══════════════════════════════════════════════════════════════════ */
.categories { padding: 100px 0; background: var(--bg); }
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  display: flex; flex-direction: column; gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}
.cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.cc-icon-bg {
  height: 96px;
  display: flex; align-items: center; justify-content: center;
}
.cc-bg--purple { background: linear-gradient(135deg, #4C1D95, #7C3AED); }
.cc-bg--blue   { background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.cc-bg--gold   { background: linear-gradient(135deg, #92400E, #D97706); }
.cc-bg--rose   { background: linear-gradient(135deg, #881337, #E11D48); }
.cc-bg--teal   { background: linear-gradient(135deg, #134E4A, #0D9488); }
.cc-bg--indigo { background: linear-gradient(135deg, #312E81, #4F46E5); }
.cc-emoji { font-size: 2.2rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.cc-body { padding: 20px 20px 14px; flex: 1; }
.cat-card h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 7px;
}
.cat-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.cc-link {
  display: block; padding: 12px 20px;
  font-size: 0.83rem; font-weight: 700; color: var(--purple);
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.cat-card:hover .cc-link { background: var(--purple-light); }


/* ════════════════════════════════════════════════════════════════════
   FEATURED RESOURCES
═══════════════════════════════════════════════════════════════════ */
.resources {
  padding: 100px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.resources::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(124,58,237,0.12), transparent),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(37,99,235,0.1), transparent);
  pointer-events: none;
}
.resources .section-title { color: #fff; }
.resources .section-sub   { color: #64748B; }
.resources .section-label { color: #C4B5FD; }

.resources-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.res-card {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.res-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), var(--glow-purple);
}

/* Resource art panels */
.rc-art {
  height: 140px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.rc-art--luxury  { background: linear-gradient(135deg, #1a0533 0%, #4C1D95 60%, #1E3A8A 100%); }
.rc-art--icon    { background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 60%, #06B6D4 100%); }
.rc-art--anime   { background: linear-gradient(135deg, #500724 0%, #E11D48 60%, #F9A8D4 100%); }
.rc-art--minimal { background: linear-gradient(135deg, #0F172A 0%, #334155 60%, #64748B 100%); }
.rc-art--mockup  { background: linear-gradient(135deg, #451A03 0%, #D97706 60%, #FDE68A 100%); }
.rc-art--canva   { background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 60%, #818CF8 100%); }

.rca-shape {
  position: absolute; border-radius: 50%; opacity: 0.35;
}
.rc-art .s1 { width: 80px; height: 80px; bottom: -20px; right: -20px; }
.rc-art .s2 { width: 55px; height: 55px; top: -15px; left: -15px; }
.rc-art--luxury  .s1 { background: var(--gold); }
.rc-art--luxury  .s2 { background: var(--purple-2); }
.rc-art--icon    .s1 { background: var(--blue-2); }
.rc-art--icon    .s2 { background: #06B6D4; }
.rc-art--anime   .s1 { background: #FDA4AF; }
.rc-art--anime   .s2 { background: var(--rose); }
.rc-art--minimal .s1 { background: #94A3B8; }
.rc-art--minimal .s2 { background: #475569; }
.rc-art--mockup  .s1 { background: var(--gold); }
.rc-art--mockup  .s2 { background: #F97316; }
.rc-art--canva   .s1 { background: #818CF8; }
.rc-art--canva   .s2 { background: var(--indigo); }
.rca-icon {
  position: relative; z-index: 1;
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.rc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.rc-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.rc-tag--purple { background: rgba(124,58,237,0.15); color: #C4B5FD; }
.rc-tag--blue   { background: rgba(37,99,235,0.15);  color: #93C5FD; }
.rc-tag--rose   { background: rgba(225,29,72,0.15);  color: #FDA4AF; }
.rc-tag--teal   { background: rgba(13,148,136,0.15); color: #5EEAD4; }
.rc-tag--gold   { background: rgba(245,197,66,0.15); color: #FDE68A; }
.rc-tag--indigo { background: rgba(79,70,229,0.15);  color: #A5B4FC; }
.res-card h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: #fff; line-height: 1.35;
}
.res-card p { font-size: 0.85rem; color: #64748B; line-height: 1.65; flex: 1; }
.res-card .btn--outline-dark {
  color: #C4B5FD; border-color: rgba(124,58,237,0.4);
  margin-top: 6px; align-self: flex-start;
}
.res-card .btn--outline-dark:hover { background: rgba(124,58,237,0.12); }


/* ════════════════════════════════════════════════════════════════════
   WHY ROAYN
═══════════════════════════════════════════════════════════════════ */
.why { padding: 110px 0; background: var(--bg-2); }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}

/* Visual card */
.why-visual { position: relative; }
.wv-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}
.wv-card-top {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.wv-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wv-card-top strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text); }
.wv-card-top span   { font-size: 0.78rem; color: var(--muted); }
.wv-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.wv-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 9px;
  font-size: 0.88rem; font-weight: 500;
}
.wv-item--done   { background: var(--green-light, #f0fdf4); color: #166534; }
.wv-item--active { background: var(--blue-light); color: #1D4ED8; }
.wv-item--idle   { background: var(--bg); color: var(--muted); }
.wv-check { font-size: 0.8rem; font-weight: 800; color: #16A34A; width: 18px; text-align: center; }
.wv-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.wv-ring {
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--border-2); flex-shrink: 0;
}
.wv-bar {
  height: 6px; background: var(--border);
  border-radius: 50px; overflow: hidden; margin-bottom: 6px;
}
.wv-bar-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--purple), var(--blue-2));
  transition: width 1s ease;
}
.wv-bar-meta {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted);
}

/* Badge floating over visual */
.wv-badge {
  position: absolute; bottom: -16px; right: -16px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 50px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff; font-size: 0.82rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

/* Why text */
.why-text { display: flex; flex-direction: column; gap: 0; }
.why-text .section-title { text-align: left; margin-bottom: 16px; }
.why-text .section-label { text-align: left; }
.why-desc {
  font-size: 1rem; color: var(--muted); line-height: 1.75;
  margin-bottom: 32px;
}
.why-benefits {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 36px;
}
.why-benefits li {
  display: flex; gap: 14px; align-items: flex-start;
}
.wb-icon {
  font-size: 1.1rem;
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--purple-light);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.why-benefits strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.why-benefits span   { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }


/* ════════════════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════════════ */
.blog { padding: 100px 0; background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.bc-art {
  height: 160px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.bc-art--a { background: linear-gradient(135deg, #1E1B4B, #7C3AED); }
.bc-art--b { background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.bc-art--c { background: linear-gradient(135deg, #451A03, #D97706); }
.bca-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
}
.bca-r1 { width: 100px; height: 100px; top: -30px; right: -20px; }
.bca-r2 { width: 70px;  height: 70px;  bottom: -20px; left: -10px; }
.bca-emoji {
  position: relative; z-index: 1; font-size: 2.6rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.bc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.bc-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; color: var(--purple);
  background: var(--purple-light);
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.blog-card h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--text); line-height: 1.38;
}
.blog-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; flex: 1; }
.bc-link {
  font-size: 0.85rem; font-weight: 700; color: var(--purple);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px; transition: gap 0.15s;
}
.bc-link:hover { gap: 8px; }


/* ════════════════════════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════════════════════ */
.newsletter { padding: 80px 0; background: var(--bg-2); }
.nl-box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy);
  padding: 60px 56px;
}
.nl-bg-art { position: absolute; inset: 0; pointer-events: none; }
.nla-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
}
.nla-1 {
  width: 350px; height: 350px; top: -100px; left: -80px;
  background: rgba(124,58,237,0.2);
}
.nla-2 {
  width: 280px; height: 280px; bottom: -80px; right: -60px;
  background: rgba(37,99,235,0.15);
}
.nl-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.nl-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.nl-left h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em;
  margin: 10px 0 14px;
}
.nl-left p { font-size: 0.95rem; color: #64748B; line-height: 1.7; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input-row { display: flex; gap: 10px; }
.nl-input-row input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  color: #fff; font-family: var(--font-body); font-size: 0.92rem;
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.nl-input-row input::placeholder { color: #475569; }
.nl-input-row input:focus {
  border-color: rgba(124,58,237,0.5);
  background: rgba(255,255,255,0.1);
}
.nl-fine { font-size: 0.76rem; color: #475569; padding-left: 4px; }


/* ════════════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════════ */
.faq { padding: 100px 0; background: var(--bg); }
.faq-grid {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item.open {
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 4px 20px rgba(124,58,237,0.08);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; color: var(--text);
  transition: background 0.15s;
}
.faq-q:hover { background: var(--bg); }
.faq-icon {
  font-size: 1.2rem; color: var(--purple); flex-shrink: 0; font-weight: 400;
  width: 26px; height: 26px;
  border: 1.5px solid rgba(124,58,237,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--purple-light);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s ease, padding 0.2s;
  padding: 0 22px;
}
.faq-a p {
  font-size: 0.92rem; color: var(--muted); line-height: 1.72;
  padding: 0 0 20px;
}


/* ════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.footer { background: var(--navy); }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px; padding: 64px 28px 52px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.87rem; color: #475569; line-height: 1.65; max-width: 230px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.fs-link {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: #64748B; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.fs-link:hover { background: rgba(124,58,237,0.2); color: #C4B5FD; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  color: #94A3B8; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: #475569;
  margin-bottom: 9px; transition: color 0.15s;
}
.footer-col a:hover { color: #94A3B8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 28px;
}
.footer-bottom .container {
  display: flex; justify-content: center;
}
.footer-bottom p { font-size: 0.8rem; color: #334155; }


/* ════════════════════════════════════════════════════════════════════
   FADE-IN ANIMATION
═══════════════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--fd, 0s);
}
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; opacity: 1; transform: none; }
  .float-card { animation: none; }
  .hb-glow    { animation: none; }
  .ht-gradient { animation: none; }
  * { animation-duration: 0.01ms !important; }
}


/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual    { max-width: 500px; margin: 0 auto; }
  .float-card     { display: none; }
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner      { grid-template-columns: 1fr; gap: 52px; }
  .why-visual     { max-width: 480px; margin: 0 auto; }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand   { grid-column: 1 / -1; }
}

/* Mobile large */
@media (max-width: 768px) {
  .hero           { padding: 72px 0 60px; }
  .features, .categories, .resources,
  .why, .blog, .faq { padding: 72px 0; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid  { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .nl-content      { grid-template-columns: 1fr; gap: 36px; }
  .nl-box          { padding: 40px 28px; }
  .nl-input-row    { flex-direction: column; }

  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(11,16,32,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 12px 0; z-index: 100;
  }
  .nav-links.open   { display: flex; }
  .nav-links a      { padding: 13px 24px; border-radius: 0; }
  .nav-actions      { display: none; }
  .nav-toggle       { display: flex; }
  .navbar           { position: sticky; }

  .hero-cta         { flex-direction: column; align-items: flex-start; }
  .hero-trust       { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ht-sep           { width: 40px; height: 1px; }

  .wv-badge         { right: 0; bottom: -12px; font-size: 0.78rem; }
}

/* Mobile small */
@media (max-width: 480px) {
  .features-grid   { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; padding-top: 40px; }
  .container       { padding: 0 18px; }
  .hero-title      { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .dash-chips      { grid-template-columns: 1fr 1fr; }
  .dash-mini-cards { grid-template-columns: 1fr 1fr; }
}
