/* =============================================
   MYPEAT — Components CSS
   Navigation, Footer, Hero, Cards, Forms, etc.
   ============================================= */

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
  padding: var(--space-5) 0;
}

.nav--transparent {
  background-color: transparent;
}

.nav--scrolled {
  background-color: rgba(26,58,42,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: var(--space-3) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-earth));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-forest);
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white-warm);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.65);
  line-height: 1.2;
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-2);
  font-size: 13px;
  font-weight: 500;
  color: rgba(250,248,244,0.85);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-white-warm);
  background-color: rgba(250,248,244,0.1);
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.nav__cta {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-5);
  background-color: var(--color-gold);
  color: var(--color-forest);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav__cta:hover {
  background-color: var(--color-gold-light);
  color: var(--color-forest);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,160,23,0.4);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(250,248,244,0.1);
  border: 1px solid rgba(250,248,244,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav__toggle:hover { background: rgba(250,248,244,0.15); }

.nav__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white-warm);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav--open .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--open .nav__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav--open .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--color-forest);
  z-index: calc(var(--z-nav) - 1);
  padding: var(--space-20) var(--space-6) var(--space-8);
  overflow-y: auto;
  transition: right var(--transition-slow) cubic-bezier(0.22,1,0.36,1);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -8px 0 40px rgba(0,0,0,0.3);
}

.nav__drawer.is-open {
  right: 0;
}

.nav__drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
}

.nav__drawer-link {
  display: block;
  padding: var(--space-4) var(--space-2);
  color: rgba(250,248,244,0.85);
  text-decoration: none;
  font-size: var(--text-md);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.nav__drawer-link:hover {
  color: var(--color-white-warm);
  padding-left: var(--space-4);
}

.nav__drawer-cta {
  display: block;
  text-align: center;
  padding: var(--space-4) var(--space-6);
  background: var(--color-gold);
  color: var(--color-forest);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.nav__drawer-cta:hover {
  background: var(--color-gold-light);
  color: var(--color-forest);
}

.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-nav) - 2);
  opacity: 0;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(2px);
}

.nav__overlay.is-visible { opacity: 1; }

@media (max-width: 1366px) {
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__drawer { display: block; }
  .nav__overlay { display: block; }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-forest);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__bg-img.loaded {
  transform: scale(1);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,58,42,0.9) 0%,
    rgba(26,58,42,0.7) 50%,
    rgba(45,90,61,0.6) 100%
  );
}

.hero__bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='rgba(250,248,244,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--space-32) + var(--space-16));
  padding-bottom: var(--space-24);
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--color-white-warm);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.hero__title-accent {
  color: var(--color-gold);
  display: inline;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: rgba(250,248,244,0.8);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
  margin-bottom: var(--space-10);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(250,248,244,0.12);
}

.hero__stat {}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white-warm);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(250,248,244,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(250,248,244,0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(250,248,244,0.5), transparent);
}

@media (max-width: 767px) {
  .hero__stats { gap: var(--space-6); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
}

/* ========================================
   PAGE HERO (non-homepage)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-mid) 100%);
  padding: calc(var(--space-32) + var(--space-8)) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-white-warm);
  margin-bottom: var(--space-5);
  max-width: 16ch;
}

.page-hero__desc {
  font-size: var(--text-lg);
  color: rgba(250,248,244,0.75);
  max-width: 56ch;
  line-height: var(--leading-relaxed);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
}

.breadcrumb__item { font-size: var(--text-sm); }

.breadcrumb__link {
  color: rgba(250,248,244,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover { color: var(--color-gold); }

.breadcrumb__sep {
  color: rgba(250,248,244,0.25);
  font-size: var(--text-xs);
}

.breadcrumb__current { color: rgba(250,248,244,0.8); font-weight: 500; }

/* ========================================
   FEATURE CARDS (Advantages, Use Cases)
   ======================================== */
.feature-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--color-white-warm);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  height: 100%;
}

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

.feature-card__icon {
  margin-left: auto;
  margin-right: auto;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26,58,42,0.08), rgba(74,124,89,0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.75rem;
  transition: transform var(--transition-spring);
}

