/* ========================================
   WhisperTyping Design System - Components
   Reusable UI components for all pages
   ======================================== */

/* ----------------------------------------
   Hero Page Layout
   Header transitions from transparent (over hero) to solid (scrolled)
   ---------------------------------------- */

/* Fixed header for hero pages */
.hero-page .nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

/* Ensure hero starts at very top, behind header */
.hero-page body {
  padding-top: 0;
}


.hero-page .nav-container .nav-logo span {
  transition: color 0.3s ease;
}

.hero-page .nav-container .nav-links a {
  transition: color 0.3s ease;
}

/* Transparent state when over hero */
.hero-page .nav-container.on-hero,
html.hero-page .nav-container.on-hero,
html.hero-page body .nav-container.on-hero {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
}

/* Also ensure nav inside doesn't have background */
.hero-page .nav-container.on-hero nav,
html.hero-page .nav-container.on-hero nav {
  background: transparent !important;
}

.hero-page .nav-container.on-hero .nav-logo span,
.hero-page .nav-container.on-hero .nav-links > a,
.hero-page .nav-container.on-hero .nav-links > .nav-dropdown > .nav-dropdown-trigger {
  color: rgba(255, 255, 255, 0.9);
}

.hero-page .nav-container.on-hero .nav-links > a:hover,
.hero-page .nav-container.on-hero .nav-links > .nav-dropdown > .nav-dropdown-trigger:hover {
  color: #fff;
}

/* Hero section with full-width image */
.hero-section-image {
  background-size: cover;
  background-position: center calc(50% + 30px);
  background-repeat: no-repeat;
  aspect-ratio: 3 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  margin-top: -60px;
  text-align: center;
}

.hero-section-image h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section-image p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero page main content - no top padding since hero fills that space */
.hero-page main {
  padding-top: 0;
}

/* Responsive hero sizing */
@media (min-width: 1600px) {
  .hero-section-image {
    aspect-ratio: 4 / 1;
  }
}

@media (max-width: 768px) {
  .hero-section-image {
    aspect-ratio: 2 / 1;
    min-height: 200px;
  }

  .hero-section-image h1 {
    font-size: 1.75rem;
  }

  .hero-section-image p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section-image {
    aspect-ratio: 1.5 / 1;
    min-height: 180px;
  }

  .hero-section-image h1 {
    font-size: 1.5rem;
  }
}

/* ----------------------------------------
   Hero Sections
   ---------------------------------------- */

/* Marketing Hero - Full width with background image */
.hero-marketing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 75px 100px;
  gap: 28px;
  min-height: 60vh;
  overflow: hidden;
}

.hero-marketing .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-marketing h1 {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -3.8px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 2px 2px #0000004a;
}

.hero-marketing h2 {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.7px;
  line-height: 1.5;
  text-align: center;
}

/* Hero with image background (like support page) */
.hero-image {
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-image h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.hero-image p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

/* Page Header (like pricing) */
.page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 40px;
  gap: 20px;
}

.page-header .header-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.page-header h1 {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -3.8px;
  text-align: center;
}

.page-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #999;
  letter-spacing: -0.96px;
  margin-top: 10px;
  text-align: center;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 56px;
  padding: 2px 1.5rem 0;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: var(--shadow-button);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.2) 8px 8px 0px 0px;
  filter: brightness(1.1);
  text-decoration: none !important;
}

.btn-primary {
  background: var(--gradient-button);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--color-text);
}

.btn-pink {
  background: var(--gradient-button-pink);
  color: #fff;
}

.btn img, .btn i {
  width: 28px;
  height: 28px;
  font-size: 28px;
  color: inherit !important;
}

.btn span {
  color: inherit !important;
  text-decoration: none !important;
}

/* Smaller CTA buttons (like pricing cards) */
.cta-button {
  display: block;
  text-align: center;
  padding: 6px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
  text-decoration: none !important;
}

.cta-button:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  text-decoration: none !important;
}

.cta-button.orange { background: var(--color-orange); color: #fff; }
.cta-button.pink { background: #de1f88; color: #fff; }
.cta-button.secondary { background: #fff; color: var(--color-text); }

/* Download button (hero style) */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--gradient-button);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none !important;
}

.download-btn:hover,
.download-btn-cta:hover {
  transform: scale(1.05) !important;
  box-shadow: rgba(0, 0, 0, 0.2) 8px 8px 0px 0px !important;
  filter: brightness(1.1) !important;
  text-decoration: none !important;
}

.download-btn img {
  width: 24px;
  height: 24px;
  margin: 0;
  display: block;
}

.download-btn span {
  font-size: 18px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
}

/* Pink variant of download button */
.download-btn.pink {
  background: var(--gradient-button-pink);
}

/* ----------------------------------------
   Link Cards (Big & Compact variants)
   ---------------------------------------- */

/* Container for big link cards (3 columns) */
.big-link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.5rem 0;
}

