/* ============================================
   MODERN CLEAN DESIGN - ZAUTO
   ============================================ */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* CSS Variables for consistent theming */
:root {
  --primary-color: #06b6d4;
  --primary-dark: #0891b2;
  --primary-light: #22d3ee;
  --secondary-color: #6366f1;
  --accent-color: #f59e0b;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f0fdfa;
  --bg-tertiary: #ecfeff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px 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);
  --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  --gradient-hero: linear-gradient(
    135deg,
    #06b6d4 0%,
    #0891b2 50%,
    #22d3ee 100%
  );
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Base styles */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--border-color);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  min-height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-base);
  text-decoration: none;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

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

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  display: inline-block;
}

.nav-links a:not(.cta-button):hover {
  color: var(--primary-color);
  background: var(--bg-secondary);
}

.nav-links a.cta-button {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.nav-links a.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #22d3ee 100%);
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

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

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 24px;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.download-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  animation: fadeInUp 0.8s ease-out 0.4s both, pulseGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero .download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

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

.hero .download-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.4),
    0 0 30px rgba(6, 182, 212, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(6, 182, 212, 0.05) 100%
  );
}

.hero .download-btn:active {
  transform: translateY(-2px) scale(1.02);
}

.hero .download-btn img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-base);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero .download-btn:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.3));
}

/* Legacy support for old ID selector */
.hero #downloadLink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 16px 32px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  animation: fadeInUp 0.8s ease-out 0.4s both, pulseGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--bg-primary);
  padding: 100px 0;
  text-align: center;
}

.features h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-item {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
  background: var(--bg-secondary);
  padding: 100px 0;
}

.benefits h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.benefit-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  background: var(--bg-primary);
  margin-bottom: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.benefit-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.benefit-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--bg-primary);
  padding: 100px 0;
}

.testimonials h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.testimonial-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 64px;
  color: var(--primary-light);
  opacity: 0.2;
  font-weight: 700;
  line-height: 1;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.testimonial-item p:first-of-type {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-item p:last-of-type {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.testimonial-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pricing h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.package {
  background: var(--bg-primary);
  padding: 32px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.package::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.package:hover::before {
  transform: scaleX(1);
}

.package h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.package p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.package button {
  margin-top: 24px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  background: var(--gradient-primary);
  color: white;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.package button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--bg-primary);
  padding: 100px 0;
}

.faq h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  margin-bottom: 20px;
  cursor: pointer;
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-question {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.faq-answer {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.how-it-works h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.step-list {
  list-style: none;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  margin-bottom: 40px;
  position: relative;
  padding-left: 80px;
  padding-top: 8px;
}

.step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.step-item:hover::before {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.step-item h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.contact h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.contact-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(34, 211, 238, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.contact-card:hover .contact-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: all var(--transition-base);
}

.contact-card:hover .contact-icon i {
  color: white;
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-base);
}

.contact-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: white;
  letter-spacing: 0.5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
}

.footer-logo h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all var(--transition-base);
  color: var(--primary-light);
}

.footer-links a:hover {
  color: white;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--primary-light);
  font-size: 18px;
  margin-top: 2px;
  min-width: 20px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer-contact a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-base);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 16px rgba(6, 182, 212, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */
button,
.cta-button {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  display: inline-block;
  text-decoration: none;
}

button {
  width: auto;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition-base);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

button:active {
  transform: translateY(0);
}

.modal-content button {
  width: calc(100% - 64px);
  margin: 24px 32px 32px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal-content {
  background: white;
  margin: 15% auto;
  padding: 0;
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 480px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease-out;
  overflow: hidden;
}

.modal-content > *:last-child {
  margin-bottom: 32px;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.modal-content h4 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  padding: 32px 32px 24px;
  color: var(--text-primary);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.05) 0%,
    rgba(34, 211, 238, 0.05) 100%
  );
  border-bottom: 1px solid var(--border-color);
}

.modal-content > *:not(h4):not(.close-btn) {
  padding-left: 32px;
  padding-right: 32px;
}

.modal-content input {
  margin: 20px 32px;
  width: calc(100% - 64px);
  box-sizing: border-box;
}

.modal-content .payment-period-options {
  padding: 20px 32px 12px;
  margin: 16px 32px 20px;
  position: relative;
}

.modal-content input {
  width: 100%;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  font-size: 16px;
  transition: all var(--transition-base);
  font-family: inherit;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.modal-content input::placeholder {
  color: var(--text-light);
}

.modal-content input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15), var(--shadow-md);
  background: white;
  transform: translateY(-2px);
}