.feature-card:hover .feature-card__icon {
  margin-left: auto;
  margin-right: auto;
  transform: scale(1.1) rotate(-3deg);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Dark variant */
.feature-card--dark {
  background: var(--color-forest-mid);
  border-color: rgba(255,255,255,0.08);
}

.feature-card--dark .feature-card__icon {
  margin-left: auto;
  margin-right: auto;
  background: rgba(212,160,23,0.15);
}

.feature-card--dark .feature-card__title { color: var(--color-white-warm); }
.feature-card--dark .feature-card__desc { color: var(--color-leaf-light); }

/* ========================================
   PROCESS TIMELINE
   ======================================== */
.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--color-gold) 0%,
    var(--color-forest-light) 50%,
    transparent 100%
  );
}

.process-step {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
}

.process-step__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-forest);
  border: 3px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-gold);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .process-step__num {
  background: var(--color-gold);
  color: var(--color-forest);
  transform: scale(1.1);
}

.process-step__content {
  padding-top: var(--space-3);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white-warm);
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-leaf-light);
  line-height: var(--leading-relaxed);
}

.process-step__badge {
  display: inline-flex;
  margin-top: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(212,160,23,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 600px;
}

.comparison-table thead {
  background: var(--color-forest);
  color: var(--color-white-warm);
}

.comparison-table th {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table th:first-child { color: rgba(250,248,244,0.65); }

.comparison-table th.highlight-col {
  background: rgba(212,160,23,0.15);
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
}

.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background-color: rgba(74,124,89,0.04); }

.comparison-table td {
  padding: var(--space-4) var(--space-6);
  color: var(--color-text-mid);
  line-height: var(--leading-normal);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--color-text-dark);
}

.comparison-table td.highlight-col {
  background: rgba(212,160,23,0.04);
  color: var(--color-forest);
  font-weight: 500;
}

/* ========================================
   STATS / METRICS SECTION
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background: rgba(250,248,244,0.05);
  border: 1px solid rgba(250,248,244,0.1);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(250,248,244,0.08);
  border-color: rgba(212,160,23,0.3);
  transform: translateY(-3px);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: rgba(250,248,244,0.65);
  font-weight: 500;
  line-height: var(--leading-snug);
}

.stat-card__source {
  display: block;
  font-size: var(--text-xs);
  color: rgba(250,248,244,0.35);
  margin-top: var(--space-2);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

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

.faq-item:has(.faq-item__content[aria-hidden="false"]) {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-forest-light);
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  line-height: var(--leading-snug);
}

.faq-item__btn:hover {
  color: var(--color-forest);
  background: rgba(26,58,42,0.02);
}

.faq-item__btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26,58,42,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-md);
  color: var(--color-forest);
  transition: all var(--transition-base);
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
  background: var(--color-forest);
  color: var(--color-white-warm);
  transform: rotate(45deg);
}

.faq-item__content {
  overflow: hidden;
  transition: max-height var(--transition-slow) ease,
              opacity var(--transition-base);
  max-height: 0;
  opacity: 0;
}

.faq-item__content[aria-hidden="false"] {
  opacity: 1;
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  max-width: none;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-grid--full { grid-column: 1 / -1; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-label--required::after {
  content: ' *';
  color: var(--color-error);
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-white-warm);
  transition: all var(--transition-fast);
  width: 100%;
  appearance: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--color-border-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-forest-mid);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  font-weight: 500;
  display: none;
}

.form-field.has-error .form-error { display: block; }

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.form-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  appearance: none;
  background: var(--color-white-warm);
  transition: all var(--transition-fast);
}

.form-checkbox:checked {
  background: var(--color-forest);
  border-color: var(--color-forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.form-checkbox-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--color-forest-mid);
  text-decoration: underline;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Form States */
.form-feedback {
  display: none;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-feedback--success {
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.3);
  color: #1a7340;
}

.form-feedback--error {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--color-error);
}

.form-feedback.is-visible { display: block; }

.btn--loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn--loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

@media (max-width: 767px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid--full { grid-column: auto; }
}