/* Container for compact link cards (auto-fit) */
.compact-link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem 0;
}

/* Base link card styling - shared by both variants */
.big-link-card,
.compact-link-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  color: var(--color-text-grey) !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.big-link-card:hover,
.compact-link-card:hover {
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
}

/* Big link cards - with description */
.big-link-card {
  flex-direction: column;
  align-items: flex-start;
}

.big-link-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-grey);
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
}

.big-link-card h3 i,
.big-link-card h3 svg {
  font-size: 1rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.big-link-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.25rem 0 0 0;
  text-decoration: none !important;
}

.big-link-card *,
.compact-link-card * {
  text-decoration: none !important;
}

/* Compact link cards - icon styling */
.compact-link-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Color variants - icon color and hover border */
.big-link-card.orange h3 i,
.big-link-card.orange h3 svg,
.compact-link-card.orange svg { color: var(--color-orange); }
.big-link-card.orange:hover,
.compact-link-card.orange:hover { border-color: var(--color-orange); }

.big-link-card.pink h3 i,
.big-link-card.pink h3 svg,
.compact-link-card.pink svg { color: var(--color-pink); }
.big-link-card.pink:hover,
.compact-link-card.pink:hover { border-color: var(--color-pink); }

.big-link-card.magenta h3 i,
.big-link-card.magenta h3 svg,
.compact-link-card.magenta svg { color: var(--color-magenta); }
.big-link-card.magenta:hover,
.compact-link-card.magenta:hover { border-color: var(--color-magenta); }

.big-link-card.info h3 i,
.big-link-card.info h3 svg,
.compact-link-card.info svg { color: var(--color-info); }
.big-link-card.info:hover,
.compact-link-card.info:hover { border-color: var(--color-info); }

/* Legacy icon classes for backwards compatibility */
.big-link-card h3 i.icon-orange { color: var(--color-orange); }
.big-link-card h3 i.icon-pink { color: var(--color-pink); }
.big-link-card h3 i.icon-magenta { color: var(--color-magenta); }
.big-link-card h3 i.icon-info { color: var(--color-info); }

/* Responsive */
@media (max-width: 900px) {
  .big-link-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .big-link-cards {
    grid-template-columns: 1fr;
  }
}

/* Feature Cards - centered with large icon on top */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.5rem 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
}

