/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors */
  --navy-primary: #1B3A57;
  --navy-dark: #0F2537;
  --navy-card: #2B4A6F;
  --cyan-primary: #00d4ff;
  --cyan-dark: #00A3CC;
  --bg-dark: #0A1929;
  --bg-card: #1E3A5F;
  --text-white: #FFFFFF;
  --text-gray: #B8C5D0;
  --border-color: #2B4A6F;
  --black: #000000;
  
  /* Typography */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 100px;
  --section-padding-mobile: 60px;
  --container-max-width: 1200px;
  --container-padding: 24px;
  --container-padding-mobile: 20px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-base: 0.3s ease;
}

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

html {
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-white);
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
}

.hero-title {
  font-size: 64px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 48px;
  margin-bottom: 16px;
}

.subsection-title {
  font-size: 20px;
  margin-bottom: 12px;
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ==================== NAVIGATION ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
}

.nav-logo {
  width: 40px;
  height: 40px;
}

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

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle-line {
  width: 28px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-base);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-base);
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: var(--navy-card);
  color: var(--text-white);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--cyan-primary);
  background: rgba(0, 212, 255, 0.1);
}

.btn-disabled {
  background: rgba(43, 74, 111, 0.5);
  color: rgba(184, 197, 208, 0.5);
  cursor: not-allowed;
  border: 2px solid rgba(43, 74, 111, 0.5);
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ==================== BADGES ==================== */
.badge {
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--cyan-primary);
  color: var(--cyan-primary);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.badge-solid {
  background: var(--cyan-primary);
  color: var(--text-white);
}

/* ==================== CARDS ==================== */
.card {
  padding: 32px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

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

/* ==================== HERO SECTION ==================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #1E3A57 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-stat {
  text-align: center;
  padding: 24px;
  background: rgba(30, 58, 95, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan-primary);
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

/* ==================== SECTION HEADERS ==================== */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== FEATURES SECTION ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--cyan-primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-white);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==================== HOW IT WORKS SECTION ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.step {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  font-size: 72px;
  font-weight: 800;
  color: var(--cyan-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 24px;
  line-height: 1.3;
  margin-top: 0;
  order: 2;
}

.step-image {
  width: 100%;
  max-width: 300px;
  height: 500px;
  margin: 0 auto 24px;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  order: 3;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
  background: #1a1a1a;
  border-radius: 20px;
}

.step-description {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
  padding: 0 8px;
  order: 4;
}

/* How It Works header improvements */
#how-it-works .section-header {
  margin-bottom: 80px;
}

#how-it-works .section-title {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

/* ==================== RESPONSIVE DESIGN - HOW IT WORKS ==================== */

/* Tablet (968px and below) */
@media (max-width: 968px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .step-image {
    height: 460px;
    max-width: 280px;
  }
  
  .step-title {
    margin-bottom: 20px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .step-image {
    height: 480px;
    max-width: 280px;
    margin-bottom: 20px;
  }
  
  .step-number {
    font-size: 56px;
  }
  
  .step-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .step-description {
    font-size: 15px;
    max-width: 300px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .steps {
    gap: 50px;
  }
  
  .step-image {
    height: 430px;
    max-width: 250px;
    margin-bottom: 20px;
  }
  
  .step-number {
    font-size: 52px;
  }
  
  .step-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .step-description {
    font-size: 15px;
    max-width: 280px;
  }
}

/* ==================== PRICING SECTION ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px;
  background: var(--navy-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--cyan-primary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--cyan-primary);
  color: var(--text-white);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  text-align: center;
}

.pricing-price {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-white);
}

.pricing-period {
  font-size: 16px;
  color: var(--text-gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-gray);
}

.pricing-feature svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-button {
  width: 100%;
}

/* ==================== CTA SECTION ==================== */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--navy-dark) 100%);
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.contact-form-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-primary);
  font-size: 15px;
  transition: var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan-primary);
  background: rgba(0, 212, 255, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-button {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  padding: 24px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.contact-card:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-white);
}

.contact-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.contact-card-text {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.contact-card-link {
  color: var(--cyan-primary);
  font-weight: 600;
}

.contact-card-link:hover {
  text-decoration: underline;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: var(--navy-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--cyan-primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: var(--text-white);
}

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 48px;
}

.about-text {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ==================== POLICY PAGES ==================== */
.policy-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 48px;
}

.policy-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}

.policy-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ==================== THANK YOU PAGE ==================== */
.thankyou-hero {
  padding: 180px 0 120px;
  text-align: center;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: var(--cyan-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  animation: scaleIn 0.5s ease;
}

.thankyou-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-white);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.thankyou-text {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 0;
}

.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-description {
  font-size: 15px;
  color: var(--text-gray);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
  list-style: none;
  margin-bottom: 0;
}

.footer-link {
  color: var(--text-gray);
  font-size: 15px;
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--cyan-primary);
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.footer-buttons .btn {
  width: 100%;
}

