/* ====== Ai Para - Static HTML/CSS/JS Version ====== */
/* Light theme (default) */
:root {
  --radius: 0.875rem;
  --background: #f7f9fa;
  --foreground: #1a2a3a;
  --card: #ffffff;
  --card-foreground: #1a2a3a;
  --primary: #1B6B6A;
  --accent: #3E8ECA;
  --secondary: #eaeef3;
  --secondary-foreground: #2a3a4a;
  --muted: #eaeef3;
  --muted-foreground: #6b7c8c;
  --border: #dde4ea;
  --input: #eaeef3;
  --ring: #1B6B6A;
  --brand-teal: #1B6B6A;
  --brand-blue: #3E8ECA;
  --text-soft: #4a5a6a;
  --text-softer: #6b7c8c;
  --grid-line: rgba(62, 142, 202, 0.08);
  --spotlight-color: rgba(27, 107, 106, 0.15);
  --gradient-bg-from: #fcfdfe;
  --gradient-bg-mid: #f7f9fa;
  --gradient-bg-to: #eef2f7;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(40, 60, 80, 0.15);
  --glass-light-bg: rgba(255, 255, 255, 0.5);
  --glass-light-border: rgba(40, 60, 80, 0.12);
}

/* Dark theme */
.dark {
  --background: #1a2230;
  --foreground: #f0f4f8;
  --card: #243040;
  --card-foreground: #f0f4f8;
  --primary: #1B6B6A;
  --accent: #3E8ECA;
  --secondary: #2a3645;
  --secondary-foreground: #f0f4f8;
  --muted: #2a3645;
  --muted-foreground: #9eb4c5;
  --border: #364555;
  --input: #2a3645;
  --ring: #1B6B6A;
  --brand-teal: #1B6B6A;
  --brand-blue: #3E8ECA;
  --text-soft: #9eb4c5;
  --text-softer: #8aa1b3;
  --grid-line: rgba(62, 142, 202, 0.06);
  --spotlight-color: rgba(27, 107, 106, 0.18);
  --gradient-bg-from: #1a2434;
  --gradient-bg-mid: #162030;
  --gradient-bg-to: #182034;
  --glass-bg: rgba(36, 48, 64, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-light-bg: rgba(255, 255, 255, 0.04);
  --glass-light-border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  direction: rtl;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--muted);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-teal), var(--brand-blue));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2a9493, #4ea0d8);
}

/* Logo variants */
.logo-light { display: none; }
.logo-dark { display: block; }
.dark .logo-light { display: block; }
.dark .logo-dark { display: none; }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ====== GLASS & UTILITIES ====== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: background 0.4s ease, border 0.4s ease;
}
.glass-light {
  background: var(--glass-light-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-light-border);
  transition: background 0.4s ease, border 0.4s ease;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: inherit;
}
.btn svg {
  width: 1.25rem;
  height: 1.25rem;
}
.btn-primary {
  background: linear-gradient(135deg, #0d9488, #3E8ECA);
  background: linear-gradient(to left, #0d9488, #3b82f6);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px -5px rgba(13, 148, 136, 0.5);
}
.btn-primary:active { transform: scale(0.97); }
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--foreground);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 1rem;
}
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.75rem;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.5s ease;
}
.navbar.scrolled {
  padding: 0.75rem 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  transition: all 0.5s ease;
}
.navbar.scrolled .navbar-inner {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px -10px rgba(27, 107, 106, 0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-wrapper {
  width: 2.75rem;
  height: 2.75rem;
  position: relative;
}
.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  filter: drop-shadow(0 0 15px rgba(59, 142, 202, 0.4));
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--brand-teal);
  letter-spacing: 0.15em;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link:hover {
  color: var(--foreground);
  background: rgba(127, 127, 127, 0.05);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-soft);
  transition: all 0.3s;
  position: relative;
}
.theme-toggle:hover {
  background: rgba(127, 127, 127, 0.1);
  color: var(--foreground);
}
.theme-toggle .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.theme-toggle .icon-moon { color: var(--brand-teal); }
.theme-toggle .icon-sun { color: #fbbf24; }
.dark .theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-sun { display: block; }
.nav-cta { display: none; }
@media (min-width: 640px) {
  .nav-cta { display: inline-flex; }
}
.menu-toggle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--foreground);
}
.menu-toggle .icon { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-open { display: none; }
.menu-toggle.open .icon-close { display: block; }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  margin-top: 0.75rem;
}
.mobile-menu.open {
  display: flex;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  padding: 0.75rem 1rem;
  color: var(--text-soft);
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.2s;
}
.mobile-link:hover {
  color: var(--foreground);
  background: rgba(127, 127, 127, 0.05);
}
.mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* ====== MAIN ====== */
.main {
  position: relative;
  z-index: 10;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gradient-bg-from), var(--gradient-bg-mid), var(--gradient-bg-to));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.grid-pattern.overlay { opacity: 0.5; }
.spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--spotlight-color), transparent 50%);
  pointer-events: none;
}
.swoosh-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}
.swoosh {
  animation: waveSwoosh 8s ease-in-out infinite;
}
.swoosh-2 { animation-duration: 10s; animation-delay: 1s; }
.swoosh-3 { animation-duration: 12s; animation-delay: 2s; }
@keyframes waveSwoosh {
  0%, 100% { d: path("M 0 400 Q 360 350, 720 400 T 1440 400"); }
  50% { d: path("M 0 400 Q 360 450, 720 400 T 1440 400"); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-1 {
  top: 2.5rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.3), rgba(13, 148, 136, 0.1));
}
.orb-2 {
  bottom: 5rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
  animation-delay: 2s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -30px) rotate(5deg); }
}
.floating-icon {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
}
.floating-icon svg {
  width: 2rem;
  height: 2rem;
}
.floating-icon-1 {
  top: 25%;
  left: 10%;
  color: #14b8a6;
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.4), 0 0 80px rgba(20, 184, 166, 0.2);
  animation: floatIcon1 5s ease-in-out infinite;
}
.floating-icon-2 {
  bottom: 33%;
  right: 10%;
  color: #3b82f6;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.4), 0 0 80px rgba(59, 130, 246, 0.2);
  animation: floatIcon2 6s ease-in-out infinite;
}
.floating-icon-3 {
  top: 33%;
  right: 15%;
  width: 3.5rem;
  height: 3.5rem;
  color: #22d3ee;
  animation: floatIcon3 7s ease-in-out infinite;
}
@keyframes floatIcon1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}
@keyframes floatIcon2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-10deg); }
}
@keyframes floatIcon3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-15px) translateX(10px); }
}
@media (max-width: 767px) {
  .floating-icon { display: none; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}
.badge-icon {
  width: 1rem;
  height: 1rem;
  color: #06b6d4;
}
.dark .badge-icon { color: #22d3ee; }
.hero-badge span {
  font-size: 0.875rem;
  color: var(--text-soft);
}
.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-logo {
  position: relative;
  width: 9rem;
  height: 9rem;
  margin: 0 auto 2rem;
  animation: floatLogo 6s ease-in-out infinite;
}
@media (min-width: 640px) {
  .hero-logo { width: 11rem; height: 11rem; }
}
.hero-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-light {
  filter: drop-shadow(0 0 40px rgba(59, 142, 202, 0.6));
}
.logo-dark {
  filter: drop-shadow(0 0 40px rgba(27, 107, 106, 0.4));
}
.hero-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.3), rgba(59, 130, 246, 0.3));
  filter: blur(40px);
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(5deg); }
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5rem; } }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  text-align: center;
  transition: transform 0.3s;
}
.stat:hover {
  transform: scale(1.05) translateY(-5px);
}
.stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) { .stat-number { font-size: 2.25rem; } }
.stat-label {
  font-size: 0.75rem;
  color: var(--text-softer);
}
@media (min-width: 640px) { .stat-label { font-size: 0.875rem; } }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(27, 107, 106, 0.5);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.375rem 0 0 0;
}
.scroll-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--brand-teal);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ====== SECTIONS ====== */
.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
@media (min-width: 640px) {
  .section { padding: 8rem 0; }
}
.section-overlay-teal {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(13, 148, 136, 0.05), transparent);
  pointer-events: none;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--brand-teal);
  margin-bottom: 1rem;
}
.dark .section-badge { color: #5eead4; }
.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}
@media (min-width: 640px) { .section-title { font-size: 3rem; } }
@media (min-width: 768px) { .section-title { font-size: 3.75rem; } }
.section-desc {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 32rem;
  margin: 0 auto;
}

