/* Base Reset and Variables */
:root {
    --primary-bg: #0B1120;
    --accent-color: #00E5FF;
    --light-bg: #F5F7FA;
    --dark-text: #0F172A;
    --white-text: #ffffff;
    --card-bg: #ffffff;
    --dark-card-bg: #1A2234; /* Slightly lighter than primary-bg for hero card */
    --grey-text: #6B7280;
    --border-radius: 10px;
    --padding-sm: 20px;
    --padding-md: 40px;
    --padding-lg: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--card-bg);
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #4B5563;
}

.white-text {
    color: var(--white-text) !important;
}

/* Layout and Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--padding-sm);
/* Mobile padding */
}

.section-padding {
    padding: var(--padding-md) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: #475569;    /* darker, more readable */
    font-weight: 500;  /* slight bold for clarity */
}

.dark-bg {
    background-color: var(--primary-bg);
    color: var(--white-text);
}

.light-bg {
    background-color: var(--light-bg);
}

/* Header */
.main-header {
    background: #0B1120;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    backdrop-filter: none;
    color: var(--white-text);
    padding: 15px 0;  /* restore normal navbar height */
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.logo-main {
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: #00E5FF;
/* brand accent */
    letter-spacing: -0.5px;
}
/* End Logo Styles */

.main-nav {
    display: none;
/* Hide by default on mobile */
    gap: 25px;
}

.main-nav a {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.2s, opacity 0.2s;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.header-btn {
    display: none;
/* Hidden by default on mobile, shown on desktop/tablet */
}

.header-btn.primary-btn {
    border-radius: 6px;
    padding: 6px 22px;
/* Reduced vertical padding for lower height */
    font-weight: 600;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--dark-text);
    border-color: var(--accent-color);
}

.primary-btn:hover {
    background-color: #00BFFF;
    border-color: #00BFFF;
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);  /* full fill on hover */
    color: #0B1120;                         /* keep text dark */
    transform: translateY(-1px);
}

.large-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.full-width-btn {
    width: 100%;
}

/* Hero Section (UPDATED VERTICAL SPACE) */
.hero-section {
    padding-top: 10px;
/* pull hero closer under navbar */
    padding-bottom: 20px; /* MODIFIED: Explicitly set to 20px for further reduction (was 32px) */
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    /* 3) Bring content higher */
}

/* Removed: .hero-label */

.hero-text h1 {
    font-size: 3rem;
    margin-top: 26px;
    margin-bottom: 20px;
    max-width: 600px;
    color: var(--white-text);
}

/* Hero subheadline – increased size (+20%) and tightened spacing */
.hero-subheadline {
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: #A0AEC0;
}


/* Hero bullets – vertical spacing adjusted */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin-top: -4px;
  margin-bottom: 30px;
}


.hero-bullets li {
    font-size: 1.15rem;
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
    color: #E2E8F0;
}

.hero-bullets li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    margin-top: -6px; /* Added for vertical adjustment */
    /* Make buttons full width on mobile */
}

.hero-reassurance {
    color: #A0AEC0;
/* Brighter, more visible */
    font-size: 1rem;
/* Slightly larger for readability */
    margin-top: 8px;
/* Gentle spacing from buttons */
}

/* Hero Visual/Graph Card */
.equity-card {
    background-color: transparent;
/* Changed from dark-card-bg to transparent for cleaner look */
    border-radius: var(--border-radius);
    /* ORIGINAL: padding: 20px;
*/
    padding: 15px 20px 20px; /* Reduced top padding by 5px (Change 4) */
    width: 100%;
    max-width: 600px; /* UPDATED from 570px to 600px */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.equity-card-header {
    /* ORIGINAL: color: #A0AEC0;
*/
    color: #E5E7EB; /* Changed from #A0AEC0 to #E5E7EB for visibility (Change 3) */
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    /* Centering the title - assuming the HTML structure is just the title inside */
    text-align: center;
    display: flex; /* Assuming for centering with potential side elements not in HTML snippet */
    justify-content: center;
}

.equity-chart {
  width: 100%;
  margin-left: 0;

  /* shift left so it fills more space */
  height: 230px;

  /* unchanged */
  border-radius: 12px;
  background: linear-gradient(180deg,
    rgba(0,229,255,0.32) 0%,
    rgba(6,19,35,0.95) 100%);
  position: relative;
  margin-bottom: 18px;
  overflow: hidden;
}

/* light horizontal grid lines */
.equity-chart::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        rgba(255,255,255,0.06) 1px,
        transparent 1px
    );
    background-size: 100% 26px;
}