.footer-social {
  margin-bottom: 0;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  background: var(--navy-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social-link:hover {
  background: var(--cyan-primary);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  margin-top: 48px;
  grid-column: 1 / -1;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-gray);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet (968px and below) */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 24px;
    align-items: flex-start;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-social-links {
    justify-content: center;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .thankyou-title {
    font-size: 32px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  :root {
    --container-padding: 20px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .nav-brand {
    font-size: 20px;
  }
  
  .nav-logo {
    width: 32px;
    height: 32px;
  }
  
  .hero-stat-value {
    font-size: 24px;
  }
  
  .step-number {
    font-size: 56px;
  }
  
  .pricing-amount {
    font-size: 32px;
  }
  
  .cta-title,
  .thankyou-title {
    font-size: 28px;
  }
}

/*CSS to Style "Open App" Nav Link */
.nav-link-app {
  background: linear-gradient(135deg, #00D4FF, #00A3CC);
  color: #000000 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link-app:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00A3CC, #007A99);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Optional: Add icon before text */
.nav-link-app::before {
  content: '→';
  font-size: 18px;
  font-weight: bold;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .nav-link-app {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
}

/* ==================== ANIMATIONS ==================== */

/* Fade-in-up on scroll */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

/* Staggered delays for cards */
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }

/* Hero gradient overlay animation */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 50%, rgba(0,212,255,0.08) 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced hover effects */
.feature-card:hover,
.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.btn-primary:hover {
  animation: btnPulse 1.5s ease infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,212,255,0.4); }
  50% { box-shadow: 0 8px 40px rgba(0,212,255,0.6); }
}

.footer-social-link:hover {
  transform: translateY(-2px) rotate(8deg);
}

/* Floating animation for step images */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.step-image {
  animation: float 5s ease-in-out infinite;
}

/* Staggered section headers */
.section-header .badge { transition-delay: 0s; }
.section-header .section-title { transition-delay: 0.1s; }
.section-header .section-subtitle { transition-delay: 0.2s; }

/* Smoother mobile menu */
@media (max-width: 968px) {
  .nav-menu {
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav-overlay.active {
    backdrop-filter: blur(4px);
  }

  .nav-toggle-line {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* Page loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--cyan-primary);
  z-index: 9999;
  transition: width 0.3s ease;
}

.page-loader.active {
  width: 70%;
  transition: width 2s ease;
}

.page-loader.done {
  width: 100%;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.3s ease 0.2s;
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--cyan-primary);
  margin-left: 2px;
  animation: blink 0.7s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Pricing trial badge */
.pricing-trial {
  text-align: center;
  font-size: 13px;
  color: var(--cyan-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Pricing yearly note */
.pricing-yearly {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: -24px;
  margin-bottom: 24px;
}

/* Policy list styling */
.policy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.policy-list li {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.policy-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--cyan-primary);
}

.policy-subsection-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  margin-top: 24px;
}

/* ==================== V2 PREMIUM ANIMATIONS ==================== */

/* Site-wide ripple canvas */
.ripple-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Ensure all content sits above the ripple canvas */
.nav, .hero, .section, .cta, .footer, .policy-hero, .about-hero, .thankyou-hero {
  position: relative;
  z-index: 1;
}

/* Nav shrink on scroll */
.nav {
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  height: 56px;
  background: rgba(10, 25, 41, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 10000;
  background: linear-gradient(90deg, var(--cyan-primary), var(--cyan-dark));
  width: 0%;
}

/* Animated gradient border glow on cards */
.feature-card::after,
.pricing-card::after,
.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, transparent 30%, var(--cyan-primary) 50%, transparent 70%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.feature-card:hover::after,
.pricing-card:hover::after,
.contact-card:hover::after {
  opacity: 1;
  animation: borderGlow 3s linear infinite;
}
@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 3D tilt base */
.tilt-card {
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

/* Button click ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--cyan-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* Pricing toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.pricing-toggle-label {
  font-size: 15px;
  color: var(--text-gray);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}
.pricing-toggle-label.active {
  color: var(--cyan-primary);
  font-weight: 700;
}
.pricing-toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--navy-card);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--text-gray);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.pricing-toggle-switch.yearly {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--cyan-primary);
}
.pricing-toggle-switch.yearly::after {
  left: 26px;
  background: var(--cyan-primary);
}
.pricing-save-badge {
  font-size: 11px;
  color: var(--cyan-primary);
  font-weight: 700;
  background: rgba(0, 212, 255, 0.1);
  padding: 2px 8px;
  border-radius: 50px;
}

/* Hero title gradient text */
.hero-title {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav link animated underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Feature icon glow on hover */
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.15);
  transition: box-shadow 0.3s ease;
}

/* Slide-in variants */
.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Pricing amount transition for toggle */
.pricing-amount {
  transition: opacity 0.3s ease;
}
.pricing-amount.switching {
  opacity: 0;
}