@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ArvionUnion Color Palette - Premium Fintech / Wellness */
  --bg-primary: #0A0F1A;
  --bg-secondary: #121826;
  --surface: rgba(30, 41, 59, 0.5);
  --surface-hover: rgba(30, 41, 59, 0.8);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-strong: rgba(255, 255, 255, 0.12);
  --accent-primary: #3B82F6;
  --accent-secondary: #10B981;
  --highlight-glow: rgba(59, 130, 246, 0.4);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --spacing-section: 120px;
  --radius-card: 20px;
  --radius-btn: 16px;
  --max-width: 1320px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gradient-text {
  background: linear-gradient(135deg, #F8FAFC, #94A3B8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent-text {
  background: linear-gradient(135deg, var(--accent-primary), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Effects */
.bg-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}
.orb-1 {
  top: -10%; left: -5%; width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}
.orb-2 {
  bottom: 10%; right: -5%; width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.4);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}
header.scrolled {
  background: rgba(10, 15, 26, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--accent-primary); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.nav-actions { display: flex; gap: 16px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #2563EB);
  color: #fff;
  box-shadow: 0 4px 14px var(--highlight-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--highlight-glow);
  filter: brightness(1.1);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: var(--spacing-section);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 30px;
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.hero-visual {
  position: relative;
  perspective: 1000px;
}
.hero-image {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
  animation: float 6s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotateX(2deg); }
  50% { transform: translateY(-15px) rotateX(0deg); }
  100% { transform: translateY(0px) rotateX(2deg); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Sections general */
section {
  padding: var(--spacing-section) 0;
  position: relative;
}

/* Glass Cards (Features/Trust) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 40px;
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: var(--border-glass-strong);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
}
.card-icon svg { width: 28px; height: 28px; }

/* Pricing */
.pricing-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card h3 { color: var(--text-main); font-size: 1.5rem; }
.price { font-size: 3rem; font-weight: 700; margin: 24px 0; color: var(--text-main); }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-features { list-style: none; margin: 32px 0; text-align: left; flex-grow: 1; }
.pricing-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--text-muted); }
.pricing-features li svg { color: var(--accent-secondary); width: 20px; height: 20px; }
.pricing-card.popular {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, var(--surface) 100%);
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Contact Form */
.form-group { margin-bottom: 24px; text-align: left; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.95rem; }
.form-control {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* FAQ Accordion */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 500px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 48px; font-size: 1.5rem; }
.legal-content p { margin-bottom: 24px; }
.legal-content ul { margin-bottom: 24px; padding-left: 24px; color: var(--text-muted); }
.legal-content li { margin-bottom: 8px; }

/* Footer */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  background: var(--bg-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand p { margin-top: 16px; font-size: 0.95rem; max-width: 300px; }
.footer-links h4 { color: var(--text-main); margin-bottom: 24px; font-size: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --spacing-section: 80px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
  .hero { padding-top: 140px; }
  
  /* Mobile Menu Open State */
  .mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-secondary);
    padding: 40px 24px;
    align-items: flex-start;
  }
  .mobile-menu-active .nav-actions {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 40px;
    left: 24px;
    right: 24px;
    width: auto;
  }
}