/* Base and Reset */
:root {
  --color-green: #0d9488; /* Accent teal/green */
  --color-green-light: #ccfbf1;
  --color-dark: #0f172a;
  --color-gray-dark: #334155;
  --color-gray: #64748b;
  --color-gray-light: #f8fafc;
  --color-white: #ffffff;
  --color-bg: #f8fafc; /* light background */
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-gray-dark);
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(204, 251, 241, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 242, 254, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(204, 251, 241, 0.3) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.text-green {
  color: var(--color-green);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-green-light);
  color: var(--color-green);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 15px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-gray-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-green);
}

.btn-white:hover {
  background-color: var(--color-gray-light);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo a {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--color-gray-dark);
}

.nav-links a:hover {
  color: var(--color-green);
}

.nav-link-btn {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 32px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-gray);
}

.trust-line svg {
  color: var(--color-green);
}

.hero-image {
  flex: 1;
}

.image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--color-white);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Problem Section */
.problem-section {
  padding: 100px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem-intro h2 {
  font-size: 40px;
  margin-bottom: 24px;
}

.problem-intro p {
  font-size: 18px;
  color: var(--color-gray);
}

.problem-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
}

.problem-icon {
  font-size: 24px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--color-gray);
}

/* Fail Section */
.fail-section {
  padding: 100px 0;
  text-align: center;
}

.fail-section .section-header {
  margin-bottom: 0;
}

/* Features */
.feature-section {
  padding: 100px 0;
}

.bg-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
}

.feature-container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-container.row-reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.feature-content p {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 32px;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--color-dark);
}

.check-icon {
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-image {
  flex: 1.2;
}

/* How it works */
.how-it-works-section {
  padding: 100px 0;
  background-color: var(--color-white);
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--color-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--color-bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--color-green-light);
  color: var(--color-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--color-gray);
  font-size: 15px;
}

/* Security */
.security-section {
  padding: 120px 0;
  text-align: center;
}

.security-container {
  max-width: 800px;
}

.security-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--color-dark);
  margin-bottom: 32px;
}

.security-section h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.security-section p {
  font-size: 18px;
  color: var(--color-gray);
}

/* CTA */
.cta-section {
  padding: 60px 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-green), #047857);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: var(--color-white);
  box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.3), 0 10px 10px -5px rgba(13, 148, 136, 0.1);
}

.cta-card h2 {
  color: var(--color-white);
  font-size: 40px;
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.footer {
  background-color: var(--color-white);
  padding: 60px 0 40px;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--color-gray);
  font-size: 14px;
}

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

.footer-copyright {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 16px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-container,
  .feature-container,
  .feature-container.row-reverse {
    flex-direction: column;
    gap: 48px;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image, .feature-image {
    width: 100%;
  }

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

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .subtitle {
    font-size: 16px;
    max-width: 100%;
  }

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

  .btn-large {
    width: 100%;
  }

  .problem-points {
    grid-template-columns: 1fr;
  }

  .feature-content h2,
  .section-header h2,
  .security-section h2,
  .cta-card h2 {
    font-size: 28px;
  }

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

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

  /* Mobile Nav */
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-cta {
    display: none;
  }

  .nav-link-btn {
    display: inline-block;
    background: var(--color-dark);
    color: var(--color-white) !important;
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
  }
}