/* simple equity curve line */
.equity-chart::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: 30%;
    width: 120%;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(0,229,255,0.85),
        rgba(0,229,255,0.1)
    );
    border-radius: 999px;
}

.equity-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === NEW EQUITY STAT STYLES === */
.equity-stats {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 6px;
    font-size: 0.95rem;
}

.equity-stat-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: center;
/* Centers children horizontally */
    text-align: center;
/* Centers text content within the column */
}

.equity-stat-label {
    font-size: 0.78rem;
    color: var(--accent-color);
/* Make Max Drawdown match the green like the others */
    /* LIGHTENED COLOR for higher contrast */
    font-weight: 500;
/* INCREASED FONT WEIGHT */
    margin-bottom: 2px;
}

.equity-stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color) !important;    /* Force all 3 numbers to be green */
    white-space: nowrap;
}
/* === END NEW EQUITY STAT STYLES === */

.accent-text {
    color: var(--accent-color);
}

/* Trust Bar */
.trust-bar {
    padding-top: 12px; /* MODIFIED: Explicitly set to 12px for further reduction (was 20px) */
    padding-bottom: 40px; /* Kept previous bottom padding to maintain internal spacing */
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    text-align: center;
}

/* Trust logos – final aligned system */
.trust-tags {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;   /* ← ADD THIS */
}


.logo-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px; /* slightly taller = stronger presence */
}

.logo-tag img{
  height: 64px !important;     /* FORCE the rendered height */
  width: auto !important;
  max-width: 170px !important;

  object-fit: contain;
  opacity: 1;

  filter: brightness(1.08) contrast(1.2);
}



.trust-title {
    font-size: 2rem; /* MODIFIED: Matched h2 font size (was 1.1rem) */
    font-weight: 700; /* MODIFIED: Matched h2 font weight (was 600) */
    line-height: 1.2; /* ADDED: Matched h2 line height */
    color: var(--dark-text);
    text-align: center; /* ADDED: Matched .section-title alignment */
    margin-top: 12px;
    margin-bottom: 10px; /* MODIFIED: Matched .section-title bottom spacing (was 15px) */
}

/* How It Works (Steps) */
.steps-grid {
    display: grid;
    gap: 30px;
}
#how-it-works {
  scroll-margin-top: 80px;
  background: linear-gradient(
    180deg,
    #F8FAFC 0%,
    #DCE4EF 100%
  );
}

#features {
    scroll-margin-top: 47px;
}

#why-ryvex {
    scroll-margin-top: 65px;
}

#pricing {
    scroll-margin-top: 45px;
}

#contact {
  scroll-margin-top: 72px;
}

.step-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
    text-align: center;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--dark-text);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.step-title {
    margin-bottom: 10px;
    color: var(--dark-text);
}

