/* CSS Custom Properties */
:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-tertiary: #1e1e3a;
  --bg-quaternary: #181828;
  --bg-dark: #0f0f1a;
  --bg-card: #252545;
  --text-primary: #ffffff;
  --text-secondary: #b8bcc8;
  --text-muted: #8892b0;
  --text-inverse: #1a1a2e;
  --brand-primary: #8b5cf6;
  --brand-secondary: #7c3aed;
  --accent-teal: #14b8a6;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;
  --success: #10b981;
  --border: #3d4663;
  --border-light: #2a2d3e;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
  --radius: 8px;
  --radius-lg: 12px;
  --container-max: 1200px;
  --container-padding: 24px;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  min-height: 80px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-mini {
  color: var(--accent-teal);
  font-weight: 500;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-byline {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -2px;
  line-height: 1;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-teal));
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn-header {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: auto;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #14b8a6);
  color: white;
  box-shadow: var(--shadow);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, #0d9488);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: #0f0f1a;
  color: var(--text-primary);
  border: 1px solid #2a2d3e;
}

.btn-secondary:hover {
  background: #1a1a2e;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #141424 0%, #121b32 50%, #0a0a12 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-family: inherit;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  width: 100%;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Problem Section */
.problem {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 1rem;
  text-align: center;
}

.included .section-title,
.contact .section-title {
  white-space: nowrap;
}

.included .section-subtitle {
  white-space: nowrap;
}

.included .section-header {
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.problem-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.problem-item:last-of-type {
  margin-bottom: 1.5rem;
}

.problem-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.problem-content {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.problem-title {
  color: var(--text-primary);
  font-weight: 600;
}

.problem-callout {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin: 0;
  padding-top: 1rem;
}

/* Solution Section */
.solution {
  padding: 80px 0;
  background: var(--bg-tertiary);
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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


.solution-text .section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-align: left !important;
}

.solution-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.solution-features {
  list-style: none;
}

.solution-features li {
  display: flex;
  align-items: center;
  padding: 0.4rem 0;
  font-weight: 500;
}

.solution-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.25rem;
}

.solution-visual img {
  width: 100%;
  max-width: 1800px;
  height: auto;
  display: block;
}

/* Pricing Section - Cache Refresh 2000 */
.pricing {
  padding: 80px 0;
  background: linear-gradient(135deg, #2d1b14, #3d2417);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pricing-header {
  margin-bottom: 2.5rem;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.pricing-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin: 2.5rem 0;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features h3 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-green);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
  color: white;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.pricing-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* Timeline Section */
.included {
  padding: 80px 0;
  background: var(--bg-quaternary);
  position: relative;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-primary), var(--accent-teal));
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  width: 100%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: -21px;
  top: 1.5rem;
}

.timeline-item:nth-child(1)::before { background: var(--accent-teal); }
.timeline-item:nth-child(2)::before { background: var(--accent-green); }
.timeline-item:nth-child(3)::before { background: var(--brand-primary); }
.timeline-item:nth-child(4)::before { background: var(--accent-orange); }
.timeline-item:nth-child(5)::before { background: linear-gradient(135deg, var(--brand-primary), var(--accent-teal)); }

.timeline-item:last-child {
  margin-bottom: 2rem;
}

.timeline-day {
  background: transparent;
  color: var(--brand-primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  align-self: flex-start;
  min-width: 60px;
  text-align: left;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Day 1 - Phone icon (White/Light) */
.timeline-item:nth-child(1) .timeline-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Day 2-3 - Calendar icon (Teal) */
.timeline-item:nth-child(2) .timeline-icon {
  background: rgba(20, 184, 166, 0.2);
  color: var(--accent-teal);
}

/* Day 4-5 - Chart icon (Purple) */
.timeline-item:nth-child(3) .timeline-icon {
  background: rgba(139, 92, 246, 0.2);
  color: var(--brand-primary);
}

/* Day 6 - Refresh icon (Orange) */
.timeline-item:nth-child(4) .timeline-icon {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-orange);
}

/* Day 7 - Video icon (Green-Teal Gradient) */
.timeline-item:nth-child(5) .timeline-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
  color: var(--accent-green);
}

.timeline-content h3 {
  margin-bottom: 0;
  font-size: 1.375rem;
}

.timeline-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.timeline-benefit {
  color: var(--accent-green);
  font-weight: 500;
  font-style: normal;
  margin: 0;
}

.timeline-accent {
  color: var(--brand-primary);
}

.addon-note {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--accent-teal));
  color: white;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Result timeline item styling */
.timeline-result-item::before { 
  background: linear-gradient(135deg, var(--accent-green), var(--brand-primary)); 
}

.timeline-result-item .timeline-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--accent-green);
}

.timeline-result-item {
  border: 2px solid var(--accent-green);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(139, 92, 246, 0.05));
}

.timeline-result-item .timeline-day {
  background: var(--accent-green);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

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

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

.pricing-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.pricing-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-details {
  margin: 3rem 0;
  text-align: left;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.pricing-includes-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

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

.pricing-final-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.pricing-cta {
  margin-top: 2rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.contact .section-header {
  max-width: 800px;
}

.contact .section-subtitle {
  line-height: 1.5;
  font-size: 1.125rem;
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  background: #1a1a2e;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #4c3d6b;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--bg-dark);
  color: var(--text-primary);
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo .logo-text {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-copyright {
  color: var(--text-muted);
  margin: 0.5rem 0;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-subtitle {
    white-space: normal;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 1rem;
  }

  .timeline {
    padding-left: 25px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    width: calc(100% - 30px);
    margin-left: 0;
  }

  .timeline-item::before {
    left: -21px;
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .problem-container {
    padding: 1.5rem;
  }

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

  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-day {
    align-self: flex-start;
    width: fit-content;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .problem,
  .solution,
  .included,
  .contact {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }

  .hero {
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    white-space: normal;
    font-size: 0.875rem;
  }

  .included .section-title,
  .contact .section-title {
    white-space: normal;
    font-size: 1.5rem;
  }

  .contact .section-subtitle {
    font-size: 1rem;
  }

  .problem-item,
  .timeline-item {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
  }
}

/* Form Validation States */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
  border-color: #5d4e75;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
  border-color: var(--success);
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
