* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0c12;
  color: #e5e9f0;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --bg-dark: #0a0c12;
  --bg-card: #151823;
  --bg-card-light: #1e2130;
  --border-dim: #2c3442;
  --text-muted: #8b95a9;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}
.bg-orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -200px; }
.bg-orb-2 { width: 400px; height: 400px; background: var(--accent); top: 40%; right: -100px; animation-delay: -7s; }
.bg-orb-3 { width: 500px; height: 500px; background: var(--secondary); bottom: -150px; left: 30%; animation-delay: -14s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}
.glass-effect {
  background: rgba(20, 25, 40, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px -8px rgba(67, 97, 238, 0.5);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -8px rgba(67, 97, 238, 0.6);
}
.btn-outline {
  border: 1px solid rgba(67, 97, 238, 0.4);
  color: white;
  background: rgba(67, 97, 238, 0.05);
}
.btn-outline:hover:not(:disabled) {
  background: rgba(67, 97, 238, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-success { background: var(--success); color: #0a0c12; }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-loading { pointer-events: none; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  top: 50%; left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.navbar {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 12, 18, 0.9);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(145deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.logo span {
  background: linear-gradient(145deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 500; transition: all 0.2s; font-size: 0.95rem; position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: #ddd; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 12, 18, 0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 1.5rem; font-weight: 500; }
.mobile-menu .close-btn {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem; cursor: pointer;
}
.ticker-bar {
  background: #0f1219;
  padding: 8px 0;
  border-bottom: 1px solid #202834;
  font-size: 0.85rem;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-container {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  display: inline-block;
  margin-right: 32px;
  color: var(--text-muted);
}
.ticker-item i { color: var(--primary); margin-right: 4px; }
.ticker-up { color: var(--success); }
.ticker-down { color: var(--danger); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hero { padding: 60px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, #ffffff, #b8c5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.hero-title span {
  background: linear-gradient(145deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.stat-number { font-size: 2rem; font-weight: 700; color: white; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
.hero-image {
  background: radial-gradient(circle at 30% 50%, rgba(67,97,238,0.15), transparent 70%);
  text-align: center;
}
.hero-image i { font-size: 22rem; color: rgba(67,97,238,0.2); filter: drop-shadow(0 20px 30px #000); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #b0c0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 16px auto 0; }
.features-grid, .plans-grid, .testimonials-grid, .methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.feature-card, .plan-card, .testimonial-card, .method-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid var(--border-dim);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover, .method-card:hover, .plan-card:hover { 
  border-color: var(--primary); 
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(67,97,238,0.2);
}
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(67,97,238,0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--primary);
}
.steps-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin: 40px 0; }
.step { flex: 1 1 200px; text-align: center; max-width: 240px; }
.step-number {
  width: 70px; height: 70px;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.plan-card { background: var(--bg-card); cursor: pointer; }
.plan-card h3 { font-size: 1.8rem; font-weight: 600; margin-bottom: 8px; color: white; }
.plan-card p { color: var(--text-muted); margin-bottom: 8px; }
.plan-card .xrp-amount { font-size: 2rem; font-weight: 700; color: var(--primary); margin: 16px 0; }
.plan-card .daily-rate { color: var(--success); font-weight: 600; }
.plan-card .min-max { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-card { text-align: left; padding: 28px; }
.user { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.user i { font-size: 48px; color: var(--primary); }
.user h4 { font-weight: 600; }
.user span { color: var(--text-muted); font-size: 0.85rem; }
.rating i { color: #ffb703; margin-right: 2px; }
.testimonial-text { margin: 16px 0; color: #d1d8e8; }
.verified-badge { color: var(--success); font-size: 0.8rem; display: inline-flex; align-items: center; gap: 4px; }
.method-card { text-align: center; padding: 28px 20px; cursor: pointer; }
.method-icon { font-size: 3rem; margin-bottom: 16px; color: var(--primary); }
.method-name { font-weight: 600; font-size: 1.2rem; margin-bottom: 8px; }
.method-desc { color: var(--text-muted); font-size: 0.9rem; }
.dashboard-container {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 40px;
  margin: 40px 0;
  border: 1px solid var(--border-dim);
}
.balance-card {
  background: linear-gradient(145deg, #1a1f30, #131826);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--border-dim);
}
.balance-label { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.balance-amount { font-size: 3.5rem; font-weight: 700; color: white; }
.balance-amount small { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }
.transaction-list { background: #131826; border-radius: 24px; padding: 0; list-style: none; }
.transaction-item {
  display: flex; justify-content: space-between; padding: 18px 24px;
  border-bottom: 1px solid #2a3440;
}
.transaction-item:last-child { border-bottom: none; }
.tx-type { font-weight: 600; }
.tx-type.deposit { color: var(--success); }
.tx-type.withdrawal { color: var(--danger); }
.tx-type.investment { color: var(--primary); }
.tx-date { color: var(--text-muted); font-size: 0.85rem; }
.por-card {
  background: #0f1420;
  border-radius: 16px;
  padding: 20px;
  margin-top: 24px;
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  gap: 16px;
}
.por-bar {
  height: 8px;
  background: #2a3440;
  border-radius: 4px;
  flex: 1;
}
.por-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--success), var(--primary));
  border-radius: 4px;
}
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(6, 214, 160, 0.1);
  border-radius: 40px;
  color: var(--success);
  font-size: 0.85rem;
  border: 1px solid rgba(6, 214, 160, 0.3);
}
.modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  align-items: center; justify-content: center;
  z-index: 1000;
}
.modal-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-dim);
  border-radius: 32px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-card input, .modal-card select {
  width: 100%; padding: 16px; background: #0f1420;
  border: 1px solid var(--border-dim); border-radius: 40px;
  color: white; font-size: 1rem; margin-bottom: 16px;
  outline: none;
}
.modal-card input:focus { border-color: var(--primary); }
.modal-card input.error { border-color: var(--danger); }
.modal-actions { display: flex; gap: 12px; justify-content: center; }
.error-message { color: var(--danger); font-size: 0.85rem; margin-top: -12px; margin-bottom: 12px; text-align: left; padding-left: 16px; display: none; }
.error-message.show { display: block; }
.password-strength {
  height: 4px;
  background: #2a3440;
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}
.password-strength-bar {
  height: 100%;
  width: 0;
  transition: width 0.3s, background 0.3s;
}
.password-strength-bar.weak { width: 33%; background: var(--danger); }
.password-strength-bar.medium { width: 66%; background: var(--warning); }
.password-strength-bar.strong { width: 100%; background: var(--success); }
.password-requirements {
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.password-requirements li { margin-bottom: 4px; }
.password-requirements li.valid { color: var(--success); }
.password-requirements li.valid i { margin-right: 4px; }
.investment-summary {
  background: #0f1420;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}
.investment-summary .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #2a3440;
}
.investment-summary .row:last-child { border-bottom: none; }
.investment-summary .label { color: var(--text-muted); }
.investment-summary .value { font-weight: 600; }
.footer { border-top: 1px solid #1f2937; padding: 48px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 40px; }
.footer-col p { color: var(--text-muted); margin: 16px 0; }
.social-icons { display: flex; gap: 16px; font-size: 1.4rem; cursor: pointer; }
.social-icons i:hover { color: var(--primary); }
.copyright { text-align: center; color: var(--text-muted); margin-top: 48px; padding-top: 24px; border-top: 1px solid #1f2937; }
.ad-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 0;
  background: #000;
}
.ad-video-wrapper video {
  width: 100%;
  display: block;
  max-height: 300px;
  object-fit: cover;
}
.ad-video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.ad-video-brand {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.ad-video-brand .brand-icon { font-size: 1.5rem; }
.ad-video-brand .brand-name { font-weight: 700; font-size: 0.9rem; color: #fff; }
.ad-video-brand .brand-tagline { font-size: 0.7rem; color: rgba(255,255,255,0.6); }
.ad-skip-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.2s;
}
.ad-skip-btn:hover { background: rgba(0,0,0,0.9); }
.ad-skip-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ad-video-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s linear;
}
.ad-brand-color { transition: color 0.3s; }

.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--bg-card-light);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
  min-width: 300px;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast i { font-size: 1.2rem; }
.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@media (max-width:900px) { 
  .hero-grid { grid-template-columns:1fr; text-align:center; } 
  .hero-desc { margin:0 auto; } 
  .hero-image i { font-size:14rem; } 
}
@media (max-width:700px) { 
  .nav-links { display:none; } 
  .hamburger { display:block; } 
}
@media (max-width:700px) {
  .container { padding: 0 16px; }
  .hero { padding: 24px 0 32px; }
  .hero-title { font-size: 2rem; margin-bottom: 12px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 20px; }
  .hero-stats { gap: 20px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
  .stat-number { font-size: 1.4rem; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.9rem; }
  .features-grid, .plans-grid, .testimonials-grid, .methods-grid { gap: 16px; grid-template-columns: 1fr; }
  .feature-card, .plan-card, .testimonial-card, .method-card { padding: 20px 16px; border-radius: 16px; }
  .feature-icon { width: 48px; height: 48px; font-size: 1.4rem; margin-bottom: 16px; }
  .step { flex: 1 1 140px; max-width: 160px; }
  .step-number { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: 12px; }
  .dashboard-container { padding: 16px; border-radius: 20px; margin: 20px 0; }
  .balance-card { padding: 20px; border-radius: 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .balance-amount { font-size: 2rem; }
  .balance-amount small { font-size: 1rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .btn-sm { padding: 6px 12px; font-size: 0.8rem; }
  .modal-card { padding: 24px; }
  .modal-card input, .modal-card select { padding: 12px; font-size: 0.9rem; }
  .transaction-item { padding: 12px 16px; font-size: 0.85rem; }
  .footer { padding: 28px 0 16px; margin-top: 32px; }
  .footer-grid { gap: 24px; }
  .investment-summary { padding: 14px; }
  .investment-summary .row { padding: 6px 0; }
  .por-card { padding: 14px; gap: 12px; }
  .steps-container { gap: 16px; margin: 20px 0; }
  .ticker-bar { font-size: 0.75rem; padding: 4px 0; }
  .hero-image i { font-size: 10rem; }
  .hero-grid { gap: 20px; }
  .security-badge { padding: 4px 10px; font-size: 0.75rem; }
  .toast { min-width: auto; max-width: 90vw; padding: 12px 16px; font-size: 0.85rem; }
  .toast-container { bottom: 16px; right: 16px; }
}
