/* =========================================================
   CASH RVYN LLC — style.css
   Theme: Premium Financial / Dark Red Noir
   ========================================================= */

/* --- CSS Variables --- */
:root {
  --red:        #C8102E;
  --red-bright: #E8192F;
  --red-dark:   #8B0A1E;
  --red-glow:   rgba(200, 16, 46, 0.18);
  --black:      #0A0A0A;
  --surface:    #111111;
  --surface-2:  #191919;
  --border:     rgba(200, 16, 46, 0.22);
  --text:       #F0EBE3;
  --text-muted: rgba(240, 235, 227, 0.5);
  --white:      #FFFFFF;
  --radius:     4px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --ff-display: 'Bebas Neue', sans-serif;
  --ff-serif:   'DM Serif Display', serif;
  --ff-body:    'DM Sans', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 10px; }

/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 32px;
}
.section-title em {
  font-style: italic;
  color: var(--red-bright);
}
.section-title.centered { text-align: center; }

.section-intro {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red-bright); background: var(--red-glow); }

.btn-header {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--red-bright);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-header:hover { background: var(--red); color: #fff; }

.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 14px; }

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }
.delay-6 { transition-delay: 0.72s; }

/* =========================================================
   HEADER
   ========================================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
#header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.96);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo-cash { color: var(--text); }
.logo-rvyn { color: var(--red-bright); }
.logo-llc {
  font-size: 11px;
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  align-self: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--transition);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  z-index: 0;
}
.hero-grid-lines span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto 0 calc((100% - 1160px) / 2 + 40px);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(3.4rem, 7.5vw, 6.2rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 32px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--red-bright);
  text-shadow: 0 0 60px rgba(200, 16, 46, 0.35);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative rings */
.hero-deco {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
}
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateRing 20s linear infinite;
}
.deco-ring--1 { width: 320px; height: 320px; border-color: rgba(200, 16, 46, 0.3); animation-duration: 18s; }
.deco-ring--2 { width: 480px; height: 480px; border-color: rgba(200, 16, 46, 0.15); animation-duration: 30s; animation-direction: reverse; }
.deco-ring--3 { width: 620px; height: 620px; border-color: rgba(200, 16, 46, 0.08); animation-duration: 45s; }

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.deco-ring--1::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--red-bright);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--red);
}

/* Ticker */
.deco-ticker {
  position: absolute;
  bottom: -60px;
  left: -200%;
  right: -100%;
  white-space: nowrap;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red-dark);
  overflow: hidden;
}
.deco-ticker span {
  display: inline-block;
  animation: ticker 22s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Red glow at bottom of hero */
#hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
}

/* =========================================================
   ABOUT
   ========================================================= */
#about {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}
#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-left .section-title { margin-bottom: 0; }

.about-right p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  color: var(--red-bright);
  font-size: 14px;
  padding-top: 3px;
  flex-shrink: 0;
}
.pillar strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================
   SERVICES
   ========================================================= */
#services {
  padding: 120px 0;
  background: var(--black);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background var(--transition);
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}
.service-card:hover { background: var(--surface-2); }
.service-card:hover::after { width: 100%; }

.service-num {
  font-family: var(--ff-display);
  font-size: 42px;
  color: var(--red-dark);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: var(--red-bright); }

.service-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================================
   FAQ
   ========================================================= */
#faq {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}
#faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: var(--surface-2);
  border: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--ff-body);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.faq-q:hover { background: var(--surface); color: var(--red-bright); }
.faq-q[aria-expanded="true"] { background: var(--black); color: var(--red-bright); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color var(--transition), transform var(--transition);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-q[aria-expanded="true"] .faq-icon { border-color: var(--red); transform: rotate(45deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a.open { max-height: 300px; }
.faq-a p {
  padding: 0 28px 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================================================
   CONTACT
   ========================================================= */
#contact {
  padding: 120px 0;
  background: var(--black);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-left .section-title { margin-bottom: 20px; }
.contact-left > p {
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ci-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.contact-info-item a,
.contact-info-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contact-info-item a:hover { color: var(--red-bright); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 235, 227, 0.25);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23C8102E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select option { background: var(--surface-2); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--red-bright);
  letter-spacing: 0.03em;
}
.form-success.show { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo--footer { font-size: 18px; }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-content { margin-left: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-deco { opacity: 0.4; right: -180px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  #hero { padding: 100px 24px 80px; }
  .hero-content { margin-left: 0; }

  .nav { display: none; flex-direction: column; gap: 0; position: fixed; top: 72px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 0; z-index: 99; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; font-size: 14px; }
  .nav a::after { display: none; }

  .burger { display: flex; }
  .btn-header { display: none; }

  #about, #services, #faq, #contact { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .hero-deco { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  #footer { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}
