@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* Brand Colors */
  --primary: #c41ebb;
  --primary-dark: #991592;
  --primary-light: #e624dc;
  --accent: #ff9d66;
  --accent-dark: #ff8547;

  /* Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #ededee;
  --bg-tertiary: #dbdbdb;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-tertiary: #737373;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 2px 2px 2px 0 rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* Feedback Colors */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
}

::selection {
  background-color: var(--primary-dark);
  color: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar Styles */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 6px;
  border: 2px solid var(--bg-secondary);
  transition: all 0.2s ease;
}

@media (hover: hover) {
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
    border-color: var(--bg-tertiary);
  }
}

::-webkit-scrollbar-thumb:active {
  background: var(--primary-light);
}

/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--primary-dark) transparent;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: var(--leading-relaxed);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.custom-shape-divider-top-1760215685 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1760215685 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 56px;
  transform: rotateY(180deg);
}

.custom-shape-divider-top-1760215685 .shape-fill {
  fill: var(--bg-secondary);
}

section {
  position: relative !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

/* Theme switcher removed */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .logo-link:hover {
    opacity: 0.8;
  }
}

.logo {
  width: 44px;
  height: 44px;
}

.brand h1 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tagline {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: var(--space-1);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

/* Theme switcher styles removed */

/* Navigation */

.navigation-menu {
  display: none; /* Hidden by default on mobile */
}

@media (min-width: 768px) {
  .navigation-menu {
    display: block;
    margin-left: auto; /* Align to right */
  }
}

.navigation-menu ul {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: var(--font-size-md);
  transition: color 0.2s ease;
  position: relative;
  padding: var(--space-2) 0;
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--primary);
  }
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

@media (hover: hover) {
  .nav-link:hover::after {
    width: 100%;
  }
}

/* Hamburger button - highest z-index */
.hamburger {
  position: relative;
  z-index: 1000; /* Highest - always clickable */
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding-right: 40px;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger-box {
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius: var(--radius-full);
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

.hamburger.is-active .hamburger-inner {
  background-color: transparent;
}

.hamburger.is-active .hamburger-inner::before {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-inner::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu - Fixed position on the right */
.navigation-menu.is-active {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background-color: var(--bg-primary);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  z-index: 100; /* Above overlay */
  padding: var(--space-16) var(--space-6) var(--space-8);
  box-shadow: -4px 0 50px rgba(107, 39, 107, 0.65);
  animation: slideInRight 0.4s ease;
  overflow-y: auto;
}

/* Close animation */
.navigation-menu.closing {
  animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Open animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Main content should be below everything */
main {
  position: relative;
  z-index: 1;
}

.navigation-menu.is-active ul {
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
  margin-bottom: var(--space-6);
  margin-top: var(--space-8);
  flex: 1; /* Take available space */
}

.navigation-menu.is-active .nav-link {
  font-size: var(--font-size-lg);
  font-weight: 600;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

@media (hover: hover) {
  .navigation-menu.is-active .nav-link:hover {
    color: var(--primary);
  }
}

.navigation-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  padding: var(--space-20) 0;
}

@media (min-width: 768px) {
  .hero-section {
    padding: var(--space-12) 0;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
  }
}

.hero-content {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
  }
}

.hero-text {
  max-width: 640px;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-size-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--font-size-6xl);
  }
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 6px 14px rgba(140, 82, 255, 0.35);
}

@media (hover: hover) {
  .cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 82, 255, 0.4);
  }
}

.cta-button.primary:active {
  transform: translateY(0);
}

.cta-button.secondary {
  /* background-color: var(--bg-tertiary); */
  color: var(--primary-light);
  border: 1px solid var(--primary-dark);
}

@media (hover: hover) {
  .cta-button.secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-tertiary);
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-showcase {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease;

  /* Hero Animation */
  opacity: 0;
  animation: slideInRightHero 2s ease-out forwards; /* Slowed down to 2s */
  animation-delay: 0.3s;
}

