/* ================================================================
   TikRapid – Main Stylesheet
   File: public_html/assets/css/style.css

   Built from verified source files:
     ✓ header.php  — navbar / logo / nav-links exact structure
     ✓ index.php   — every section class & ID
     ✓ main.js     — .scrolled / #navLinks.open / .faq-item.open
     ✓ snaptik.life visual reference

   COLOR SYSTEM UPDATED:
     Hero        → #0D4F5C  (dark teal — brand anchor)
     Steps       → #F0F7F8  (light teal tint)
     Features    → #0D4F5C  (dark teal — echoes hero)
     Compare     → #FFF8F3  (warm cream — orange warmth)
     Tools       → #0A3040  (deeper dark teal — creates depth)
     FAQ         → #F0F7F8  (light teal tint — bookends page)
     Footer      → #071E26  (darkest teal — strong brand close)
   ================================================================ */


/* ================================================================
   1. CSS VARIABLES
   ================================================================ */
:root {
  /* Brand colours */
  --primary:        #0D4F5C;   /* Dark teal – hero bg, links, accents  */
  --primary-dark:   #0a3d48;   /* Hover / pressed                      */
  --primary-light:  #e0f4f8;   /* Tinted backgrounds / rings           */
  --primary-xlight: #F0F7F8;   /* Very light teal tint for sections    */
  --green-brand:    #10B981;   /* Logo icon green                      */

  /* Section backgrounds */
  --bg-steps:    #F0F7F8;   /* Steps + FAQ — light teal tint         */
  --bg-features: #0D4F5C;   /* Why Choose — dark teal                */
  --bg-compare:  #FFF8F3;   /* Comparison — warm cream               */
  --bg-tools:    #0A3040;   /* Tools — deeper dark teal              */
  --bg-footer:   #071E26;   /* Footer — darkest teal                 */

  /* Dark Download button */
  --btn-dark:       #F97316;   /* Orange download button  */
  --orange-text:    #C2550A;   /* Accessible orange — 4.6:1 on white (WCAG AA) */
  --btn-dark-hov:   #ea6c0a;   /* Darker orange on hover  */

  /* Page surfaces */
  --white:          #ffffff;
  --bg:             #f8f9fb;
  --bg-light:       #f2f4f7;
  --border:         #e4e7ec;

  /* Text */
  --text-dark:      #111827;
  --text-body:      #4b5563;
  --text-muted:     #9ca3af;

  /* Semantic */
  --green:          #16a34a;
  --red:            #dc2626;
  --star:           #f59e0b;

  /* Typography */
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-2xl:  24px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs:   0 1px 3px rgba(0,0,0,.06);
  --sh-sm:   0 2px 6px rgba(0,0,0,.08);
  --sh-md:   0 4px 16px rgba(0,0,0,.10);
  --sh-lg:   0 8px 28px rgba(0,0,0,.13);
  --sh-hero: 0 6px 40px rgba(0,0,0,.30);

  /* Layout */
  --nav-h:  60px;
  --max-w:  1200px;
  --ease:   200ms ease;
}


/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img        { display: block; max-width: 100%; height: auto; }
ul, ol     { list-style: none; }
button     { cursor: pointer; font: inherit; border: none; outline: none; background: none; }
input      { font: inherit; outline: none; border: none; background: transparent; }
a          { color: var(--primary); text-decoration: none; }
a:hover    { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { color: var(--text-dark); line-height: 1.2; font-weight: 700; }
p          { margin-bottom: 0; }


/* ================================================================
   3. UTILITIES
   ================================================================ */
.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;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.bg-light   { background-color: var(--bg-light); }
.text-green { color: var(--green); font-size: 1.05rem; }
.text-red   { color: var(--red);   font-size: 1.05rem; }


/* ================================================================
   4. NAVBAR
   ================================================================ */

.navbar,
#navbar {
  position: relative;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease), border-color var(--ease);
}

.navbar.scrolled,
#navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
  border-bottom-color: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

