/* ==========================================================================
   TRADEZY PRO — OFFICIAL LANDING PAGE STYLESHEET
   Brand Design System: Emerald Green, Bright Green, Mint, Charcoal & Crisp White
   ========================================================================== */

:root {
  /* Brand Palette (Strictly matched to Tradezy Pro Android App) */
  --primary: #16a34a;          /* Primary brand green */
  --primary-dark: #166534;     /* Dark emerald green */
  --primary-light: #22c55e;    /* Bright green accent */
  --primary-glow: rgba(22, 163, 74, 0.22);

  --secondary: #22c55e;        /* Bright Green */
  --accent-cyan: #10b981;      /* Emerald mint */
  --accent-amber: #f59e0b;     /* Warning / VIP Gold */
  --accent-amber-soft: #fef3c7;
  --accent-red: #dc2626;       /* Bearish / Stop Loss */
  --accent-red-soft: #fee2e2;

  /* Surfaces & Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f3faf5;     /* App secondary canvas background */
  --bg-mint-soft: #e8f5ec;     /* App soft container background */
  --bg-card: #ffffff;
  --bg-dark: #0d1117;          /* Charcoal dark surface */
  --bg-dark-card: #161b22;

  /* Typography & Neutrals */
  --text-primary: #17211b;     /* Main dark slate text */
  --text-secondary: #4b5563;   /* Secondary gray text */
  --text-muted: #6b7280;       /* Muted text */
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #e1ebe3;
  --border-focus: #16a34a;
  --border-dark: #21262d;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(22, 163, 74, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(22, 163, 74, 0.12), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px -12px rgba(22, 163, 74, 0.2), 0 10px 18px -4px rgba(0, 0, 0, 0.06);

  /* Layout & Sizing */
  --max-width: 1200px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.2);
}

.brand-text-pro {
  color: var(--primary);
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.42);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--primary-dark);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-mint-soft);
  transform: translateY(-2px);
}

.btn-dark {
  background: #111827;
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn-google-play {
  padding: 10px 20px;
}

.play-badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-micro-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.85;
}

.btn-main-text {
  font-size: 0.95rem;
  font-weight: 800;
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-card);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 76px;
  background: radial-gradient(circle at 82% 20%, rgba(34, 197, 94, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 10% 70%, rgba(22, 163, 74, 0.08) 0%, transparent 35%),
              linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 620px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-mint-soft);
  border: 1px solid rgba(22, 163, 74, 0.3);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-pill-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
}

.pill-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.check-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-mint-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-backdrop {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.25) 0%, rgba(34, 197, 94, 0.05) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 1;
}

.hero-main-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(22, 163, 74, 0.2);
  background: #ffffff;
  transition: transform 0.4s ease;
}

.hero-main-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 163, 74, 0.25);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 12%;
  left: -24px;
}