/* Features */
.features-grid {
    display: grid;
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* Comparison Section */
.alt-comparison h2,
.alt-comparison p {
    text-align: center;
}

.alt-comparison .section-subtitle {
    margin-bottom: 50px;
}

.comparison-grid {
    display: grid;
    gap: 30px;
}

.comparison-card {
    background-color: #1A2234;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white-text);
}

.comparison-card h3 {
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
  margin-bottom: 20px;

  /* NEW — title emoji + text alignment */
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}
.title-emoji {
  display: inline-flex;
  width: 22px;        /* keeps all titles perfectly aligned */
  justify-content: center;
  flex-shrink: 0;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    color: #A0AEC0;
    margin-bottom: 12px;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.comparison-card li::before {
    content: "•";
    font-weight: 800;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
    color: var(--grey-text);
}

.comparison-card.primary-column {
    background-color: #1a2234; /* Slightly different shade for highlight */
    border: 2px solid var(--accent-color);
}

.primary-column h3 {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.primary-column li::before {
    content: "✔";
    color: var(--accent-color);
    font-size: 1.2rem;
    top: 0;
}

.primary-column li {
    color: var(--white-text);
}
/* --- FINAL comparison bullets (forces alignment + visibility) --- */

/* Make spacing consistent for ALL 3 columns */
.comparison-card li {
  position: relative;
  padding-left: 28px !important;
  line-height: 1.55 !important;
}

/* Manual + Bots text back to full visibility */
.comparison-card.manual-column li,
.comparison-card.bots-column li {
  color: var(--white-text) !important;
}

/* Manual: red dot (bigger + more visible) */
.comparison-card.manual-column li::before {
  content: "" !important;
  width: 9px;
height: 9px;
box-shadow: 0 0 4px rgba(239, 68, 68, 0.6);
  border-radius: 50%;
  background: rgba(239, 68, 68, 1) !important;
  display: inline-block;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Bots: yellow dot (bigger + more visible) */
.comparison-card.bots-column li::before {
  content: "" !important;
  width: 9px;
height: 9px;
box-shadow: 0 0 4px rgba(250, 204, 21, 0.6);
  border-radius: 50%;
  background: rgba(250, 204, 21, 1) !important;
  display: inline-block;
  margin-right: 10px;
  flex-shrink: 0;
}
/* --- IMPORTANT: Manual/Bots bullets must NOT be absolute-positioned --- */
.comparison-card.manual-column li,
.comparison-card.bots-column li {
  padding-left: 0 !important;   /* remove space reserved for absolute bullet */
}

.comparison-card.manual-column li::before,
.comparison-card.bots-column li::before {
  position: static !important;  /* make bullet part of the line (fixes alignment) */
  left: auto !important;
  top: auto !important;
}

/* Ryvex: keep green ✔, just fix spacing so it’s not attached */
.comparison-card.primary-column li::before {
  left: 0 !important;
  top: -4px !important;
  font-size: 1.4rem !important;
}
/* --- Final alignment fix for Manual & Bots bullet items --- */
.comparison-card.manual-column li,
.comparison-card.bots-column li {
  display: flex;
  align-items: center;
}

/* normalize bullet vertical alignment */
.comparison-card.manual-column li::before,
.comparison-card.bots-column li::before {
  top: 0 !important;
}
/* --- Optical balance tweak for Manual & Bots bullets --- */
.comparison-card.manual-column li::before,
.comparison-card.bots-column li::before {
  margin-right: 6px;
}
/* --- Micro nudge: center red/yellow dots relative to text --- */
.comparison-card.manual-column li::before,
.comparison-card.bots-column li::before {
  transform: translateY(2px);
}
/* --- Normalize title emoji + text alignment across comparison cards --- */
.comparison-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;          /* consistent space between emoji and text */
  line-height: 1.2;
}

/* Pricing */
.pricing-grid {
    display: grid;
    gap: 30px;
    align-items: center;
/* Ensures cards align vertically */
}
.highlighted-card {
    border: 2px solid var(--accent-color);
    position: relative;
    padding-top: 50px; /* extra space for the badge */
}
.pricing-badge {
    position: absolute;
    top: -14px;               /* half outside the card */
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--accent-color);
    color: #0B1120;           /* dark text on bright badge */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.pricing-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    text-align: center;
}
/* Special style for secondary buttons inside pricing cards */
.pricing-card .secondary-btn {
    background-color: rgba(0, 229, 255, 0.18); /* light cyan fill */
    color: #0B1120;                            /* dark text for readability */
    border-color: var(--accent-color);
    border-width: 2px;
    font-weight: 600;
}

.pricing-card .secondary-btn:hover {
    background-color: var(--accent-color);     /* full fill on hover */
    color: #0B1120;
    transform: translateY(-1px);
}

.pricing-card .pricing-label {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.pricing-card .pricing-line {
    color: var(--grey-text);
    margin-bottom: 20px;
    min-height: 40px;
    /* Uniform height for subtitle area */
}

.old-price {
    color: #E53935;
    font-size: 1.35rem;      /* slightly bigger again */
    font-weight: 700;        /* strong + readable */
    text-decoration: line-through;
    text-decoration-color: #E53935;
    text-decoration-thickness: 2px;
    margin-bottom: 0;
    margin-top: -18px;
}

.new-price {
    font-size: 2.55rem;           /* unified size for all three */
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
    white-space: nowrap;
}

.price-note {
    color: #2D3748;        /* already applied from before */
    font-size: 1rem;       /* already applied */
    font-weight: 700;      /* <-- NEW: makes it bold */
    letter-spacing: 0.2px; /* you already have this */
    margin-bottom: 30px;
    min-height: 20px;
}
.pricing-footer {
    margin-top: 20px;   /* shift footer lower */
    text-align: center;
    font-size: 0.95rem;
    color: #4B5563;
    min-height: 40px;   /* ensures consistent vertical position */
}

.pricing-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
    text-align: left;
}

.pricing-bullets li {
    font-size: 1rem;
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
    color: #4B5563;
}

.pricing-bullets li::before {
    content: "✔";
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 800;
    position: absolute;
    left: 0;
    top: 0;
}

.pricing-card .primary-btn {
    margin-top: auto;
/* Push button to the bottom */
}

.pricing-card.highlight {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

/* Security Section */
.security-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.security-text {
    width: 100%;
}

.security-bullets {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center; /* Default mobile centering */
}

.security-bullets li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #4B5563;
}

.security-bullets li::before {
    content: "🔒";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

.security-note{
  font-size: 0.9rem;
  color: var(--grey-text);
  font-style: italic;
  margin-top: 36px;
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0;
}

.faq-question {
    color: var(--dark-text);
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    color: var(--grey-text);
    margin-bottom: 0;
}

/* Contact */
.contact-section {
    padding-bottom: var(--padding-lg);
}

.contact-max-width {
    max-width: 900px;
}

.contact-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: transparent; /* Changed from dark-card-bg to transparent for cleaner look */
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: #A0AEC0;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: #0B1120;
    color: var(--white-text);
    font-size: 1rem;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #A0AEC0;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--dark-text);
    transition: background-color 0.2s;
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.social-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
}


/* Final CTA */
.final-cta .container {
    padding-top: var(--padding-lg);
    padding-bottom: var(--padding-lg);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 400px;
/* Limit width on mobile */
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    background-color: var(--primary-bg);
    color: var(--white-text);
    padding: var(--padding-md) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-links {
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #E2E8F0;
}

.footer-links ul li a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}
/* === STEP 2: Footer link color consistency === */

/* Force same color for normal + visited links */
.footer-links a,
.footer-links a:visited,
.footer-follow a,
.footer-follow a:visited,
.footer-trust-link,
.footer-trust-link:visited {
  color: #A0AEC0;
  text-decoration: none;
}

/* Hover state */
.footer-links a:hover,
.footer-follow a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}
/* === Myfxbook verification badge === */
/* === Myfxbook verification badge === */
.footer-trust-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 16px;
  border-radius: 999px;

  color: #BDF6FF !important;
  text-decoration: none;

  background: linear-gradient(
    180deg,
    rgba(0, 229, 255, 0.18),
    rgba(0, 229, 255, 0.11)
  );
  border: 1px solid rgba(0, 229, 255, 0.50);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.10) inset,
    0 10px 22px rgba(0, 0, 0, 0.25);

  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-trust-link:hover{
  background: linear-gradient(
    180deg,
    rgba(0, 229, 255, 0.24),
    rgba(0, 229, 255, 0.15)
  );
  border-color: rgba(0, 229, 255, 0.65);
  text-decoration: none;
}