/* ========================================
   TECH SPECS TABLE
   ======================================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
}

.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(26,58,42,0.02); }

.specs-table th,
.specs-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  font-size: var(--text-sm);
}

.specs-table th {
  width: 40%;
  font-weight: 600;
  color: var(--color-text-dark);
}

.specs-table td {
  color: var(--color-text-muted);
}

.specs-table .spec-pending {
  color: var(--color-earth);
  font-style: italic;
  font-size: var(--text-xs);
}

/* ========================================
   TEST STATUS CARDS
   ======================================== */
.test-card {
  background: var(--color-white-warm);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-base);
}

.test-card:hover { box-shadow: var(--shadow-sm); }

.test-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.test-card__body { flex: 1; }

.test-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-1);
}

.test-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  max-width: none;
}

.test-status {
  display: inline-flex;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.test-status--planned {
  background: rgba(107,107,107,0.1);
  color: var(--color-text-muted);
}

.test-status--ongoing {
  background: rgba(212,160,23,0.15);
  color: var(--color-earth);
}

.test-status--done {
  background: rgba(39,174,96,0.12);
  color: #1a7340;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  max-width: 540px;
  background: var(--color-forest);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  z-index: var(--z-toast);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateY(calc(100% + var(--space-10)));
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner.is-shown {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-white-warm);
  margin-bottom: var(--space-2);
}

.cookie-banner__desc {
  font-size: var(--text-xs);
  color: rgba(250,248,244,0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  max-width: none;
}

.cookie-banner__desc a {
  color: var(--color-gold);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-forest);
  color: var(--color-text-inverse);
  padding-top: var(--space-20);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
}

.footer__logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-earth));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-forest);
  font-family: var(--font-display);
  letter-spacing: -0.05em;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white-warm);
  letter-spacing: -0.02em;
}

.footer__desc {
  font-size: var(--text-sm);
  color: rgba(250,248,244,0.6);
  line-height: var(--leading-relaxed);
  max-width: 30ch;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.45);
  margin-bottom: var(--space-5);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(250,248,244,0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover { color: var(--color-white-warm); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(250,248,244,0.65);
  margin-bottom: var(--space-4);
}

.footer__contact-icon {
  flex-shrink: 0;
  font-size: var(--text-base);
  margin-top: 1px;
}

.footer__bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(250,248,244,0.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(250,248,244,0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__legal-link:hover { color: rgba(250,248,244,0.7); }

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ========================================
   PROBLEM / SOLUTION SPLIT
   ======================================== */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.problem-col,
.solution-col {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
}

.problem-col {
  background: rgba(139,105,20,0.06);
  border: 1px solid rgba(139,105,20,0.15);
}

.solution-col {
  background: rgba(26,58,42,0.06);
  border: 1px solid rgba(74,124,89,0.2);
}

.problem-col__title, .solution-col__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
  font-weight: 700;
}

.problem-col__title { color: var(--color-earth); }
.solution-col__title { color: var(--color-forest); }

.problem-list, .solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.problem-list li, .solution-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.problem-list li::before {
  content: '⚠';
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-top: 1px;
}

.solution-list li::before {
  content: '✓';
  color: var(--color-forest-mid);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 767px) {
  .problem-solution { grid-template-columns: 1fr; }
  .problem-col, .solution-col { padding: var(--space-6); }
}

/* ========================================
   SCIENCE / COMPOSITION BAR
   ======================================== */
.composition-bar-wrap {
  margin-bottom: var(--space-5);
}

.composition-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.composition-bar-label span:first-child {
  font-weight: 600;
  color: var(--color-text-dark);
}

.composition-bar-label span:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.composition-bar {
  height: 8px;
  background: var(--color-bej-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.composition-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-forest), var(--color-forest-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}

.composition-bar__fill.is-animated {
  transform: scaleX(1);
}

.composition-disclaimer {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: rgba(212,160,23,0.08);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-xs);
  color: var(--color-earth);
  line-height: var(--leading-relaxed);
}

/* ========================================
   USE CASE GRID
   ======================================== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.usecase-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-white-warm);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

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

.usecase-card__icon {
  font-size: 2.25rem;
  margin-bottom: var(--space-3);
  display: block;
}

.usecase-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: var(--space-2);
}

.usecase-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

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

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

/* ========================================
   SUSTAINABILITY METRICS
   ======================================== */
.metric-item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.metric-item:last-child { border-bottom: none; }

.metric-item__label {
  flex: 1;
  font-size: var(--text-sm);
  color: rgba(250,248,244,0.7);
}

.metric-item__value {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-gold);
  text-align: right;
  min-width: 200px;
}

.metric-note {
  font-size: var(--text-xs);
  color: rgba(250,248,244,0.35);
  margin-top: var(--space-4);
  font-style: italic;
  line-height: var(--leading-relaxed);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-mid) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-20) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section__label { margin-bottom: var(--space-4); }
