/* ===== CSS RESET & NORMALIZE (simple version) ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #f6f8fa;
  color: #141726;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ====== DESIGN TOKENS ====== */
:root {
  --color-primary: #0A0C1B;
  --color-secondary: #3A19A5;
  --color-accent: #22E5F9;
  --color-bg: #F6F8FA;
  --color-surface: #fff;
  --color-border: #E5E9F4;
  --color-shade: #EDF0FA;
  --color-dark: #1D2233;
  --color-gray: #8592AA;
  --color-success: #21C088;
  --color-error: #FF6471;
  --color-warning: #FAA41A;
  --color-cta: #2962FF;

  --font-display: 'Orbitron', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-base: 12px;
  --radius-full: 999px;
  --shadow-base: 0 2px 12px 0 rgba(16,28,68,0.06);
  --shadow-card: 0 4px 24px 0 rgba(37,55,102,0.10);
  --shadow-hover: 0 6px 32px 0 rgba(37,55,102,0.14);
  --transition-base: 0.18s cubic-bezier(.4,0,.2,1);
}

/* ====== TYPOGRAPHY ====== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.16;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.22;
  color: var(--color-secondary);
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
}
p, li, table, th, td, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.93rem;
  color: var(--color-gray);
}
blockquote {
  font-style: italic;
  margin: 0 0 14px 0;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  color: var(--color-secondary);
  background: var(--color-shade);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  padding-top: 40px;
  padding-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

/* ====== HEADER & MAIN NAV ====== */
header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 38px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0 8px 0;
  color: var(--color-dark);
  transition: color var(--transition-base);
  position: relative;
}
nav.main-nav a.button.primary {
  margin-left: 20px;
  padding: 8px 28px;
}
nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  color: var(--color-secondary);
}


/* ====== HERO SECTION ====== */
.hero-section {
  background: linear-gradient(100deg, #F6F9FF 70%, #EFF3FB 100%);
  padding: 48px 0 56px 0;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.hero-section .container {
  z-index: 1;
}
.hero-section .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 660px;
  position: relative;
  z-index: 3;
}
.hero-section h1 {
  font-size: 2.4rem;
  color: var(--color-primary);
  letter-spacing: 1px;
}
.hero-section h2 {
  font-size: 1.3rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-gray);
  margin-bottom: 16px;
}
.hero-section .button {
  margin-top: 8px;
}
.background-animation {
  position: absolute;
  right: -120px;
  top: 0;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 40% 60%, var(--color-accent) 0%, #E7ECFE 80%);
  opacity: 0.14;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

/* ====== BUTTONS ====== */
.button {
  padding: 10px 30px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  box-shadow: var(--shadow-base);
  cursor: pointer;
  display: inline-block;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.button.primary {
  background: var(--color-secondary);
}
.button.secondary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.button.large {
  padding: 15px 44px;
  font-size: 1.21rem;
  margin-top: 10px;
}
.button:hover, .button:focus-visible {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-hover);
}
.button.live-chat {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 10px 18px;
  margin-top: 20px;
}

/* MENU TOGGLE (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base);
  position: relative;
  z-index: 60;
}
.mobile-menu-toggle:focus-visible, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* ====== MOBILE MENU OVERLAY ====== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 23, 38, 0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 26px;
  padding-right: 0px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-20vw);
  transition: opacity .25s, pointer-events .25s, transform .35s cubic-bezier(.32,1.32,.13,1.05);
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: none;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.4rem;
  margin: 0 30px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color var(--transition-base);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 50px auto 0 auto;
  width: 90%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #fff;
  font-family: var(--font-display);
  padding: 10px 0 8px 0;
  border-radius: var(--radius-full);
  transition: color var(--transition-base), background var(--transition-base);
}
.mobile-nav a.button,
.mobile-nav a.primary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: bold;
  padding: 10px 28px;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  color: var(--color-accent);
  background: rgba(60, 25, 165, 0.10);
}

/* HIDE NAV ON MOBILE / SHOW MENU BUTTON */
@media (max-width: 1040px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1041px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ====== FLEXBOX STRUCTURES ====== */
.feature-grid,
.trade-types-grid,
.team-grid,
.card-container,
.card-grid,
.analysis-cards,
.accordion-faq,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius-base);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-base);
  padding: 24px;
  flex: 1 1 310px;
  min-width: 290px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-base);
  border-radius: var(--radius-base);
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.04);
}
.user-avatar {
  flex: 0 0 60px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 60px;
  height: 60px;
  background: var(--color-shade);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.star-rating {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-family: var(--font-display);
}
.user-name {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.testimonial-quote {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: var(--color-dark);
}
.testimonial-quote blockquote {
  background: var(--color-shade);
  border-left: 4px solid var(--color-accent);
  color: var(--color-secondary);
  padding: 18px 22px;
  border-radius: var(--radius-base);
}

.feature-item,
.tool-feature,
.security-feature,
.benefit-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-surface);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
  padding: 22px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.feature-item:hover,
.tool-feature:hover,
.security-feature:hover,
.benefit-icon:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.025);
}