/* === STEP 3: Footer polish === */

/* Payments spacing */
.footer-payments {
  margin-top: 4px;
}

.footer-payments .payment-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Follow links stack */
.footer-follow a {
  display: block;
  margin-bottom: 6px;
}

/* Disclaimer full-width & spacing */
.footer-disclaimer {
  grid-column: 1 / -1;
  margin-top: 40px;
  opacity: 0.85;
}
/* === Payment icons === */
.payment-badges img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.payment-badges img:hover {
  opacity: 1;
}
.footer-disclaimer {
    /* Adding a class name to the div for better control */
}

.footer-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #6B7280;
    margin-bottom: 0;
}

/* =========================== */
/* Tablet & Desktop Styles */
/* =========================== */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--padding-md);
    }

    .section-padding {
        padding: var(--padding-lg) 0;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem;
    }
    
    .trust-title { /* ADDED: To match desktop h2 font size */
        font-size: 2.5rem;
    }

    /* Header */
    .main-nav {
        display: flex;
    }

    .header-btn {
        display: inline-block;
    }

    .menu-toggle {
        display: none;
    }

    /* Hero */
    .hero-section {
        padding-top: 10px;
/* pull desktop hero up by ~1 cm */
        padding-bottom: 20px; /* MODIFIED: Explicitly set to 20px for further reduction (was 32px) */
    }

    .hero-content {
        display: grid;
/* MODIFIED: Switched from flex to grid */
        grid-template-columns: 1fr calc(50% + 10px);
/* MODIFIED: Adjusted from +20px to +10px */
        align-items: center;
        padding-top: 0px;
/* Rule 1: Reduced top padding for tighter spacing (Further reduced) */
        padding-bottom: 40px;
    }

    .hero-text {
        max-width: 100%;
/* MODIFIED: Allow grid to control width */
    }

    .hero-visual {
        display: flex;
        justify-content: flex-start; /* MODIFIED: Changed from flex-end to push the card to the left edge of the column */
        align-items: center;
        max-width: 100%; /* MODIFIED: Allow grid to control width */
    }

    .hero-text h1 {
        font-size: 2.7rem;
/* Rule 2: Adjusted font size to ensure a clean two-line fit on desktop */
    }

    .hero-subheadline {
        font-size: 1.4rem;
/* Adjusted size (Rule 2) */
        max-width: 500px;
    }

    .hero-bullets {
        margin-top: -4px;
/* Added for vertical adjustment */
    }

    .hero-actions {
        flex-direction: row;
        max-width: 500px;
        margin-top: -6px; /* Added for vertical adjustment */
    }

    /* Steps Grid */
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Comparison Grid */
    .comparison-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Pricing Grid */
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    /* Security (Desktop/Tablet adjustments for the new single column) */
    .security-content {
        flex-direction: column;
        align-items: center;
    }
    
    .security-text {
        width: 100%;
        max-width: 800px;
    }
    
    .security-text .section-title,
    .security-text .section-subtitle {
        text-align: center;
/* Ensure titles remain centered */
    }
    
    .security-bullets {
        /* Ensure left alignment inside the centered container */
        text-align: left;
    }


    /* Contact */
    .contact-section .section-title,
    .contact-section .section-subtitle {
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .contact-card:first-child p {
        flex-grow: 1;
    }

    .social-icons {
        justify-content: flex-start;
    }


    /* Final CTA */
    .cta-actions {
        flex-direction: row;
        max-width: 500px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 2fr;
        gap: 60px;
    }
}


