/* ── VideoRecompressStudio — Main Stylesheet ─────────────────────────
   Dark-themed marketing site for contenta-videorecompress.com
   ------------------------------------------------------------------ */

/* ── CSS Variables ───────────────────────────────────────────────── */

:root {
  --bg-root: #0A0E14;
  --bg-panel: #111827;
  --bg-card: #0D1321;
  --border-subtle: #1E2D40;
  --cyan: #00B4D8;
  --cyan-hover: #0099B8;
  --text-main: #E2E8F0;
  --text-dim: #94A3B8;
  --text-muted: #64748B;
  --green: #10B981;
  --red: #EF4444;
  --amber: #F59E0B;

  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --shadow-card: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow-elevated: 0 4px 16px rgba(0, 0, 0, .5);
  --transition: 200ms ease;
  --nav-height: 64px;
}

/* ── Reset & Base ────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background: var(--bg-root);
  color: var(--text-main);
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 52px;
}

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

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

a:hover {
  color: var(--cyan-hover);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select, button {
  font: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--bg-root);
}

/* ── Typography ──────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 1em;
}

.text-muted { color: var(--text-muted); }
.text-cyan  { color: var(--cyan); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.text-amber { color: var(--amber); }
.text-white { color: #fff; }

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dim);
}

code, .mono {
  font-family: var(--mono);
}

code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  color: var(--cyan);
}

/* ── Layout — Bootstrap-3-style Grid ─────────────────────────────── */

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

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

/* xs columns — always active */
.col-xs-1  { width: 8.3333%; }
.col-xs-2  { width: 16.6667%; }
.col-xs-3  { width: 25%; }
.col-xs-4  { width: 33.3333%; }
.col-xs-5  { width: 41.6667%; }
.col-xs-6  { width: 50%; }
.col-xs-7  { width: 58.3333%; }
.col-xs-8  { width: 66.6667%; }
.col-xs-9  { width: 75%; }
.col-xs-10 { width: 83.3333%; }
.col-xs-11 { width: 91.6667%; }
.col-xs-12 { width: 100%; }

/* sm columns — 768px+ */
@media (min-width: 768px) {
  .col-sm-1  { width: 8.3333%; }
  .col-sm-2  { width: 16.6667%; }
  .col-sm-3  { width: 25%; }
  .col-sm-4  { width: 33.3333%; }
  .col-sm-5  { width: 41.6667%; }
  .col-sm-6  { width: 50%; }
  .col-sm-7  { width: 58.3333%; }
  .col-sm-8  { width: 66.6667%; }
  .col-sm-9  { width: 75%; }
  .col-sm-10 { width: 83.3333%; }
  .col-sm-11 { width: 91.6667%; }
  .col-sm-12 { width: 100%; }
}

/* md columns — 992px+ */
@media (min-width: 992px) {
  .col-md-1  { width: 8.3333%; }
  .col-md-2  { width: 16.6667%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.3333%; }
  .col-md-5  { width: 41.6667%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.3333%; }
  .col-md-8  { width: 66.6667%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.3333%; }
  .col-md-11 { width: 91.6667%; }
  .col-md-12 { width: 100%; }
}

/* lg columns — 1200px+ */
@media (min-width: 1200px) {
  .col-lg-1  { width: 8.3333%; }
  .col-lg-2  { width: 16.6667%; }
  .col-lg-3  { width: 25%; }
  .col-lg-4  { width: 33.3333%; }
  .col-lg-5  { width: 41.6667%; }
  .col-lg-6  { width: 50%; }
  .col-lg-7  { width: 58.3333%; }
  .col-lg-8  { width: 66.6667%; }
  .col-lg-9  { width: 75%; }
  .col-lg-10 { width: 83.3333%; }
  .col-lg-11 { width: 91.6667%; }
  .col-lg-12 { width: 100%; }
}

/* ── Navigation Bar ──────────────────────────────────────────────── */

/* ── Bootstrap 3 Navbar Overrides (dark theme) ──────────────────── */

.navbar-contenta {
  background: var(--bg-panel) !important;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  margin-bottom: 0;
}

.navbar-contenta .navbar-brand {
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 15px;
  height: auto;
  line-height: 1.4;
}

.navbar-contenta .navbar-brand:hover,
.navbar-contenta .navbar-brand:focus {
  color: var(--text-main);
}

.navbar-contenta .navbar-brand img {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.navbar-contenta .navbar-nav > li > a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 14px;
  transition: color var(--transition), background var(--transition);
}

.navbar-contenta .navbar-nav > li > a:hover,
.navbar-contenta .navbar-nav > li > a:focus {
  color: var(--cyan);
  background: rgba(0, 180, 216, .06);
}

.navbar-contenta .navbar-nav > li.active > a {
  color: var(--cyan);
  background: transparent;
  border-bottom: 2px solid var(--cyan);
}

.navbar-contenta .navbar-toggle {
  border-color: var(--border-subtle);
}

.navbar-contenta .navbar-toggle .icon-bar {
  background-color: var(--text-dim);
}