/* ===== MARKET TICKERS & TABLES ===== */
.market-tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.market-ticker {
  background: var(--color-surface);
  box-shadow: var(--shadow-base);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 110px;
  font-size: 1.01rem;
}
.market-ticker .trend.up {
  color: var(--color-success);
}
.market-ticker .trend.down {
  color: var(--color-error);
}
.live-prices-table, .pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-base);
  border-radius: var(--radius-base);
  overflow: hidden;
  margin-bottom: 24px;
  font-size: 0.99rem;
}
.live-prices-table th, .pricing-table th {
  background: var(--color-shade);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 10px;
}
.live-prices-table td, .pricing-table td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.live-prices-table tr:last-child td,
.pricing-table tr:last-child td {
  border-bottom: none;
}
.live-prices-table td.trend.up { color: var(--color-success); }
.live-prices-table td.trend.down { color: var(--color-error); }

/* Market/analysis cards */
.analysis-card {
  background: var(--color-surface);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
  padding: 22px;
  flex: 1 1 300px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.analysis-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
}

/* ==== QUICK TRADE / WIDGET / BANNERS ==== */
.quick-trade-widget, .comparison-banner {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 18px 32px;
  border-radius: var(--radius-base);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: var(--shadow-base);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin: 28px 0 0 0;
}
.comparison-banner p {
  color: var(--color-primary);
  margin: 0;
}

.lit-fee-icons, .icon-features, .value-icons, .certification-icons, .faq-icons, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 20px 0 0 0;
}
.lit-fee-icons img, .icon-features img, .value-icons img, .certification-icons img, .faq-icons img, .footer-social img {
  width: 40px;
  height: 40px;
  filter: grayscale(18%) contrast(1.04) drop-shadow(0px 2px 6px rgba(34, 229, 249, 0.19));
  border-radius: var(--radius-full);
}

