/* ==========================================================================
   1. THEME & VARIABLES (Dark Wood & Light Mode Support)
   ========================================================================== */
:root {
  --shield-teal: #5DD840;
  --shield-teal-glow: rgba(0, 128, 128, 0.4);
  --sage-light: #A8D5BA;
  --sage-accent: #F1F2B5;
  --bg-dark: #12161A;
  --card-bg: rgba(26, 31, 36, 0.92);
  --card-border: rgba(168, 213, 186, 0.22);
  --text-main: #F0F4F8;
  --text-muted: #94A3B8;
  --muted-teal: #2E7D32;
  --teal-accent: #00E6C3;
  --btn-bg: #00E6C3;
  --btn-text: #0D1117;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --font-main: 'Inter', sans-serif;
  --font-code: 'Fira Code', monospace;
  --wood-overlay: radial-gradient(circle at 50% 0%, rgba(0, 128, 128, 0.15) 0%, transparent 75%),
                  linear-gradient(rgba(18, 22, 26, 0.92), rgba(18, 22, 26, 0.92)),
                  url('../assets/images/backgrounds/dark_wood.png');
}

/* Light Mode Overrides */
html.light-mode {
  --bg-dark: #F0F4F8;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 128, 128, 0.15);
  --text-main: #12161A;
  --text-muted: #475569;
  --shadow-color: rgba(0, 0, 0, 0.08);

  --wood-overlay: radial-gradient(circle at 50% 0%, rgba(0, 128, 128, 0.08) 0%, transparent 75%),
                  linear-gradient(rgba(240, 244, 248, 0.95), rgba(240, 244, 248, 0.95)),
                  url('../assets/images/backgrounds/dark_wood.png');
}

