/* =============================================
   DEBTPANEL – MAIN STYLESHEET
   ============================================= */

/* === CUSTOM PROPERTIES === */
:root {
  --primary:        #1a56db;
  --primary-dark:   #1341b0;
  --primary-light:  #e8effd;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --success:        #10b981;
  --danger:         #ef4444;

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;

  --bg-white:       #ffffff;
  --bg-light:       #f8faff;
  --bg-section:     #f1f5f9;

  --border:         #e2e8f0;
  --border-focus:   #1a56db;

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 32px rgba(26,86,219,.28);

  --transition: .25s ease;
  --transition-slow: .45s cubic-bezier(.25,.46,.45,.94);

  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;

  --nav-h: 76px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.75;
}

section {
  padding: 100px 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .97rem;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26,86,219,.38);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.logo-svg {
  height: 40px;          /* ← ছোট করা হলো (আগে 56px ছিল) */
  width: auto;
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

.logo:hover .logo-svg {
  transform: scale(1.03);
  opacity: .92;
}

.logo-svg--footer {
  height: 38px;
}

/* fallback spans */
.logo-icon { font-size: 1.6rem; line-height: 1; }
.logo-text .accent { color: var(--primary); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition);
}

.nav-links .nav-cta::after { display: none; }

.nav-links .nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}

.shape-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -150px;
  animation: floatShape 12s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  background: #6366f1;
  bottom: -100px; left: -100px;
  animation: floatShape 16s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px; height: 300px;
  background: var(--accent);
  top: 30%; left: 40%;
  animation: floatShape 10s ease-in-out infinite 3s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,86,219,.1);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(26,86,219,.2);
  margin-bottom: 24px;
  animation: fadeInDown .7s ease both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.hero-title {
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInDown .7s ease .1s both;
  max-width: 820px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInDown .7s ease .2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeInDown .7s ease .3s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 36px;
  box-shadow: var(--shadow-md);
  animation: fadeInDown .7s ease .4s both;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust-item span {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 500;
  animation: fadeIn 1s ease 1s both;
}

.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scrollAnim 2s ease infinite;
}

