/* ============================================
   OctoGo – Stylesheet
   Fonts: Outfit (body) + Fraunces (display)
   Palette: Electric green + deep navy
   ============================================ */

:root {
  --green: #0aff8a;
  --green-dim: #06d970;
  --green-bg: #0aff8a12;
  --navy: #0b1426;
  --navy-light: #101c33;
  --navy-mid: #162240;
  --slate: #8b95a8;
  --text: #cdd5e0;
  --text-bright: #eaf0f9;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy);
  overflow-x: hidden;
}

/* Background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(10, 255, 138, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(10, 255, 138, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dim); }

img { max-width: 100%; height: auto; }

.text-center { text-align: center; }

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  color: var(--text-bright);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 0.5rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--green); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.small-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 1rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1.4;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dim);
  border-color: var(--green-dim);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 255, 138, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-bright);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-header {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}
.btn-header:hover {
  background: var(--green-dim);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 38, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--text-bright); }
.logo-icon { font-size: 1.5rem; }

.main-nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  transition: all var(--transition);
  border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.active { display: block; }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-nav-link:hover { color: var(--green); }
.mobile-cta { margin-top: 1rem; text-align: center; justify-content: center; width: 100%; }

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(10, 255, 138, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(10, 255, 138, 0.1);
  border: 1px solid rgba(10, 255, 138, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(10, 255, 138, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(10, 255, 138, 0); }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero-accent { color: var(--green); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 500;
}
.trust-icon { font-size: 1.1rem; }

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Steps grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition);
}
.step-card:hover { border-color: rgba(10, 255, 138, 0.2); }

.step-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 255, 138, 0.1);
  color: var(--green);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.benefit-card:hover {
  border-color: rgba(10, 255, 138, 0.15);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Price cap section */
.pricecap-section {
  padding: 3rem 0;
}

.pricecap-card {
  background: linear-gradient(135deg, rgba(10, 255, 138, 0.08) 0%, rgba(10, 255, 138, 0.02) 100%);
  border: 1px solid rgba(10, 255, 138, 0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.pricecap-label {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(10, 255, 138, 0.15);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.pricecap-card h2 { margin-bottom: 1rem; }
.pricecap-card p { max-width: 640px; margin: 0 auto 1.5rem; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-bright);
  font-size: 1.05rem;
  list-style: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--slate);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--green);
}
.faq-item summary:hover { color: var(--green); }

.faq-answer {
  padding-bottom: 1.25rem;
  color: var(--text);
}

/* Final CTA */
.final-cta {
  padding: 5rem 0;
}
.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}
.final-cta p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ============================================
   Page Content (single pages)
   ============================================ */

.page-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

.content-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.content-wrap h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.content-wrap h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-wrap h3 {
  margin-top: 1.5rem;
}

.content-wrap hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 2.5rem 0;
}

.content-wrap strong { color: var(--text-bright); }

.content-wrap .btn {
  margin: 1.5rem 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 72px; /* room for sticky cta */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-desc {
  color: var(--slate);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--text-bright);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: var(--slate);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.footer-affiliate {
  font-size: 0.85rem;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--slate);
}
.footer-updated {
  font-size: 0.75rem;
  color: var(--slate);
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* ============================================
   Sticky CTA
   ============================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(10, 255, 138, 0.15);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-cta-text strong {
  color: var(--text-bright);
  display: block;
  font-size: 0.95rem;
}
.sticky-cta-text span {
  color: var(--slate);
  font-size: 0.82rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .main-nav, .btn-header { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.75rem; }
  
  .section { padding: 3rem 0; }
  .pricecap-card { padding: 2rem 1.5rem; }
  
  .sticky-cta-text span { display: none; }
  .sticky-cta-inner { gap: 1rem; }
  
  .page-hero { padding: 3rem 0 1.5rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .btn-outline.btn-lg { width: auto; }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1,
.hero-badge,
.hero-sub,
.hero-actions,
.hero-trust {
  animation: fadeInUp 0.6s ease both;
}
.hero-badge { animation-delay: 0s; }
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }
.hero-trust { animation-delay: 0.4s; }
