/* ============================================================
   OpenIvan Landing Page — style.css
   Mobile-first, organized, clean
   ============================================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #08080f;
  color: #e8e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: #0d0d1a;
}

/* ── Typography ── */
.heading-xl {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
}

.heading-lg {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
}

.heading-md {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #9999b8;
  line-height: 1.7;
}

.text-accent {
  color: #00d4ff;
}

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

/* ── Colors & Tags ── */
.tag {
  display: inline-block;
  background: rgba(0, 212, 255, 0.12);
  color: #00d4ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  margin-bottom: 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  color: #000;
  padding: 14px 28px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 13px 27px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(8, 8, 15, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 24px;
}

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

.nav__logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav__logo span {
  color: #00d4ff;
}

.nav__ctas {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ── HERO ── */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 65%);
}

.hero__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__headline {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #9999b8;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero__disclaimer {
  font-size: 0.8rem;
  color: #555577;
}

/* ── VSL CONTAINER ── */
.vsl-section {
  padding: 60px 0 80px;
}

.vsl-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #0d0d1a;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.vsl-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 12px;
}

.vsl-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.vsl-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.vsl-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #555577;
  margin-top: 14px;
}

/* ── SOCIAL PROOF STRIP ── */
.proof-strip {
  padding: 40px 0;
  background: #0d0d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.proof-stat {
  text-align: center;
  min-width: 120px;
}

.proof-stat__number {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.proof-stat__number span {
  color: #00d4ff;
}

.proof-stat__label {
  font-size: 0.8rem;
  color: #666688;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── PROBLEM SECTION ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.problem-card {
  background: #0d0d1a;
  border: 1px solid rgba(255, 80, 80, 0.15);
  border-radius: 12px;
  padding: 28px;
}

.problem-card__icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.problem-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.problem-card__text {
  font-size: 0.9rem;
  color: #7777a0;
  line-height: 1.6;
}

/* ── SOLUTION SECTION ── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.solution-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 100, 200, 0.05) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.solution-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-4px);
}

.solution-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.solution-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.solution-card__text {
  font-size: 0.9rem;
  color: #7777a0;
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: #0d0d1a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 28px;
}

.testimonial-card__stars {
  color: #f5c542;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: #cccce0;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #0055ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: #666688;
}

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 80, 200, 0.08) 100%);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-block__headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-block__subtext {
  font-size: 1rem;
  color: #9999b8;
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-block__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-block__note {
  font-size: 0.8rem;
  color: #444466;
  margin-top: 20px;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.faq-item summary {
  padding: 20px 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ddddf0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: #00d4ff;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 0.9rem;
  color: #7777a0;
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ── FOOTER ── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.footer__logo span {
  color: #00d4ff;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  font-size: 0.85rem;
  color: #666688;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #00d4ff;
}

.footer__copy {
  font-size: 0.8rem;
  color: #444466;
  width: 100%;
  margin-top: 24px;
}

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 0;
}

.section-header .subtext {
  max-width: 560px;
  margin: 14px auto 0;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .nav__ctas .btn-secondary {
    display: inline-flex;
  }

  .section {
    padding: 100px 0;
  }

  .proof-strip__inner {
    gap: 60px;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .nav {
    padding: 0 40px;
  }

  .section {
    padding: 120px 0;
  }
}

/* Small mobile: max 480px */
@media (max-width: 480px) {
  .nav__ctas .btn-secondary {
    display: none;
  }

  .cta-block {
    padding: 40px 24px;
  }

  .hero {
    padding-top: 100px;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 14px 28px;
  }
}
