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

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --bg-dark: #050714;
  --bg-darker: #02030a;
  --bg-card: rgba(10, 15, 35, 0.65);
  
  --primary: #2563eb;
  --primary-glow: #3b82f6;
  --primary-rgb: 37, 99, 235;
  
  --secondary: #00d2ff;
  --secondary-rgb: 0, 210, 255;
  
  --accent: #00f2fe;
  --accent-rgb: 0, 242, 254;
  
  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --text-gray: #718096;
  
  --success: #00b894;
  --error: #ff7675;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(37, 99, 235, 0.5);
  
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1200px;
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Cosmic background glow effects */
body::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.3);
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.6);
}

/* --- REUSABLE UTILITIES & GLASSMORPHISM --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-slow);
}

.glass-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.15);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-glow) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5), 0 0 10px rgba(0, 210, 255, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --- NAVIGATION BAR --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-slow);
}

header.scrolled {
  background: rgba(5, 7, 20, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.logo span {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  padding: 8.5rem 0 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Radial light behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.badge {
  align-self: flex-start;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse-glow 3s infinite alternate;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
}

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

.store-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

/* Custom Google Play Badge mimicking official style with CSS/SVG */
.play-store-btn {
  display: flex;
  align-items: center;
  background: #000000;
  border: 1px solid #333;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  gap: 0.75rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.play-store-btn:hover {
  background: #111;
  border-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(37, 99, 235, 0.2);
}

.play-store-btn svg {
  width: 24px;
  height: 24px;
}

.btn-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.btn-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.btn-title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-family);
}

/* --- HERO INTERACTIVE PHONE MOCKUP --- */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrapper {
  position: relative;
  width: 320px;
  height: 640px;
  border-radius: 44px;
  padding: 10px;
  background: #10152a;
  box-shadow: 
    0px 0px 0px 4px #1c254e,
    0px 25px 50px -12px rgba(0, 0, 0, 0.7),
    0px 0px 40px rgba(37, 99, 235, 0.3);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #070a1a;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Phone Speaker & Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: #10152a;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.speaker {
  width: 40px;
  height: 4px;
  background: #050714;
  border-radius: 2px;
  margin-bottom: 4px;
}

/* Mock App Internal Layout */
.app-header {
  padding: 2.2rem 1.2rem 0.8rem;
  background: rgba(16, 21, 42, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.app-streak {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 118, 117, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--error);
}

.app-content {
  flex: 1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  justify-content: center;
}

/* App State: Quiz Intro Screen */
.quiz-screen-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.intro-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  font-size: 1.8rem;
  color: white;
  animation: pulse-logo 2s infinite;
}

.intro-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.intro-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.btn-app-start {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-app-start:hover {
  background: var(--primary-glow);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* App State: Active Quiz Screen */
.quiz-screen-active {
  display: none;
  flex-direction: column;
  height: 100%;
}

.quiz-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quiz-progress-fill {
  width: 33.3%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}

.quiz-question-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem;
  min-height: 85px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.quiz-question-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.quiz-option-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-muted);
  text-align: left;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-family);
}

.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.quiz-option-btn.selected-correct {
  background: rgba(0, 184, 148, 0.15) !important;
  border-color: var(--success) !important;
  color: #fff !important;
  font-weight: 600;
}

.quiz-option-btn.selected-incorrect {
  background: rgba(255, 118, 117, 0.15) !important;
  border-color: var(--error) !important;
  color: #fff !important;
  font-weight: 600;
}

.quiz-option-btn.correct-dimmed {
  background: rgba(0, 184, 148, 0.06);
  border-color: rgba(0, 184, 148, 0.4);
  color: #fff;
}

/* App State: Quiz Results Screen */
.quiz-screen-results {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.results-graphic {
  font-size: 3rem;
  margin-bottom: 0.2rem;
}

.results-score {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.results-feedback {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.results-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.btn-app-reset {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.3rem;
}

.btn-app-reset:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Phone bottom indicator bar */
.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  pointer-events: none;
}

/* Floating particles in background behind phone */
.mockup-glow-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

/* --- FEATURES SECTION --- */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.section-header .subtitle {
  color: var(--primary-glow);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.feature-card {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-glow);
  font-size: 1.4rem;
  transition: var(--transition-slow);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transform: scale(1.08) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

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

/* Feature card decorative background gradient lines */
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, rgba(0, 0, 0, 0) 80%);
  opacity: 0;
  transition: var(--transition-slow);
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
}

/* --- CTA SECTION --- */
.cta {
  padding: 6rem 0;
  position: relative;
}

.cta-container {
  background: linear-gradient(135deg, rgba(10, 15, 35, 0.9) 0%, rgba(20, 30, 65, 0.8) 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 32px;
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(37, 99, 235, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.cta-container h2 {
  font-size: 2.8rem;
  font-weight: 800;
  max-width: 650px;
  line-height: 1.2;
}

.cta-container p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 520px;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 320px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-group a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-group a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-gray);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* --- PRIVACY POLICY SITE LAYOUT --- */
.privacy-hero {
  padding: 8.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.privacy-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.privacy-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

.privacy-content-sec {
  padding: 4rem 0 6rem;
}

.privacy-card {
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.privacy-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.privacy-text h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2rem;
  background: var(--primary);
  border-radius: 2px;
}

.privacy-text p, .privacy-text li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.privacy-text ul {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.privacy-text a {
  color: var(--accent);
  text-decoration: underline;
}

.privacy-text a:hover {
  color: #fff;
}

.privacy-note {
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--primary);
  padding: 1.2rem;
  border-radius: 0 12px 12px 0;
  margin: 1rem 0;
}

.privacy-note p {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- ANIMATIONS AND KEYFRAMES --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(0, 242, 254, 0.2); }
  100% { box-shadow: 0 0 20px rgba(0, 242, 254, 0.5); }
}

@keyframes pulse-logo {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* --- RESPONSIVE DESIGN (MEDIA QUERIES) --- */

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .badge {
    align-self: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin: 0 auto;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(5, 7, 20, 0.95);
    backdrop-filter: blur(25px);
    width: 100%;
    height: 100vh;
    justify-content: center;
    gap: 2.5rem;
    transition: 0.5s ease-in-out;
    z-index: 1050;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  /* hamburger cross effect when active */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .cta-container {
    padding: 3.5rem 1.5rem;
  }
  
  .cta-container h2 {
    font-size: 2.2rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .privacy-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .phone-wrapper {
    width: 290px;
    height: 580px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