.navbar-contenta .navbar-toggle:hover,
.navbar-contenta .navbar-toggle:focus {
  background-color: rgba(255, 255, 255, .05);
}

.navbar-contenta .navbar-collapse {
  border-color: var(--border-subtle);
}

@media (max-width: 767px) {
  .navbar-contenta .navbar-nav > li > a {
    padding: 12px 24px;
    font-size: 1rem;
  }
  .navbar-contenta .navbar-collapse {
    background: var(--bg-panel);
    max-height: 400px;
    overflow-y: auto;
  }
}

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform 100ms ease,
    box-shadow var(--transition);
  user-select: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

.btn-primary:hover {
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 180, 216, .3);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-ghost:hover {
  background: var(--cyan);
  color: #fff;
}

.btn-dark {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ── Cards ───────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: #2a3f5a;
  box-shadow: var(--shadow-elevated);
}

.card-highlight {
  border-left: 3px solid var(--cyan);
}

.card-body {
  padding: 0;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--text-main);
}

.card-text {
  color: var(--text-dim);
  line-height: 1.7;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--cyan);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ── Hero Section ────────────────────────────────────────────────── */

.hero {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

.hero h1 .text-cyan {
  color: var(--cyan);
}

.hero .subtitle {
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2em;
}

.hero .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .hero-screenshot {
  margin-top: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero { padding: calc(var(--nav-height) + 32px) 0 48px; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
}

/* ── Section ─────────────────────────────────────────────────────── */

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 0.4em;
}

.section-title p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-dim);
}

.section-alt {
  background: var(--bg-panel);
}

@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
}

/* ── Feature Cards ───────────────────────────────────────────────── */

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: #2a3f5a;
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--cyan);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ── Preset Cards ────────────────────────────────────────────────── */

.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.preset-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}

.preset-card:hover {
  border-color: #2a3f5a;
}

.preset-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.preset-card-header h4 {
  margin-bottom: 0;
}

.preset-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.preset-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.preset-savings {
  display: inline-block;
  font-weight: 700;
  color: var(--green);
}

/* ── Pricing Cards ───────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.pricing-card.featured {
  border-color: var(--cyan);
  transform: scale(1.03);
  box-shadow: 0 0 24px rgba(0, 180, 216, .15);
}

.pricing-card .pricing-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card .pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
  margin-bottom: 4px;
}

.pricing-card .pricing-price .currency {
  font-size: 1.4rem;
  vertical-align: super;
}

.pricing-card .pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.disabled::before {
  content: "\2717";
  color: var(--text-muted);
}

.pricing-cta {
  width: 100%;
}

@media (max-width: 767px) {
  .pricing-card.featured {
    transform: none;
  }
}

/* ── FAQ Accordion ───────────────────────────────────────────────── */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: #2a3f5a;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
  gap: 16px;
}

.faq-question::after {
  content: "\25BE";
  font-size: 1.2rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  margin-bottom: 0;
}

/* ── Tables ──────────────────────────────────────────────────────── */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: var(--bg-panel);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

td {
  background: var(--bg-card);
  color: var(--text-dim);
}

tr:nth-child(even) td {
  background: rgba(17, 24, 39, .5);
}

tr:hover td {
  background: rgba(0, 180, 216, .04);
}

/* ── Forms ────────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form-control {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, .15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ── Badges ──────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-cyan {
  background: rgba(0, 180, 216, .15);
  color: var(--cyan);
}

.badge-green {
  background: rgba(16, 185, 129, .15);
  color: var(--green);
}

.badge-amber {
  background: rgba(245, 158, 11, .15);
  color: var(--amber);
}

.badge-red {
  background: rgba(239, 68, 68, .15);
  color: var(--red);
}

.badge-dark {
  background: var(--bg-panel);
  color: var(--text-dim);
}

/* ── Trust Strip ─────────────────────────────────────────────────── */

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0;
}

.trust-strip img {
  height: 28px;
  opacity: .5;
  transition: opacity var(--transition);
  filter: grayscale(1) brightness(1.8);
}

.trust-strip img:hover {
  opacity: .8;
}

/* ── Cookie Banner ───────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 0;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 400ms ease;
}

.cookie-banner.dismissed {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  flex: 1;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────────── */

.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-brand img {
  height: 28px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-main);
  text-decoration: none;
}

/* Language selector */
.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.language-list a:hover {
  color: var(--text-main);
}

