/* ==========================================================================
   Velmora — Custom Styles
   ========================================================================== */

:root {
  --bs-primary: #6366f1;
  --bs-primary-rgb: 99, 102, 241;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-soft: #22d3ee;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #06b6d4 100%);
  --gradient-cta: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #0891b2 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .section-padding {
    padding: 6.5rem 0;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* Navbar
   -------------------------------------------------------------------------- */
.navbar-velmora {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.75rem 0;
  transition: var(--transition);
}

.navbar-velmora.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark) !important;
  gap: 0.5rem;
}

.navbar-brand img {
  width: 36px;
  height: 36px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(99, 102, 241, 0.08);
}

.btn-nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Hero
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 32rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-decoration: none;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}

.btn-store-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-store-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-store-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-store small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.7;
  line-height: 1;
}

.btn-store span {
  line-height: 1.2;
}

.hero-mockup {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.phone-frame {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.25));
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Features
   -------------------------------------------------------------------------- */
.features-section {
  background: var(--light);
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-hero);
  color: var(--white);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Screenshots
   -------------------------------------------------------------------------- */
.screenshot-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--dark-soft);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.screenshot-card:hover img {
  transform: scale(1.03);
}

.screenshot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.3) 0%, transparent 40%);
  opacity: 0;
  transition: var(--transition);
}

.screenshot-card:hover::after {
  opacity: 1;
}

#screenshotCarousel .carousel-item {
  padding: 0 2rem;
}

#screenshotCarousel .screenshot-card {
  max-width: 240px;
  margin: 0 auto;
}

/* About
   -------------------------------------------------------------------------- */
.about-section .about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  color: var(--text);
  font-size: 0.9375rem;
}

.about-list li i {
  color: var(--primary);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.stat-card {
  text-align: center;
  padding: 1.25rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Download CTA
   -------------------------------------------------------------------------- */
.download-section {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.download-section .container {
  position: relative;
  z-index: 2;
}

.download-section h2,
.download-section p {
  color: var(--white);
}

.download-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.rating-stars {
  color: #fbbf24;
  font-size: 1.125rem;
  letter-spacing: 0.125rem;
}

.rating-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

/* Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.5rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--white);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 1.125rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

/* Privacy Policy Page
   -------------------------------------------------------------------------- */
.privacy-hero {
  background: var(--gradient-hero);
  padding: 8rem 0 3rem;
  text-align: center;
}

.privacy-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.privacy-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin: 0 auto;
}

.privacy-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.privacy-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.15);
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dark-soft);
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.privacy-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

/* Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities
   -------------------------------------------------------------------------- */
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
