/* AI ASCENT Landing Page Styles - Final Version */

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

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111827;
  color: #ffffff;
  overflow-x: hidden;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, #c1ff72, #38b6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Styles */
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.1), rgba(56, 182, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 255, 114, 0.2);
  border-color: rgba(193, 255, 114, 0.3);
}

.nav-link.cta-nav {
  background: linear-gradient(135deg, #c1ff72, #38b6ff);
  color: #1a1a1a;
  font-weight: 700;
  border: none;
}

.nav-link.cta-nav:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px rgba(193, 255, 114, 0.4);
}

.nav-link-mobile {
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-link-mobile:hover {
  background: rgba(193, 255, 114, 0.1);
  padding-left: 24px;
}

.nav-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 60px;
  position: relative;
}

.bg-gradient-radial {
  background: radial-gradient(circle at center, rgba(56, 182, 255, 0.15), transparent 70%);
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c1ff72, #38b6ff);
  color: #1a1a1a;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(193, 255, 114, 0.3);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(193, 255, 114, 0.5);
}

.cta-button:active {
  transform: translateY(-1px) scale(1.03);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(193, 255, 114, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* Stat Cards */
.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(193, 255, 114, 0.15);
  border-color: rgba(193, 255, 114, 0.3);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 2.3rem;
  font-weight: 800;
  background: linear-gradient(to right, #c1ff72, #38b6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Problem Cards */
.problem-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Solution Overview */
.solution-overview-card {
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.05), rgba(56, 182, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Journey Path - Horizontal Layout (NO ARROWS) */
.journey-step-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.journey-step-horizontal:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: rgba(193, 255, 114, 0.3);
}

.journey-step-horizontal .journey-number {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.journey-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c1ff72, #38b6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  flex-shrink: 0;
}

/* Prose Content for Narrative Text */
.prose-content {
  line-height: 1.8;
  font-size: 1rem;
}

.prose-content p {
  margin-bottom: 1rem;
}

.prose-content p:last-child {
  margin-bottom: 0;
}

/* Simplified Investment Box - NEW DESIGN */
.investment-box-simple {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.investment-box-simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(193, 255, 114, 0.1);
  border-color: rgba(193, 255, 114, 0.2);
}

.investment-box-ultimate {
  border: 2px solid rgba(193, 255, 114, 0.3);
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.08), rgba(56, 182, 255, 0.08));
}

/* Stage Cards */
.stage-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 3rem;
  border-radius: 30px;
  margin-bottom: 3rem;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.stage-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(193, 255, 114, 0.2);
  border-color: rgba(193, 255, 114, 0.3);
}

.stage-card-ultimate {
  border: 2px solid rgba(193, 255, 114, 0.3);
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.08), rgba(56, 182, 255, 0.08));
}

.stage-header {
  text-align: center;
  margin-bottom: 2rem;
}

.stage-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.2), rgba(56, 182, 255, 0.2));
  color: #c1ff72;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(193, 255, 114, 0.3);
  margin-bottom: 1rem;
}

.stage-badge-ultimate {
  background: linear-gradient(135deg, #c1ff72, #38b6ff);
  color: #1a1a1a;
  border: none;
}

.stage-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #c1ff72, #38b6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stage-subtitle {
  font-size: 1.2rem;
  color: #9ca3af;
  font-style: italic;
}

/* Stage Outcomes */
.stage-outcome {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(193, 255, 114, 0.1);
  border-left: 4px solid #c1ff72;
  border-radius: 10px;
  color: #e5e7eb;
}

.stage-outcome-ultimate {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.15), rgba(56, 182, 255, 0.15));
  border: 2px solid #c1ff72;
  border-radius: 20px;
}

/* Investment Table */
.investment-table-container {
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.investment-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

.investment-table thead {
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.2), rgba(56, 182, 255, 0.2));
}

.investment-table th {
  padding: 1.5rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid rgba(193, 255, 114, 0.3);
}

.investment-table td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.investment-table tbody tr {
  transition: all 0.3s ease;
}

.investment-table tbody tr:hover {
  background: rgba(193, 255, 114, 0.05);
}

.total-row {
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.15), rgba(56, 182, 255, 0.15));
  font-weight: 700;
}

.total-row td {
  border-bottom: none;
  border-top: 2px solid rgba(193, 255, 114, 0.5);
}

/* ROI Cards */
.roi-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.4s ease;
}

.roi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(193, 255, 114, 0.15);
  border-color: rgba(193, 255, 114, 0.3);
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(193, 255, 114, 0.08), rgba(56, 182, 255, 0.08));
  border: 2px solid rgba(193, 255, 114, 0.2);
  backdrop-filter: blur(8px);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Contact Form */
.contact-form-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#form-container {
  transition: all 0.3s ease;
}

#form-success {
  transition: all 0.5s ease;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: #c1ff72;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(193, 255, 114, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input option {
  background: #1f2937;
  color: white;
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-stage {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-stage.animate {
  animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-stage.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 160px;
    padding-bottom: 40px;
    min-height: auto;
  }
  
  h1 {
    font-size: 2.5rem !important;
  }
  
  .stage-card {
    padding: 1.5rem;
  }
  
  .stage-title {
    font-size: 1.5rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .investment-table {
    font-size: 0.85rem;
  }
  
  .investment-table th,
  .investment-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .journey-step-horizontal {
    padding: 1rem;
  }
  
  .journey-step-horizontal .journey-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .cta-box {
    padding: 1.5rem;
  }
  
  .contact-form-box {
    padding: 1.5rem;
  }

  .prose-content {
    font-size: 0.95rem;
  }

  .investment-box-simple {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 180px;
  }
}

@media (max-width: 640px) {
  .cta-button,
  .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .problem-card {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .nav-link,
  footer,
  .cta-button,
  .secondary-button {
    display: none;
  }
  
  .stage-card,
  .stat-card,
  .problem-card {
    page-break-inside: avoid;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #c1ff72;
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background: rgba(193, 255, 114, 0.3);
  color: white;
}

::-moz-selection {
  background: rgba(193, 255, 114, 0.3);
  color: white;
}