/* ====== ACCORDIONS / FAQ ====== */
.accordion-faq {
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: var(--color-shade);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
  padding: 18px 20px;
}
.faq-item h3 {
  margin-bottom: 7px;
  color: var(--color-secondary);
  font-size: 1.07rem;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(94deg,#22E5F9 6%, #3A19A5 100%);
  color: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
  text-align: center;
  padding: 46px 0 35px 0;
  margin-top: 44px;
}
.cta-section .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.cta-section h2 {
  color: #fff;
}
.cta-section p {
  color: #F7FCFF;
}
.cta-section .button {
  margin-top: 16px;
  background: #fff;
  color: var(--color-secondary);
  box-shadow: var(--shadow-hover);
}
.cta-section .button:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* ====== FOOTER ====== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 20px 20px 20px;
}
.footer-brand {
  min-width: 180px;
  max-width: 250px;
}
.footer-brand img {
  width: 108px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  color: #D5DBEA;
  margin-top: 4px;
}
.footer-navigation a {
  color: #dadfff;
  font-size: 0.99rem;
  transition: color var(--transition-base);
  font-family: var(--font-display);
}
.footer-navigation a:hover {
  color: var(--color-accent);
}
.footer-contact {
  color: #cfd7ee;
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.8;
}
.footer-contact img {
  width: 16px;
  vertical-align: middle;
  margin-right: 4px;
  display: inline-block;
  margin-bottom: 1px;
}
.footer-social {
  margin-top: 10px;
}
.footer-social a {
  margin-right: 8px;
}
.footer-social img {
  background: #fff;
  box-shadow: 0 1px 5px rgba(44,47,82,0.14);
  border-radius: var(--radius-full);
  padding: 6px;
  width: 38px;
  height: 38px;
  transition: box-shadow var(--transition-base), background var(--transition-base);
}
.footer-social img:hover {
  background: var(--color-accent);
  box-shadow: 0 2px 8px #22E5F9AA;
}
.footer-legal {
  flex-basis: 100%;
  font-size: 0.93rem;
  margin-top: 14px;
  color: #a7b7e0;
  opacity: 0.85;
  letter-spacing: 0.1px;
}