.nav-logo:hover { color: var(--text-dark); text-decoration: none; }

.nav-logo svg {
  flex-shrink: 0;
  border-radius: 8px;
}

.nav-logo span {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links li { list-style: none; }

.nav-links li a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 7px 13px;
  border-radius: var(--r-md);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

.nav-links li a.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}

.hamburger,
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span,
#hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--r-full);
  transition: transform 280ms ease, opacity 280ms ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1),
#hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2),
#hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3),
#hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ================================================================
   5. HERO
   ================================================================ */

.hero {
  background-color: #0D4F5C;
  color: var(--white);
  padding: 68px 0 84px;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-accent {
  color: var(--white);
  border-bottom: 3px solid rgba(255,255,255, 0.4);
  padding-bottom: 2px;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 36px;
}

.download-box {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 700px;
  margin: 0 auto 28px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  gap: 12px;
  box-shadow: none;
}

.input-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-full);
  padding: 5px 5px 5px 4px;
  box-shadow: none;
  border: 2px solid rgba(255,255,255,0.30);
}

.url-input {
  width: 100%;
  padding: 12px 110px 12px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
  caret-color: var(--primary);
  border-radius: var(--r-full);
}

.url-input:focus,
.url-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.url-input::placeholder {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.btn-paste {
  position: absolute;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border: 1.5px solid var(--primary);
  border-radius: var(--r-full);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  z-index: 1;
}

.btn-paste:hover { background: var(--primary-light); }
.btn-paste i     { font-size: 0.75rem; }

.btn-download {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  background: #F97316;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background var(--ease), box-shadow var(--ease);
}

.btn-download:hover {
  background: var(--btn-dark-hov);
  box-shadow: 0 4px 20px rgba(249,115,22,.50);
}

.btn-download:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-download i { font-size: 0.85rem; }

.spinner-wrap {
  text-align: center;
  padding: 28px 0 12px;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255,255,255,.30);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.spinner-wrap p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.85);
  margin: 0;
}

.alert {
  max-width: 660px;
  margin: 16px auto 0;
  padding: 13px 20px;
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.alert-error {
  background: rgba(220,38,38,.18);
  border: 1px solid rgba(220,38,38,.45);
  color: #ffe8e8;
}

.result-box {
  max-width: 660px;
  margin: 20px auto 0;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  box-shadow: var(--sh-lg);
  text-align: left;
}

.result-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.result-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--r-lg);
  flex-shrink: 0;
  background: var(--bg-light);
}

.result-info  { flex: 1; min-width: 0; }

.result-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.result-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.result-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-dl:hover { text-decoration: none; transform: translateY(-1px); }

.btn-dl-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dl-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-dl-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-dl-ghost:hover {
  background: var(--primary-light);
  color: var(--text-dark);
}

.btn-dl-secondary {
  background: #f0fdf4;
  color: var(--green);
  border-color: #86efac;
}
.btn-dl-secondary:hover { background: #dcfce7; border-color: #4ade80; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 24px;
  margin-top: 30px;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}

.trust-badges li i { font-size: 0.75rem; opacity: .85; }


/* ================================================================
   6. SECTION SHARED
   ================================================================ */
.section        { padding: 76px 0; }

.section-title  {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 10px;
}

.section-sub    {
  font-size: 1rem;
  color: var(--text-body);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 52px;
  line-height: 1.65;
}

/* White text overrides for dark-background sections */
.section-dark .section-title,
.features-section .section-title,
.tools-section .section-title {
  color: var(--white);
}

.section-dark .section-sub,
.features-section .section-sub,
.tools-section .section-sub {
  color: rgba(255,255,255,0.70);
}


/* ================================================================
   7. STEPS  — #F0F7F8 light teal tint
   ================================================================ */

/* ── CHANGED: was var(--white), now light teal tint ── */
.steps-section { background: #F0F7F8; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  /* ── CHANGED: teal tint line instead of plain border ── */
  background: rgba(13, 79, 92, 0.20);
  z-index: 0;
}