.language-list img {
  width: 16px;
  height: 11px;
  display: inline-block;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.social-icons a:hover {
  color: var(--cyan);
  background: rgba(0, 180, 216, .1);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--text-main);
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

/* ── Animations ──────────────────────────────────────────────────── */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

.animate-fade-in {
  animation: fadeIn 600ms ease forwards;
  opacity: 0;
}

.animate-fade-in-up {
  animation: fadeInUp 600ms ease forwards;
  opacity: 0;
}

/* Staggered children delays */
.stagger > :nth-child(1) { animation-delay: 0ms; }
.stagger > :nth-child(2) { animation-delay: 100ms; }
.stagger > :nth-child(3) { animation-delay: 200ms; }
.stagger > :nth-child(4) { animation-delay: 300ms; }
.stagger > :nth-child(5) { animation-delay: 400ms; }
.stagger > :nth-child(6) { animation-delay: 500ms; }

/* ── Utility Classes ─────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.d-flex      { display: flex; }
.d-block     { display: block; }
.d-none      { display: none; }

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* Margin top */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Margin bottom */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Padding Y */
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

/* Padding X */
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }

.hidden { display: none !important; }

/* Responsive visibility */
.visible-xs,
.visible-sm { display: none; }

@media (max-width: 767px) {
  .visible-xs { display: block; }
  .hidden-xs  { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm { display: block; }
  .hidden-sm  { display: none !important; }
}

@media (min-width: 992px) {
  .hidden-md  { display: none !important; }
}

/* ── RTL Support ─────────────────────────────────────────────────── */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .text-left  { text-align: right; }
[dir="rtl"] .text-right { text-align: left; }

[dir="rtl"] .navbar-contenta .navbar-nav { float: left; }
[dir="rtl"] .navbar-contenta .navbar-brand { float: right; }

[dir="rtl"] .card-highlight {
  border-left: none;
  border-right: 3px solid var(--cyan);
}

[dir="rtl"] .pricing-features li {
  padding-left: 0;
  padding-right: 28px;
}

[dir="rtl"] .pricing-features li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .faq-question {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] select.form-control {
  background-position: left 12px center;
  padding-right: 14px;
  padding-left: 36px;
}

[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}

/* ── Responsive Breakpoints ──────────────────────────────────────── */

/* Tablet — 768px */
@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  .btn { padding: 10px 20px; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }

  .row > [class*="col-md-"],
  .row > [class*="col-lg-"] {
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  html { font-size: 15px; }

  .container { padding: 0 16px; }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }

  .hero .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .trust-strip {
    gap: 20px;
  }

  .trust-strip img {
    height: 22px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }

  th, td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* ── Print ───────────────────────────────────────────────────────── */

/* ── Site Footer ─────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 0;
  margin-top: 60px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .cookie-preferences {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom .cookie-preferences:hover {
  color: var(--text-main);
}

@media (max-width: 767px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Sprite Icons: Language Flags ────────────────────────────────── */

.langs-icon {
  width: 37.5px;
  height: 22.5px;
  background-image: url("../images/flagsnew_big.png");
  background-repeat: no-repeat;
  display: inline-block;
  background-size: 84px 273px;
  margin-right: 5px;
  margin-bottom: 5px;
}

/* Mobile-first flag positions (flagsnew_big.png 84x273) */
.langs-en { background-position: -3px -5px; }
.langs-de { background-position: -46px -35px; }
.langs-fr { background-position: -46px -5px; }
.langs-es { background-position: -3px -35px; }
.langs-it { background-position: -3px -65px; }
.langs-pt { background-position: -46px -65px; }
.langs-nl { background-position: -3px -95px; }
.langs-no { background-position: -3px -215px; }
.langs-da { background-position: -46px -215px; }
.langs-sv { background-position: -3px -125px; }
.langs-ar { background-position: -3px -155px; }

@media (min-width: 992px) {
  .langs-icon {
    width: 25px;
    height: 15px;
    background-image: url("../images/flagsnew.png");
    background-size: 56px 182px;
  }
  /* Desktop flag positions (flagsnew.png 56x182) */
  .langs-en { background-position: -2px -3px; }
  .langs-de { background-position: -29px -23px; }
  .langs-fr { background-position: -29px -3px; }
  .langs-es { background-position: -2px -23px; }
  .langs-it { background-position: -2px -43px; }
  .langs-pt { background-position: -29px -43px; }
  .langs-nl { background-position: -2px -63px; }
  .langs-no { background-position: -2px -143px; }
  .langs-da { background-position: -29px -143px; }
  .langs-sv { background-position: -2px -83px; }
  .langs-ar { background-position: -2px -103px; }
}

.footer-langs {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
}

.langs-container {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

/* ── Sprite Icons: Social (followus.png) ────────────────────────── */

.share-icon {
  width: 110px;
  height: 75px;
  background-image: url("../images/followus.png");
  background-repeat: no-repeat;
  display: inline-block;
  margin-right: 15px;
}

.share-fb      { background-position: -27px -15px; }
.share-tweeter { background-position: -172px -15px; }
.share-twitter { background-position: -172px -15px; }
.share-google  { background-position: -315px -15px; }

.footer-social {
  text-align: center;
  padding: 12px 0;
}

/* ── Print ───────────────────────────────────────────────────────── */

@media print {
  .navbar,
  .cookie-banner,
  .footer,
  .site-footer { display: none; }

  body {
    background: #fff;
    color: #000;
  }

  a { color: #000; text-decoration: underline; }

  .card, .feature-card, .pricing-card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}