/* Medium Tablet - Mobile Menu Breakpoint Override */
@media (max-width: 900px) {
    .main-nav {
        /* Mobile/Tablet menu toggle logic */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1A2234;
        flex-direction: column;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: none; /* Hide by default */
    }

    .main-nav.active {
        display: flex;
/* Show when active */
    }

    .main-nav a {
        padding: 10px var(--padding-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}
/* Force remove white pill backgrounds in trust bar */
/* TEMP DISABLED – testing cleanup
.trust-bar * {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
*/

.trust-bar *,
.trust-bar *::before,
.trust-bar *::after {
    border-radius: 0 !important;
}
/* ============================
   Safety & Security Section
   ============================ */

.safety-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.safety-icon {
  font-size: 1.15rem;
  line-height: 1.4;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  margin-top: 0; /* reset */
}
.safety-text {
    flex: 1;
    min-width: 0;
}
.safety-points p {
    display: flex;
    align-items: center;
    gap: 15px; /* spacing between emoji and text */
    font-size: 1rem;
    line-height: 1.65;
    color: #0F172A;
    margin-bottom: 14px;
}
/* Center the disclaimer under the safety box (even if it has no class) */
#security .safety-points + p {
    display: table;          /* shrink to text width */
    margin: 28px auto 0;     /* perfectly centered */
    text-align: center;

    font-size: 0.95rem;      /* 1 size bigger */
    line-height: 1.6;
    color: #6B7280;
}
/* ============================
   Safety & Security – Final Sizing & Premium
============================ */

.safety-section .security-content {
  max-width: 960px;      /* wider, stronger presence */
  margin: 0 auto;
  padding: 36px 42px;    /* premium breathing room */
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

/* ============================
   Safety & Security – Remove inner white box (safety-points)
============================ */

.safety-section .safety-points{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;

  padding: 0 40px !important;     /* left/right padding */
  margin: 28px auto 0 !important;
  max-width: 960px;

  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* =========================
   FAQ (Accordion)
========================= */

.faq-section {
  padding: 80px 0;
  background: #ffffff;
  color: var(--dark-text);
}

.faq-section .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  color: #64748B;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.08);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 18px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0F172A;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 18px 18px;
  color: #475569;
  line-height: 1.65;
  font-size: 1rem;
}

/* Plus / minus icon */
.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.10);
  border: 1px solid rgba(0, 229, 255, 0.25);
  position: relative;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(15, 23, 42, 0.75);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item[open] .faq-question {
  padding-bottom: 12px;
}

/* Mobile */
@media (max-width: 640px) {
  .faq-section {
    padding: 64px 0;
  }

  .faq-question {
    font-size: 1.02rem;
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}
/* =========================
   FAQ polish overrides
   (paste below the FAQ CSS)
========================= */

#faq { scroll-margin-top: 110px; } /* fixes menu anchor landing */

.faq-section {
  padding: 64px 0; /* was 80 */
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.faq-title {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem); /* smaller than before */
  margin-bottom: 8px;
}

.faq-subtitle {
  margin-bottom: 22px; /* tighter */
  max-width: 60ch;
}

.faq-accordion {
  gap: 12px; /* slightly tighter */
}

.faq-question {
  padding: 16px; /* was 18 */
  font-size: 1.06rem;
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-icon {
  width: 32px;  /* slightly smaller */
  height: 32px;
}
/* Fix anchor landing for FAQ */
#faq {
  scroll-margin-top: 75px; /* increase if you still see the gap */
}
/* Center FAQ title & subtitle */
#faq .faq-title,
#faq .faq-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#faq .faq-subtitle {
  max-width: 520px;
}
/* Improve FAQ subtitle visibility */
#faq .faq-subtitle {
  color: #475569;          /* darker slate */
  font-weight: 500;        /* slightly stronger */
  letter-spacing: 0.01em;  /* cleaner readability */
}
#faq .faq-subtitle {
  font-size: 1.08rem;
}
/* Lift FAQ block slightly upward */
#faq {
  padding-top: 48px; /* was effectively larger via section padding */
}
/* Narrow FAQ cards slightly */
#faq .faq-accordion {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
/* FAQ card visual enhancement */
#faq .faq-item {
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F8FAFC 100%
  );
  border: 1px solid rgba(15, 23, 42, 0.08);
}
/* ================================
   Contact CTA — FINAL (LOCKED)
================================ */

