:root {
  --bg: #0a0f1e;
  --bg-soft: #0d1426;
  --surface: rgba(255, 255, 250, 0.06);
  --card: rgba(255, 255, 250, 0.08);
  --text: #e8eef9;
  --muted: #9fb0c9;
  --primaryA: #6ee7b7; /* mint */
  --primaryB: #60a5fa; /* blue */
  --accent: #c084fc; /* purple */
  --radius: 16px;
  --shadow: 0 20px 70px rgba(2, 6, 23, 0.35);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7fafc;
    --bg-soft: #f1f5f9;
    --surface: rgba(2, 6, 23, 0.06);
    --card: rgba(2, 6, 23, 0.08);
    --text: #0b1220;
    --muted: #4b5a73;
    --shadow: 0 20px 60px rgba(2, 6, 23, 0.12);
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(110, 231, 183, 0.12), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(96, 165, 250, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 60%, var(--bg) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: linear-gradient(0deg, transparent, rgba(0, 0, 0, 0.25));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease;
}

/* Add subtle shadow when scrolling */
.topbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.topbar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  color: #04263b;
  font-weight: 900;
  box-shadow: var(--shadow);
}

nav.primary {
  display: flex;
  gap:8px;
  align-items: center;
  margin-left:80px;
  white-space: nowrap;
}

nav.primary a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  margin: 8px;
  border-radius: 5px;
  background-color: transparent; 
  position: relative;
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: padding-box;
  transition: all 0.3s ease;
  
}
nav.primary a:hover{
  color: #e0e0e0;
  box-shadow: 0 0 15px rgba(172, 255, 255, 0.774);
  
}


html {
  scroll-behavior: smooth;
}

nav.primary a.active-link,
#mobnav a.active-link {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  transition: all 0.25s ease;
}

nav.primary a.active-link:hover,
#mobnav a.active-link:hover {
  background: rgba(255, 255, 255, 0.1);
}


.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 14px;
  padding: 11px 16px;
}
.btn-ghost {
  background: transparent;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  color: #04263b;
}
.btn-outline {
  background: transparent;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.btn-outline:hover{
  color: #e0e0e0;
  box-shadow: 0 0 15px rgba(82, 238, 238, 0.774);

}
.hamburger {
  display: none;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
}

/* Ensure nav buttons keep the same dark text as 'Explore features' */
nav.primary a.btn-primary,
nav.primary a.btn.btn-primary,
#mobnav a.btn-primary,
#mobnav a.btn.btn-primary {
  color: #04263b !important; /* match .btn-primary text color */
}

nav.primary a.btn-primary:hover,
#mobnav a.btn-primary:hover {
  color: #04263b !important; /* keep color on hover to avoid reverting to muted */
}

/* Ensure nav-contained primary buttons keep the same dark text as the hero CTA */
nav.primary a.btn.btn-primary,
#mobnav .mobmenu a.btn.btn-primary {
  color: #04263b; /* match .btn-primary text color used by Explore features */
  font-weight: 700;
}

/* Hero */
/* ===== Hero Section Layout ===== */
.hero {
  padding: 40px 0 20px;
  position: relative;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* ===== Heading Enhancements ===== */
.display.hero-title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 10px 0 12px;
  font-weight: 800;
  background: linear-gradient(90deg, #6ee7b7, #c084fc, #60a5fa); /* mint → purple → cyan */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(110, 231, 183, 0.25), 0 0 20px rgba(192, 132, 252, 0.25);
  animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    text-shadow: 0 0 8px rgba(110, 231, 183, 0.4), 0 0 16px rgba(192, 132, 252, 0.3), 0 0 24px rgba(96, 165, 250, 0.25);
  }
  100% {
    text-shadow: 0 0 20px rgba(110, 231, 183, 0.8), 0 0 40px rgba(192, 132, 252, 0.6), 0 0 60px rgba(96, 165, 250, 0.4);
  }
}

/* ===== Tagline Typewriter Effect ===== */

.hero-tagline {
  border-right: 2px solid #06b6d4;
  white-space: pre-wrap; /* allow multiple lines */
  overflow: visible;
  font-family: 'Recursive', sans-serif;
  font-weight: 600;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* ===== CTA Row & Buttons ===== */
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-cta {
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(99, 102, 241, 0);
}

.hero-cta:hover {
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.8), 0 0 30px rgba(147, 51, 234, 0.6);
  transform: translateY(-2px);
}