@keyframes scrollAnim {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* =============================================
   PROBLEM SECTION
   ============================================= */
.problem-section {
  background: var(--bg-white);
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: all var(--transition-slow);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: var(--bg-white);
}

.problem-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.problem-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

.problem-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.problem-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--bg-section);
  text-align: center;
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6366f1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card.featured {
  background: linear-gradient(145deg, var(--primary) 0%, #3b5bdb 100%);
  border-color: transparent;
  color: #fff;
}

.service-card.featured::before { display: none; }

.service-card.featured:hover {
  transform: translateY(-8px) scale(1.01);
}

.service-card-inner {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.service-card.featured .service-icon-wrap {
  background: rgba(255,255,255,.2);
}

.service-icon { font-size: 1.8rem; line-height: 1; }

.service-tag {
  display: inline-flex;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card.featured h3 { color: #fff; }

.service-card p {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card.featured p { color: rgba(255,255,255,.82); }

.service-features {
  margin-bottom: 28px;
}

.service-features li {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card.featured .service-features li {
  color: rgba(255,255,255,.82);
  border-bottom-color: rgba(255,255,255,.15);
}

.service-card.featured .service-features li::before {
  color: #a5f3d0;
}

.service-card.featured .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.service-card.featured .btn-primary:hover {
  background: rgba(255,255,255,.9);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  background: var(--bg-white);
  text-align: center;
}

.steps-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 0;
}

.steps-line {
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.step:hover .step-number { transform: scale(1.15); }

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.step-content h3 { margin-bottom: 8px; }

.step-content p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   STATS
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #3b5bdb 50%, #6366f1 100%);
  padding: 80px 0;
}

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

.stat-card {
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  transition: all var(--transition-slow);
}

.stat-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  display: inline;
  color: var(--accent);
}

.stat-label {
  font-size: .9rem;
  font-weight: 500;
  opacity: .85;
  margin-top: 8px;
  letter-spacing: .02em;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--bg-section);
  text-align: center;
}

.testimonials-track-wrapper {
  overflow: hidden;
  margin-bottom: 32px;
  cursor: grab;
  user-select: none;
  width: 100%;
}

.testimonials-track-wrapper:active { cursor: grabbing; }

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; gap: 2px; }

.author-info strong {
  font-size: .94rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: .8rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.control-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.control-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   WHY US
   ============================================= */
.why-us {
  background: var(--bg-white);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.why-us-text .section-label,
.why-us-text .section-title,
.why-us-text .section-subtitle {
  text-align: left;
  margin-left: 0;
}

.why-us-text .section-subtitle { margin-bottom: 36px; }

.why-us-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.feature-item:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-text p {
  font-size: .87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--bg-section);
  text-align: center;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition);
}

.faq-arrow::before,
.faq-arrow::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.faq-arrow::before { width: 10px; height: 2px; }

.faq-arrow::after {
  width: 2px; height: 10px;
  transform: translateY(0);
}

.faq-item.open .faq-arrow {
  background: var(--primary);
}

.faq-item.open .faq-arrow::before,
.faq-item.open .faq-arrow::after { background: #fff; }

.faq-item.open .faq-arrow::after { transform: rotate(90deg) scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.75;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-label,
.contact-info .section-title {
  text-align: left;
  margin-left: 0;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition);
}

.contact-detail-item:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-detail-icon {
  font-size: 1.5rem;
  width: 44px;
  text-align: center;
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-detail-item span {
  font-size: .93rem;
  color: var(--text-secondary);
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.contact-form {
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}

.form-group label span { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .95rem;
  color: var(--text-primary);
  background: var(--bg-light);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.field-error {
  display: block;
  font-size: .8rem;
  color: var(--danger);
  font-weight: 500;
  margin-top: 5px;
  min-height: 18px;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check label {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

.form-check .link {
  color: var(--primary);
  text-decoration: underline;
}

.form-disclaimer {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Submit button loader */
.btn-loader {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn.loading .btn-text { display: none; }
.btn.loading .btn-loader { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form success state */
.form-success {
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon { font-size: 3.5rem; }

.form-success h3 { font-size: 1.5rem; }

.form-success p {
  color: var(--text-secondary);
  max-width: 320px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,.75);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: #fff; }

.footer-brand p {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-links h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-note {
  margin-top: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* =============================================
   WHATSAPP FLOAT & BACK TO TOP
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 900;
  transition: all var(--transition);
  animation: bounceIn .6s ease 1.5s both;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  z-index: 900;
  transition: all var(--transition);
  opacity: 0;
}

.back-to-top:not([hidden]) {
  opacity: 1;
  animation: fadeIn .3s ease;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* =============================================
   DEMO IMAGES
   ============================================= */

/* ── Hero image ── */
.hero-image-wrap {
  position: relative;
  margin-top: 48px;
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.hero-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.hero-badge-icon { font-size: 1.4rem; }

.hero-img-badge strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-img-badge small {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Testimonial author photo ── */
.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary-light);
}

/* ── Why Us image ── */
.why-us-img-wrap {
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform .5s ease;
}

.why-us-img-wrap:hover .why-us-img { transform: scale(1.03); }

.why-us-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,.8) 0%, transparent 100%);
  padding: 24px 20px 16px;
}

.why-us-img-overlay span {
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInDown {
  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 bounceIn {
  0%   { opacity: 0; transform: scale(.4); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* scroll-driven reveal */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE – TABLET  (≤1024px)
   ============================================= */
@media (max-width: 1024px) {

  .container { padding: 0 20px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps */
  .steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
  .steps-line { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why us */
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-us-text .section-subtitle { margin-bottom: 28px; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* =============================================
   RESPONSIVE – MOBILE  (≤768px)
   ============================================= */
@media (max-width: 768px) {

  /* ── Root ── */
  :root { --nav-h: 60px; }

  .container { padding: 0 16px; }

  section { padding: 64px 0; }

  /* ── Logo ── */
  .logo-svg { height: 34px; }

  /* ── Hero image ── */
  .hero-image { height: 240px; }
  .hero-image-wrap { margin-top: 32px; border-radius: var(--radius-lg); }
  .hero-img-badge { bottom: 12px; right: 12px; padding: 8px 12px; }

  /* ── Why us image ── */
  .why-us-img { height: 200px; }

  /* ── Section labels / titles ── */
  .section-label { font-size: .72rem; }
  .section-subtitle { margin-bottom: 36px; font-size: .97rem; }

  /* ── Navbar ── */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.25,.46,.45,.94), opacity .3s ease;
    pointer-events: none;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    padding: 13px 20px;
    width: 100%;
    font-size: .97rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }

  .nav-links .nav-cta {
    margin: 12px 20px 0;
    width: calc(100% - 40px);
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border-bottom: none;
  }

  /* ── Hero ── */
  .hero {
    padding: calc(var(--nav-h) + 40px) 0 60px;
    min-height: auto;
  }

  .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }

  .hero-trust {
    width: 100%;
    padding: 14px 12px;
    gap: 0;
    border-radius: var(--radius-lg);
    justify-content: space-around;
  }

  .trust-item { padding: 0 8px; }
  .trust-item strong { font-size: 1.25rem; }
  .trust-item span { font-size: .7rem; }
  .trust-divider { height: 28px; }

  /* ── Problem cards ── */
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-card { padding: 28px 20px; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card-inner { padding: 28px 24px; }

  /* ── How it works ── */
  .steps-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .step-number {
    width: 48px; height: 48px;
    font-size: 1rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .step-content { flex: 1; }
  .step-icon { font-size: 1.6rem; }

  /* ── Stats ── */
  .stats-section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 28px 16px; }

  /* ── Testimonials ── */
  .testimonial-card { flex: 0 0 100%; }
  .testimonials-track { gap: 16px; }

  /* ── Why us ── */
  .why-us-inner { gap: 36px; }
  .why-us-features { grid-template-columns: 1fr; gap: 14px; }
  .feature-item { padding: 18px 16px; }

  /* ── FAQ ── */
  .faq-list { gap: 10px; }
  .faq-question { padding: 16px 18px; font-size: .95rem; }
  .faq-answer p { padding: 0 18px 18px; font-size: .9rem; }

  /* ── Contact ── */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info .section-title { font-size: 1.6rem; }
  .contact-form { padding: 24px 20px; }
  .contact-form h3 { font-size: 1.2rem; }
  .form-success { padding: 40px 20px; }

  .contact-detail-item { padding: 14px 16px; gap: 12px; }

  /* ── Footer ── */
  .footer-top {
    grid-template-columns: 1fr;
    padding: 48px 0 28px;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0;
  }

  .footer-bottom-links { gap: 16px; flex-wrap: wrap; }
}

/* =============================================
   RESPONSIVE – SMALL MOBILE  (≤480px)
   ============================================= */
@media (max-width: 480px) {

  .container { padding: 0 14px; }

  section { padding: 52px 0; }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .hero-trust {
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 16px;
  }
  .trust-item { width: 50%; padding: 4px 0; }
  .trust-divider { display: none; }

  /* Steps — keep row layout but tighter */
  .step-number { width: 40px; height: 40px; font-size: .9rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 22px 12px; }
  .stat-number { font-size: 1.8rem; }

  /* Services */
  .service-card-inner { padding: 24px 18px; }

  /* Contact */
  .contact-badges { flex-direction: column; gap: 8px; }
  .contact-form { padding: 20px 16px; }
  .form-group { margin-bottom: 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 11px 14px; font-size: .93rem; }

  /* Footer */
  .footer-social { gap: 10px; }
  .social-link { width: 34px; height: 34px; }

  /* Floating buttons */
  .whatsapp-float { right: 14px; bottom: 72px; width: 48px; height: 48px; }
  .back-to-top    { right: 14px; bottom: 14px; width: 40px; height: 40px; }

  /* Hero image */
  .hero-image { height: 180px; }
  .hero-img-badge { display: none; }

  /* Why us image */
  .why-us-img { height: 160px; }
}

/* =============================================
   RESPONSIVE – VERY SMALL  (≤360px)
   ============================================= */
@media (max-width: 360px) {

  .container { padding: 0 12px; }

  .hero-title { font-size: 1.65rem; }
  .hero-subtitle { font-size: .93rem; }

  .logo-svg { height: 38px; }

  .trust-item strong { font-size: 1.1rem; }
  .trust-item span { font-size: .65rem; }

  .stat-number { font-size: 1.6rem; }

  .btn-lg { padding: 13px 22px; font-size: .97rem; }
}

/* =============================================
   PRINT / REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