#contact.section-padding.dark-bg.final-cta {
  background: linear-gradient(
    180deg,
    #243A66 0%,
    #1A2F52 100%
  ) !important;
  color: #ffffff;
}

#contact.section-padding.dark-bg.final-cta::before,
#contact.section-padding.dark-bg.final-cta::after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(36, 58, 102, 0.22) 0%,
    rgba(26, 47, 82, 0.22) 100%
  ) !important;
}
/* Contact vertical spacing tweak */
#contact.section-padding {
  padding-top: 10px;
  padding-bottom: 85px;
}
.main-footer {
  background-color: #070B14;
}
/* Contact section layout */
#contact.contact-section .contact-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

#contact .contact-title{
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  margin-bottom: 12px;
}

#contact .contact-subtitle{
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 60ch;
  margin-bottom: 22px;
}

#contact .contact-actions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#contact .contact-note{
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

#contact .contact-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

#contact .contact-form label{
  display:block;
  font-weight: 600;
  margin-bottom: 6px;
}

#contact .contact-form input,
#contact .contact-form textarea{
  width:100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  outline: none;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus{
  border-color: rgba(0,229,255,0.7);
}

#contact .field{
  margin-bottom: 14px;
}

#contact .form-disclaimer{
  margin-top: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px){
  #contact.contact-section .contact-grid{
    grid-template-columns: 1fr;
  }
}

/* Contact form size tuning (ALL screens) */
#contact .contact-card {
  max-width: 480px;
  padding: 18px;
  margin-left: auto;
}

#contact .contact-form textarea {
  min-height: 110px;
}
/* Contact form: force width on desktop */
#contact .contact-grid .contact-card{
  width: 100%;
  max-width: 470px;
  justify-self: end;     /* prevents grid stretch weirdness */
  margin-left: auto;
}
#contact .contact-telegram {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.02rem;      /* was 0.95 */
  font-weight: 600;        /* stronger */
  color: #00e5ff;
  opacity: 0.95;
  text-decoration: none;
}
#contact .contact-telegram:hover {
  text-decoration: underline;
  opacity: 1;
}
/* Contact – inline Telegram support link */
#contact .contact-telegram-line {
  margin-top: 20px;
  font-size: 1.08rem;   /* slightly bigger */
  color: rgba(255,255,255,0.95);
}

#contact .contact-telegram-link {
  color: #00e5ff;
  font-weight: 600;
  text-decoration: none;
}

#contact .contact-telegram-link:hover {
  text-decoration: underline;
}
.footer-top{
  padding-top: 0;
}

.footer-logo,
.footer-links,
.footer-right{
  margin-top: 0;
}

.footer-links h4,
.footer-right h4{
  margin-top: 0;
}
.footer-content{
  padding-top: 0;
}
 /* Footer – center Payments + Follow Us titles & icons */
.footer-right {
    text-align: center;
}
.footer-follow {
    text-align: center;
}

.footer-follow h4 {
    text-align: center;
}

.footer-right .footer-payments-title {
    text-align: center;
}

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 10px;

}
/* FOOTER: force 3-column top row */
.footer-top{
  display: grid !important;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  align-items: start !important;
  gap: 64px;
}

/* left column */
.footer-logo{
  margin: 0 !important;
  padding: 0 !important;
}