.step-card { text-align: center; position: relative; z-index: 1; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 16px;
  /* ── CHANGED: ring colour matches new section bg ── */
  box-shadow: 0 0 0 6px rgba(13, 79, 92, 0.12);
}

.step-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-card p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; }


/* ================================================================
   8. FEATURES  — #0D4F5C dark teal (echoes hero)
   ================================================================ */

/* ── CHANGED: was var(--white), now dark teal ── */
.features-section { background: #0D4F5C; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 30px 24px 28px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
  /* Left accent border — default teal */
  border-left: 4px solid var(--primary);
}

/* Every 1st card in group of 3: orange accent + light orange tint */
.feature-card:nth-child(3n+1) {
  border-left-color: #F97316;
  background: linear-gradient(135deg, rgba(249,115,22,0.04) 0%, var(--white) 60%);
}

/* Every 2nd card: teal accent + light teal tint */
.feature-card:nth-child(3n+2) {
  border-left-color: var(--primary);
  background: linear-gradient(135deg, rgba(13,79,92,0.04) 0%, var(--white) 60%);
}

/* Every 3rd card: green accent + light green tint */
.feature-card:nth-child(3n+3) {
  border-left-color: #10B981;
  background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, var(--white) 60%);
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transform: translateY(-3px);
}

/* Icon color matches left border accent */
.feature-card:nth-child(3n+1) .feature-icon { color: #C2550A; }
.feature-card:nth-child(3n+2) .feature-icon { color: var(--primary); }
.feature-card:nth-child(3n+3) .feature-icon { color: #10B981; }

.feature-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 0.975rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-body); line-height: 1.65; }


/* ================================================================
   9. COMPARISON TABLE  — #FFF8F3 warm cream
   ================================================================ */

