/* ═══════════════════════════════════════════════
   RINGLESS.CA — MAIN STYLESHEET v1.0
   ═══════════════════════════════════════════════ */

:root {
  --navy: #0B1D35;
  --navy-mid: #132B4D;
  --navy-light: #1A3A66;
  --teal: #1B9AAA;
  --teal-light: #23C4D8;
  --teal-glow: rgba(27, 154, 170, 0.15);
  --mint: #A8E6CF;
  --white: #FAFBFC;
  --off-white: #F0F2F5;
  --grey-200: #E2E6EC;
  --grey-400: #9AA5B4;
  --grey-600: #6B7A8D;
  --red-soft: #E8833A;
  --green: #28A745;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.ringless-landing {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(27, 154, 170, 0.3); } 50% { box-shadow: 0 0 30px 10px rgba(27, 154, 170, 0.1); } }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  30% { transform: translate(3%, -15%); }
  50% { transform: translate(-10%, 5%); }
  70% { transform: translate(8%, 10%); }
  90% { transform: translate(-3%, 8%); }
}

.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.grain-overlay { position: relative; }
.grain-overlay::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  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)' opacity='0.03'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(11, 29, 53, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 154, 170, 0.15);
  transition: all 0.3s ease;
}
.site-header.scrolled { padding: 10px 0; background: rgba(11, 29, 53, 0.97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: var(--navy);
}
.logo-text { font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: -0.5px; }
.logo-text span { color: var(--teal-light); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--grey-400); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(27, 154, 170, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(27, 154, 170, 0.35); }
.btn-outline {
  background: transparent; color: var(--teal-light);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal-glow); border-color: var(--teal-light); }
.btn-large { padding: 16px 36px; font-size: 16px; border-radius: 10px; }
.btn-nav { padding: 10px 22px; font-size: 13px; }

.mobile-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(27, 154, 170, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(27, 154, 170, 0.05) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(27, 154, 170, 0.12); border: 1px solid rgba(27, 154, 170, 0.25);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--teal-light); letter-spacing: 0.5px;
  margin-bottom: 24px; animation: fadeIn 0.8s ease 0.2s both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  animation: pulseGlow 2s infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px); font-weight: 400;
  line-height: 1.1; color: var(--white); letter-spacing: -1px;
  margin-bottom: 24px; animation: fadeUp 0.8s ease 0.3s both;
}
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--grey-400);
  max-width: 520px; margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.5s both;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.7s both; }

.hero-proof {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 0.8s ease 0.9s both;
}
.proof-item { display: flex; flex-direction: column; }
.proof-num { font-family: var(--font-display); font-size: 32px; color: var(--teal-light); line-height: 1; }
.proof-label { font-size: 13px; color: var(--grey-400); margin-top: 4px; }

/* Hero compliance card */
.hero-visual { position: relative; animation: fadeIn 1s ease 0.6s both; }
.compliance-card {
  background: var(--navy-mid);
  border: 1px solid rgba(27, 154, 170, 0.2);
  border-radius: 16px; padding: 32px;
  position: relative; overflow: hidden;
}
.compliance-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--mint));
}
.cc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cc-title { font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0.5px; }
.cc-badge {
  padding: 4px 12px;
  background: rgba(40, 167, 69, 0.15); border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 100px;
  font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 0.5px;
}
.cc-checks { display: flex; flex-direction: column; gap: 12px; }
.cc-check {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.cc-check:hover { background: rgba(27, 154, 170, 0.06); border-color: rgba(27, 154, 170, 0.15); }
.cc-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.cc-icon.pass { background: rgba(40, 167, 69, 0.15); color: var(--green); }
.cc-check-text { font-size: 13px; color: var(--grey-400); line-height: 1.4; }
.cc-check-text strong { color: var(--white); font-weight: 600; }

.floating-stat {
  position: absolute;
  background: var(--navy-mid); border: 1px solid rgba(27, 154, 170, 0.2);
  border-radius: 12px; padding: 16px 20px;
  animation: pulseGlow 3s infinite;
}
.floating-stat.top-right { top: -20px; right: -20px; }
.floating-stat.bottom-left { bottom: -16px; left: -16px; }
.fs-label { font-size: 11px; color: var(--grey-400); letter-spacing: 0.5px; text-transform: uppercase; }
.fs-value { font-family: var(--font-display); font-size: 28px; color: var(--teal-light); line-height: 1.2; }

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--off-white); padding: 32px 0;
  border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200);
}
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--grey-600); }
.trust-icon {
  width: 36px; height: 36px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

/* ═══════════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════════ */
.section-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px); font-weight: 400;
  line-height: 1.15; color: var(--navy);
  max-width: 700px; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-sub {
  font-size: 17px; color: var(--grey-600);
  max-width: 600px; margin-bottom: 56px; line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   PROBLEM
   ═══════════════════════════════════════════════ */
.problem { padding: var(--section-pad) 0; background: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.problem-card {
  padding: 32px; background: var(--off-white);
  border-radius: 14px; border: 1px solid var(--grey-200);
  transition: all 0.3s ease;
}
.problem-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(27, 154, 170, 0.08); }
.pc-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-glow), transparent);
  border: 1px solid rgba(27, 154, 170, 0.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.pc-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pc-text { font-size: 15px; color: var(--grey-600); line-height: 1.6; }

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-it-works { padding: var(--section-pad) 0; background: var(--navy); overflow: hidden; }
.how-it-works .section-label { color: var(--teal-light); }
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-sub { color: var(--grey-400); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 2; }
.step-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; transition: all 0.3s ease; position: relative;
}
.step-card:hover { background: rgba(27, 154, 170, 0.06); border-color: rgba(27, 154, 170, 0.2); transform: translateY(-4px); }
.step-num { font-family: var(--font-display); font-size: 56px; color: rgba(27, 154, 170, 0.15); line-height: 1; margin-bottom: 20px; }
.step-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.step-text { font-size: 15px; color: var(--grey-400); line-height: 1.6; }