/* middle column */
.footer-links{
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;   /* (center is what makes it feel "floating") */
  justify-self: center;          /* keeps it visually centered as a block */
}
.footer-links h4{ margin-top: 0 !important; }

/* right column */
.footer-right{
  margin: 0 !important;
  padding: 0 !important;
  justify-self: end;             /* pushes it to the far right */
  text-align: right !important;
}
.footer-right h4{ margin-top: 0 !important; }

/* keep payment + follow stacked neatly */
.footer-right .payment-badges{ margin: 0 0 14px 0 !important; }
.footer-right .footer-follow{ margin: 0 !important; }

/* mobile */
@media (max-width: 900px){
  .footer-top{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links,
  .footer-right{
    justify-self: start;
    text-align: left !important;
  }
}
/* Pull footer content up */
.footer-content{
  padding-top: 0 !important;
}

.main-footer .container{
  padding-top: 0 !important;
}

/* Make sure the grid row starts at the top */
.footer-top{
  margin-top: 0 !important;
  padding-top: 0 !important;
  align-content: start !important;
}

/* Kill any hidden top spacing inside columns */
.footer-logo p{ margin-top: 8px !important; }
.footer-logo a{ margin-top: 10px !important; display: inline-block; }

.footer-links{ padding-top: 0 !important; margin-top: 0 !important; }
.footer-right{ padding-top: 0 !important; margin-top: 0 !important; }

/* 1) Stop any centering behavior in footer */
.main-footer,
.footer-content,
.footer-top{
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* 2) If footer has min-height / height that creates empty space, remove it */
.main-footer{
  min-height: auto !important;
  height: auto !important;
}

/* 3) Remove any big top padding that might be on footer itself */
.main-footer{
  padding-top: 24px !important; /* keep some, but not huge */
  padding-bottom: 24px !important;
}

/* 4) Hard-reset margins in the columns */
.footer-logo,
.footer-links,
.footer-right{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.main-footer { padding-top: 0 !important; }

.main-footer .container { padding-top: 0 !important; }
.footer-content { padding-top: 0 !important; }

.main-footer { min-height: unset !important; height: auto !important; }

.footer-top{
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  align-items: start;
  gap: 64px;
}

.footer-links{ justify-self: center; text-align: left; }
.footer-right{ justify-self: end; text-align: right; }

@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
  .footer-links, .footer-right{ justify-self: start; text-align: left; }
}
.footer-logo p{
  font-size: 1.05rem;          /* slightly bigger */
  font-weight: 500;            /* stronger but not bold */
  color: rgba(255,255,255,0.9);/* brighter */
  margin: 8px 0 14px 0;        /* better spacing */
}
.footer-logo p{
  letter-spacing: 0.2px;
}
.footer-trust-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 20px;     /* clearly lower */
margin-left: -12px;  /* move left to align with tagline text */
  padding: 6px 14px;

  font-size: 0.95rem;
  font-weight: 500;

  color: #00e5ff; /* Ryvex accent */
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 999px;

  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-trust-link:hover{
  background: rgba(0,229,255,0.18);
  border-color: #00e5ff;
  color: #00e5ff;
  text-decoration: none;
}

.footer-trust-link:focus,
.footer-trust-link:active{
  text-decoration: none;
}
.footer-links h4,
.footer-payments-title,
.footer-follow h4{
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}
.footer-top h4{
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.footer-payments-title{
  margin-bottom: 16px;
}
/* Payments column - vertical layout */
.payment-badges{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.payment-badges img{
  height: 20px;
  width: auto;
  opacity: 0.9;
}
/* Kill underline / hover line for footer quick links */
.footer-links a::after{
  display: none !important;
  content: none !important;
}

.footer-links a{
  border-bottom: none !important;
}

.footer-links a:hover{
  border-bottom: none !important;
  text-decoration: none !important;
}
/* Align right footer columns with left tagline */
.footer-top > .footer-links,
.footer-top > .footer-right,
.footer-top > .footer-follow{
  transform: translateY(61px) !important;
}
/* Nudge Follow Us to the right for visual balance */
.footer-top > .footer-follow{
 /* margin-left: 140px;*/
}
.footer-follow h4{
  white-space: nowrap;
}
/* Footer section titles – normalize color & weight */
.footer-links h4,
.footer-right h4,
.footer-follow h4 {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}
.footer-disclaimer h4{
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  text-transform: uppercase;
}
/* Footer top spacing from section border */
.footer-content {
  padding-top: 56px; /* adjust: 40–60px if needed */
}
.main-footer{
  padding-top: 20px !important;
}
/* FORCE center for Payments + Follow Us (titles + content) */
.footer-right,
.footer-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-right .footer-payments-title,
.footer-follow h4 {
  width: 100%;
  text-align: center !important;
}

/* Payments icons row centered */
.footer-right .payment-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Follow links centered (until we convert to icons) */
.footer-follow a {
  display: block;
  text-align: center;
}
.footer-right,
.footer-follow {
  position: relative;
  /*left: -60px;*/
}
/* Icon polish */
.footer-follow .social-icon{
  width: 22px;
  height: 22px;
  opacity: 0.92;
  transition: transform .18s ease, opacity .18s ease, color .18s ease;
}

.footer-follow a:hover .social-icon{
  transform: translateY(-2px);
  opacity: 1;
  /* no color change */
}
.payment-badges{
  display:flex;
  gap:14px;
  align-items:center;
}

.payment-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:default;
}

.payment-svg{
  width:26px;
  height:26px;
  color:#9CA3AF;           /* same grey as social icons */
  transition: color .2s ease, transform .2s ease;
}

.payment-icon:hover .payment-svg{
  color:#E5E7EB;
  transform: translateY(-1px);
}

/* =========================================================
   Footer Follow Icons — FINAL LOCK (no blue hover / visited)
   ========================================================= */

footer.main-footer .footer-follow a:link,
footer.main-footer .footer-follow a:visited,
footer.main-footer .footer-follow a:hover,
footer.main-footer .footer-follow a:focus,
footer.main-footer .footer-follow a:focus-visible,
footer.main-footer .footer-follow a:active {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Prevent mobile blue tap flash */
footer.main-footer .footer-follow a {
  -webkit-tap-highlight-color: transparent;
}
/* Follow icons vertical spacing fix */
footer.main-footer .footer-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-self: start;
}
/* SVG icons inherit link color safely */
footer.main-footer .footer-follow .social-icon,
footer.main-footer .footer-follow .social-icon * {
  background-color: rgb(15, 23, 42) !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}
/* FORCE: How it works cards description text */
.how-it-works * p,
#how-it-works p,
section#how-it-works p,
.how-it-works-section p,
.how-steps p,
.steps p {
  color: #0F172A !important;
  font-weight: 500 !important;
}
/* Trust section – align title spacing with other sections */
.trust-title {
  margin-top: 30px;   /* pushes title down from top border */
}
/* Features section – fix title readability on white cards */
.feature-card h3 {
  color: #0F172A;        /* same near-black as other titles */
  font-weight: 700;
}
/* Features section – improve description visibility */
.feature-card p {
  color: #334155;       /* readable slate */
  font-weight: 500;
}
/* Features – center titles to reduce left-heavy feel */
.feature-card h3 {
  text-align: center;
}
/* Features – visible but still premium brand accent */
.feature-card{
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow:
    0 10px 24px rgba(2, 6, 23, 0.06),
    0 0 0 1px rgba(0, 229, 255, 0.12);
}
/* Features – center description text for harmony */
.feature-card p{
  text-align: center;
}
/* Safety & Security – pull title slightly upward */
.safety-section h2 {
  margin-top: 0;
}
.safety-section h2 {
  margin-top: -12px;
}
/* Safety & Security – fix excessive top padding */
.safety-section {
  padding-top: 40px;
}
/* Safety & Security – strengthen bullet point readability (actual markup uses <p>) */
.safety-section .safety-points p {
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 500;
}
/* Safety & Security – restore subtitle hierarchy */
.safety-section .section-subtitle,
.safety-section p.subtitle {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
}
/* Safety & Security – align Myfxbook link color with Telegram support */
.safety-section a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Safety & Security – link color tuned for light background */
.safety-section a {
  color: #0891B2;              /* deeper cyan/teal (reads better on white) */
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.safety-section a:hover {
  color: #0E7490;
}
/* =========================
   FAQ desktop spacing polish
   ========================= */
@media (min-width: 1024px) {

  /* Reduce overall FAQ box height */
  .faq-question {
    padding: 14px 18px;      /* was ~18–20 */
    gap: 12px;               /* was 18 */
    margin-bottom: 0;        /* remove extra vertical push */
    line-height: 1.3;
  }

}
@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
    line-height: 1.18;
    max-width: 100%;
  }

  .hero-title br {
    display: none;
  }
}
/* Trust logos – responsive */
@media (max-width: 1024px) {
  .trust-tags {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 640px) {
  .trust-tags {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }
}
@media (max-width: 640px) {
  .logo-center-mobile {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