@keyframes slideInRightHero {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.app-showcase.feature-lottie {
  background-color: var(--bg-primary);
  aspect-ratio: 1;
  max-width: 360px;
}

@media (max-width: 1025px) {
  .app-showcase {
    /* display: none; */ /* Keep visible on tablet/mobile if needed, or adjust */
    /* User said position properly, didn't say hide. But original code hid it. */
    /* Assuming user wants it visible or positioned properly on desktop. */
    /* I'll leave the hiding logic for now if it was intentional for responsive, 
       but user said "position hero.png properly on desktop". */
    display: none;
  }

  .app-showcase.feature-lottie {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-content {
    gap: var(--space-8);
    text-align: center;
  }

  .app-showcase {
    display: none;
  }

  .app-showcase.feature-lottie {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content {
    gap: var(--space-6);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-5);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: var(--font-size-4xl);
  }
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Responsive: ≤480px - optimize section header for xs mobile */
@media (max-width: 480px) {
  .section-header {
    margin-bottom: var(--space-8);
  }

  .section-header h2 {
    font-size: var(--font-size-2xl);
  }

  .section-header p {
    font-size: var(--font-size-base);
  }
}

/* Responsive: ≤360px - further optimize section header */
@media (max-width: 360px) {
  .section-header {
    margin-bottom: var(--space-6);
  }

  .section-header h2 {
    font-size: var(--font-size-xl);
  }

  .section-header p {
    font-size: var(--font-size-sm);
  }
}

/* Features Section */
.features-section {
  padding: var(--space-10) 30px;
  background-color: var(--bg-secondary);
}

.feature-showcase {
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  margin-bottom: var(--space-16);

  /* Scroll Animation */
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:last-child {
  margin-bottom: 0;
}

/* Lottie Animation Scroll Effects */
.feature-lottie {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);

  /* Scroll Animation */
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.feature-lottie.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-content {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .feature-content.reverse {
    direction: rtl;
  }

  .feature-content.reverse > * {
    direction: ltr;
  }
}

.feature-text h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .feature-text h3 {
    font-size: var(--font-size-3xl);
  }
}

.feature-text p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .feature-svg:hover {
    transform: scale(1.02);
  }
}

/* Download Section */
.download-section {
  padding: var(--space-20) 0;
}

.download-card {
  padding: var(--space-12);
  border-radius: var(--radius-2xl);
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .download-card {
    padding: var(--space-16);
  }
}

.app-info {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.app-icon-large {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.836); /* Added white background */
  padding: var(--space-4);
  border-radius: var(--radius-xl);
}

.app-details h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.version {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.download-options {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .download-options {
    grid-template-columns: 1fr 1fr;
  }
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-2xl);
}

.download-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(140, 82, 255, 0.3);
}

@media (hover: hover) {
  .download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 82, 255, 0.4);
  }
}

.download-btn.secondary {
  background-color: var(--bg-primary);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.btn-title {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: inherit;
}

.btn-subtitle {
  font-size: var(--font-size-sm);
  opacity: 0.85;
}

/* Contact Section */
.shift {
  padding: var(--space-2);
}

.contact-section {
  padding: var(--space-20) 0;
  background-color: var(--bg-secondary);
}

/* Responsive: ≤480px - reduce section padding */
@media (max-width: 480px) {
  .contact-section {
    padding: var(--space-16) 0;
  }
}

/* Responsive: ≤360px - further reduce section padding */
@media (max-width: 360px) {
  .contact-section {
    padding: var(--space-12) 0;
  }

  .shift {
    padding: var(--space-1);
  }
}

.contact-tabs {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-6);
}

/* Responsive: ≤480px - reduce padding for xs mobile */
@media (max-width: 480px) {
  .contact-tabs {
    padding: var(--space-3);
  }
}

/* Responsive: ≤360px - further reduce padding */
@media (max-width: 360px) {
  .contact-tabs {
    padding: var(--space-2);
  }
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Changed to 2 columns since one tab was removed */
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  gap: var(--space-2);
  border: 1px solid var(--border);
  margin-bottom: var(--space-8);
  width: 100%; /* Fill width */
}

.tab-button {
  padding: var(--space-4);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%; /* Fill width */
  flex: 1;
}

@media (hover: hover) {
  .tab-button:hover {
    color: var(--text-primary);
  }
}

.tab-button.active {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* Responsive: ≤768px - stack vertically */
@media (max-width: 768px) {
  .tab-buttons {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-2);
  }
  .tab-button {
    font-size: var(--font-size-lg);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
  }
}

/* Responsive: ≤480px - stack vertically, larger touch targets */
@media (max-width: 480px) {
  .tab-button {
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
  }
}

/* Responsive: ≤360px - optimize for extra small screens */
@media (max-width: 360px) {
  .tab-button {
    padding: var(--space-3);
    font-size: var(--font-size-sm);
    gap: var(--space-1);
  }

  .tab-button i {
    font-size: var(--font-size-sm);
  }
}

.tab-content {
  background-color: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tab-panel {
  display: none;
  padding: var(--space-10);
}

@media (min-width: 768px) {
  .tab-panel {
    padding: var(--space-12);
  }
}

/* Responsive: ≤480px - reduce padding */
@media (max-width: 480px) {
  .tab-panel {
    padding: var(--space-6);
  }
}

/* Responsive: ≤360px - further reduce padding */
@media (max-width: 360px) {
  .tab-panel {
    padding: var(--space-4);
  }
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Responsive: ≤480px - reduce form gap */
@media (max-width: 480px) {
  .contact-form {
    gap: var(--space-5);
  }
}

/* Responsive: ≤360px - further reduce form gap */
@media (max-width: 360px) {
  .contact-form {
    gap: var(--space-4);
  }
}

.form-row {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive: ≤480px - reduce row gap */
@media (max-width: 480px) {
  .form-row {
    gap: var(--space-5);
  }
}

/* Responsive: ≤360px - further reduce row gap */
@media (max-width: 360px) {
  .form-row {
    gap: var(--space-4);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}

/* Responsive: ≤360px - optimize label size */
@media (max-width: 360px) {
  .form-group label {
    font-size: var(--font-size-xs);
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}

/* Responsive: ≤480px - reduce input padding */
@media (max-width: 480px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--space-3);
    font-size: var(--font-size-sm);
  }
}

/* Responsive: ≤360px - further optimize inputs */
@media (max-width: 360px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--space-3);
    font-size: var(--font-size-sm);
    border-radius: var(--radius);
  }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: var(--leading-relaxed);
}

/* Responsive: ≤480px - reduce textarea height */
@media (max-width: 480px) {
  .form-group textarea {
    min-height: 120px;
  }
}

/* Responsive: ≤360px - optimize textarea */
@media (max-width: 360px) {
  .form-group textarea {
    min-height: 100px;
  }
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-8);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(140, 82, 255, 0.3);
}

