/* ============================================================
   AddChrome.com Design System & Public Styles
   Light theme only | No emojis | Professional editorial feel
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg:             #FAFAF9;
  --surface:        #FFFFFF;
  --surface-raised: #FFFFFF;
  --border:         #E8E5E0;
  --border-light:   #F0EDE8;

  --text-primary:   #1A1A19;
  --text-secondary: #6B6B68;
  --text-muted:     #9C9C98;

  --accent:         #2D5CE6;
  --accent-hover:   #1D4AC4;
  --accent-light:   #EEF2FC;
  --accent-subtle:  #D6E0FA;

  --success:        #1A8754;
  --success-light:  #E8F5EE;
  --warning:        #D97706;
  --warning-light:  #FEF6E7;
  --danger:         #DC2626;
  --danger-light:   #FEF2F2;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  2rem;      /* 32px */
  --fs-3xl:  2.5rem;    /* 40px */
  --fs-4xl:  3.25rem;   /* 52px */
  --fs-5xl:  4rem;      /* 64px */

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl:  0 16px 50px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.04);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--border-light);
}

.btn-lg {
  font-size: var(--fs-base);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-lg);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-accent {
  background: var(--accent-light);
  color: var(--accent);
}
.badge-success {
  background: var(--success-light);
  color: var(--success);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}
.navbar-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-brand-icon svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.2;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.navbar-nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-primary);
  background: var(--border-light);
}

.navbar-cta {
  margin-left: var(--sp-4);
}

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}
.navbar-toggle:hover {
  background: var(--border-light);
}
.navbar-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Mobile nav overlay */
.navbar-mobile-overlay {
  display: none;
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    background: var(--surface);
    flex-direction: column;
    padding: var(--sp-6);
    gap: var(--sp-2);
    z-index: 999;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow-y: auto;
    animation: mobileNavSlide 0.25s var(--ease-out);
  }
  @keyframes mobileNavSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .navbar-nav.open {
    display: flex;
  }
  .navbar-nav a {
    font-size: var(--fs-md);
    padding: var(--sp-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg);
  }
  .navbar-nav a:hover,
  .navbar-nav a.active {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent-subtle);
  }
  .navbar-cta {
    margin-left: 0;
    margin-top: var(--sp-4);
  }
  .navbar-toggle {
    display: flex;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: var(--sp-20);
  position: relative;
  overflow: hidden;
}

.hero-decoration {
  position: absolute;
  pointer-events: none;
}
.hero-decoration-1 {
  top: 100px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  opacity: 0.5;
}
.hero-decoration-2 {
  top: 200px;
  right: -40px;
  width: 200px;
  height: 200px;
  border: 1.5px solid var(--accent-subtle);
  border-radius: 50%;
  opacity: 0.4;
}
.hero-decoration-3 {
  bottom: 40px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: var(--accent-light);
  border-radius: var(--radius-xl);
  transform: rotate(15deg);
  opacity: 0.5;
}
.hero-decoration-4 {
  top: 160px;
  left: 10%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
}
.hero-decoration-5 {
  top: 260px;
  right: 20%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0.25;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  box-shadow: var(--shadow-xs);
}
.hero-label-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  line-height: 1.08;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--accent), #5B8DEF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto var(--sp-10);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-16);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--sp-12));
    padding-bottom: var(--sp-12);
  }
  .hero-title {
    font-size: var(--fs-3xl);
  }
  .hero-subtitle {
    font-size: var(--fs-base);
  }
  .hero-actions {
    flex-direction: column;
    margin-bottom: var(--sp-10);
  }
  .hero-stats {
    gap: var(--sp-6);
    flex-wrap: wrap;
  }
  .hero-stat-value {
    font-size: var(--fs-xl);
  }
  .hero-decoration-1,
  .hero-decoration-2 {
    display: none;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section {
  padding: var(--sp-24) 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-12);
}
.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.section-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section {
    padding: var(--sp-16) 0;
  }
  .section-title {
    font-size: var(--fs-2xl);
  }
  .section-header {
    margin-bottom: var(--sp-8);
  }
}

/* ============================================================
   EXTENSIONS GRID
   ============================================================ */
.extensions-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.filter-btn {
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: transparent;
  border: 1.5px solid var(--border);
  transition: all var(--duration-fast) var(--ease-out);
}
.filter-btn:hover {
  border-color: var(--accent-subtle);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.extensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.ext-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.ext-card:hover {
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.ext-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.ext-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border-light);
}
.ext-card-icon-placeholder {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ext-card-icon-placeholder svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}
.ext-card-meta {
  flex: 1;
  min-width: 0;
}
.ext-card-name {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}
.ext-card-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.ext-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ext-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-light);
}
.ext-card-price {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--success);
}

@media (max-width: 1024px) {
  .extensions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .extensions-grid {
    grid-template-columns: 1fr;
  }
  .ext-card {
    padding: var(--sp-6);
  }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}