/* ====== SECTIONS: FORM, LEGAL, BENEFITS ETC ====== */
.form-section, .benefits-section, .legal-section, .security-features-section, .about-mission-section, .insights-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
}
.registration-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.registration_form_fields {
  min-width: 190px;
}
.progress-indicator {
  min-width: 150px;
}
.security-assurance {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--color-shade);
  border-radius: var(--radius-base);
  padding: 8px 18px;
  margin-top: 7px;
}
.short-benefit-list {
  margin-top: 24px;
  font-size: 0.98rem;
  color: var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.confirmation-message {
  background: var(--color-shade);
  padding: 18px 32px;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  gap: 10px;
}
.next-steps {
  margin-bottom: 24px;
}
.thank-you-section .button {
  margin-top: 24px;
}

/* Tables for legal + pricing */
.terms-content, .important-clauses {
  margin-bottom: 18px;
}
.terms-content ul, .important-clauses ul, .rights-explained, .summary-points {
  list-style: disc inside;
  margin: 8px 0 14px 0;
  padding-left: 18px;
}
.important-clauses h3 {
  margin-top: 8px;
}

/* GLOWING/HIGHLIGHTED BUTTON (MÄRKTE FILTERS) */
.glowing-sort-button {
  background: var(--color-surface);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-accent);
  padding: 7px 20px;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.99rem;
  margin-right: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px #22e5f91c;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}
.glowing-sort-button:hover,
.glowing-sort-button.active {
  background: var(--color-accent);
  color: #fff;
}

/* AUDIT/PROCESS & BADGES LISTS */
.audit-process-list {
  list-style: decimal inside;
  margin: 12px 0 16px 0;
  color: var(--color-dark);
  font-size: 1rem;
  padding-left: 14px;
}
.compliance-badges {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 18px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px #0A0C1B22;
  z-index: 1400;
  padding: 26px 16px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  color: var(--color-secondary);
  animation: cookieBannerFadeIn 0.6s cubic-bezier(.42,0,.66,1.44);
}
@keyframes cookieBannerFadeIn {
  0% { transform: translateY(100px); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  color: var(--color-secondary);
  max-width: 740px;
  flex: 1 1 60%;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 26px;
  font-size: 1.03rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
  margin-left: 0px;
}
.cookie-banner-btn.accept {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 8px #3A19A522;
}
.cookie-banner-btn.reject {
  background: var(--color-shade);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner-btn.setting {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-accent);
}
.cookie-banner-btn:hover,
.cookie-banner-btn:focus-visible {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 16px #22e5f9cc;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(10,12,27,0.48);
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.3s cubic-bezier(.33,.77,.7,1);
}
.cookie-modal-overlay.show {
  display: flex;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-hover);
  padding: 34px 22px 28px 22px;
  min-width: 320px;
  width: 94vw;
  max-width: 440px;
  color: var(--color-secondary);
  animation: scaleInModal .24s cubic-bezier(.51,1.21,.39,.94);
  position: relative;
}
@keyframes scaleInModal {
  0% { transform: scale(.84); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.44rem;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-category-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-secondary);
}
.cookie-category.essential label,
.cookie-category.essential .cookie-category-label {
  color: var(--color-gray);
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  color: var(--color-secondary);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus-visible {
  color: var(--color-accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 920px) {
  .container {
    padding: 0 12px;
    max-width: 100vw;
  }
  .footer-brand img {
    width: 85px;
  }
  .live-prices-table, .pricing-table {
    font-size: 0.91rem;
  }
}
@media (max-width: 800px) {
  .content-wrapper, .card-container, .analysis-cards, .trade-types-grid, .team-grid {
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 5px;
  }
  .section, .form-section, .benefits-section, .legal-section, .security-features-section, .about-mission-section, .insights-section {
    padding: 24px 3vw;
  }
  .hero-section {
    padding: 30px 0 32px 0;
  }
  main {
    padding: 12px 0 30px 0;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 22px 5px 15px 5px;
  }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.45rem; }
  h2, .h2 { font-size: 1.10rem; }
  .hero-section h1 { font-size: 1.35rem; }
  .hero-section h2 { font-size: 1rem; }
  .content-wrapper, .testimonials-slider {
    gap: 10px;
  }
}
@media (max-width: 500px) {
  .market-ticker, .card {
    min-width: 80vw;
    font-size: 0.92rem;
  }
  .testimonial-card {
    min-width: 70vw;
  }
}

/* ===== SCROLLBAR TWEAKS ===== */
html {
  scrollbar-width: auto;
  scrollbar-color: var(--color-accent) var(--color-shade);
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-shade);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 12px;
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .feature-item, .tool-feature, .testimonial-card, .analysis-card, .benefit-icon, .faq-item {
  transition: box-shadow .18s cubic-bezier(.4,0,.2,1), transform .20s cubic-bezier(.4,0,.2,1);
}
nav.main-nav a:after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity .14s, transform .23s cubic-bezier(.46,0,.31,1);
  transform: translateY(12px) scaleX(0.6);
}
nav.main-nav a:hover:after,
nav.main-nav a:focus-visible:after {
  opacity: 1;
  transform: none;
}
.button, .cookie-banner-btn {
  transition: background .16s cubic-bezier(.48,0,.47,1.11),
              color .16s cubic-bezier(.48,0,.47,1.11),
              box-shadow .21s cubic-bezier(.39,1.07,.63,1.32),
              transform .19s cubic-bezier(.55,0,.51,1);
}
.button:active {
  transform: scale(.97);
}

/* ====== MISC ====== */
hr {
  border: 0;
  border-top: 1.5px solid var(--color-shade);
  margin: 28px 0 18px 0;
}

::-webkit-input-placeholder { color: var(--color-gray); }
::-moz-placeholder { color: var(--color-gray); }
:-ms-input-placeholder { color: var(--color-gray); }
::placeholder { color: var(--color-gray); }

.hide { display: none !important; }

/* ====== A11Y: FOCUS & OUTLINE ====== */
a:focus, button:focus, input:focus, .button:focus-visible, .cookie-banner-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ====== Z-INDEX LAYERS ====== */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/* ====== FLEXBOX GAP FALLBACK (for old browsers) ====== */
@supports not (gap: 20px) {
  .content-wrapper > * {
    margin-right: 18px;
    margin-bottom: 18px;
  }
}

/* ======= END ======= */
