:root {
  --bg-midnight: #07090e;
  --bg-surface: #0e131f;
  --bg-elevated: #151d2f;
  --bg-glass: rgba(14, 19, 31, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 91, 255, 0.4);
  --accent-primary: #635bff;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 91, 255, 0.25);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --emerald: #10b981;
  --ruby: #ef4444;
  --sapphire: #3b82f6;
  --gold: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-midnight);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-gem {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #635bff, #818cf8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 16px var(--accent-glow);
}

.logo-text span {
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #07090e;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #635bff, #4f46e5);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 91, 255, 0.1);
  border: 1px solid rgba(99, 91, 255, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 700px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Interactive Device Mockup */
.hero-mockup-wrapper {
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}

.phone-mockup {
  background: #0a0e1a;
  border: 4px solid #2a3449;
  border-radius: 46px;
  padding: 16px;
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(99, 91, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.phone-island {
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  margin: 0 auto 16px;
}

.card-sample {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  margin-bottom: 12px;
}

.card-header-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.badge-gem {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.valuation-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 8px;
}

.metric-bar {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
}

.metric-bar span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Features Grid */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 91, 255, 0.12);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(99, 91, 255, 0.2);
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.6;
}

/* Supported Gems */
.gems-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.gem-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
}

.gem-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-ruby { background: var(--ruby); }
.dot-sapphire { background: var(--sapphire); }
.dot-emerald { background: var(--emerald); }
.dot-paraiba { background: #06b6d4; }
.dot-spinel { background: #a855f7; }

/* Methodology Section */
.methodology-box {
  background: linear-gradient(135deg, rgba(21, 29, 47, 0.8), rgba(14, 19, 31, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

/* Footer & Legal */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  margin-top: 80px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-company-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-top: 12px;
}

.footer-links-col h5 {
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 10px;
}

.footer-links-col a {
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: var(--accent-light);
}

.footer-legal-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Legal Pages Styling */
.legal-page {
  padding: 60px 0 100px;
  max-width: 840px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

/* Support Form */
.support-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .step-row {
    flex-direction: column;
    gap: 12px;
  }
}