.modal-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 20px 0 16px;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.close-btn:hover {
  color: #ef4444;
  background: var(--bg-secondary);
}

.modal-qr-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal-qr-container .modal-content {
  background-color: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  position: relative;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease-out;
}

.qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.qr-image {
  width: 280px;
  height: 280px;
  border: 8px solid var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

#paymentDetails {
  margin-top: 24px;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
}

#paymentDetails p {
  margin: 12px 0;
  color: var(--text-secondary);
}

#paymentDetails strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Payment Period Options */
.payment-period-options {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.payment-option {
  position: relative;
  flex: 1;
  min-width: 120px;
  cursor: pointer;
  text-align: center;
  margin-top: 12px;
  padding-top: 0;
}

.payment-option input[type="radio"] {
  display: none;
}

.option-box {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  transition: all var(--transition-base);
  position: relative;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.option-box:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.payment-option input[type="radio"]:checked + .option-box {
  border-color: var(--primary-color);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(34, 211, 238, 0.1) 100%
  );
  box-shadow: var(--shadow-md);
}

.option-box strong {
  font-size: 16px;
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.discount {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: white;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.discount.none {
  background: var(--text-light);
}

#paymentSummary {
  text-align: left;
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.08) 0%,
    rgba(34, 211, 238, 0.08) 100%
  );
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  color: var(--text-primary);
  max-width: 100%;
  margin: 20px 32px 0;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

#paymentSummary p {
  margin: 8px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

#paymentSummary b {
  color: var(--primary-color);
  font-weight: 600;
}

#paymentSummary .total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--border-color);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.messenger-button,
.zalo-button {
  position: fixed;
  right: 24px;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.messenger-button {
  bottom: 100px;
  background: var(--gradient-primary);
}

.zalo-button {
  bottom: 24px;
  background: var(--gradient-primary);
}

.messenger-button:hover,
.zalo-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px -12px rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.messenger-button span,
.zalo-button span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-size: 13px;
}

.messenger-button strong,
.zalo-button strong {
  font-size: 14px;
  font-weight: 700;
}

.messenger-button img,
.zalo-button img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 0 rgba(6, 182, 212, 0.4);
  }
  50% {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 8px rgba(6, 182, 212, 0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.menu-toggle:hover {
  background: var(--bg-secondary);
}

.menu-toggle .bar {
  height: 3px;
  width: 28px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 968px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .payment-period-options {
    flex-direction: column;
  }

  .payment-option {
    min-width: 100%;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-xl);
    gap: 8px;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .download-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .hero .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero .download-btn img {
    height: 44px;
  }

  .features,
  .benefits,
  .testimonials,
  .pricing,
  .faq,
  .how-it-works,
  .contact {
    padding: 60px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-item {
    padding-left: 70px;
  }

  .step-item::before {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .messenger-button,
  .zalo-button {
    right: 16px;
    padding: 12px 16px;
    font-size: 12px;
  }

  .messenger-button {
    bottom: 90px;
  }

  .zalo-button {
    bottom: 16px;
  }

  .messenger-button span,
  .zalo-button span {
    font-size: 11px;
  }

  .messenger-button strong,
  .zalo-button strong {
    font-size: 12px;
  }

  .messenger-button img,
  .zalo-button img {
    width: 32px;
    height: 32px;
  }

  .modal-content {
    width: 95%;
    padding: 24px;
    margin: 10% auto;
  }

  .qr-image {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 16px;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .download-btn {
    padding: 12px 24px;
  }

  .hero .download-btn img {
    height: 40px;
  }

  .benefit-item,
  .testimonial-item,
  .faq-item,
  .package {
    padding: 24px 20px;
  }

  .step-item {
    padding-left: 60px;
  }

  .step-item::before {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.notice {
  margin-top: 16px;
  color: #ef4444;
  font-weight: 600;
  display: none;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-md);
  border-left: 4px solid #ef4444;
}

/* Smooth scroll behavior */
html {
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background: var(--primary-light);
  color: white;
}

::-moz-selection {
  background: var(--primary-light);
  color: white;
}
