/* ═══════════════════════════════════════════════
   LAYOUT
   Grid systems, sections, and page-level layouts
═══════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Radial glow background */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -25%;
  width: 90%;
  height: 140%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 110px);
  line-height: 0.92;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero h1 .strike {
  position: relative;
  color: var(--danger);
}

.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 5px;
  background: var(--danger);
  transform: rotate(-1.5deg);
}

.hero-description {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s;
}

.hero-note span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
}

/* ─────────────────────────────────────────────
   CALCULATOR
───────────────────────────────────────────── */
.calculator {
  padding: 120px 0;
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.calculator::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.calc-card {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.calc-header {
  text-align: center;
  margin-bottom: 56px;
}

.calc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  background: transparent;
}

.calc-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
  line-height: 1.1;
}

.calc-header h2 em {
  color: var(--accent);
  font-style: italic;
}

.calc-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.calc-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

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

.calc-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.calc-field-input {
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.calc-field-input:focus-within {
  border-color: var(--accent);
}

.calc-field input {
  width: 100%;
  background: transparent;
  border: none;
  font-family: 'Instrument Serif', serif;
  font-size: 42px;
  color: var(--text-primary);
  text-align: center;
  outline: none;
}

.calc-field input::placeholder {
  color: var(--text-muted);
}

/* Hide number input spinners */
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-field input[type=number] {
  -moz-appearance: textfield;
}

.calc-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0 32px;
}

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

.calc-result-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.calc-result-value {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(64px, 12vw, 100px);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.calc-result-value .currency {
  font-size: 0.5em;
  color: var(--accent);
  vertical-align: top;
  margin-right: -8px;
}

.calc-result-note {
  font-size: 14px;
  color: var(--text-secondary);
}

.calc-result-note strong {
  color: var(--accent);
}

.calc-cta {
  margin-top: 40px;
  text-align: center;
}

.calc-cta .btn {
  background: var(--accent);
  color: var(--bg-primary);
}

.calc-cta .btn:hover {
  background: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 255, 0, 0.2);
}

/* ─────────────────────────────────────────────
   STATS
───────────────────────────────────────────── */
.stats {
  padding: 72px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   INDUSTRIES GRID
───────────────────────────────────────────── */
.industries {
  background: var(--bg-primary);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

/* ─────────────────────────────────────────────
   SYSTEMS (How It Works)
───────────────────────────────────────────── */
.systems {
  background: var(--bg-subtle);
}

.systems::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* ─────────────────────────────────────────────
   PRICING
───────────────────────────────────────────── */
.pricing {
  background: var(--bg-primary);
}

.pricing-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.price-card {
  padding: 72px 56px;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
}

.price-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 10px 22px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.price-amount {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(72px, 14vw, 140px);
  line-height: 0.9;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.price-amount span {
  font-size: 0.32em;
  color: var(--text-secondary);
}

.price-period {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.price-setup {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.price-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.value-list {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 36px 44px;
}

.value-list-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.value-list-header h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.value-item:last-child {
  border-bottom: none;
}

.value-item:hover {
  padding-left: 8px;
}

.value-item::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.value-item p {
  font-size: 15px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   GUARANTEE
───────────────────────────────────────────── */
.guarantee {
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.04) 0%, var(--bg-subtle) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guarantee-badge {
  text-align: center;
  margin-bottom: 56px;
}

.guarantee-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.guarantee-badge h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testimonials {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq {
  background: var(--bg-subtle);
}

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-info > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details li span:first-child {
  font-size: 20px;
}

/* ─────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────── */
.final-cta {
  padding: 160px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.final-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  margin-bottom: 22px;
}

.final-cta h2 em {
  font-style: italic;
  color: var(--accent);
}

.final-cta-description {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.binary-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.binary-option {
  padding: 44px;
  text-align: left;
}

.binary-option.negative {
  background: var(--danger-glow);
  border: 1px solid rgba(255, 77, 77, 0.25);
}

.binary-option.positive {
  background: var(--accent-glow);
  border: 1px solid var(--accent);
}

.binary-option h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  margin-bottom: 22px;
}

.binary-option.negative h3 {
  color: var(--danger);
}

.binary-option.positive h3 {
  color: var(--accent);
}

.binary-option ul {
  list-style: none;
  margin-bottom: 28px;
}

.binary-option ul li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.binary-option.negative ul li::before {
  content: '×';
  font-size: 16px;
  color: var(--danger);
}

.binary-option.positive ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--success);
}

.final-cta-button {
  text-align: center;
}

.final-cta-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
}
