/* ========================================
   Credgy Website — Modern Design System
   ======================================== */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #6366f1;
  --accent-light: #eef2ff;
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-light: #94a3b8;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-elevated: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.12);
  --shadow-xl: 0 25px 60px -12px rgba(0,0,0,0.18);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4);
}

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

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 40%, #eef2ff 100%);
}

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

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

.shape-1 {
  width: 600px;
  height: 600px;
  background: rgba(13, 148, 136, 0.12);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.1);
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero-rating span {
  margin-left: 6px;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 8px rgba(15, 23, 42, 0.08);
  border: 3px solid rgba(15, 23, 42, 0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: float 3s ease-in-out infinite;
}

.card-savings {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.card-tenure {
  bottom: 25%;
  right: -15px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savings-icon {
  background: #d1fae5;
}

.tenure-icon {
  background: #e0e7ff;
}

.floating-label {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-light);
  font-weight: 500;
}

.floating-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

/* ========== Stats ========== */
.stats-section {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.stat-item {
  text-align: center;
  padding: 24px 16px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ========== Section Basics ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== Features ========== */
.features-section {
  background: var(--surface-alt);
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-dashboard { background: #d1fae5; color: #059669; }
.icon-prepay { background: #e0e7ff; color: #4f46e5; }
.icon-emi { background: #fef3c7; color: #d97706; }
.icon-roi { background: #fce7f3; color: #db2777; }
.icon-compare { background: #dbeafe; color: #2563eb; }
.icon-reports { background: #f3e8ff; color: #7c3aed; }

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}

/* ========== How It Works ========== */
.how-section {
  background: var(--surface);
}

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

.step-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(13,148,136,0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}

/* ========== Savings ========== */
.savings-section {
  background: var(--surface-alt);
}

.savings-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.savings-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 16px;
}

.savings-text > p {
  color: var(--ink-muted);
  font-size: 1rem;
  margin: 0 0 28px;
}

.savings-example {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.savings-scenario {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.scenario-header.without { color: var(--danger); }
.scenario-header.with { color: var(--success); }

.scenario-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.scenario-detail span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.scenario-detail strong {
  font-size: 1rem;
}

.amount-bad { color: var(--danger); }
.amount-good { color: var(--success); }

.savings-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.savings-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savings-highlight strong {
  display: block;
  font-size: 1.1rem;
  color: #065f46;
}

.savings-highlight span {
  display: block;
  font-size: 0.8rem;
  color: #047857;
  margin-top: 2px;
}

.savings-visual {
  position: relative;
}

.savings-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--surface);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
  color: var(--primary-dark);
}

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--ink-light);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 0 20px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ========== Blog Preview ========== */
.blog-preview-section {
  background: var(--surface-alt);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-preview-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.blog-preview-meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0 0 10px;
}

.blog-preview-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.blog-preview-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.blog-preview-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary-dark);
  font-weight: 700;
}

.blog-preview-link:hover {
  text-decoration: underline;
}

.blog-preview-actions {
  margin-top: 26px;
  text-align: center;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 40px 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #134e4a 100%);
  text-align: center;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.cta-card p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.cta-card .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-card .btn-primary:hover {
  background: #f0fdfa;
}

.cta-decoration {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
}

/* ========== Trust ========== */
.trust-section {
  background: var(--surface-alt);
}

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

.trust-card {
  display: block;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  color: var(--primary);
  margin-bottom: 14px;
}

.trust-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.trust-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

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

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

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin: 0 0 6px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-light);
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Trust Badges ========== */
.trust-badges-section {
  background: var(--surface);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.trust-badge-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.trust-badge-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.trust-badge-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.trust-badge-item p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.4;
}

/* ========== About Section ========== */
.about-section {
  background: var(--surface-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 16px;
}

.about-description {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
}

.about-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.about-phone {
  width: 280px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 8px rgba(15, 23, 42, 0.08);
  border: 3px solid rgba(15, 23, 42, 0.1);
}

.about-phone-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Screenshots Gallery ========== */
.screenshots-section {
  background: var(--surface);
}

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.screenshot-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.screenshot-caption {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ========== Footer Disclaimer ========== */
.footer-disclaimer {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin: 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ========== Page Content (for privacy, terms etc.) ========== */
.page-wrap {
  padding: 120px 0 70px;
}

.panel {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 48px);
}

.panel h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.panel h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--ink);
}

.panel p,
.panel li {
  color: var(--ink-muted);
  line-height: 1.7;
}

.panel ul,
.panel ol {
  padding-left: 18px;
}

.panel ul li,
.panel ol li {
  margin-bottom: 6px;
}

.muted {
  color: var(--ink-light);
}

.deletion-steps {
  padding-left: 19px;
  color: var(--ink-muted);
}

.deletion-shot {
  margin: 16px 0 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
}

.deletion-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.deletion-shot figcaption {
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding: 10px 12px;
}

/* ========== Blog Pages ========== */
.blog-shell {
  max-width: 960px;
  margin: 0 auto;
}

.blog-hero {
  margin-bottom: 24px;
}

.blog-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.blog-hero h1 {
  margin: 14px 0 10px;
}

.blog-meta {
  color: var(--ink-light);
  font-size: 0.88rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-content {
  max-width: 100%;
}

.blog-content h2 {
  margin-top: 30px;
}

.blog-content h3 {
  font-size: 1.02rem;
  margin: 18px 0 8px;
}

.blog-content a:not(.btn) {
  color: var(--primary-dark);
  text-decoration: underline;
}

.blog-content .btn,
.blog-content .btn:link,
.blog-content .btn:visited {
  color: #ffffff;
  text-decoration: none;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 0.9rem;
}

.blog-content th,
.blog-content td {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: left;
}

.blog-content th {
  background: var(--surface-alt);
  color: var(--ink);
}

.blog-cta-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #99f6e4;
  background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 100%);
}

.blog-cta-box h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #134e4a;
}

.blog-cta-box p {
  margin: 0 0 14px;
  color: #0f766e;
}

.blog-cta-box .btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.25);
}

.blog-cta-box .btn-primary:hover {
  background: linear-gradient(135deg, #0b5f59 0%, #0f766e 100%);
}

.blog-list {
  display: grid;
  gap: 16px;
}

.blog-list-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.blog-list-card h2 {
  margin: 6px 0 8px;
}

.blog-list-card p {
  color: var(--ink-muted);
  margin: 0;
}

.blog-list-card a {
  color: var(--ink);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    align-items: center;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-list {
    grid-template-columns: 1fr;
  }

  .savings-grid {
    grid-template-columns: 1fr;
  }

  .savings-visual {
    order: -1;
  }

  .savings-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .blog-preview-card h3 {
    font-size: 1.2rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-badge-item {
    padding: 16px 12px;
  }

  .screenshot-item {
    flex: 0 0 180px;
  }

  .screenshot-item img {
    height: 340px;
  }

  .about-phone {
    width: 220px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .card-savings {
    left: -20px;
    top: 10%;
  }

  .card-tenure {
    right: -20px;
    bottom: 15%;
  }

  .floating-card {
    padding: 10px 12px;
    gap: 8px;
  }

  .floating-value {
    font-size: 0.95rem;
  }

  .floating-label {
    font-size: 0.7rem;
  }
}
