/* ==================================================
   GAPE Landing Page - Clean Professional Design
   ================================================== */

/* Layout */
body {
  padding-top: var(--height-header);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-block;
  white-space: nowrap !important;
}

.logo-highlight {
  background: linear-gradient(135deg, var(--gape-green) 0%, var(--gape-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  white-space: nowrap !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  white-space: nowrap !important;
}

.nav-links a:not(.btn):hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-primary) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--gape-green);
  top: -100px;
  right: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--gape-cyan);
  bottom: -100px;
  left: -100px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--gape-green);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--gape-green) 0%, var(--gape-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border-primary);
}

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

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gape-green) 0%, var(--gape-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 60px 0;
}

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

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.08), rgba(0, 217, 255, 0.08));
  border: 1px solid var(--gape-green);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gape-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover {
  border-color: var(--gape-green);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 255, 65, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--gape-green);
  stroke-width: 1.5;
}

.feature-box h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Checks Section */
.checks-section {
  background: var(--bg-secondary);
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.check-box {
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.check-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gape-green) 0%, var(--gape-cyan) 100%);
  border-radius: 1rem 0 0 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.check-box:hover {
  border-color: var(--gape-green);
  transform: translateX(6px);
}

.check-box:hover::before {
  opacity: 1;
}

.check-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, var(--gape-green) 0%, var(--gape-cyan) 100%);
  color: white;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.check-box h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
}

.check-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

/* CTA Section */
.cta-section {
  background: var(--bg-primary);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gape-green) 0%, var(--gape-cyan) 100%);
}

.cta-box h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.cta-box p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  padding: 3rem 0 2rem;
}

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

.footer-brand {
  color: var(--text-secondary);
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-links {
  display: contents;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gape-green);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-primary);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .header-nav {
    height: 70px;
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 0.875rem;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checks-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-box {
    padding: 3.5rem 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-links a:not(.btn):not(#theme-toggle) {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}
