/* ============================================
   FOREX SMART SIGNAL — LANDING PAGE
   Glassmorphism · Blue Theme · Premium
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-950: #03122e;
  --blue-900: #051a3e;
  --blue-800: #0a2560;
  --blue-700: #1236a0;
  --blue-600: #1a4fd8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --accent:   #38bdf8;
  --white:    #ffffff;

  --glass-bg:     rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-hover:  rgba(255,255,255,0.10);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.36);

  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --duration:   0.3s;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--blue-950);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2563eb, #1e3a8a);
  top: -15%;
  left: -10%;
  animation-duration: 14s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #38bdf8, #1d4ed8);
  bottom: -10%;
  right: -10%;
  animation-duration: 16s;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #6366f1, #1e40af);
  top: 50%;
  left: 60%;
  animation-duration: 10s;
  animation-delay: -3s;
  opacity: 0.2;
}

@keyframes floatOrb {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.container {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ============================================
   PROFILE SECTION
   ============================================ */

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 32px;
  width: 100%;
}

/* Logo */
.logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.logo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(59,130,246,0.4);
  animation: rotateSlow 8s linear infinite;
}

.logo-ring-2 {
  inset: -16px;
  border-color: rgba(59,130,246,0.2);
  animation-direction: reverse;
  animation-duration: 14s;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 3px rgba(37,99,235,0.5),
    0 0 40px rgba(37,99,235,0.6),
    0 0 80px rgba(59,130,246,0.3);
  animation: logoPulse 3s ease-in-out infinite;
  transition: transform 0.4s var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37,99,235,0.5), 0 0 40px rgba(37,99,235,0.6), 0 0 80px rgba(59,130,246,0.3); }
  50%       { box-shadow: 0 0 0 3px rgba(37,99,235,0.8), 0 0 60px rgba(37,99,235,0.8), 0 0 120px rgba(59,130,246,0.5); }
}

.logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Verified Badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(59,130,246,0.4);
  color: var(--blue-200);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* App Name */
.app-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.app-tagline {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-300);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.app-description {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 380px;
  margin-bottom: 28px;
}

.app-description strong {
  color: var(--blue-200);
  font-weight: 600;
}

/* Stats Row */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 380px;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-top: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
  margin: 0 8px;
}

/* ============================================
   CTA DOWNLOAD BUTTON
   ============================================ */

.cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.btn-download {
  display: block;
  width: 100%;
  max-width: 420px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  border: 1px solid rgba(96,165,250,0.4);
  box-shadow:
    0 4px 24px rgba(37,99,235,0.5),
    0 0 0 0 rgba(37,99,235,0);
  transition: all 0.35s var(--transition);
  cursor: pointer;
}

.btn-download:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 12px 40px rgba(37,99,235,0.7),
    0 0 0 4px rgba(37,99,235,0.2);
}

.btn-download:active {
  transform: translateY(0) scale(0.98);
}

.btn-download-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
}

.playstore-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px;
}

.playstore-icon svg {
  width: 24px;
  height: 24px;
}

.btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.btn-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.btn-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.btn-arrow {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--transition);
}

.btn-download:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-download:hover .btn-shine {
  left: 160%;
}

.free-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.free-label svg {
  color: var(--blue-300);
}

/* Footer button variant */
.btn-footer {
  max-width: 420px;
}

/* ============================================
   FEATURE LINK CARDS
   ============================================ */

.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.link-card:hover {
  background: var(--glass-hover);
  border-color: rgba(59,130,246,0.35);
  transform: translateX(4px) translateY(-1px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.25);
}

.link-card:hover::before {
  opacity: 1;
}

.link-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  transition: transform 0.3s var(--transition);
}

.link-card:hover .link-card-icon {
  transform: scale(1.08) rotate(3deg);
}

.link-card-content {
  flex: 1;
}

.link-card-content h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.2;
}

.link-card-content p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.link-card-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.3);
  transition: all 0.3s var(--transition);
}

.link-card:hover .link-card-arrow {
  color: var(--blue-300);
  transform: translateX(3px);
}

.link-card-badge {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(56,189,248,0.2);
  border: 1px solid rgba(56,189,248,0.4);
  color: var(--accent);
}

.link-card-badge.new {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.4);
  color: #a5b4fc;
}

/* ============================================
   PLAYSTORE BANNER
   ============================================ */

.playstore-banner {
  width: 100%;
  margin-bottom: 40px;
}

.banner-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
}

.banner-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,99,235,0.5);
}

.banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.banner-text p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars span:first-child {
  color: #fbbf24;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.star-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  letter-spacing: -0.01em;
}

.btn-small:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37,99,235,0.6);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
  width: 100%;
  margin-bottom: 44px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--white);
  background: linear-gradient(135deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: -10px;
  right: 16px;
  font-size: 5rem;
  color: rgba(37,99,235,0.12);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.2);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 2px;
}

.testi-stars {
  color: #fbbf24;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.testi-text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   FOOTER CTA
   ============================================ */

.footer-cta {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-cta-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  width: 100%;
}

.footer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.2) !important;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--blue-950); }
::-webkit-scrollbar-thumb {
  background: var(--blue-600);
  border-radius: 100px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
  .container {
    padding: 36px 16px 60px;
  }

  .logo-wrapper {
    width: 100px;
    height: 100px;
  }

  .logo-img {
    width: 100px;
    height: 100px;
  }

  .stats-row {
    padding: 14px 16px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .banner-content {
    padding: 14px 16px;
  }
}

@media (min-width: 640px) {
  .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
  }
}