.feature-card:hover {
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.feature-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.feature-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--surface);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}
.marquee-label strong {
  color: var(--text-primary);
}
.marquee-track {
  display: flex;
  gap: var(--sp-10);
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.marquee-item img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}
.marquee-item span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   BLOG PREVIEW (Homepage)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.blog-card:hover {
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}
.blog-card-date {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  background: var(--surface);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.blog-card-body {
  padding: var(--sp-6);
}
.blog-card-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--sp-4);
}
.blog-card-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--duration-fast) var(--ease-out);
}
.blog-card:hover .blog-card-link {
  gap: var(--sp-3);
}
.blog-card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-subtle);
  fill: none;
  stroke-width: 1.5;
}

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

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */
.blog-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-10);
  text-align: center;
}
.blog-hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.blog-hero-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
}

.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-24);
}
@media (max-width: 1024px) {
  .blog-listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-listing-grid {
    grid-template-columns: 1fr;
  }
}

.blog-empty {
  text-align: center;
  padding: var(--sp-16) 0;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* ============================================================
   BLOG POST PAGE
   ============================================================ */
.post-hero {
  padding-top: calc(var(--nav-height) + var(--sp-12));
  padding-bottom: var(--sp-8);
}
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}
.post-breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}
.post-breadcrumb a:hover {
  color: var(--accent);
}
.post-breadcrumb-sep {
  color: var(--border);
}

.post-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  max-width: 800px;
}
.post-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-10);
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: var(--sp-16);
}

/* Article typography */
.post-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}
.post-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.post-content p {
  margin-bottom: var(--sp-5);
  line-height: 1.75;
}
.post-content ul,
.post-content ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}
.post-content ul {
  list-style: disc;
}
.post-content ol {
  list-style: decimal;
}
.post-content li {
  margin-bottom: var(--sp-2);
  line-height: 1.7;
}
.post-content img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin: var(--sp-6) 0;
}
.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-subtle);
  text-underline-offset: 3px;
}
.post-content a:hover {
  text-decoration-color: var(--accent);
}
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.post-content code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
}
.post-content pre {
  background: var(--text-primary);
  color: #E0E0E0;
  padding: var(--sp-6);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: var(--sp-6) 0;
}
.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Related posts */
.related-posts {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-12);
  margin-top: var(--sp-8);
}
.related-posts-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-8);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--sp-24) 0;
}
.cta-box {
  background: var(--text-primary);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.08;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.05;
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.cta-desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto var(--sp-8);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.cta-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .cta-box {
    padding: var(--sp-10) var(--sp-6);
  }
  .cta-title {
    font-size: var(--fs-2xl);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-12) 0 var(--sp-8);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.footer-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-icon svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.2;
}
.footer-about {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
}
.footer-links a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: var(--sp-1) 0;
  transition: color var(--duration-fast);
}
.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.footer-socials {
  display: flex;
  gap: var(--sp-3);
}
.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--duration-fast);
}
.footer-socials a:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-10);
  text-align: center;
}
.contact-hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.contact-hero-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-24);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}
.form-group {
  margin-bottom: var(--sp-5);
}
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}
.contact-info-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}
.contact-info-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

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

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mb-6 { margin-bottom: var(--sp-6); }

.view-all-wrap {
  text-align: center;
  margin-top: var(--sp-10);
}

/* No-extensions placeholder */
.no-data {
  text-align: center;
  padding: var(--sp-16) 0;
  color: var(--text-muted);
  font-size: var(--fs-md);
  grid-column: 1 / -1;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-10);
  text-align: center;
}
.pricing-hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.pricing-hero-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
  padding-bottom: var(--sp-24);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.pricing-card:hover {
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow-lg);
}

.pricing-card-header {
  padding: var(--sp-8) var(--sp-8) var(--sp-5);
  border-bottom: 1px solid var(--border-light);
}
.pricing-card-app {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}
.pricing-card-tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pricing-plan {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}
.pricing-plan + .pricing-plan {
  border-left: 1px solid var(--border-light);
}
.pricing-plan.pricing-plan-pro {
  background: linear-gradient(135deg, rgba(45,92,230,0.03), rgba(91,141,239,0.06));
}

.pricing-plan-name {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.pricing-plan-pro .pricing-plan-name {
  color: var(--accent);
}

.pricing-plan-price {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
  line-height: 1.2;
}
.pricing-plan-price span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--sp-6);
  flex: 1;
}
.pricing-features li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: var(--sp-2) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--success-light);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231A8754' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-plan-btn {
  display: block;
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.pricing-plan-btn:hover {
  border-color: var(--accent-subtle);
  color: var(--accent);
}
.pricing-plan-pro .pricing-plan-btn {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.pricing-plan-pro .pricing-plan-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.pricing-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-16) 0;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pricing-plans {
    grid-template-columns: 1fr;
  }
  .pricing-plan + .pricing-plan {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
}

/* ============================================================
   LEGAL PAGES (Privacy, Terms, Refund)
   ============================================================ */