.cta-section__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  color: var(--color-white-warm);
  margin-bottom: var(--space-5);
}

.cta-section__desc {
  font-size: var(--text-lg);
  color: rgba(250,248,244,0.7);
  max-width: 50ch;
  margin: 0 auto var(--space-10);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .cta-section {
    padding: var(--space-12) var(--space-6);
    border-radius: var(--radius-lg);
  }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-white-warm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: var(--z-up);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-forest);
  transform: translateY(-2px);
}

/* ========================================
   PARTNER LOGOS (placeholder)
   ======================================== */
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(1);
}

/* ========================================
   PAGE-SPECIFIC: 404
   ======================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-mid) 100%);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: rgba(212,160,23,0.15);
  line-height: 1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.05em;
}

.error-page__title {
  color: var(--color-white-warm);
  margin-bottom: var(--space-4);
}

.error-page__desc {
  color: rgba(250,248,244,0.65);
  margin-bottom: var(--space-10);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .nav, .cookie-banner, .back-to-top, .footer__social { display: none !important; }
  body { background: white; color: black; }
  .btn { border: 1px solid black; }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE — ALL DEVICES
   ======================================== */

/* --- Tablet Landscape: 1024px --- */
@media (max-width: 1024px) {
  /* Hero */
  .hero__content {
    padding-top: calc(var(--space-24) + var(--space-12));
    padding-bottom: var(--space-20);
  }

  /* Page Hero */
  .page-hero {
    padding: calc(var(--space-24) + var(--space-6)) 0 var(--space-16);
  }

  /* Hakkimizda mission/vision 2-col */
  .section .grid[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Metric value width */
  .metric-item__value { min-width: 140px; }

  /* CTA */
  .cta-section { padding: var(--space-16) var(--space-8); }

  /* Specs table */
  .specs-table th { width: 50%; }
}

/* --- Tablet Portrait: 768px --- */
@media (max-width: 768px) {
  /* Hero */
  .hero__content {
    padding-top: calc(var(--space-20) + var(--space-12));
    padding-bottom: var(--space-16);
  }
  .hero__title { max-width: 100%; }
  .hero__subtitle { max-width: 100%; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .hero__actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__stats { gap: var(--space-5); }
  .hero__stat-value { font-size: var(--text-xl); }
  .hero__scroll { display: none; }

  /* Page Hero */
  .page-hero { padding: calc(var(--space-20) + var(--space-8)) 0 var(--space-12); }
  .page-hero__title { max-width: 100%; font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .page-hero__desc { font-size: var(--text-base); }

  /* Breadcrumb */
  .breadcrumb { flex-wrap: wrap; }

  /* Section */
  .section { padding-top: var(--space-16); padding-bottom: var(--space-16); }
  .section-header { margin-bottom: var(--space-10); }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-subtitle { font-size: var(--text-base); }

  /* Grids → single column */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }

  /* Feature cards */
  .feature-card { padding: var(--space-6); }

  /* Process Timeline */
  .process-timeline::before { left: 20px; }
  .process-step__num { width: 40px; height: 40px; font-size: var(--text-base); }
  .process-step { gap: var(--space-4); }

  /* Problem/Solution split */
  .problem-solution { grid-template-columns: 1fr; gap: var(--space-4); }
  .problem-col, .solution-col { padding: var(--space-6); }

  /* Comparison table — horizontal scroll */
  .comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 560px; }

  /* Specs table */
  .specs-table th, .specs-table td { padding: var(--space-3) var(--space-4); }
  .specs-table th { width: 45%; }

  /* Metric items */
  .metric-item { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .metric-item__value { min-width: unset; text-align: left; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-grid--full { grid-column: auto; }

  /* Test cards */
  .test-card { flex-direction: column; align-items: flex-start; gap: var(--space-3); }

  /* CTA Section */
  .cta-section { padding: var(--space-12) var(--space-5); border-radius: var(--radius-lg); }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .cta-section__desc { font-size: var(--text-base); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); padding-bottom: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__desc { max-width: 100%; }
  .footer__social { flex-wrap: wrap; gap: var(--space-2); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .footer__legal { gap: var(--space-3); }

  /* Cookie banner */
  .cookie-banner {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    padding: var(--space-5);
  }
  .cookie-banner__actions { flex-direction: column; gap: var(--space-2); }
  .cookie-banner__actions .btn { width: 100%; justify-content: center; }

  /* Back to top */
  .back-to-top { bottom: var(--space-4); right: var(--space-4); width: 42px; height: 42px; }

  /* Hakkimizda inline grids */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* --- Mobile: 480px --- */
@media (max-width: 480px) {
  /* Container */
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }

  /* Typography scale */
  h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  h2 { font-size: clamp(1.375rem, 6vw, 1.875rem); }
  h3 { font-size: clamp(1.125rem, 5vw, 1.375rem); }

  /* Nav logo — compact */
  .nav__logo-text { font-size: var(--text-lg); }
  .nav__logo-mark { width: 34px; height: 34px; font-size: 15px; }

  /* Hero */
  .hero__content { padding-top: calc(var(--space-16) + var(--space-12)); }
  .hero__badge { font-size: 0.65rem; }
  .hero__stats { flex-direction: column; gap: var(--space-4); border-top: none; padding-top: var(--space-6); }

  /* Page hero */
  .page-hero { padding: calc(var(--space-16) + var(--space-10)) 0 var(--space-10); }

  /* Section */
  .section { padding-top: var(--space-12); padding-bottom: var(--space-12); }

  /* Grids — full single col */
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  /* Cards */
  .feature-card { padding: var(--space-5); }
  .feature-card__icon { width: 46px; height: 46px; font-size: 1.4rem; }

  /* Process */
  .process-timeline::before { display: none; }
  .process-step { gap: var(--space-3); }
  .process-step__num { width: 36px; height: 36px; font-size: var(--text-base); flex-shrink: 0; }

  /* Test cards */
  .test-card { padding: var(--space-4); }

  /* Specs table — stack */
  .specs-table { display: block; }
  .specs-table thead { display: none; }
  .specs-table tbody { display: block; }
  .specs-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-3) 0;
  }
  .specs-table th, .specs-table td {
    padding: var(--space-1) var(--space-3);
    width: 100%;
    border: none;
  }
  .specs-table th { color: var(--color-text-dark); font-size: var(--text-xs); }
  .specs-table td { color: var(--color-text-muted); font-size: var(--text-xs); }

  /* Comparison table — keep scroll, shrink font */
  .comparison-table { font-size: var(--text-xs); min-width: 480px; }
  .comparison-table th, .comparison-table td { padding: var(--space-3) var(--space-4); }

  /* Footer — single col */
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__brand { grid-column: auto; }
  .footer__social-link { width: 32px; height: 32px; }
  .footer__legal { flex-direction: column; gap: var(--space-2); }

  /* Buttons */
  .btn { padding: var(--space-3) var(--space-6); font-size: var(--text-sm); }
  .btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

  /* FAQ */
  .faq-item__btn { padding: var(--space-4); font-size: var(--text-sm); }
  .faq-item__answer { padding: var(--space-3) var(--space-4) var(--space-4); }

  /* Usecase grid */
  .usecase-grid { grid-template-columns: 1fr; }

  /* Stats grid */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card__value { font-size: var(--text-3xl); }

  /* Cookie banner */
  .cookie-banner { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); }

  /* CTA */
  .cta-section { padding: var(--space-10) var(--space-4); }

  /* Metric */
  .metric-item { padding: var(--space-4) 0; }
}

/* --- Small Mobile: 360px --- */
@media (max-width: 360px) {
  .container { padding-left: var(--space-3); padding-right: var(--space-3); }
  .nav { padding: var(--space-4) 0; }
  .nav__logo-text { font-size: var(--text-base); }
  .hero__content { padding-top: calc(var(--space-16) + var(--space-8)); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn, .cta-section__actions .btn { width: 100%; }
  .section { padding-top: var(--space-10); padding-bottom: var(--space-10); }
}

/* --- Touch: disable hover lift on mobile --- */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .card:hover,
  .usecase-card:hover,
  .stat-card:hover,
  .test-card:hover { transform: none; box-shadow: var(--shadow-card); }
  .btn--primary:hover,
  .btn--gold:hover,
  .btn--secondary:hover { transform: none; }
  .nav__cta:hover,
  .footer__social-link:hover { transform: none; }
  .process-step:hover .process-step__num { transform: none; }
}

/* --- High-DPI / Retina --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero__bg-img { image-rendering: -webkit-optimize-contrast; }
}

/* --- Landscape phone (height < 500px) --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: var(--space-20) 0 var(--space-12); }
  .hero__content { padding-top: var(--space-16); padding-bottom: var(--space-10); }
  .hero__stats { display: none; }
  .page-hero { padding: var(--space-16) 0 var(--space-8); }
  .nav__drawer { padding-top: var(--space-12); }
}

/* ========================================
   WHATSAPP WIDGET
   ======================================== */
/* WhatsApp Widget - Premium Design */
/* WhatsApp Widget - Chat Style Design */
/* WhatsApp Widget - Premium Chat Style */
.wp-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Inter', sans-serif;
}
.wp-widget__tooltip {
  position: absolute;
  left: 80px;
  bottom: 15px;
  background-color: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.wp-widget__tooltip::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 6px 6px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.wp-widget:hover .wp-widget__tooltip {
  opacity: 1;
  transform: translateX(0);
}
.wp-widget__toggle {
  width: 64px;
  height: 64px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  border: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: wp-pulse 2s infinite;
}
.wp-widget__toggle:hover {
  transform: scale(1.1);
  animation: none;
}
@keyframes wp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wp-widget__menu {
  position: absolute;
  bottom: 85px;
  left: 0;
  background: #E5DDD5;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23e5ddd5'/%3E%3Cpath d='M2 2h2v2H2V2zm4 4h2v2H6V6zm4 4h2v2h-2v-2zm4 4h2v2h-2v-2z' fill='%23d9d1c9' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  border-radius: 16px;
  width: 250px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom left;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wp-widget__menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.wp-widget__header {
  background-color: #075E54;
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.wp-widget__header-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-widget__header-info {
  display: flex;
  flex-direction: column;
}
.wp-widget__header-info strong {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.wp-widget__header-info span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
}
.wp-widget__body {
  padding: 20px;
}
.wp-widget__chat-bubble {
  background: #fff;
  padding: 10px 12px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.75rem;
  color: #333;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
  line-height: 1.4;
}
.wp-widget__chat-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 10px 0;
  border-color: transparent #fff transparent transparent;
}
.wp-widget__item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  position: relative;
}
.wp-widget__item:last-child {
  margin-bottom: 0;
}
.wp-widget__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.wp-widget__item-avatar {
  width: 34px;
  height: 34px;
  background: #128C7E;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  margin-right: 10px;
  flex-shrink: 0;
}
.wp-widget__item-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.wp-widget__item-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: #111;
  margin-bottom: 3px;
}
.wp-widget__item-number {
  font-size: 0.7rem;
  color: #777;
}
.wp-widget__item-arrow {
  flex-shrink: 0;
  margin-left: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.wp-widget__item:hover .wp-widget__item-arrow {
  transform: translateX(4px);
  opacity: 1;
}
.wp-widget__toggle svg { pointer-events: none; }