@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* CloakID Brand Colors - Adjusted for comfort */
  --calm-aqua: #88F5FF;
  --light-aqua: #5DE5FF;
  --deep-teal: #007D91;
  --vibrant-green: #00E676;
  
  /* Toned down for actual use */
  --primary-color: #1BA3C6; /* Softer teal-blue */
  --primary-light: #4FC3E0; /* Lighter variant */
  --primary-dark: #007D91; /* Deep Teal - accent only */
  --accent-green: #00C853; /* Slightly deeper green */
  
  /* More subtle gradients */
  --primary-gradient: linear-gradient(135deg, #4FC3E0 0%, #1BA3C6 100%);
  --secondary-gradient: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
  --accent-gradient: linear-gradient(135deg, #1BA3C6 0%, #007D91 100%);
  --hero-gradient: linear-gradient(180deg, rgba(79, 195, 224, 0.08) 0%, rgba(27, 163, 198, 0.05) 100%);
  
  /* Base Colors */
  --dark-bg: #0a0a0a;
  --dark-surface: #1a1a1a;
  --light-surface: #f8fafc;
  --text-primary: #ffffff;
  --text-secondary: #64748b;
  --text-dark: #0f172a;
  --border-light: rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(27, 163, 198, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  background: #fafbfc;
  overflow: hidden;
  padding: 100px 0 40px;
}


@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-mascot {
  margin: 0 auto 0.5rem;
  max-width: 140px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-mascot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out;
}

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

.subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #64748b;
  margin-bottom: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(27, 163, 198, 0.3);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 163, 198, 0.4);
  filter: brightness(1.1);
}

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

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--primary-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-secondary:hover {
  background: var(--primary-gradient);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 163, 198, 0.3);
}

.btn-accent {
  background: var(--accent-green);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
  filter: brightness(1.1);
}

/* Sections */
.section {
  padding: 3rem 0;
  position: relative;
}


.section.bg-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}



.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

.card:hover .icon {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(27, 163, 198, 0.05);
}

.icon {
  width: 56px;
  height: 56px;
  background: transparent;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 24px;
  position: relative;
  transition: all 0.3s ease;
  color: #6b7280;
}


/* Feature Lists */
.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: #4b5563;
}

.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-list li::after {
  content: '✓';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}

/* Coming Soon Badge */
.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Step Numbers */
.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(27, 163, 198, 0.3);
}

/* CTA Section */
.cta-section {
  background: var(--primary-gradient);
  color: white;
  padding: 5rem 3rem;
  text-align: center;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(27, 163, 198, 0.2);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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


.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  position: relative;
}

.cta-section .btn {
  background: white;
  color: var(--deep-teal);
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

/* Footer */
footer {
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #64748b;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 20px;
  margin-top: 60px;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #4b5563;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  color: #4b5563;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-left: 4px solid;
  border-image: var(--primary-gradient) 1;
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              var(--primary-gradient) border-box;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(27, 163, 198, 0.15);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 1.5rem 0;
}

.price-period {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info p {
  margin-bottom: 1rem;
  color: #4b5563;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 3rem;
    gap: 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 90px 0 40px;
  }

  .section {
    padding: 2rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-section {
    padding: 3rem 2rem;
    border-radius: 24px;
  }

  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem;
  }
}

/* Loading Animation */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loading {
  background: var(--primary-gradient);
  background-size: 400% 400%;
  animation: gradient-shift 3s ease infinite;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}



/* Beta Signup Form */
.beta-signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.beta-signup-form .form-row {
  display: flex;
  gap: 0.75rem;
}

.beta-signup-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
  min-height: 70px;
}

.beta-signup-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(27, 163, 198, 0.1);
}

.beta-signup-form textarea::placeholder {
  color: #9ca3af;
}

/* Beta notice */
.beta-notice {
  background: linear-gradient(135deg, rgba(27, 163, 198, 0.08) 0%, rgba(0, 125, 145, 0.08) 100%);
  border: 1px solid rgba(27, 163, 198, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.35s both;
}

.beta-notice p {
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.beta-signup-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 100px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Honeypot field - hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.beta-signup-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(27, 163, 198, 0.1);
}

.beta-signup-form button {
  flex-shrink: 0;
}

.beta-signup-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.beta-microcopy {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.beta-success {
  display: none;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.beta-success p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin: 0;
}

.success-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  background: var(--accent-green);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.3);
}

@media (max-width: 768px) {
  .beta-signup-form {
    flex-direction: column;
    max-width: 100%;
  }

  .beta-signup-form input,
  .beta-signup-form button {
    width: 100%;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gradient);
}

/* Leak Tracker - Experiment Status */
.experiment-status {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.experiment-status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.experiment-status-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.experiment-status-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Leak Tracker - Table */
.tracker-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tracker-table th {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tracker-table td {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  color: #4b5563;
}

.tracker-table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.tracker-table tbody tr:hover {
  background: rgba(27, 163, 198, 0.04);
}

/* Leak Tracker - Status Badges */
.status-monitoring {
  display: inline-block;
  background: rgba(148, 163, 184, 0.15);
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
}

.status-active {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
}

.status-leaked {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
}

/* Leak Tracker - Result Bars */
.result-bar-container {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
}

.result-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 100px;
  min-width: 0;
  transition: width 0.5s ease;
}

@media (max-width: 768px) {
  .experiment-status {
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .experiment-status-item {
    min-width: 40%;
  }
}