.legal-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-10);
  text-align: center;
}
.legal-hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.legal-hero-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: var(--sp-24);
}
.legal-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-light);
}
.legal-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.legal-content p {
  margin-bottom: var(--sp-5);
  line-height: 1.75;
  color: var(--text-secondary);
}
.legal-content ul,
.legal-content ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}
.legal-content ul {
  list-style: disc;
}
.legal-content ol {
  list-style: decimal;
}
.legal-content li {
  margin-bottom: var(--sp-2);
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-subtle);
  text-underline-offset: 3px;
}
.legal-content a:hover {
  text-decoration-color: var(--accent);
}
.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal-last-updated {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-light);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-8);
}

/* ============================================================
   PAYMENT PAGE
   ============================================================ */
.payment-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-10);
  text-align: center;
  background: linear-gradient(135deg, rgba(45,92,230,0.03) 0%, rgba(91,141,239,0.06) 100%);
  border-bottom: 1px solid var(--border-light);
}
.payment-hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.payment-hero-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}
.payment-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--accent-light);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}
.payment-hero-badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Payment Content */
.payment-content {
  padding: var(--sp-10) 0 var(--sp-24);
}

/* Step Labels */
.payment-step {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.payment-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.payment-step-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}

/* Personal Info Form */
.payment-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.payment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-5);
}

/* Product Cards */
.payment-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.payment-product-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  user-select: none;
}
.payment-product-card:hover {
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.payment-product-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light), var(--shadow-lg);
  transform: translateY(-2px);
}
.payment-product-card.selected::after {
  content: '';
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.payment-product-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}
.payment-product-tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}
.payment-product-price {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
}
.payment-product-price span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}
.payment-product-features {
  list-style: none;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-light);
}
.payment-product-features li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: var(--sp-1) 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.payment-product-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: var(--success-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%231A8754' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* No Products Message */
.payment-no-products {
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  color: var(--text-muted);
  font-size: var(--fs-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* Summary & Pay Button */
.payment-summary-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  position: sticky;
  bottom: var(--sp-4);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.payment-summary-info {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.payment-summary-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.payment-summary-product {
  font-weight: 700;
  color: var(--text-primary);
}
.payment-summary-price {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--accent);
}
.payment-summary-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.payment-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  min-width: 180px;
  white-space: nowrap;
}
.payment-pay-btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.payment-pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.payment-pay-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Success Overlay */
.payment-success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 249, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.payment-success-overlay.visible {
  display: flex;
}
.payment-success-content {
  text-align: center;
  animation: paymentSuccessFade 0.6s var(--ease-out);
}
.payment-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
}
.payment-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2;
}
.payment-success-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.payment-success-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}
.payment-success-redirect {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

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

/* Validation Error */
.payment-field-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px var(--danger-light) !important;
}
.payment-error-msg {
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: var(--sp-1);
  display: none;
}
.payment-error-msg.visible {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .payment-hero-title {
    font-size: var(--fs-2xl);
  }
  .payment-form-grid {
    grid-template-columns: 1fr;
  }
  .payment-products-grid {
    grid-template-columns: 1fr;
  }
  .payment-summary-bar {
    flex-direction: column;
    text-align: center;
    position: static;
    box-shadow: var(--shadow-md);
  }
  .payment-summary-info {
    flex-direction: column;
    gap: var(--sp-2);
  }
  .payment-summary-divider {
    width: 100%;
    height: 1px;
  }
  .payment-pay-btn {
    width: 100%;
  }
}

/* ============================================================
   REVIEWS SECTION — Google Reviews Style
   ============================================================ */

/* Summary Header */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-10);
}

.reviews-summary-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.reviews-google-badge svg {
  flex-shrink: 0;
}

.reviews-rating-display {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}

.reviews-rating-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.reviews-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.reviews-rating-stars .star {
  font-size: 22px;
  color: #E0E0E0;
  line-height: 1;
}

.reviews-rating-stars .star.filled {
  color: #F59E0B;
}

.reviews-rating-stars .star.half {
  color: #F59E0B;
  opacity: 0.6;
}

.reviews-rating-count {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.reviews-rating-count strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Review Card */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

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

/* Card Header */
.review-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: #FFFFFF;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.review-meta {
  flex: 1;
  min-width: 0;
}

.review-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.review-google-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--duration-fast);
}

.review-card:hover .review-google-icon {
  opacity: 1;
}

/* Stars */
.review-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.review-stars .star {
  font-size: 18px;
  color: #E0E0E0;
  line-height: 1;
}

.review-stars .star.filled {
  color: #F59E0B;
}

/* Comment */
.review-comment {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Badge */
.review-product-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--accent-light);
  color: var(--accent);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  align-self: flex-start;
  transition: background var(--duration-fast);
}

.review-product-badge svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-card:hover .review-product-badge {
  background: var(--accent-subtle);
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .reviews-rating-number {
    font-size: var(--fs-2xl);
  }

  .reviews-rating-display {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .review-card {
    padding: var(--sp-5);
  }
}