/* ── CHANGED: was var(--bg-light) #f2f4f7, now warm cream ── */
.compare-section { background: #FFF8F3; }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  /* ── CHANGED: border now warm orange tint ── */
  border: 1px solid #fde8d8;
  box-shadow: var(--sh-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}

/* ── CHANGED: thead stays dark teal for brand consistency ── */
.compare-table thead tr    { background: var(--primary); }
.compare-table thead th    {
  padding: 16px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  letter-spacing: .02em;
  white-space: nowrap;
}
.compare-table thead th:first-child { text-align: left; }

/* ── CHANGED: TikRapid highlight column now orange-tinted ── */
.compare-table thead th.highlight-col { background: #F97316; }

.compare-table tbody tr { border-bottom: 1px solid #fde8d8; transition: background var(--ease); }
.compare-table tbody tr:last-child    { border-bottom: none; }
/* ── CHANGED: even rows use warm cream shade ── */
.compare-table tbody tr:nth-child(even) { background: #fff3eb; }
.compare-table tbody tr:hover         { background: #fde8d8; }

.compare-table tbody td {
  padding: 13px 24px;
  text-align: center;
  color: var(--text-body);
  font-size: 0.875rem;
}
.compare-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--text-dark); }
/* ── CHANGED: highlight column now very light orange tint ── */
.highlight-col { background: rgba(249,115,22,.06); }


/* ================================================================
   10. TOOLS  — #0A3040 deeper dark teal
   ================================================================ */

/* ── CHANGED: was var(--white), now deeper dark teal ── */
.tools-section { background: #0A3040; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 20px 26px;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.tool-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.30);
  transform: translateY(-5px);
  border-color: rgba(249,115,22,0.50);
  text-decoration: none;
}

/* ── CHANGED: tool icons now orange ── */
.tool-card > i    { font-size: 2.2rem; color: #C2550A; margin-bottom: 16px; }
.tool-card h3     { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.tool-card p      { font-size: 0.825rem; color: var(--text-body); line-height: 1.65; flex: 1; margin-bottom: 18px; }

/* ── CHANGED: tool link now orange to match icons ── */
.tool-link        { font-size: 0.8rem; font-weight: 700; color: #C2550A; }
.tool-card:hover .tool-link { text-decoration: underline; }


/* ================================================================
   11. FAQ  — #F0F7F8 light teal tint (bookends page)
   ================================================================ */

/* ── CHANGED: was var(--white), now light teal tint ── */
.faq-section { background: #F0F7F8; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), border-color var(--ease);
}

.faq-item:hover        { box-shadow: var(--sh-sm); }
.faq-item.open         { border-color: var(--primary); box-shadow: var(--sh-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--ease);
}

.faq-q:hover              { color: var(--primary); }
.faq-item.open .faq-q     { color: var(--primary); }

.faq-q i {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 300ms ease, color 300ms ease;
}

.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
}

.faq-item.open .faq-a { max-height: 600px; }

.faq-a p {
  padding: 4px 22px 20px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.faq-a a { color: var(--primary); font-weight: 500; }
.faq-a a:hover { text-decoration: underline; }


/* ================================================================
   12. FOOTER  — #071E26 darkest teal (strong brand close)
   ================================================================ */

footer,
.site-footer,
.footer {
  /* ── CHANGED: was var(--text-dark) #111827, now darkest teal ── */
  background: #071E26;
  color: rgba(255,255,255,.65);
  padding: 52px 0 32px;
}

.footer-inner,
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer .nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 14px;
}
.footer .nav-logo:hover,
.footer-logo:hover { color: var(--white); text-decoration: none; }

.footer-brand p,
.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-top: 12px;
}

.footer-heading,
.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  /* ── CHANGED: headings now orange for brand accent ── */
  color: #F97316;
  margin-bottom: 18px;
}

.footer-links,
.footer ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a,
.footer ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer-links a:hover,
.footer ul a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  /* ── CHANGED: separator line now teal tint ── */
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.38);
}

.footer-bottom a       { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }


/* ================================================================
   13. RESPONSIVE — Tablet  (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner,
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
}


/* ================================================================
   14. RESPONSIVE — Mobile  (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {

  .hamburger,
  #hamburger { display: flex; }

  .nav-links,
  #navLinks {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-md);
    gap: 3px;
    z-index: 999;
  }

  .nav-links.open,
  #navLinks.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 11px 16px;
    font-size: 0.9rem;
    border-radius: var(--r-md);
    width: 100%;
  }

  .hero           { padding: 44px 0 60px; }
  .hero-title     { font-size: 1.7rem; letter-spacing: -0.3px; }
  .hero-sub       { font-size: 0.9rem; margin-bottom: 28px; }

  .download-box {
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    padding: 0;
    gap: 12px;
    max-width: 100%;
  }

  .input-wrap {
    width: 100%;
    border-radius: var(--r-xl);
    padding: 5px;
  }

  .url-input     { padding: 13px 100px 13px 16px; width: 100%; }

  .btn-download  {
    width: 100%;
    border-radius: var(--r-xl);
    padding: 15px 24px;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(249,115,22,.40);
  }

  .trust-badges  { gap: 5px 16px; margin-top: 22px; }

  .steps-grid          { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before  { display: none; }

  .features-grid { grid-template-columns: 1fr; }

  .tools-grid    { grid-template-columns: repeat(2, 1fr); }

  .section       { padding: 56px 0; }
  .section-sub   { margin-bottom: 36px; }

  .footer-inner,
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .result-inner  { flex-direction: column; }
  .result-thumb  { width: 100%; height: auto; aspect-ratio: 16/9; }
}


/* ================================================================
   15. RESPONSIVE — Small Mobile  (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
  .container     { padding: 0 16px; }
  .hero-title    { font-size: 1.4rem; }
  .section       { padding: 44px 0; }
  .section-title { font-size: 1.35rem; }
  .section-sub   { font-size: 0.875rem; margin-bottom: 28px; }
  .tools-grid    { grid-template-columns: 1fr; }
  .btn-dl        { padding: 7px 13px; font-size: 0.75rem; }
}


/* ================================================================
   16. ACCESSIBILITY
   ================================================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}