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

:root {
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --primary-light: #ccfbf1;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #2d3748;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: #334155;
  --border-light: #475569;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

/* Content Visibility Toggle */
.simple-content {
  display: block;
}

.indepth-content {
  display: none;
}

.simple-only {
  display: inline;
}

.indepth-only {
  display: none;
}

body.in-depth .simple-content {
  display: none;
}

body.in-depth .indepth-content {
  display: block;
}

body.in-depth .simple-only {
  display: none;
}

body.in-depth .indepth-only {
  display: inline;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.navbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Toggle Switch */
.toggle-container {
  display: flex;
  align-items: center;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.toggle-input {
  display: none;
}

.toggle-slider {
  width: 48px;
  height: 28px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  position: relative;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--text-secondary);
  border-radius: 12px;
  top: 2px;
  left: 2px;
  transition: var(--transition);
}

.toggle-input:checked + .toggle-text + .toggle-slider {
  background: var(--primary);
  border-color: var(--primary);
}

.toggle-input:checked + .toggle-text + .toggle-slider::before {
  left: 24px;
  background: var(--bg-primary);
}

.toggle-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 45px;
}

.indepth-only {
  text-align: right;
}

.toggle-input:checked ~ .toggle-text {
  color: var(--primary);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(20, 184, 166, 0.1);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.navbar-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.hero-visual {
  margin: 3rem 0;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.emoji-correlation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.emoji-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat {
  animation: fadeInUp 0.6s ease-out backwards;
}

.stat:nth-child(1) {
  animation-delay: 0.1s;
}

.stat:nth-child(2) {
  animation-delay: 0.2s;
}

.stat:nth-child(3) {
  animation-delay: 0.3s;
}

.stat:nth-child(4) {
  animation-delay: 0.4s;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* Meet Buddie Section */
.buddie-intro {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.buddie-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.buddie-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.buddie-description p {
  margin-bottom: 1rem;
}

.chat-example {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  max-width: 90%;
  word-wrap: break-word;
  animation: fadeIn 0.6s ease-out;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--bg-primary);
  border-radius: 8px 0 8px 8px;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 0 8px 8px 8px;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.05s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.15s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.25s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(7) {
  animation-delay: 0.35s;
}

.feature-card:nth-child(8) {
  animation-delay: 0.4s;
}

.feature-card:hover {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.05);
  transform: translateY(-8px);
}

.feature-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 220px;
  text-align: center;
  animation: fadeInUp 0.6s ease-out backwards;
}

.step:nth-child(1) {
  animation-delay: 0s;
}

.step:nth-child(3) {
  animation-delay: 0.15s;
}

.step:nth-child(5) {
  animation-delay: 0.3s;
}

.step:nth-child(7) {
  animation-delay: 0.45s;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}

.step-emoji {
  font-size: 2.5rem;
  margin: 1rem 0;
  display: block;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

/* Providers Section */
.providers {
  padding: 6rem 2rem;
}

.providers-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.providers-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.providers-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.providers-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.providers-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.checkmark {
  color: var(--success);
  font-weight: 700;
  font-size: 1.2rem;
}

.providers-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.report-preview {
  background: var(--bg-tertiary);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
}

.report-header {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.report-label {
  font-weight: 500;
}

.report-value {
  color: var(--primary);
  font-weight: 600;
}

/* Security Section */
.security {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.security-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.security-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out backwards;
}

.security-item:nth-child(1) {
  animation-delay: 0.05s;
}

.security-item:nth-child(2) {
  animation-delay: 0.1s;
}

.security-item:nth-child(3) {
  animation-delay: 0.15s;
}

.security-item:nth-child(4) {
  animation-delay: 0.2s;
}

.security-item:nth-child(5) {
  animation-delay: 0.25s;
}

.security-item:nth-child(6) {
  animation-delay: 0.3s;
}

.security-item:nth-child(7) {
  animation-delay: 0.35s;
}

.security-item:nth-child(8) {
  animation-delay: 0.4s;
}

.security-item:hover {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.05);
  transform: translateY(-4px);
}

.security-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.security-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.security-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* By The Numbers Section */
.by-numbers {
  padding: 6rem 2rem;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.number-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  animation: fadeInUp 0.6s ease-out backwards;
}

.number-card:nth-child(1) {
  animation-delay: 0.05s;
}

.number-card:nth-child(2) {
  animation-delay: 0.1s;
}

.number-card:nth-child(3) {
  animation-delay: 0.15s;
}

.number-card:nth-child(4) {
  animation-delay: 0.2s;
}

.number-card:nth-child(5) {
  animation-delay: 0.25s;
}

.number-card:nth-child(6) {
  animation-delay: 0.3s;
}

.number-card:nth-child(7) {
  animation-delay: 0.35s;
}

.number-card:nth-child(8) {
  animation-delay: 0.4s;
}

.big-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* CTA Section */
.cta-final {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-brand .logo-text {
  background: linear-gradient(135deg, var(--primary), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Scroll Animation */
.fade-in-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar-links {
    display: none;
  }

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

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

  .buddie-content,
  .providers-content {
    grid-template-columns: 1fr;
  }

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

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

  .navbar-right {
    gap: 1rem;
  }

  .navbar-cta {
    display: none;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1.05rem;
  }

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

  .btn-large {
    width: 100%;
    max-width: 300px;
  }

  .emoji-correlation {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

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

  .buddie-content {
    gap: 2rem;
  }

  .providers-content {
    gap: 2rem;
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .nav-links {
    display: none;
  }

  .toggle-label {
    gap: 0.5rem;
  }

  .toggle-text {
    font-size: 0.75rem;
    min-width: 35px;
  }
}

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

  .navbar-brand {
    font-size: 1.2rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .security-item {
    padding: 1.5rem;
  }

  .chat-example {
    padding: 1rem;
  }

  .chat-bubble {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .big-number {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .cta-final {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
