:root {
  --bg: #FFFBF5;
  --surface: #FFFFFF;
  --surface-warm: #FFF5EB;
  --primary: #FF6B35;
  --primary-dark: #E85D2A;
  --secondary: #FFD93D;
  --accent: #6C63FF;
  --teal: #2EC4B6;
  --coral: #FF8585;
  --pink: #FF6B9D;
  --text: #2D3047;
  --text-light: #4A5568;
  --muted: #718096;
  --border: #FFE4D4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  position: relative;
}

/* Colorful circles background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 5% 15%, rgba(255, 107, 53, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 95% 25%, rgba(255, 217, 61, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(108, 99, 255, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(46, 196, 182, 0.1) 0%, transparent 30%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--primary);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.7rem;
  color: var(--text);
}

h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--secondary);
}

/* Arrow alignment */
.arrow {
  display: inline-block;
  transform: translateY(-0.05em);
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 140px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes in hero */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 5%;
  width: 80px;
  height: 80px;
  background-image: url('logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '✨';
  position: absolute;
  top: 25%;
  right: 10%;
  font-size: 40px;
  opacity: 0.2;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-10deg); }
}

.hero h1 {
  margin-bottom: 28px;
  position: relative;
}

.tagline {
  font-size: 1.45rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

.hero-rule {
  width: 120px;
  height: 6px;
  background: var(--secondary);
  margin: 0 auto 48px;
  border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 44px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.btn-ghost {
  border: 3px solid var(--primary);
  color: var(--primary);
  background: transparent;
  box-shadow: 0 4px 0 var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--primary-dark);
}

.btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 var(--primary);
}

.btn-gold {
  background: var(--secondary);
  color: var(--text);
  border: none;
  box-shadow: 0 6px 0 #D4B52E;
}

.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 #D4B52E;
  color: var(--text);
}

.btn-gold:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #D4B52E;
}

/* Section dividers */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  gap: 12px;
}

.section-divider span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-divider span::before,
.section-divider span::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.section-divider span::before {
  background: var(--primary);
}

.section-divider span::after {
  background: var(--secondary);
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.section-divider::before {
  background: var(--teal);
}

.section-divider::after {
  background: var(--accent);
}

/* Sections */
section {
  padding: 100px 24px 120px;
  position: relative;
}

.alt-bg {
  background: var(--surface-warm);
}

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

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px dashed var(--coral);
  background: rgba(255, 133, 133, 0.1);
}

.lead-text {
  font-size: 1.35rem;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
  font-weight: 500;
}

/* Tooltip */
.tooltip-trigger {
  position: relative;
  cursor: help;
  color: var(--accent);
  font-size: 0.9em;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.tooltip-trigger:hover,
.tooltip-trigger:focus {
  color: var(--pink);
  transform: scale(1.2);
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--text);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 10px;
  box-shadow: 0 8px 25px rgba(45, 48, 71, 0.25);
}

.tooltip-trigger:hover .tooltip-text,
.tooltip-trigger:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 56px 0;
}

.grid-symmetric {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin: 56px 0;
}

@media (max-width: 900px) {
  .grid-symmetric {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  padding: 36px;
  border-radius: 24px;
  border: 3px solid var(--border);
  box-shadow: 0 8px 0 var(--border);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary);
}

.card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 16px 0 var(--border), 0 20px 40px rgba(255, 107, 53, 0.15);
}

.card ul {
  list-style: none;
}

.card li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  font-weight: 500;
}

.card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Feature box */
.feature-box {
  background: var(--surface);
  padding: 56px;
  border-radius: 32px;
  border: 4px solid var(--secondary);
  margin: 56px 0;
  box-shadow: 0 12px 0 rgba(255, 217, 61, 0.4);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '⭐';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.feature-highlight {
  font-size: 1.35rem;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--text);
}

.feature-highlight strong {
  color: var(--primary);
}

.pricing-display {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 3px dashed var(--border);
  text-align: center;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

.price-period {
  font-size: 1.5rem;
  font-weight: 600;
}

.price-note {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}

.subsection-title {
  text-align: center;
  margin: 72px 0 32px;
  color: var(--text);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 28px 0;
}

.feature-list li {
  padding: 16px 0;
  padding-left: 40px;
  position: relative;
  font-weight: 500;
  color: var(--text-light);
}

.feature-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.feature-list li strong {
  color: var(--text);
}

.feature-list.spaced li {
  padding: 20px 0 20px 40px;
}


/* Warning box */
.warning-box {
  background: #FFF5F5;
  padding: 36px 44px;
  border-radius: 20px;
  border: 3px solid var(--coral);
  margin: 56px 0;
  position: relative;
}


.warning-box h4 {
  color: var(--coral);
  margin-bottom: 20px;
  font-weight: 700;
}

.warning-items p {
  color: var(--text-light);
  padding: 10px 0 10px 28px;
  position: relative;
  font-weight: 500;
}

.warning-items p::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 800;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin: 48px 0;
  border-radius: 24px;
  border: 4px solid var(--secondary);
  box-shadow: 0 8px 0 rgba(255, 217, 61, 0.3);
}