/* Light Mode Gradient Text Override */
html.light-mode .gradient-text {
  background: linear-gradient(135deg, #5DD840 0%, #2E7D32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: var(--wood-overlay);
  background-repeat: repeat;
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================================================
   3. TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light-mode .gradient-text {
  background: linear-gradient(135deg, #5DD840 0%, #2E7D32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.teal-text {
  color: var(--teal-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-accent) 100%);
  color: #0F172A;
  box-shadow: 0 4px 20px rgba(168, 213, 186, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(168, 213, 186, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--sage-light);
  transform: translateY(-3px);
}

.theme-toggle-btn {
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 1rem;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Link Container */
.btn-image-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-image-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(93, 216, 64, 0.25));
}

.btn-image-link:focus-visible {
  outline: 2px solid var(--shield-teal, #5DD840);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Parent Wrapper CSS */
.hero-cta-actions {
  display: flex;
  justify-content: center; /* Centers children horizontally */
  align-items: center;
  width: 100%;
}

/* Image Sizing and Responsiveness */
.btn-img-soon {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Responsive adjustment for small screens */
@media (max-width: 480px) {
  .btn-img-soon {
    height: 46px; /* Slightly smaller height on mobile devices */
  }
}

/* ==========================================================================
   PRE-REGISTRATION CONTAINER & FORM (#pre-register)
   ========================================================================== */

/* Enable smooth scrolling across the page for anchor links */
html {
  scroll-behavior: smooth;
}

/* Outer Container */
.pre-register-container {
  max-width: 520px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Input Group Wrapper */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--card-bg, rgba(26, 31, 36, 0.88));
  border: 1px solid var(--card-border, rgba(168, 213, 186, 0.22));
  border-radius: 30px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Keyboard Focus & Focus Within State */
.input-group:focus-within {
  border-color: var(--shield-teal, #5DD840);
  box-shadow: 0 0 0 3px rgba(93, 216, 64, 0.15);
}

/* Icon inside input */
.input-icon {
  color: var(--text-muted, #94A3B8);
  font-size: 1rem;
  margin-right: 10px;
}

/* Email Input Field */
.input-group input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main, #F0F4F8);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 0;
}

.input-group input[type="email"]::placeholder {
  color: var(--text-muted, #94A3B8);
  opacity: 0.8;
}

/* Notify Button */
.btn-notify {
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background-color: var(--shield-teal, #5DD840);
  color: var(--bg-dark, #12161A);
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-notify:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Status / Privacy Note Below Form */
.pre-register-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted, #94A3B8);
  padding-left: 12px;
}

.pre-register-note i {
  color: var(--shield-teal, #5DD840);
}

/* Accessible Visually Hidden Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Mobile Layout */
@media (max-width: 480px) {
  .input-group {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 12px;
  }

  .input-icon {
    display: none;
  }

  .input-group input[type="email"] {
    width: 100%;
    text-align: center;
  }

  .btn-notify {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }
}


/* ==========================================================================
   4. HEADER / NAVBAR
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

header.scrolled {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 15px 8%;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.logo-img {
  width: 40px; 
    height: 45px; 
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover State */
.logo:hover .logo-img {
  transform: scale(1.08); /* Slightly enlarges the logo */
  filter: drop-shadow(0 0 8px rgba(93, 216, 64, 0.6)); /* Green glow effect */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 128, 128, 0.2);
  border: 2px solid var(--shield-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shield-light);
  box-shadow: 0 0 15px var(--shield-teal-glow);
}

/* Change the brand link on hover */
.logo:hover {
  text-decoration: none; /* Prevents default underline if any */
}

/* 1. Change text color/gradient on hover */
.logo:hover span {
  /* Option A: Change to a solid color */
  background: none;
  -webkit-text-fill-color: var(--sage-light); /* Or your preferred hover color */
  color: var(--sage-light);

  /* Option B: Alternative gradient on hover (uncomment if preferred) */
  /* background: linear-gradient(135deg, #5DD840 0%, #2E7D32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; */
}

/* 2. Change the shield icon container and icon color on hover */
.logo:hover .logo-icon {
  background: rgba(0, 128, 128, 0.35); /* Darker background tint */
  border-color: var(--sage-light);      /* Border color change */
  color: var(--sage-accent);            /* Icon glyph color change */
  box-shadow: 0 0 18px var(--shield-teal-glow); /* Enhanced glow effect */
  transform: scale(1.05);               /* Subtle scale effect */
  transition: all 0.25s ease;
}

nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

nav a {
  color: var(---shield-teal);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.25s ease;
  text-align: center;
}

nav a:hover, nav a.active {
  color: #5DD840; /* Highlight color (Shield Teal) */
  font-weight: 600;
  border-bottom: 2px solid #5DD840; /* Optional underline indicator */
  padding-bottom: 2px;
}

p {
  margin-bottom: 1.2rem;
  /* color: var(--text-muted); */
  font-size: 0.95rem;
  text-align: center;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 140px 8% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Animated App Mockup Frame */

/* ==========================================================================
   HERO / APP MOCKUP (Theme-Aware Updates)
   ========================================================================== */

/* Outer Phone Frame */
.phone-mockup {
  width: 310px;
  height: 620px;
  background: var(--card-bg); /* Replaced #1A1F24 with dynamic variable */
  border-radius: 40px;
  border: 3px solid var(--sage-light);
  box-shadow: 0 20px 50px var(--shadow-color),
              0 0 40px var(--shield-teal-glow);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transform: rotate(-3deg) translateY(0px);
  animation: float 6s ease-in-out infinite;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Inner Screen Container */
.screen-content {
  background: var(--bg-dark); /* Replaced #12161A with dynamic variable */
  height: 100%;
  border-radius: 28px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color 0.3s ease;
}

/* Mock Header */
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border); /* Replaced rgba(255,255,255,0.08) with dynamic variable */
  color: var(--text-main);
  transition: border-color 0.3s ease, color 0.3s ease;
}

/* Inner Mock Cards */
.mock-card {
  background: var(--card-bg); /* Adapts card fill dynamically */
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px;
  color: var(--text-main);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.mock-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-light);
}

/* ==========================================================================
   EXTERNAL WEBSITE LINKS & HREF STYLING
   ========================================================================== */

/* 1. General Style for All External Links (Targeting target="_blank") */
a[target="_blank"][rel*="noopener"] {
  color: var(--sage-light, #8acca5);
  text-decoration: none;
  font-weight: 600;
  /* border-bottom: 1px dashed var(--sage-light, #8acca5); */
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

/* Hover & Focus States for External Links */
a[target="_blank"][rel*="noopener"]:hover,
a[target="_blank"][rel*="noopener"]:focus {
  color: var(--shield-teal, #5DD840);
  border-bottom-color: var(--shield-teal, #5DD840);
  /* border-bottom-style: solid; */
  outline: none;
}

/* 2. Button Variant for External Links (CTA Style) */
a.btn-external[target="_blank"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--shield-teal, #5DD840);
  color: #12161A;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(93, 216, 64, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

a.btn-external[target="_blank"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(93, 216, 64, 0.4);
  background-color: var(--sage-light, #8acca5);
}

/* 3. External Link Icon Styling (Optional spacing if using an external link icon) */
a[target="_blank"] .fa-external-link,
a[target="_blank"] .fa-arrow-up-right-from-square {
  font-size: 0.8em;
  margin-left: 4px;
}

/* .phone-mockup {
  width: 310px;
  height: 620px;
  background: #1A1F24;
  border-radius: 40px;
  border: 3px solid var(--sage-light);
  box-shadow: 0 20px 50px var(--shadow-color),
              0 0 40px var(--shield-teal-glow);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transform: rotate(-3deg) translateY(0px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0px); }
  50% { transform: rotate(-1deg) translateY(-15px); }
}

.screen-content {
  background: #12161A;
  height: 100%;
  border-radius: 28px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-light);
}

.mock-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px;
} */

.mock-card-title {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.mock-card-footer {
  margin-top: auto;
  background: rgba(0, 128, 128, 0.1);
}

.mock-card-score {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}

.karaoke-text span {
  transition: all 0.2s ease;
}

.highlight-word {
  background: var(--shield-teal);
  color: #ffffff;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 0 10px var(--shield-teal-glow);
}

/* Floating Shield Badge Fix */
.badge-floating {
  position: absolute;
  top: 10%;
  right: -10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px var(--shadow-color);
  z-index: 10;
  animation: float-delayed 7s ease-in-out infinite 1s;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.badge-icon {
  font-size: 1.5rem;
  color: var(--teal-accent);
}

.badge-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. FEATURES SECTION
   ========================================================================== */
.features {
  padding: 8%;
}

.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--sage-light);
  box-shadow: 0 12px 30px rgba(0, 128, 128, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 128, 128, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sage-light);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   7. INTERACTIVE QUIZ DEMO
   ========================================================================== */
.interactive-demo {
  padding: 80px 8%;
  background: rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.demo-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.quiz-badge {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--teal-accent);
  margin-bottom: 12px;
}

.quiz-question {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background: rgba(0, 128, 128, 0.15);
  border-color: var(--shield-teal);
}

.quiz-option.correct {
  background: rgba(168, 213, 186, 0.2);
  border-color: var(--sage-light);
  color: var(--sage-light);
}

.quiz-option.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #FCA5A5;
}

.feedback-correct {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--shield-teal);
}

.feedback-wrong {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #EF4444;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer {
  padding: 60px 8% 40px;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  
}

/* Base footer link styles */
.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

/* Hover state */
.footer-links a:hover {
  color: #5DD840;
}

/* Active link style */
.footer-links a.active,
.footer-links a[aria-current="page"] {
  color: #5DD840; /* Highlight color (Shield Teal) */
  font-weight: 600;
  border-bottom: 2px solid #5DD840; /* Optional underline indicator */
  padding-bottom: 2px;
}

.app-version {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ==========================================================================
   9. FLOATING SCROLL-TO-TOP BUTTON
   ========================================================================== */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  border: 1px solid var(--card-border);
  outline: none;
  background-color: var(--card-bg);
  color: var(--sage-light);
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 15px var(--shadow-color);
  
  /* Hidden state by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--shield-teal);
  color: #ffffff;
  transform: translateY(-3px);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Medium Screens (max-width: 968px) */
@media (max-width: 968px) {
  header {
    padding: 16px 5%;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 140px 5% 60px;
    text-align: center;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    margin: 0 auto 28px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-mockup {
    width: 280px;
    height: 560px;
  }

  /* Keep badge visible on smaller screens by restacking naturally */
  .badge-floating {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 20px;
    animation: none;
  }

  .features,
  .interactive-demo {
    padding:  5%;
  }
}

/* Mobile Screens (max-width: 600px) */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    /* gap: 12px; */
    padding: 12px 4%;
  }

  nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    /* width: 100%; */
    justify-content: center;
  }

  .demo-container {
    padding: 20px 16px;
    border-radius: 16px;
  }

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

  #scrollTopBtn {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
}