/* ===== Hero Stats Cards ===== */
.hero-stats {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.stat {
  background: var(--card);
  padding: 12px 14px;
  border-radius: 12px;
  min-width: 150px;
  box-shadow: var(--shadow);
}

.stat b {
  font-size: 20px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .display.hero-title {
    font-size: 2rem;
  }
  .lead.hero-tagline {
    border: none;
    white-space: normal;
    animation: none;
  }
  .cta-row {
    justify-content: center;
    gap: 1rem;
  }
}

/* Phone mock */
.mock {
  position: relative;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}
.screen {
  height: 480px;
  border-radius: 20px;
  background: radial-gradient(220px 120px at 80% 0%, rgba(192, 132, 252, 0.18), transparent 60%),
    radial-gradient(240px 160px at 20% 100%, rgba(96, 165, 250, 0.2), transparent 60%),
    linear-gradient(180deg, #0e1a33, #0a1226);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
}
.pill {
  height: 8px;
  width: 60px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 8px auto;
}
.app-title {
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
}
.app-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  color: #fff;
}
.app-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.app-card.dashed {
  outline: 2px dashed rgba(255, 255, 255, 0.2);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.12);
}
.dot.alt {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
}
.app-footer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

/* Sections */
.section {
  padding: 60px 0;
  position: relative;
}
.section h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0 0 10px;
}
.muted {
  color: var(--muted);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(110, 231, 183, 0.25);
}

.feature-card figure {
  margin: 0 0 16px;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  stroke: var(--primaryA);
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.feature-card:hover .icon {
  transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

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

/* Scroll-in animation */
.feature-card.animate {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.icon {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.steps {
  display: grid;
  gap: 12px;
}
.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #04263b;
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
}
.list {
  margin: 8px 0 0 18px;
}
.btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
/* Testimonials Section */
.testimonials {
  padding: 4rem 1rem;
  background-color: #f9f9f9; /* Light mode background */
  text-align: center;
  transition: background-color 0.3s;
}

.testimonials .section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #111; /* Light mode heading */
  transition: color 0.3s;
}

.testimonials .muted {
  color: #666; /* Light mode muted text */
  margin-bottom: 2rem;
  font-size: 1rem;
  transition: color 0.3s;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.testi-card {
  background-color: #fff; /* Light mode card background */
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.testi-user {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid #007BFF;
  transition: border-color 0.3s;
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #222; /* Light mode name */
  transition: color 0.3s;
}

.user-loc {
  font-size: 0.9rem;
  color: #777; /* Light mode location */
  margin: 0;
  transition: color 0.3s;
}

.testi-text {
  font-size: 0.95rem;
  color: #444; /* Light mode testimonial text */
  line-height: 1.5;
  margin-top: 0.5rem;
  transition: color 0.3s;
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  .testimonials {
    background-color: #1a1a1a;
  }
  
  .testimonials .section-title {
    color: #f9f9f9;
  }
  
  .testimonials .muted {
    color: #ccc;
  }

  .testi-card {
    background-color: #2c2c2c;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  }

  .testi-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.8);
  }

  .user-img {
    border-color: #4dabf7; /* Slightly lighter blue in dark mode */
  }

  .user-name {
    color: #f0f0f0;
  }

  .user-loc {
    color: #aaa;
  }

  .testi-text {
    color: #e0e0e0;
  }
}




.quotes { 
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap:16px; margin-top:12px 
}
blockquote { 
  margin:0; 
  padding:18px; 
  background:var(--card); 
  border-radius:16px; 
  border:1px solid rgba(255,255,255,0.08) 
}
.avatar { 
  width:36px; 
  height:36px; 
  border-radius:999px; 
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB)); 
  display:inline-grid; 
  place-items:center; 
  color:#04263b; 
  font-weight:900; 


  margin-right:10px;
}


/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
blockquote {
  margin: 0;
  padding: 18px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  display: inline-grid;
  place-items: center;
  color: #04263b;
  font-weight: 900;
  margin-right: 10px;

}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
  align-items: start;
}

.faq-item {
  background: var(--card);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item[open] {
  outline: 2px solid rgba(110, 231, 183, 0.25);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.14), rgba(96, 165, 250, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}
.beta {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
}
.beta input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  min-width: 240px;
}
.label {
  font-size: 12px;
  color: var(--muted);
}
.cta-title {
  margin: 0 0 6px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}
.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--muted);
}
.foot-links {
  display: flex;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1512px) {
  .hero-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
  nav.primary {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
  .mobmenu {
    display: grid;
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .stat {
    min-width: unset;
  }
  .cta {
    flex-direction: column;
    align-items: start;
  }
}

/* Contact form (shared) */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form .full {
  grid-column: 1 / -1;
}
.form label {
  display: grid;
  gap: 6px;
}
.form input,
.form select,
.form textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.form textarea {
  min-height: 140px;
  resize: vertical;
}
.form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  color: #04263b;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
}
.toast.show {
  display: block;
}
.brand-logo {
  width: 60px;
  height: 60px;
  display: inline-block;
  object-fit: contain;
  
}


/* force dropdown options to be black for visibility in all themes */
.form select option,
select option {
  color: #000 !important;
  background: #fff !important; /* ensure good contrast when the UA uses white menus */
}

/* Optional: dim disabled placeholder options without losing readability */
.form select option:disabled,
select option:disabled {
  color: rgba(0, 0, 0, 0.45) !important;
}

/* Keep highlighted (selected-in-list) option readable */
.form select option:checked,
select option:checked {
  color: #fff !important; /* typical white on blue when highlighted */
  background-color: #2563eb !important; /* fallback highlight color */
}

/* ====== Back to Top (Anchor Version) ====== */
#backToTop {
  position: fixed;
  bottom: 60px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  color: rgba(255, 255, 255, 0.915);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  
  pointer-events: none;
}

