/* =============================================
   Quvra Vale — main stylesheet
   Typography: Sora (headings) + Inter (body copy)
   Brand colours: #4338ca (indigo) + #f59e0b (amber)
============================================= */

/* Fonts are loaded with <link rel="preconnect"> and <link rel="stylesheet">
   in every HTML file so the browser discovers them on first parse. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Visually hidden, still read by screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --indigo: #4338ca; /* indigo-700 — primary brand colour */
  --indigo-dark: #1e1b4b; /* indigo-950 — dark backgrounds */
  --indigo-light: #818cf8; /* indigo-400 — light accent */
  --indigo-50: #eef2ff; /* indigo-50 — background tint */
  --amber: #f59e0b; /* amber — main accent */
  --amber-dark: #b45309; /* deep amber — hover state */
  /* Short aliases used by the rules below */
  --blue: var(--indigo);
  --blue-dark: var(--indigo-dark);
  --blue-light: var(--indigo-light);
  --blue-50: var(--indigo-50);
  --gold: var(--amber);
  --gold-dark: var(--amber-dark);
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--gray-900); background: #fff; line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Sora', sans-serif; line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- HEADER ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1rem;
}
.header__logo { display: flex; align-items: center; gap: .5rem; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--gray-900); }
.header__logo-icon { width: 36px; height: 36px; background: var(--blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.header__logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.header__logo-sub { color: var(--blue); }
.header__nav { display: flex; align-items: center; gap: .25rem; }
.header__nav a { padding: .4rem .75rem; border-radius: 8px; font-size: .875rem; font-weight: 500; color: var(--gray-700); transition: background .15s, color .15s; }
.header__nav a:hover, .header__nav a.active { background: var(--blue-50); color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.btn-ghost { background: none; border: none; font-size: .875rem; font-weight: 500; color: var(--gray-700); padding: .4rem .75rem; border-radius: 8px; transition: background .15s; }
.btn-ghost:hover { background: var(--gray-100); }
.btn-primary { background: var(--blue); color: #fff; border: none; padding: .5rem 1.25rem; border-radius: 10px; font-size: .875rem; font-weight: 600; transition: background .15s, transform .1s; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:active { transform: scale(.97); }
.btn-primary-lg { background: var(--blue); color: #fff; border: none; padding: .75rem 2rem; border-radius: 12px; font-size: 1rem; font-weight: 700; transition: background .15s, transform .1s; display: inline-block; }
.btn-primary-lg:hover { background: var(--blue-dark); }
.btn-primary-lg:active { transform: scale(.97); }
.btn-white { background: #fff; color: var(--blue); border: none; padding: .75rem 2rem; border-radius: 12px; font-size: 1rem; font-weight: 700; transition: background .15s, transform .1s; display: inline-block; }
.btn-white:hover { background: var(--blue-50); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: .25rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: .2s; }
.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: .75rem 1.5rem 1rem; border-top: 1px solid var(--gray-200); }
.mobile-nav a { padding: .6rem .75rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--gray-700); }
.mobile-nav a:hover { background: var(--blue-50); color: var(--blue); }
.mobile-nav .btn-primary { margin-top: .5rem; text-align: center; color: #fff; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
  color: #fff; padding: 5rem 0 4rem;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero__title { font-size: 2.75rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hero__title span { color: #fcd34d; }
.hero__desc { color: #e0e7ff; font-size: 1.05rem; margin-bottom: 1.75rem; }
.hero__sub { font-size: .85rem; color: #c7d2fe; margin-top: .75rem; }
.hero__form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.hero__form-card h2, .hero__form-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .25rem; }
.hero__form-card p { font-size: .8rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .75rem; }
.form-group label { font-size: .7rem; font-weight: 700; color: var(--gray-500); letter-spacing: .05em; text-transform: uppercase; }
.form-group input {
  border: 1.5px solid var(--gray-200); border-radius: 8px; padding: .6rem .85rem;
  font-size: .9rem; font-family: inherit; color: var(--gray-900); outline: none;
  transition: border-color .15s;
}
.form-group input:focus { border-color: var(--blue); }

/* ---- Phone field: country code select + number input ---- */
.phone-field {
  display: flex; flex-wrap: wrap; gap: 0; border: 1.5px solid var(--gray-200); border-radius: 8px;
  overflow: hidden; background: #fff; transition: border-color .15s;
}
.phone-field:focus-within { border-color: var(--blue); }
.phone-field:has(.input-error) { border-color: #dc2626; }
.phone-field .error-message { flex-basis: 100%; order: 99; padding: 0 .6rem .4rem; }
.phone-code-wrap { position: relative; flex-shrink: 0; flex-basis: 130px; width: 130px; border-right: 1.5px solid var(--gray-200); }
.phone-code-select {
  background-color: transparent; border: none; padding: .6rem 22px .6rem .6rem; color: var(--gray-900);
  font-size: .82rem; font-family: inherit; cursor: pointer; outline: none; appearance: none; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234338ca' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
}
.phone-spinner { display: none; align-items: center; justify-content: center; padding: .6rem; border-right: 1.5px solid var(--gray-200); min-width: 72px; }
.phone-spinner.active { display: flex; }
.spinner-ring { width: 16px; height: 16px; border: 2px solid var(--gray-200); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-number-input { flex: 1; background: transparent; border: none; padding: .6rem .85rem; color: var(--gray-900); font-size: .9rem; font-family: inherit; outline: none; min-width: 0; }
.phone-number-input::placeholder { color: var(--gray-400); }

/* ---- Form validation / loading states (assets/form-submit.js) ---- */
.input-error, .phone-field.input-error { border-color: #dc2626 !important; }
.error-message { display: block; color: #dc2626; font-size: .72rem; margin-top: .3rem; }
.btn-loading { opacity: .7; cursor: default; }

.form-submit { width: 100%; background: var(--blue); color: #fff; border: none; padding: .8rem; border-radius: 10px; font-size: 1rem; font-weight: 700; margin-top: .25rem; transition: background .15s, transform .1s; }
.form-submit:hover { background: var(--blue-dark); }
.form-submit:active { transform: scale(.98); }
.form-legal { font-size: .72rem; color: var(--gray-400); text-align: center; margin-top: .75rem; }
.form-legal a { color: var(--blue); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.form-success p { color: var(--gray-500); font-size: .9rem; }
.form-success .check { width: 56px; height: 56px; background: #e0e7ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* ---- SECTION COMMON ---- */
.section { padding: 5rem 0; }
.section--gray { background: var(--gray-50); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__title { font-size: 2rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.section__sub { color: var(--gray-500); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section__title--left { text-align: left; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; margin-bottom: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.tag--blue { background: #e0e7ff; color: var(--blue); }
.tag--green { background: #fef3c7; color: #b45309; }
.tag--violet { background: #fef3c7; color: #b45309; }

/* ---- VIDEO ---- */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Vertical hero video (9:16 source) shown inside a centred frame */
.video-portrait {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding-bottom: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-portrait iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { text-align: center; }
.step__num { width: 52px; height: 52px; background: var(--indigo); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 800; margin: 0 auto 1rem; }
.step__icon { width: 84px; height: 84px; margin: 0 auto .75rem; display: block; object-fit: contain; }
.step__title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step__desc { color: var(--gray-500); font-size: .9rem; }

/* ---- FEATURES GRID ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-card__icon { width: 52px; height: 52px; background: var(--blue-50); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feature-card__icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; }
.feature-card__title { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card__desc { font-size: .85rem; color: var(--gray-500); }

/* ---- STATS ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat__num { font-family: 'Sora', sans-serif; font-size: 2.25rem; font-weight: 800; color: var(--blue); }
.stat__label { font-size: .85rem; color: var(--gray-500); margin-top: .25rem; }

/* ---- CALCULATOR ---- */
.calc-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); max-width: 560px; margin: 0 auto; }
.calc-slider-wrap { margin: 1.5rem 0; }
.calc-slider-wrap label { font-size: .8rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; margin-bottom: .5rem; }
.calc-slider-wrap label span { color: var(--blue); font-size: 1rem; }
input[type=range] { width: 100%; accent-color: var(--blue); height: 4px; }
.calc-result { background: linear-gradient(135deg, var(--blue), #6366f1); color: #fff; border-radius: var(--radius); padding: 1.25rem; text-align: center; margin-top: 1.5rem; }
.calc-result__label { font-size: .85rem; opacity: .8; margin-bottom: .25rem; }
.calc-result__amount { font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800; }
.calc-result__sub { font-size: .8rem; opacity: .7; margin-top: .25rem; }

/* ---- TABLE ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-width: 400px; }
.compare-table th { background: var(--blue); color: #fff; padding: .85rem 1.25rem; font-size: .85rem; font-weight: 600; text-align: left; }
.compare-table td { padding: 1rem 1.25rem; font-size: .875rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.check-yes { color: #4338ca; font-weight: 700; }
.check-no { color: #dc2626; }

/* ---- TESTIMONIALS ---- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); transition: box-shadow .2s, transform .2s; }
.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.testimonial__stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; }
.testimonial__text { font-size: .875rem; color: var(--gray-700); line-height: 1.6; margin-bottom: 1rem; }
.testimonial__author { display: flex; align-items: center; gap: .75rem; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: #fff; flex-shrink: 0; }
.testimonial__name { font-size: .875rem; font-weight: 600; }
.testimonial__location { font-size: .75rem; color: var(--gray-400); }

/* ---- VIDEO CASES ---- */
.video-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ---- CTA BANNER ---- */
.cta-banner { background: linear-gradient(135deg, #1e1b4b, #4338ca); color: #fff; border-radius: var(--radius-lg); padding: 3.5rem 2rem; text-align: center; }
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: .75rem; }
.cta-banner p { color: #e0e7ff; margin-bottom: 2rem; }
.cta-banner__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- ACCORDION (FAQ) ---- */
.accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.accordion-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.accordion-btn { width: 100%; background: #fff; border: none; padding: 1.1rem 1.25rem; text-align: left; font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 600; color: var(--gray-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background .15s; }
.accordion-btn:hover { background: var(--gray-50); }
.accordion-btn .chevron { width: 18px; height: 18px; stroke: var(--gray-400); flex-shrink: 0; transition: transform .25s; }
.accordion-item.open .chevron { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 1.25rem 1.1rem; font-size: .9rem; color: var(--gray-500); line-height: 1.7; }
.accordion-item.open .accordion-body { display: block; }

/* ---- RELATED READING (blog articles) ---- */
.related-reading {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 1.75rem;
  background: var(--indigo-50);
  border-radius: var(--radius-lg);
  border: 1px solid #e0e7ff;
}
.related-reading h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; color: var(--gray-900); }
.related-reading ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.related-reading li a {
  color: var(--indigo);
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  gap: .5rem;
}
.related-reading li a::before { content: "→"; opacity: .6; }
.related-reading li a:hover { text-decoration: underline; }

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 560px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form { padding: 1.75rem; }
}

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card__img { position: relative; height: 190px; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__cat { position: absolute; top: .75rem; left: .75rem; font-size: .7rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; }
.blog-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { font-size: .75rem; color: var(--gray-400); margin-bottom: .6rem; }
.blog-card__title { font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: .6rem; line-height: 1.4; flex: 1; }
.blog-card__excerpt { font-size: .82rem; color: var(--gray-500); line-height: 1.55; margin-bottom: 1rem; }
.blog-card__link { font-size: .82rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: .3rem; }

/* ---- ARTICLE ---- */
.article { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.breadcrumb { font-size: .75rem; color: var(--gray-400); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: var(--gray-400); } .breadcrumb a:hover { color: var(--blue); }
.article h1 { font-size: 2.2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; line-height: 1.2; }
.article__meta { font-size: .85rem; color: var(--gray-400); margin-bottom: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.article__hero-img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2.5rem; }
.article__body { font-size: .95rem; color: var(--gray-700); line-height: 1.8; }
.article__body h2 { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin: 2.5rem 0 .75rem; }
.article__body p { margin-bottom: 1.1rem; }
.article__body ul { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.article__body li { margin-bottom: .5rem; }
.article__body strong { color: var(--gray-900); }
.article__cta { border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; color: #fff; margin-top: 3rem; }
.article__cta h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.article__cta p { opacity: .85; margin-bottom: 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--blue); margin-top: 2rem; }
.back-link:hover { text-decoration: underline; }

/* ---- REVIEWS PAGE ---- */
.rating-box { background: rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 1.75rem 2rem; display: flex; align-items: center; gap: 2.5rem; max-width: 520px; margin: 0 auto; }
.rating-big { text-align: center; }
.rating-big__num { font-family: 'Sora', sans-serif; font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; }
.rating-big__stars { color: #fcd34d; font-size: 1.3rem; margin: .25rem 0; }
.rating-big__count { font-size: .8rem; color: rgba(255,255,255,.7); }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.rating-bar { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.8); }
.rating-bar__track { flex: 1; height: 6px; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; }
.rating-bar__fill { height: 100%; background: #fcd34d; border-radius: 3px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; }
.review-card__header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.review-card__avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: #fff; flex-shrink: 0; }
.review-card__name { font-weight: 600; font-size: .9rem; }
.review-card__loc { font-size: .75rem; color: var(--gray-400); }
.review-card__stars { color: #f59e0b; font-size: .9rem; margin-bottom: .6rem; }
.review-card__text { font-size: .85rem; color: var(--gray-700); line-height: 1.6; }
.review-card__date { font-size: .75rem; color: var(--gray-400); margin-top: .75rem; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, #1e1b4b, #4338ca); color: #fff; padding: 4rem 0 3.5rem; text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: .75rem; }
.page-hero p { color: #e0e7ff; font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ---- LEGAL ---- */
.legal-content { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 .6rem; }
.legal-content p, .legal-content li { font-size: .9rem; color: var(--gray-700); line-height: 1.75; margin-bottom: .75rem; }
.legal-content ul { padding-left: 1.5rem; }

/* ---- FOOTER ---- */
.footer { background: var(--gray-900); color: #9ca3af; padding: 3.5rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer__brand { color: #fff; font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.footer__brand-icon { width: 32px; height: 32px; background: var(--blue); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.footer__brand-icon svg { width: 18px; height: 18px; fill: #fff; }
.footer__desc { font-size: .85rem; line-height: 1.65; max-width: 300px; }
.footer__col h2, .footer__col-title { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer__col ul li a { font-size: .85rem; color: #9ca3af; transition: color .15s; }
.footer__col ul li a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #1f2937; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .8rem; }
.footer__bottom a { color: #9ca3af; } .footer__bottom a:hover { color: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section--hide-mobile { display: none; }
  .header__nav, .header__actions { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .video-cases { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .rating-box { flex-direction: column; gap: 1.25rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .article h1 { font-size: 1.6rem; }
  .section__title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-banner h2 { font-size: 1.5rem; }
}

/* ===== ADDITIONAL BLOCKS ===== */

/* --- PARTNERS GRID --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  min-height: 100px;
  transition: box-shadow .2s, transform .2s;
  box-sizing: border-box;
  overflow: hidden;
}
.partner-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  transform: translateY(-2px);
}
.partner-card--dark {
  background: #2d2d2d;
}
.partner-card img {
  width: auto;
  max-width: 160px;
  max-height: 44px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* --- TWO-COL TEXT --- */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.two-col-text h2 { text-align: left; }

/* --- TICKERS GRID --- */
.tickers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.ticker-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  height: 220px;
}
.ticker-item iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

/* --- ABOUT GRID --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-grid--reverse .about-grid__img { order: -1; }
.about-grid--mb { margin-bottom: 3rem; }
.about-grid__img img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* --- WHY CARDS --- */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.why-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  display: block;
}
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--gray-900); }
.why-card p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* --- DARK SECTION --- */
.section--dark {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
  padding: 5rem 0;
}
.section--dark .section__title { color: #fff; }
.section--dark .section__sub { color: rgba(255,255,255,.75); }

/* --- HOW GRID (dark section) --- */
.how-grid {
  display: grid;
  gap: 2rem;
}
.how-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.how-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.how-card {
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.how-card--featured {
  background: rgba(255,255,255,.95);
}
.how-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--gray-900); }
.how-card p { font-size: .85rem; color: var(--gray-500); line-height: 1.6; }
.how-desc { color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.8; }

/* --- RISK BOX --- */
.risk-box {
  background: var(--blue-50);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.risk-box h3 { font-size: .9rem; font-weight: 700; color: var(--indigo-dark); margin-bottom: .4rem; }
.risk-box p { font-size: .85rem; color: #4b5563; }

/* --- TRADING TYPES --- */
.trading-types { display: flex; flex-direction: column; gap: 0; margin-top: 1.5rem; }
.trading-type {
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}
.trading-type:first-child { padding-top: 0; }
.trading-type:last-child { border-bottom: none; padding-bottom: 0; }
.trading-type h3 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; color: var(--gray-900); }
.trading-type p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* --- OVERVIEW GRID (dark section) --- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.overview-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: background .2s;
}
.overview-item:hover { background: rgba(255,255,255,.18); }
.overview-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.overview-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,158,11,.15);
  border-radius: 12px;
  flex-shrink: 0;
}
.overview-icon svg {
  width: 26px;
  height: 26px;
}
.overview-item h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.overview-item p { font-size: .875rem; color: rgba(255,255,255,.8); line-height: 1.6; }

/* --- VIDEO CASES GRID (vertical aspect ratio) --- */
.video-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.video-case {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 vertical */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow-md);
}
.video-case iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* --- RATING SUMMARY (light section, reviews page) --- */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}
.rating-summary__score { text-align: center; flex-shrink: 0; }
.rating-summary__value {
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1;
}
.rating-summary__value span { font-size: 1.25rem; color: var(--gray-400); font-weight: 600; }
.rating-summary__stars { color: #f59e0b; font-size: 1.35rem; letter-spacing: .1em; margin: .35rem 0 .25rem; }
.rating-summary__count { font-size: .8rem; color: var(--gray-500); }
.rating-summary__count strong { color: var(--gray-900); }
.rating-summary__bars { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.rating-summary__bars .rating-bar { color: var(--gray-500); }
.rating-summary__bars .rating-bar__label { width: 58px; flex-shrink: 0; }
.rating-summary__bars .rating-bar__track { background: var(--gray-200); height: 8px; }
.rating-summary__bars .rating-bar__fill { background: var(--indigo); }
.rating-summary__bars .rating-bar__num { width: 28px; text-align: right; color: var(--gray-400); flex-shrink: 0; }
.review-card__rating { color: #f59e0b; font-size: .95rem; letter-spacing: .06em; margin-bottom: .6rem; }
.review-card__rating span { color: var(--gray-500); font-size: .78rem; font-weight: 600; letter-spacing: 0; margin-left: .2rem; }
@media (max-width: 768px) {
  .rating-summary { flex-direction: column; gap: 1.75rem; padding: 1.75rem 1.25rem; }
  .rating-summary__bars { width: 100%; }
}
.trust-badge {
  display: inline-block;
  background: #4338ca;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 999px;
  letter-spacing: .06em;
  margin-left: .75rem;
  vertical-align: middle;
}

/* --- FEATURES GRID OVERRIDE (4 cards) --- */
.features.features--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- FEATURES GRID OVERRIDE (5 cards) --- */
.features.features--5 {
  grid-template-columns: repeat(6, 1fr);
}
/* First 3 cards: 2 cols each */
.features.features--5 .feature-card:nth-child(1),
.features.features--5 .feature-card:nth-child(2),
.features.features--5 .feature-card:nth-child(3) {
  grid-column: span 2;
}
/* Last 2 cards: centred — start at col 2 and col 4 */
.features.features--5 .feature-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.features.features--5 .feature-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* ===== RESPONSIVE NEW BLOCKS ===== */
@media (max-width: 1024px) {
  .features.features--4 { grid-template-columns: repeat(2, 1fr); }
  .video-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .tickers-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .about-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .partner-card { padding: 1.5rem; }
  .two-col-text { grid-template-columns: 1fr; gap: 1.5rem; }
  .tickers-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid--reverse .about-grid__img { order: 0; }
  .why-cards { grid-template-columns: 1fr; }
  .how-main { grid-template-columns: 1fr; }
  .how-cards-row { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .video-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .features.features--4 { grid-template-columns: 1fr; }
  .features.features--5 { grid-template-columns: 1fr; }
  .features.features--5 .feature-card:nth-child(1),
  .features.features--5 .feature-card:nth-child(2),
  .features.features--5 .feature-card:nth-child(3),
  .features.features--5 .feature-card:nth-child(4),
  .features.features--5 .feature-card:nth-child(5) {
    grid-column: auto;
    margin-left: 0;
    transform: none;
  }
}
@media (max-width: 480px) {
  .video-cases-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; width: 100%; box-sizing: border-box; }
  .partner-card { padding: 1.25rem 1rem; min-height: 80px; box-sizing: border-box; overflow: hidden; }
  .partner-card img { max-width: 100%; height: auto; }
}

/* Footer disclaimer */
.footer__disclaimer {
  border-top: 1px solid #374151;
  padding: 1.5rem 0 1rem;
  margin-top: .5rem;
}
.footer__disclaimer p {
  font-size: .78rem;
  line-height: 1.65;
  color: #6b7280;
  max-width: 900px;
}
.footer__disclaimer strong {
  color: #9ca3af;
}

/* CTA Register Block (replaces third form) */
.cta-register-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--gray-200);
}
.cta-register-block__text { flex: 1; }
.cta-register-block__action { flex-shrink: 0; text-align: center; }
@media (max-width: 768px) {
  .cta-register-block { flex-direction: column; gap: 2rem; text-align: center; }
  .cta-register-block__text .section__title--left { text-align: center; }
}

/* =============================================
   Card that replaces duplicated forms.
   The site has a single sign-up form on the home page;
   these cards lead visitors to it.
============================================= */
.join-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px rgba(30, 27, 75, .08);
}
.join-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
}
.join-card__desc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.join-card__list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.join-card__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .88rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: .6rem;
}
.join-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .3rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--indigo-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .68rem no-repeat;
}
.join-card__btn { display: block; width: 100%; text-align: center; text-decoration: none; }
.join-card__note {
  font-size: .72rem;
  color: var(--gray-400);
  line-height: 1.55;
  margin-top: 1rem;
  text-align: center;
}
.join-card__note a { color: var(--indigo); }

/* Variant on a dark background (sign-up page) */
.join-card--onDark { background: rgba(255, 255, 255, .97); }

/* Brief highlight of the single form when reached from a button */
.form-highlight { animation: formPulse 1.6s ease-out; }
@keyframes formPulse {
  0%   { box-shadow: 0 0 0 0 rgba(67, 56, 202, .55); }
  35%  { box-shadow: 0 0 0 14px rgba(67, 56, 202, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67, 56, 202, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-highlight { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 768px) {
  .join-card { padding: 1.5rem 1.25rem; }
}