.feature-card i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h4 {
  margin: 0 0 0.375rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.feature-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.feature-card * {
  text-decoration: none !important;
}

/* Feature card color variants - icon colors */
.feature-card.orange i { color: #ff7000; }
.feature-card.purple i { color: #8b5cf6; }
.feature-card.cyan i { color: #06b6d4; }
.feature-card.green i { color: #00a616; }
.feature-card.pink i { color: #e5498a; }
.feature-card.amber i { color: #f59e0b; }

@media (max-width: 768px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* Pricing Cards */
.pricing-card {
  flex: 1;
  max-width: 285px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--color-bg-grey);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  transition: box-shadow 1s ease;
}

/* Orange variant (has .cta-button.orange inside) */
.pricing-card:has(.cta-button.orange):hover {
  box-shadow: inset 20px -30px 80px 0 rgba(255, 112, 0, 0.18);
}

/* Pink variant (has .cta-button.pink inside) */
.pricing-card:has(.cta-button.pink):hover {
  box-shadow: inset -20px -30px 80px 0 rgba(222, 31, 136, 0.18);
}

.pricing-card .tier-name {
  font-size: 20px;
  font-weight: 700;
  color: #777;
  margin-bottom: -5px;
}

.pricing-card .popular-badge {
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 10px;
  white-space: nowrap;
  position: absolute;
  top: -13px;
  right: 20px;
}

.pricing-card .price-block {
  display: flex;
  flex-direction: column;
}

.pricing-card .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-card .price-period {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}

.pricing-card .price-note {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}

.pricing-card .features-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pricing-card .feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #777;
}

.pricing-card .feature-item i {
  color: var(--color-success);
  font-size: 12px;
  flex-shrink: 0;
  width: 14px;
}

.pricing-card .feature-item strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ----------------------------------------
   Tips & Callouts
   ---------------------------------------- */

.tip, .feature-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.tip h4, .feature-box h4 {
  color: var(--color-orange);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tip h4 i, .feature-box h4 i {
  font-size: 0.9rem;
}

.tip p, .feature-box p {
  margin-bottom: 0;
  color: var(--color-text-light);
}

/* Callout boxes - blockquote style */
.callout {
  border-left: 4px solid;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: transparent;
  border-radius: 0;
}

.callout.info {
  border-left-color: var(--color-info);
  background: rgba(0, 193, 250, 0.05);
}

.callout.tip {
  border-left-color: var(--color-magenta);
  background: rgba(186, 51, 146, 0.03);
}

.callout.warning {
  border-left-color: var(--color-orange);
  background: rgba(227, 117, 104, 0.03);
}

.callout p {
  margin: 0;
  color: var(--color-text-light);
}

/* ----------------------------------------
   Pills & Badges
   ---------------------------------------- */

.pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.pill.yes {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.pill.keyword {
  background: rgba(231, 80, 230, 0.15);
  color: #c026d3;
  cursor: help;
}

.pill.no {
  background: rgba(100, 100, 100, 0.1);
  color: #888;
}

.pill.new {
  background: var(--gradient-badge);
  color: white;
}

.pill.alt {
  background: var(--gradient-button);
  color: white;
}

/* Badge - inline label for section headers */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.badge.coming-soon {
  background: rgba(100, 100, 100, 0.15);
  color: #777;
}

/* ----------------------------------------
   Tables
   ---------------------------------------- */

.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  background: var(--color-bg-alt);
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(186, 51, 146, 0.02);
}

/* ----------------------------------------
   Contact Form Section
   ---------------------------------------- */

.contact-section {
  background: linear-gradient(135deg, rgba(242, 126, 76, 0.06) 0%, rgba(231, 80, 230, 0.06) 100%);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.contact-section .contact-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-section .contact-info p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  outline: none;
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px rgba(231, 80, 230, 0.1);
}

.contact-form textarea {
  grid-column: 1 / -1;
  min-height: 100px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  height: auto;
  padding: 8px 20px;
  outline: none;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  background: var(--gradient-button-pink);
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s;
  white-space: nowrap;
}

.contact-form button i {
  opacity: 0.7;
  margin-right: 8px;
}

.contact-form button:hover {
  filter: brightness(1.15);
}

.contact-form button:disabled {
  background: #999;
  cursor: not-allowed;
  filter: none;
}

.contact-message {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .contact-section {
    padding: 1.25rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea {
    grid-column: 1;
  }

  .contact-form button {
    width: 100%;
  }
}

/* ----------------------------------------
   Mode Cards (AI Modes)
   ---------------------------------------- */

.mode-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.mode-card:hover {
  border-color: rgba(186, 51, 146, 0.2);
  box-shadow: var(--shadow-sm);
}

.mode-card h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem 0;
  font-size: 1.15rem;
  color: var(--color-magenta);
}

.mode-card .trigger {
  background: var(--gradient-badge);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.mode-card p {
  margin-bottom: 0.75rem;
}

.mode-card .example {
  border-left: 4px solid var(--color-magenta);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  background: rgba(186, 51, 146, 0.03);
  border-radius: 0;
}

.mode-card .example strong {
  color: var(--color-magenta);
}

/* ----------------------------------------
   Settings Groups
   ---------------------------------------- */

.settings-group {
  margin-bottom: 2rem;
}

.settings-group h4 {
  color: var(--color-orange);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.settings-group .setting-intro {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.setting-item {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-name {
  font-weight: 600;
  min-width: 200px;
  color: var(--color-text);
}

.setting-desc {
  color: var(--color-text-light);
}

/* ----------------------------------------
   Changelog Entries
   ---------------------------------------- */

.changelog-entry {
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.changelog-entry:hover {
  border-color: rgba(186, 51, 146, 0.15);
  box-shadow: var(--shadow-md);
}

.changelog-entry h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 4px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.changelog-entry .version {
  background: var(--gradient-badge);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(232, 46, 176, 0.25);
}

.changelog-entry .date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.changelog-entry ul {
  margin: 0.75rem 0 0 0;
  padding-left: 1.25rem;
}

.changelog-entry li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

/* ----------------------------------------
   Feature Sections (Marketing pages)
   ---------------------------------------- */

.feature-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  background: var(--color-bg-grey);
}

.feature-section.white {
  background: var(--color-bg);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: var(--max-width-content);
  width: 100%;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 50px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -2.1px;
  line-height: 1.1;
  text-align: left;
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 24px;
  font-weight: 500;
  color: #888;
  letter-spacing: -0.7px;
  line-height: 1.5;
  text-align: left;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-marketing {
    padding: 40px 20px;
  }

  .hero-marketing h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .hero-marketing h2 {
    font-size: 20px;
  }

  .page-header h1 {
    font-size: 48px;
  }

  .page-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-image {
    aspect-ratio: 2 / 1;
  }

  .hero-image h1 {
    font-size: 2rem;
  }

  .feature-row {
    flex-direction: column;
    gap: 30px;
  }

  .feature-row.reverse {
    flex-direction: column;
  }

  .feature-content h2 {
    font-size: 32px;
    text-align: center;
  }

  .feature-content p {
    font-size: 18px;
    text-align: center;
  }

  .setting-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .setting-name {
    min-width: auto;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