/* Scroll hint gradient for mobile */
@media (max-width: 768px) {
  .table-wrapper {
    position: relative;
  }

  .table-wrapper::before,
  .table-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }

  .table-wrapper::before {
    left: 0;
    background: linear-gradient(to left, transparent, var(--surface));
    border-radius: 20px 0 0 20px;
  }

  .table-wrapper::after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--surface));
    border-radius: 0 20px 20px 0;
  }

  .table-wrapper.scrolled-left::before {
    opacity: 1;
  }

  .table-wrapper.scrolled-right::after {
    opacity: 1;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  padding: 24px;
  background: var(--surface-warm);
  border-bottom: 3px solid var(--border);
}

table td {
  padding: 22px 24px;
  border-bottom: 2px dashed var(--border);
  color: var(--text-light);
  font-weight: 500;
}

table tr {
  transition: all 0.2s ease;
}

table tr:hover {
  background: rgba(255, 217, 61, 0.1);
}

table .highlight-row {
  background: rgba(255, 107, 53, 0.1);
  position: relative;
}

table .highlight-row td {
  color: var(--text);
  font-weight: 700;
  padding-left: 40px;
}

table .highlight-row td:first-child {
  padding-left: 44px;
}

table .highlight-row td strong {
  color: var(--primary);
}

/* Process flow */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 72px 0;
  padding: 48px 0;
  position: relative;
}

.process-line {
  position: absolute;
  top: 34%;
  left: 10%;
  right: 10%;
  height: 6px;
  background: var(--secondary);
  z-index: 0;
  transform: translateY(-50%);
  border-radius: 3px;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 6px 0 var(--primary-dark);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 4px solid white;
}

.process-step:hover .process-number {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 10px 0 var(--primary-dark);
}

.process-label {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.process-time {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .process-flow {
    flex-direction: column;
    gap: 36px;
  }

  .process-line {
    display: none;
  }

}


/* Two column fit section */
.two-col-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin: 48px 0;
}

@media (max-width: 768px) {
  .two-col-asymmetric {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.fit-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--border);
}

.fit-title.good {
  color: var(--primary);
}

.fit-title.not {
  color: var(--muted);
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 14px 0;
  padding-left: 36px;
  position: relative;
  color: var(--text-light);
  font-weight: 500;
}

.check-list.good li::before {
  content: '✅';
  position: absolute;
  left: 0;
  font-size: 1em;
}

.check-list.not li::before {
  content: '❌';
  position: absolute;
  left: 0;
  font-size: 0.9em;
}

/* About section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-note {
  font-size: 1rem;
  margin-top: 32px;
  color: var(--muted);
  font-style: italic;
}

.founder-credit {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .founder-credit {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.founder-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  .founder-info {
    align-items: flex-start;
  }
}

.founder-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.founder-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.founder-link:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.founder-title {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

@media (max-width: 520px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.faq-item h4 {
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
}

.contact-note {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 48px;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: var(--bg);
  text-align: center;
  padding: 120px 24px;
}

.cta-section h2 {
  color: white;
  margin-bottom: 32px;
}

.cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.cta-text.highlight {
  color: white;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 48px;
}

.feature-list {
  text-align: left;
}

.pilot-box {
  background: white;
  padding: 48px;
  max-width: 600px;
  margin: 48px auto;
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--primary-dark);
}

.pilot-box h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 28px;
}

.pilot-box .feature-list li {
  color: var(--text-light);
}

.pilot-box .feature-list li::before {
  content: '—';
  color: var(--secondary);
}

/* Footer */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 56px 24px;
  text-align: center;
}

footer p {
  font-size: 1rem;
}

.footer-logo {
  width: 32px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-sub {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.6;
}

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

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards */
.grid-3 .card:nth-child(1),
.grid-symmetric .card:nth-child(1) { transition-delay: 0s; }
.grid-3 .card:nth-child(2),
.grid-symmetric .card:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .card:nth-child(3),
.grid-symmetric .card:nth-child(3) { transition-delay: 0.1s; }

.process-step:nth-child(2) { transition-delay: 0s; }
.process-step:nth-child(3) { transition-delay: 0.1s; }
.process-step:nth-child(4) { transition-delay: 0.1s; }
.process-step:nth-child(5) { transition-delay: 0.15s; }
.process-step:nth-child(6) { transition-delay: 0.2s; }

/* Hero animation on load */
.hero h1,
.hero .tagline,
.hero .hero-rule,
.hero .btn {
  animation: fadeInUp 0.8s ease forwards;
}

.hero .tagline { animation-delay: 0.1s; }
.hero .hero-rule { animation-delay: 0.2s; }
.hero .btn { animation-delay: 0.3s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 60px 20px 80px;
  }

  .hero {
    padding: 80px 20px 60px;
  }

  /* Fix logo positioning on mid-sized screens */
  .hero::before {
    width: 50px;
    height: 50px;
    top: 5px;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 17px;

    .card {
      padding: 24px 18px;
    }
  }

  .feature-box {
    padding: 32px 24px;
  }

  .pilot-box {
    padding: 32px 24px;
  }
}