/* Responsive: ≤480px - optimize submit button */
@media (max-width: 480px) {
  .submit-btn {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-sm);
    gap: var(--space-2);
  }
}

/* Responsive: ≤360px - further optimize button */
@media (max-width: 360px) {
  .submit-btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
    gap: var(--space-2);
  }

  .submit-btn i {
    font-size: var(--font-size-sm);
  }
}

@media (hover: hover) {
  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 82, 255, 0.4);
  }
}

.submit-btn:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    margin-left: 200px !important;
    margin-right: 200px !important;
    justify-items: center;
  }
}

@media (min-width: 500px) {
  .footer-content {
    margin-left: 50px;
    margin-right: 50px;
  }
}

.footer-brand h3 {
  color: var(--primary);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-xl);
  font-weight: 800;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.footer-description {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
}

.footer-section h4 {
  margin-bottom: var(--space-8);
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.contact-info p {
  display: flex;
  align-items: center !important;
  gap: var(--space-3);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
}

hr.footer-divider {
  min-width: 310px;
  color: black;
}

@media (min-width: 768px) {
  .footer-content {
    justify-items: center !important;
  }

  hr {
    display: none;
  }
}

@media (max-width: 767px) {
  .footer-content {
    margin-left: 30px;
    margin-right: 30px;
    justify-items: left !important;
    text-align: left !important;
  }
}

.contact-info a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  font-size: var(--font-size-md);
}

.contact-info i {
  color: var(--primary);
  padding-right: var(--space-4);
}

@media (hover: hover) {
  .contact-info a:hover {
    color: var(--primary);
  }
}

.contact-info div {
  padding-bottom: var(--space-3);
}

.contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

@media (hover: hover) {
  .contact-link:hover {
    color: var(--primary);
  }
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: var(--font-size-md);
  font-weight: 500;
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--primary);
  }
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgb(94, 75, 95);
  color: var(--text-tertiary);
  font-size: var(--font-size-sm);
}

/* Notification */
.notification {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background-color: var(--success);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  animation: slideIn 0.3s ease;
  font-weight: 600;
  font-size: var(--font-size-sm);
}

@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification.fade-out {
  animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Loader */
.loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom checkbox color for consent */
input[type="checkbox"]:checked {
  accent-color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-content {
    text-align: center;
    gap: var(--space-8);
  }

  .feature-visual {
    order: -1; /* Show animation first on mobile */
  }

  .feature-content.reverse .feature-visual {
    order: -1; /* Maintain animation-first order even for reverse layouts */
  }
}

@media (max-width: 767px) {
  .header-inner {
    height: 64px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .brand h1 {
    font-size: var(--font-size-lg);
  }

  .tagline {
    font-size: var(--font-size-xs);
  }

  .hero-section {
    padding: var(--space-16) 0;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .cta-button {
    width: 100%;
  }

  .app-showcase {
    max-width: 280px;
  }

  .section-header h2 {
    font-size: var(--font-size-2xl);
  }

  .section-header p {
    font-size: var(--font-size-base);
  }

  .feature-text h3 {
    font-size: var(--font-size-xl);
  }

  .feature-text p {
    font-size: var(--font-size-base);
  }

  .feature-svg {
    max-width: 300px;
  }

  .download-card {
    margin: var(--space-16);
    padding: var(--space-8);
  }

  .app-info {
    flex-direction: column;
    text-align: center;
  }

  .app-icon-large {
    width: 64px;
    height: 64px;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .download-card {
    margin: var(--space-8);
    padding: var(--space-12);
  }
}

.feature-lottie {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .feature-lottie:hover {
    transform: scale(1.07);
  }
}

/* Touch-friendly interactions for mobile */
@media (hover: none) and (pointer: coarse) {
  .feature-lottie:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

@media (max-width: 767px) {
  .feature-lottie {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .feature-lottie {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 360px) {
  .feature-lottie {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* Footer Styles */
.site-footer {
  width: 100%;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  width: fit-content;
}

.footer-logo-wrapper {
  position: relative;
  height: 32px;
  width: 112px;
}

.footer-logo-img {
  height: 100%;
  object-fit: contain;
}

.footer-logo-tagline {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6em;
  font-weight: bold;
  color: var(--text-primary);
  opacity: 0.75;
  margin-top: 4px;
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  padding-top: var(--space-4);
}

.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  opacity: 0.75;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link,
.footer-contact-link {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover,
.footer-contact-link:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: var(--space-4);
  padding-top: var(--space-2);
}

.social-icon {
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.social-icon:hover {
  color: var(--primary);
}