/* ====== SERVICES ====== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-card:hover { transform: translateY(-8px); }
.service-hover-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card:hover .service-hover-overlay { opacity: 0.1; }
.service-swoosh {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 3rem;
  height: 3rem;
  opacity: 0.2;
  transition: opacity 0.3s;
}
.service-card:hover .service-swoosh { opacity: 0.4; }
.service-icon {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
}
.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}
.service-card:hover .service-title {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-desc {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.service-features {
  list-style: none;
  margin-bottom: 1rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-softer);
  margin-bottom: 0.5rem;
}
.service-features .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.service-link:hover { color: var(--foreground); }
.service-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}
.service-link:hover svg { transform: translateX(-4px); }

/* ====== FEATURES ====== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.feature-card:hover { transform: translateY(-8px); }
@media (min-width: 1024px) {
  .feature-wide { grid-column: span 2; }
}
.feature-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.feature-card:hover .feature-overlay { opacity: 0.1; }
.feature-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon { transform: rotate(6deg); }
.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.feature-stat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-softer);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(127, 127, 127, 0.05);
  border: 1px solid rgba(127, 127, 127, 0.1);
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
.feature-desc {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.875rem;
  flex: 1;
}

/* Bottom stats */
.bottom-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .bottom-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.4s;
}
.stat-card:hover { transform: translateY(-8px); }
.stat-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand-teal);
  margin: 0 auto 0.75rem;
  display: block;
}
.dark .stat-icon { color: #5eead4; }
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-softer);
}

/* ====== PROCESS (Timeline) ====== */
.timeline {
  position: relative;
}
.timeline-line {
  display: none;
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(13, 148, 136, 0.5), transparent);
}
@media (min-width: 768px) {
  .timeline-line { display: block; }
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .timeline-item {
    flex-direction: row;
    align-items: center;
  }
}
.timeline-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(13, 148, 136, 0.01));
  border: 1px solid rgba(13, 148, 136, 0.15);
}
@media (min-width: 768px) {
  .timeline-item .timeline-card { width: 50%; padding: 0 3rem; }
  .timeline-item.timeline-right .timeline-card {
    margin-right: 50%;
  }
  .timeline-item:not(.timeline-right) .timeline-card {
    margin-left: 50%;
  }
}
.timeline-card-1 { background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.03)); border-color: rgba(13, 148, 136, 0.3); }
.timeline-card-2 { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.03)); border-color: rgba(59, 130, 246, 0.3); }
.timeline-card-3 { background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.03)); border-color: rgba(34, 211, 238, 0.3); }
.timeline-card-4 { background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.03)); border-color: rgba(56, 189, 248, 0.3); }
.timeline-card-5 { background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.03)); border-color: rgba(52, 211, 153, 0.3); }
.timeline-card-6 { background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(129, 140, 248, 0.03)); border-color: rgba(129, 140, 248, 0.3); }
.timeline-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.timeline-icon svg { width: 1.75rem; height: 1.75rem; }
.timeline-card .timeline-icon { display: none; }
@media (min-width: 768px) {
  .timeline-card .timeline-icon { display: flex; }
}
.timeline-card > div:last-child {
  flex: 1;
}
.timeline-num {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}
.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.timeline-desc {
  color: var(--text-soft);
  font-size: 0.875rem;
  line-height: 1.7;
}
.timeline-dot {
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color);
  border: 2px solid var(--color);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .timeline-dot { display: block; }
}
.timeline-spacer {
  display: none;
}
@media (min-width: 768px) {
  .timeline-spacer { display: block; width: 50%; }
}

