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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111827;
  background: white;
  line-height: 1.6;
}

/* Color Variables */
:root {
  --primary-50: #D1FAE5;
  --primary-100: #A7F3D0;
  --primary-500: #10B981;
  --primary-600: #059669;
  --primary-700: #047857;
  --accent-50: #CFFAFE;
  --accent-100: #A5F3FC;
  --accent-600: #0891B2;
  --success-600: #059669;
  --danger-600: #DC2626;
  --gray-50: #F9FAFB;
  --gray-200: #E5E7EB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #FFFFFF;
}

/* Background Overlay */
.background-overlay {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(209, 250, 229, 0.5), rgba(255, 255, 255, 1), rgba(207, 250, 254, 0.3));
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.blob-1 {
  top: 0;
  left: -160px;
  width: 384px;
  height: 384px;
  background: var(--primary-100);
  animation: blob-animate-1 20s ease-in-out infinite;
}

.blob-2 {
  top: 33.333%;
  right: -160px;
  width: 384px;
  height: 384px;
  background: var(--accent-100);
  animation: blob-animate-2 25s ease-in-out infinite;
}

@keyframes blob-animate-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, 150px) scale(1.2);
  }
  66% {
    transform: translate(-100px, -150px) scale(0.9);
  }
}

@keyframes blob-animate-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-100px, -150px) scale(1.2);
  }
  66% {
    transform: translate(100px, 150px) scale(0.9);
  }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(24px);
  transition: all 0.3s;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(209, 250, 229, 0.3));
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
}

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

/* Hero Section */
.hero-section {
  padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 6rem 1.5rem;
  }
}

.hero-content {
  text-align: center;
  margin-bottom: 5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(to right, var(--primary-50), var(--accent-50));
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 9999px;
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.icon-small {
  width: 1rem;
  height: 1rem;
  color: var(--primary-600);
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, var(--primary-600), var(--accent-600), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.75;
  font-weight: 300;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

/* Email Form */
.email-form-container {
  margin-bottom: 4rem;
}

.email-form {
  max-width: 32rem;
  margin: 0 auto;
}

.email-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .email-form-wrapper {
    flex-direction: row;
  }
}

.email-input-wrapper {
  flex: 1;
  position: relative;
}

.email-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-500);
  pointer-events: none;
  z-index: 10;
}

.email-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--white);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  color: var(--gray-900);
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.email-input::placeholder {
  color: var(--gray-500);
}

.email-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-500);
  border-color: transparent;
}

.email-submit-btn {
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--primary-500), var(--accent-600));
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.email-submit-btn:hover:not(:disabled) {
  background: linear-gradient(to right, var(--primary-600), var(--accent-600));
  transform: scale(1.05);
}

.email-submit-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.email-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 1.5rem;
}

.form-message.success {
  color: var(--success-600);
}

.form-message.error {
  color: var(--danger-600);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-600);
}

/* Features Section */
.features-section {
  margin-bottom: 8rem;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.primary-text {
  color: var(--primary-600);
  display: block;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.15s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-0.5rem) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.05);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(to bottom right, var(--primary-500), var(--accent-600));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
  transition: transform 0.15s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  color: var(--white);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.75;
}

/* Pricing Section */
.pricing-section {
  margin-bottom: 8rem;
  padding: 4rem 0;
  position: relative;
}

.pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(209, 250, 229, 0.3), transparent);
  z-index: -1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.15s;
}

.pricing-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.75rem) scale(1.02);
}

.pricing-card-popular {
  border: 2px solid var(--primary-500);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
  transform: scale(1.05);
}

.pricing-card-popular:hover {
  transform: translateY(-0.75rem) scale(1.07);
}

.pricing-badge {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(to right, var(--primary-500), var(--accent-600));
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

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

.pricing-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.pricing-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.75;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.billing-label {
  font-size: 0.875rem;
}

.billing-label.active {
  color: var(--gray-900);
  font-weight: 600;
}

.billing-label:not(.active) {
  color: var(--gray-500);
}

.toggle-switch {
  position: relative;
  width: 3.5rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0.125rem;
}

.toggle-switch.active {
  background: linear-gradient(to right, var(--primary-500), var(--accent-600));
}

.toggle-slider {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.5rem;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.toggle-switch.active .toggle-slider {
  transform: translateX(1.75rem);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
}

.price-period {
  color: var(--gray-600);
  margin-left: 0.5rem;
  font-size: 1.125rem;
}

.annual-discount {
  color: var(--success-600);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.annual-monthly {
  color: var(--gray-700);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.pricing-feature {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, var(--primary-500), var(--accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.check-icon svg {
  color: var(--white);
}

.pricing-feature span {
  color: var(--gray-700);
  line-height: 1.75;
}

/* CTA Section */
.cta-section {
  position: relative;
  margin-bottom: 6rem;
}

.cta-content {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--primary-600), var(--accent-600));
  border-radius: 1.5rem;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.3);
}

@media (min-width: 768px) {
  .cta-content {
    padding: 4rem 1rem;
  }
}

.cta-content::before,
.cta-content::after {
  content: '';
  position: absolute;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-content::before {
  top: 0;
  right: 0;
  margin-right: -8rem;
  margin-top: -8rem;
}

.cta-content::after {
  bottom: 0;
  left: 0;
  margin-left: -8rem;
  margin-bottom: -8rem;
}

.cta-icon {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cta-icon svg {
  color: var(--white);
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-form-container {
  max-width: 28rem;
  margin: 0 auto;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--gray-200);
  background: rgba(249, 250, 251, 0.5);
  padding: 3rem 1.5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
}

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

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
  }
}

.footer-link {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copyright {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Privacy Page Styles */
.privacy-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.privacy-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 8rem;
}

.privacy-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to bottom right, var(--primary-500), var(--accent-600));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.privacy-icon svg {
  color: var(--white);
}

.privacy-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .privacy-title {
    font-size: 3.75rem;
  }
}

.privacy-date {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.privacy-content {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .privacy-content {
    padding: 3rem;
  }
}

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

.privacy-section-border {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.privacy-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-600);
}

.privacy-text {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.privacy-subsection {
  margin-bottom: 1.5rem;
}

.privacy-subsection-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.privacy-list {
  list-style: disc;
  list-style-position: inside;
  color: var(--gray-700);
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.privacy-list li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.contact-box {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 1rem;
}

.contact-title {
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-text {
  color: var(--gray-700);
  margin-top: 0.5rem;
}

.contact-link {
  color: var(--primary-600);
  text-decoration: underline;
}

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

.privacy-footer-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
}

.privacy-back {
  margin-top: 3rem;
  text-align: center;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, var(--primary-600), var(--accent-600));
  color: var(--white);
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.back-button:hover {
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

/* Smooth Scroll */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-card-popular {
    transform: scale(1);
  }
  
  .pricing-card-popular:hover {
    transform: translateY(-0.75rem) scale(1.02);
  }
}