.badge-bottom-right {
  bottom: 8%;
  right: -20px;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.badge-icon.green {
  background: var(--bg-mint-soft);
  color: var(--primary);
}

.badge-icon.gold {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
}

.badge-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   TRUST & HIGHLIGHTS BAR
   ========================================================================== */
.trust-bar {
  background: #ffffff;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: var(--shadow-sm);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-mint-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text-box h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.trust-text-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 92px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-mint-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.feature-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.feature-card.highlight .feature-tag {
  background: var(--bg-mint-soft);
  color: var(--primary-dark);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-list-item::before {
  content: "•";
  color: var(--primary);
  font-weight: 900;
  font-size: 1.1rem;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR PREVIEW (IN-PAGE TOOL WIDGET)
   ========================================================================== */
.calculator-showcase {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.calc-sidebar {
  background: linear-gradient(145deg, #0d1117 0%, #161b22 100%);
  color: #ffffff;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-sidebar-header h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.calc-sidebar-header p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.calc-pills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
}

.calc-pill-item span:first-child {
  color: var(--primary-light);
  font-weight: 800;
}

.calc-sidebar-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-sidebar-footer span {
  font-size: 0.82rem;
  color: #9ca3af;
}

.calc-interactive-panel {
  padding: 44px 38px;
  background: #ffffff;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-prefix {
  position: absolute;
  left: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.calc-input {
  width: 100%;
  padding: 10px 14px 10px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-secondary);
  transition: var(--transition);
}

.calc-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.calc-results-box {
  background: var(--bg-mint-soft);
  border: 1.5px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.calc-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.calc-stat-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.calc-stat-value.red {
  color: var(--accent-red);
}

.calc-stat-value.gold {
  color: #b45309;
}

/* ==========================================================================
   APP SCREENSHOTS SECTION & GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 163, 74, 0.45);
  box-shadow: var(--shadow-xl);
}

.phone-mockup-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0d1117;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .screenshot-img {
  transform: scale(1.04);
}

.gallery-overlay-badge {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay-badge {
  opacity: 1;
}

.zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-card:hover .zoom-pill {
  transform: translateY(0);
}

.gallery-info {
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.gallery-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  display: inline-block;
}

.gallery-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gallery-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: #ffffff;
  color: var(--text-primary);
}

.lightbox-image-wrap {
  max-height: 74vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
  display: flex;
  justify-content: center;
}

.lightbox-img {
  max-height: 74vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption-bar {
  margin-top: 16px;
  text-align: center;
  color: #ffffff;
}

.lightbox-caption-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.lightbox-caption-sub {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 4px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lightbox-prev-btn {
  left: -58px;
}

.lightbox-next-btn {
  right: -58px;
}

/* ==========================================================================
   WHY CHOOSE TRADEZY PRO
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.benefit-card {
  display: flex;
  gap: 20px;
  padding: 30px 28px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: var(--shadow-md);
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--bg-mint-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-number-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(22, 163, 74, 0.35);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-primary);
  gap: 16px;
  transition: var(--transition);
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(22, 163, 74, 0.1);
  padding-top: 16px;
}

/* ==========================================================================
   REGULATORY RISK DISCLAIMER (Direct from app HomeScreen & LegalPolicy)
   ========================================================================== */
.risk-warning-card {
  max-width: 900px;
  margin: 50px auto 0;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.risk-icon {
  font-size: 1.5rem;
  color: #d97706;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.risk-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

.risk-text p {
  font-size: 0.85rem;
  color: #78350f;
  line-height: 1.55;
}

/* ==========================================================================
   FINAL CALL TO ACTION (CTA)
   ========================================================================== */
.final-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 85% 20%, rgba(34, 197, 94, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 15% 80%, rgba(22, 101, 52, 0.4) 0%, transparent 50%),
              linear-gradient(135deg, #0d1117 0%, #166534 60%, #14532d 100%);
  color: #ffffff;
  padding: 68px 56px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.final-cta-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.final-cta-content p {
  color: #d1fae5;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.final-cta-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-coins-asset {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
  animation: floatAnim 4.5s ease-in-out infinite alternate;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #0a0e14;
  color: #9ca3af;
  padding: 72px 0 32px;
  border-top: 1px solid #1f2937;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #9ca3af;
  max-width: 340px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #161b22;
  border: 1px solid #30363d;
  display: grid;
  place-items: center;
  padding: 8px;
  transition: var(--transition);
}

.social-icon-link img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.social-icon-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #9ca3af;
  transition: var(--transition);
  cursor: pointer;
}

.footer-links-list a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.footer-play-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-play-cta p {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #9ca3af;
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   LEGAL & PRIVACY POLICY MODAL
   ========================================================================== */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.policy-modal.active {
  display: flex;
  opacity: 1;
}

.policy-card {
  position: relative;
  background: #ffffff;
  max-width: 840px;
  width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.policy-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
}

.policy-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.policy-close-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.policy-close-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.policy-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 0 28px;
  gap: 16px;
  overflow-x: auto;
}

.policy-tab-btn {
  padding: 12px 6px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.policy-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.policy-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.policy-tab-content {
  display: none;
}

.policy-tab-content.active {
  display: block;
}

.policy-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 20px 0 8px;
}

.policy-body h4:first-child {
  margin-top: 0;
}

.policy-body p {
  margin-bottom: 14px;
}

.policy-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.policy-body li {
  margin-bottom: 6px;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 20px 32px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  gap: 18px;
  z-index: 99;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.mobile-drawer .btn {
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions, .hero-pill-points {
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-showcase {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 32px;
  }

  .final-cta-actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .nav-menu,
  .nav-actions .btn-google-play {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section {
    padding: 68px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .calc-form-grid {
    grid-template-columns: 1fr;
  }

  .calc-results-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
