/* ══════════════════════════════════════════════════════
   APEX TRADING EU — STYLESHEET
   ══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --blue:        #1a6ef5;
  --blue-light:  #3d87ff;
  --blue-dark:   #0d4fc7;
  --blue-glow:   rgba(26, 110, 245, 0.18);
  --blue-subtle: rgba(26, 110, 245, 0.07);
  --dark:        #0c0f1a;
  --dark-2:      #131726;
  --dark-3:      #1c2236;
  --mid:         #2d3555;
  --text:        #e2e8f5;
  --text-muted:  #8895b3;
  --white:       #ffffff;
  --border:      rgba(255, 255, 255, 0.08);
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 4px 30px rgba(0, 0, 0, 0.35);
  --shadow-blue: 0 8px 40px rgba(26, 110, 245, 0.28);
  --transition:  all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Utility ────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, #7eb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 110, 245, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 110, 245, 0.55);
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-store {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 110, 245, 0.35);
  width: 100%;
  justify-content: center;
  margin-top: auto;
  animation: pulse-glow 2.8s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 110, 245, 0.6);
  animation: none;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(26, 110, 245, 0.35); }
  50%       { box-shadow: 0 6px 28px rgba(26, 110, 245, 0.65), 0 0 18px rgba(61, 135, 255, 0.25); }
}

.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* ── Section Shared ─────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: var(--blue-subtle);
  color: var(--blue-light);
  border: 1px solid rgba(26, 110, 245, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(12, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--blue-light);
  font-size: 1rem;
}

.logo-eu {
  color: var(--blue-light);
  font-weight: 900;
}

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

.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active { color: var(--white); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white) !important;
  box-shadow: 0 3px 14px rgba(26, 110, 245, 0.35);
}

.nav-cta:hover {
  box-shadow: 0 5px 22px rgba(26, 110, 245, 0.5);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 110, 245, 0.12) 0%, transparent 70%),
              var(--dark);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 110, 245, 0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; animation-delay: 0s; }
.shape-2 { width: 350px; height: 350px; bottom: 0; left: -100px; animation-delay: -3s; }
.shape-3 { width: 200px; height: 200px; top: 40%; right: 10%; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 110, 245, 0.1);
  border: 1px solid rgba(26, 110, 245, 0.3);
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-light), #a0c4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════
   STORES
   ══════════════════════════════════════════════════════ */
.stores {
  padding: 100px 0;
  background: var(--dark-2);
  position: relative;
}

.stores::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.store-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.store-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.store-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 110, 245, 0.4);
  box-shadow: var(--shadow-blue);
}

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

.store-card--featured {
  border-color: rgba(26, 110, 245, 0.35);
  background: linear-gradient(135deg, rgba(26, 110, 245, 0.06) 0%, var(--dark-3) 100%);
}

.store-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.store-badge--soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-card--soon {
  opacity: 0.72;
}

.store-card--soon:hover {
  opacity: 0.88;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.store-card--soon:hover::before { opacity: 0; }

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  animation: none;
}

.store-flag {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.15s ease;
}

.store-card:hover .store-flag {
  animation: flag-bounce 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes flag-bounce {
  0%   { transform: translateY(0) scale(1); }
  20%  { transform: translateY(-10px) scale(1.05); }
  40%  { transform: translateY(-5px) scale(1.02); }
  60%  { transform: translateY(-8px) scale(1.04); }
  80%  { transform: translateY(-2px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

.store-info { flex: 1; margin-bottom: 28px; }

.store-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.store-domain {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.store-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.stores-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════════════════════ */
.why-us {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
}

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

.feature-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 110, 245, 0.3);
  box-shadow: var(--shadow-blue);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: var(--blue-subtle);
  border: 1px solid rgba(26, 110, 245, 0.2);
  border-radius: 16px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(26, 110, 245, 0.15);
  border-color: rgba(26, 110, 245, 0.4);
  transform: scale(1.05);
}

.feature-icon {
  width: 28px;
  height: 28px;
  stroke: var(--blue-light);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--dark-2);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-graphic {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26, 110, 245, 0.2);
  animation: spin 20s linear infinite;
}

.ring-1 { width: 100%; height: 100%; animation-duration: 25s; }
.ring-2 { width: 72%; height: 72%; animation-duration: 18s; animation-direction: reverse; border-color: rgba(26, 110, 245, 0.3); }
.ring-3 { width: 46%; height: 46%; animation-duration: 12s; border-color: rgba(26, 110, 245, 0.5); }

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

.graphic-center {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(26, 110, 245, 0.5);
  z-index: 1;
}

.graphic-center svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
}

.about-content .section-tag { display: inline-block; margin-bottom: 14px; }

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-content .btn { margin-top: 10px; }

/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 44px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 30px;
  flex: 1;
  min-width: 220px;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: rgba(26, 110, 245, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.contact-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--blue-subtle);
  border: 1px solid rgba(26, 110, 245, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-light);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}

a.contact-value:hover { color: var(--blue-light); }

.contact-cta { text-align: center; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 48px;
}

.footer-logo { font-size: 1.1rem; margin-bottom: 14px; }

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 1160px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1050px) {
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .about-visual { order: -1; }

  .about-content .section-title { text-align: center; }

  .about-content .btn { margin: 10px auto 0; display: block; width: fit-content; }

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

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 15, 26, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-link { font-size: 1.3rem; padding: 12px 28px; }

  .nav-toggle { display: flex; z-index: 1001; }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider { width: 60px; height: 1px; }

  .contact-card { flex-direction: column; }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
  .hero-stats { padding: 18px 22px; }
}