#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.6);
}

/* Show when active */
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Gradient & Glow effect for typewriter headings */
h2[data-typewriter] {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid var(--primaryA);
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 48px); /* adjust for h2 */
  background: linear-gradient(90deg, #6ee7b7, #c084fc, #60a5fa); /* mint → purple → cyan */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(110, 231, 183, 0.25), 0 0 20px rgba(192, 132, 252, 0.25);
  animation: heroGlow 3s ease-in-out infinite alternate, typing 1.5s steps(30, end) forwards;
}

/* Remove cursor after typing */
h2[data-typewriter].finished {
  border-right: none;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes heroGlow {
  0% { text-shadow: 0 0 10px rgba(110, 231, 183, 0.25), 0 0 20px rgba(192, 132, 252, 0.25); }
  50% { text-shadow: 0 0 15px rgba(110, 231, 183, 0.5), 0 0 30px rgba(192, 132, 252, 0.5); }
  100% { text-shadow: 0 0 10px rgba(110, 231, 183, 0.25), 0 0 20px rgba(192, 132, 252, 0.25); }
}


/* === Global Page Load Animation === */
body {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBody 0.8s ease-out forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
    transform: none;
  }
}

/* === Hero Section Animations === */
.hero .display {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease-out 0.3s forwards;
}

.hero .lead {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease-out 0.5s forwards;
}

.hero .cta-row {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease-out 0.7s forwards;
}

.hero-stats .stat {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease-out forwards;
}

.hero-stats .stat:nth-child(1) { animation-delay: 0.9s; }
.hero-stats .stat:nth-child(2) { animation-delay: 1.1s; }
.hero-stats .stat:nth-child(3) { animation-delay: 1.3s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Section Fade In on Scroll === */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Card Hover Motion === */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* === Avatar Hover Pulse === */
.avatar {
  display: inline-block;
  transition: transform 0.25s ease;
}
.card:hover .avatar {
  transform: scale(1.08);
}

/* === CTA Section Pulse === */
.cta {
  animation: fadeInBody 1s ease-out 0.3s forwards;
}
.btn-primary {
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
}

/* === Smooth Scroll for Nav === */
html {
  scroll-behavior: smooth;
.reminder-controls {
  margin: 1rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reminder-item {
  background: #e6f0ff;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.delete-reminder {
  margin-top: 5px;
  background-color: #ff6868;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 3px 8px;
}
}


/* ===== Typewriter Effect (for Contact Heading) ===== */
h1.display[data-typewriter] {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid var(--primaryA);
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 48px);
  background: linear-gradient(90deg, #6ee7b7, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(110, 231, 183, 0.25),
               0 0 20px rgba(192, 132, 252, 0.25);
  animation: heroGlow 3s ease-in-out infinite alternate,
             typing 1.8s steps(30, end) forwards;
}

h1.display[data-typewriter].finished {
  border-right: none;
}


/* ===== Keyframes ===== */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes heroGlow {
  0% {
    text-shadow: 0 0 10px rgba(110, 231, 183, 0.25),
                 0 0 20px rgba(192, 132, 252, 0.25);
  }
  50% {
    text-shadow: 0 0 20px rgba(110, 231, 183, 0.5),
                 0 0 40px rgba(192, 132, 252, 0.5);
  }
  100% {
    text-shadow: 0 0 10px rgba(110, 231, 183, 0.25),
                 0 0 20px rgba(192, 132, 252, 0.25);
  }
}

/* ===== Fade & Slide Entry for Contact Section ===== */
.section .container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible .container {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Card Hover Effects ===== */
.features .card {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.features .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.3),
              0 0 10px rgba(110, 231, 183, 0.3);
}

/* ===== Gradient Accent for Eyebrow or Important Text ===== */
.eyebrow {
  background: linear-gradient(90deg, #6ee7b7, #60a5fa, #c084fc);
  background-clip: text;             /* ✅ Standard version */
  -webkit-background-clip: text;     /* ✅ WebKit fallback */
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ===== Smooth Scroll Reveal Animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Optional: Form Glow Focus ===== */
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
  transition: box-shadow 0.3s ease;
}