/* ====== TECH STACK ====== */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee {
  display: flex;
  gap: 1rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.tech-item {
  flex-shrink: 0;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tech-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0d9488, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
}
.tech-item span {
  color: var(--text-soft);
  font-weight: 500;
  white-space: nowrap;
}

/* ====== CONTACT ====== */
.contact-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .contact-title { font-size: 3rem; } }
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 4.5rem; } }
.contact-orb-1, .contact-orb-2 {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: pulseGlow 4s ease-in-out infinite;
}
.contact-orb-1 {
  top: 5rem;
  right: 5rem;
  background: rgba(13, 148, 136, 0.4);
}
.contact-orb-2 {
  bottom: 5rem;
  left: 5rem;
  background: rgba(59, 130, 246, 0.4);
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; }
}
.contact-info {
  border-radius: 1.5rem;
  padding: 1.75rem;
}
.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.info-desc {
  color: var(--text-soft);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(127, 127, 127, 0.05);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background 0.2s;
  cursor: pointer;
}
.info-item:hover { background: rgba(127, 127, 127, 0.1); }
.info-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.info-icon svg { width: 1.25rem; height: 1.25rem; }
.info-text {
  flex: 1;
}
.info-label {
  font-size: 0.75rem;
  color: var(--text-softer);
}
.info-value {
  font-weight: 500;
  color: var(--foreground);
}
.trust-badge {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid var(--glass-border);
}
.trust-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.trust-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #06b6d4;
}
.dark .trust-icon { color: #22d3ee; }
.trust-header span {
  font-weight: 700;
  color: var(--foreground);
}
.trust-badge p {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Contact form */
.contact-form {
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(127, 127, 127, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-softer);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(13, 148, 136, 0.5);
  background: rgba(127, 127, 127, 0.1);
}
.form-note {
  font-size: 0.75rem;
  color: var(--text-softer);
  text-align: center;
}
.btn-text { display: inline; }
.btn .spinner {
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.loading .btn-text,
.btn.loading svg { display: none; }
.btn.loading .spinner { display: block; }
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ====== FOOTER ====== */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(13, 148, 136, 0.05), rgba(13, 148, 136, 0.1));
  pointer-events: none;
}
.footer-top {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand {
  grid-column: span 1;
}
@media (min-width: 1024px) {
  .footer-brand { grid-column: span 1; }
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo-wrap {
  width: 3rem;
  height: 3rem;
  position: relative;
}
.footer-logo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}
.footer-brand-sub {
  font-size: 0.75rem;
  color: var(--brand-teal);
  letter-spacing: 0.15em;
}
.footer-desc {
  color: var(--text-soft);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.3s;
}
.social-link:hover {
  color: var(--foreground);
  background: rgba(127, 127, 127, 0.1);
  transform: translateY(-4px);
}
.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}
.footer-col h4 {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.75rem;
}
.footer-col a {
  color: var(--text-softer);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--foreground);
  transform: translateX(4px);
}

/* Newsletter */
.newsletter {
  margin-top: 3rem;
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .newsletter {
    flex-direction: row;
    align-items: center;
    padding: 2rem;
  }
}
.newsletter h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.newsletter p {
  color: var(--text-soft);
  font-size: 0.875rem;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
}
.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(127, 127, 127, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--foreground);
  font-family: inherit;
  outline: none;
  min-width: 15rem;
  text-align: right;
}
.newsletter-form input::placeholder { color: var(--text-softer); }
.newsletter-form input:focus {
  border-color: rgba(13, 148, 136, 0.5);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; }
}
.copyright {
  font-size: 0.875rem;
  color: var(--text-soft);
  text-align: center;
}
.heart {
  color: var(--brand-teal);
  margin: 0 0.25rem;
}
.back-to-top {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.3s;
}
.back-to-top:hover {
  color: var(--foreground);
  transform: translateY(-4px);
}
.back-to-top svg {
  width: 1rem;
  height: 1rem;
}

/* ====== TOAST ====== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: none;
}
.toast {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--foreground);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.toast-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #10b981;
  flex-shrink: 0;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

/* ====== REVEAL ANIMATION ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide elements that should not show */
.hidden { display: none !important; }