/* ═══════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════ */
.features { padding: var(--section-pad) 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 32px; border-radius: 14px;
  border: 1px solid var(--grey-200); background: var(--white);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27, 154, 170, 0.1); }
.fc-icon {
  width: 44px; height: 44px; background: var(--teal-glow);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 20px;
}
.fc-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.fc-text { font-size: 14px; color: var(--grey-600); line-height: 1.6; }

/* ═══════════════════════════════════════════════
   COMPLIANCE
   ═══════════════════════════════════════════════ */
.compliance {
  padding: var(--section-pad) 0; background: var(--off-white);
  border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200);
}
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.compliance-list { display: flex; flex-direction: column; gap: 20px; }
.cl-item {
  display: flex; gap: 16px; padding: 20px;
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--grey-200); transition: all 0.3s ease;
}
.cl-item:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(27, 154, 170, 0.08); }
.cl-icon {
  width: 40px; height: 40px; background: var(--teal-glow);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cl-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cl-text { font-size: 13px; color: var(--grey-600); line-height: 1.5; }

/* ═══════════════════════════════════════════════
   REVENUE
   ═══════════════════════════════════════════════ */
.revenue { padding: var(--section-pad) 0; background: var(--navy); }
.revenue .section-label { color: var(--teal-light); }
.revenue .section-title { color: var(--white); }
.revenue .section-sub { color: var(--grey-400); }
.revenue-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.rev-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; text-align: center; transition: all 0.3s ease;
}
.rev-card:hover { background: rgba(27, 154, 170, 0.06); border-color: rgba(27, 154, 170, 0.25); transform: translateY(-4px); }
.rev-year { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-light); margin-bottom: 16px; }
.rev-amount { font-family: var(--font-display); font-size: 42px; color: var(--white); line-height: 1; margin-bottom: 8px; }
.rev-detail { font-size: 14px; color: var(--grey-400); line-height: 1.5; }
.rev-footnote { text-align: center; font-size: 14px; color: var(--grey-400); font-style: italic; }

/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.pricing { padding: var(--section-pad) 0; background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  padding: 36px; border-radius: 16px;
  border: 1px solid var(--grey-200); position: relative;
  transition: all 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06); }
.price-card.featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(27, 154, 170, 0.04) 0%, transparent 40%);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--teal); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; border-radius: 100px;
}
.price-tier { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: var(--teal); margin-bottom: 12px; }
.price-amount { font-family: var(--font-display); font-size: 48px; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 18px; color: var(--grey-400); font-family: var(--font-body); }
.price-desc {
  font-size: 14px; color: var(--grey-600); margin-bottom: 28px;
  padding-bottom: 24px; border-bottom: 1px solid var(--grey-200);
}
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.price-features li {
  font-size: 14px; color: var(--grey-600);
  display: flex; align-items: center; gap: 10px;
}
.price-features li::before {
  content: '\2713';
  width: 20px; height: 20px;
  background: rgba(40, 167, 69, 0.1); color: var(--green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════ */
.cta-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(27, 154, 170, 0.1) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); color: var(--white); margin-bottom: 16px; }
.cta-title em { font-style: italic; color: var(--teal-light); }
.cta-sub { font-size: 18px; color: var(--grey-400); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-text { font-size: 14px; color: var(--grey-400); line-height: 1.6; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-400); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--grey-400); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 13px; color: var(--grey-600); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--grey-600); text-decoration: none; }
.footer-legal a:hover { color: var(--teal-light); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 500px; }
  .problem-grid, .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .revenue-cards, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .floating-stat { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; gap: 16px; }
  .trust-inner { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
