/* =====================================================
 * DecryptCode INC — Sections
 * Hero, Proof Strip, CTA Strips, Contact, Footer
 * Last Updated: February 21, 2026
 * ===================================================== */

/* ═══════════════════════════════════════════
 * HERO SECTION
 * ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-12);
  background: var(--gradient-hero);
}

.hero__content {
  max-width: 720px;
}

.hero__title {
  margin-bottom: var(--space-4);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  max-width: 560px;
  margin-bottom: var(--space-8);
}

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

/* Hero metric strip */
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: 600px;
}

.hero__metric {
  padding: var(--space-3);
  border-left: 2px solid var(--accent-2);
}

.hero__metric-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--accent-primary);
  line-height: 1;
}

.hero__metric-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ═══════════════════════════════════════════
 * PROOF STRIP (Auto-scrolling Social Proof)
 * ═══════════════════════════════════════════ */

.proof-strip {
  background: linear-gradient(90deg, var(--bg-secondary), var(--bg-tertiary), var(--bg-secondary));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: var(--space-5);
  overflow: hidden;
}

.proof-strip__track {
  display: flex;
  gap: var(--space-10);
  animation: proof-scroll 30s linear infinite;
  width: max-content;
}

.proof-strip__track:hover {
  animation-play-state: paused;
}

@keyframes proof-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  min-width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.proof-strip__icon {
  font-size: var(--text-xl);
}

.proof-strip__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}

.proof-strip__stat {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* Divider between items */
.proof-strip__divider {
  width: 1px;
  align-self: stretch;
  background: var(--accent-2-border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
 * CTA STRIP (Full-width call-to-action)
 * ═══════════════════════════════════════════ */

.cta-strip {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.10), var(--bg-tertiary), rgba(34, 211, 238, 0.06));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: var(--space-12);
  text-align: center;
}

.cta-strip__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
}

.cta-strip__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

/* ═══════════════════════════════════════════
 * APP GALLERY — Staggered Card Grid
 * ═══════════════════════════════════════════ */

.app-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

/* Stagger: offset every other card downward */
.app-gallery .app-card:nth-child(2) { transform: translateY(32px); }
.app-gallery .app-card:nth-child(4) { transform: translateY(32px); }
.app-gallery .app-card:nth-child(6) { transform: translateY(32px); }
.app-gallery .app-card:nth-child(8) { transform: translateY(32px); }

/* ── Single Card ── */

.app-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  cursor: pointer;
}

.app-card.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Re-apply stagger offset once visible */
.app-gallery .app-card.is-visible:nth-child(2),
.app-gallery .app-card.is-visible:nth-child(4),
.app-gallery .app-card.is-visible:nth-child(6),
.app-gallery .app-card.is-visible:nth-child(8) {
  transform: translateY(32px) !important;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-2-border);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(129, 140, 248, 0.08);
}

/* Staggered cards keep their offset on hover */
.app-gallery .app-card:nth-child(2):hover,
.app-gallery .app-card:nth-child(4):hover,
.app-gallery .app-card:nth-child(6):hover,
.app-gallery .app-card:nth-child(8):hover {
  transform: translateY(26px);
}

/* ── Card Visual (Phone Mockup) ── */

.app-card__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--space-5) var(--space-4) 0;
  overflow: hidden;
}

.app-card__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.app-card:hover .app-card__glow {
  opacity: 1;
}

.app-card__img {
  width: 130px;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.app-card:hover .app-card__img {
  transform: scale(1.05) translateY(-4px);
}

/* ── Card Content ── */

.app-card__content {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.app-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent-3);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-full);
  padding: 3px var(--space-3);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.app-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.app-card__desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.app-card:hover .app-card__desc {
  color: var(--text-secondary);
}

.app-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.app-card__tags span {
  font-size: 11px;
  color: var(--accent-2);
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: var(--weight-semibold);
}

/* ── Gallery Responsive ── */

@media (max-width: 639px) {
  .app-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Remove stagger on mobile — tighter layout */
  .app-gallery .app-card:nth-child(2),
  .app-gallery .app-card:nth-child(4),
  .app-gallery .app-card:nth-child(6),
  .app-gallery .app-card:nth-child(8) {
    transform: none;
  }

  .app-gallery .app-card:nth-child(2):hover,
  .app-gallery .app-card:nth-child(4):hover,
  .app-gallery .app-card:nth-child(6):hover,
  .app-gallery .app-card:nth-child(8):hover {
    transform: translateY(-4px);
  }

  .app-card__img {
    width: 100px;
  }

  .app-card__content {
    padding: var(--space-3) var(--space-3) var(--space-4);
  }

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

  .app-card__desc {
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .app-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  /* Stagger only applies to 2nd and 5th on 3-column */
  .app-gallery .app-card:nth-child(2) { transform: translateY(24px); }
  .app-gallery .app-card:nth-child(4) { transform: none; }
  .app-gallery .app-card:nth-child(5) { transform: translateY(24px); }
  .app-gallery .app-card:nth-child(6) { transform: none; }
  .app-gallery .app-card:nth-child(8) { transform: translateY(24px); }

  .app-gallery .app-card:nth-child(2):hover { transform: translateY(18px); }
  .app-gallery .app-card:nth-child(4):hover { transform: translateY(-6px); }
  .app-gallery .app-card:nth-child(5):hover { transform: translateY(18px); }
  .app-gallery .app-card:nth-child(6):hover { transform: translateY(-6px); }
  .app-gallery .app-card:nth-child(8):hover { transform: translateY(18px); }

  .app-card__img {
    width: 110px;
  }
}

@media (min-width: 1024px) {
  .app-gallery {
    padding-bottom: 40px; /* space for stagger overflow */
  }
}

/* ── App Detail Modal ── */

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.app-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.app-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-modal__container {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 1100px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(129, 140, 248, 0.06);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-modal.is-open .app-modal__container {
  transform: translateY(0) scale(1);
}

.app-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1;
}

.app-modal__close:hover {
  color: var(--text-primary);
  border-color: var(--accent-2-border);
  background: var(--bg-secondary);
}

.app-modal__body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-8);
  padding: var(--space-9, 3rem);
  align-items: start;
}

.app-modal__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-modal__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(129, 140, 248, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.app-modal__img {
  width: 300px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.55));
}

.app-modal__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent-3);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-full);
  padding: 4px var(--space-3);
  margin-bottom: var(--space-3);
}

.app-modal__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl, 1.875rem);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.app-modal__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

/* Highlights list */
.app-modal__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-4);
}

.app-modal__highlights li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.app-modal__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  opacity: 0.7;
}

/* Platforms row */
.app-modal__platforms {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.app-modal__platform-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--weight-semibold);
}

.app-modal__platform-icons {
  display: flex;
  gap: var(--space-2);
}

.app-modal__platform-icons span {
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px 12px;
  font-weight: var(--weight-semibold);
}

/* Tags — highlighted */
.app-modal__tags-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
}

.app-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-modal__tags span {
  font-size: 13px;
  color: var(--accent-2);
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  line-height: 1.4;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.app-modal__tags span:hover {
  background: rgba(129, 140, 248, 0.15);
  border-color: rgba(129, 140, 248, 0.35);
}

/* Store download links */
.app-modal__store-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}

.app-modal__store-links a {
  display: inline-block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.9;
}

.app-modal__store-links a:hover {
  transform: scale(1.05);
  opacity: 1;
}

.app-modal__store-links img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Modal Responsive */
@media (max-width: 639px) {
  .app-modal__body {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-5);
    padding-top: var(--space-8);
    gap: var(--space-5);
  }

  .app-modal__img {
    width: 180px;
    margin: 0 auto;
  }

  .app-modal__title {
    font-size: var(--text-xl);
  }

  .app-modal__highlights {
    grid-template-columns: 1fr;
  }

  .app-modal__highlights li {
    text-align: left;
  }

  .app-modal__platforms {
    justify-content: center;
  }

  .app-modal__tags {
    justify-content: center;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .app-modal__body {
    grid-template-columns: 240px 1fr;
  }

  .app-modal__img {
    width: 220px;
  }
}

/* ═══════════════════════════════════════════
 * CONTACT SECTION
 * ═══════════════════════════════════════════ */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

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

.contact__info-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-3);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-1);
}

.contact__info-value {
  font-size: var(--text-base);
  color: var(--text-primary);
}

.contact__info-value a {
  color: var(--text-primary);
}

.contact__info-value a:hover {
  color: var(--accent-2);
}

/* ── Form ── */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.form__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.12);
  outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-tertiary);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%239a9a9a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-8);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* Honeypot field (hidden from real users) */
.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form__error {
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: var(--space-1);
}

.form__success {
  background: var(--success-muted);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  color: var(--success);
  font-size: var(--text-sm);
  text-align: center;
}

.form__alert {
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
  text-align: center;
  margin-bottom: var(--space-4);
  animation: fadeIn 0.3s ease;
}

.form__alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.form__alert--warning {
  background: rgba(250, 175, 82, 0.1);
  border: 1px solid rgba(250, 175, 82, 0.3);
  color: var(--accent-primary, #faaf52);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
 * FOOTER — Creative Modern
 * ═══════════════════════════════════════════ */

.footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
  padding-top: var(--space-16, 4rem);
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

/* When the new CTA banner is present, remove border-top (handled by CTA) */
.footer:has(.footer__cta) {
  border-top: none;
}

/* ── Ambient Glow Orbs ── */
.footer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.45;
}
.footer__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}
.footer__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.10) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
}

/* ── CTA Banner ── */
.footer__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  padding: var(--space-10, 2.5rem) var(--space-8);
  margin-bottom: var(--space-14, 3.5rem);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.footer__cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.footer__cta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}
.footer__cta-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: var(--leading-relaxed);
}
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  background: var(--accent-primary);
  color: var(--text-inverse);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 24px rgba(250, 175, 82, 0.25), 0 0 40px rgba(129, 140, 248, 0.08);
}
.footer__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(250, 175, 82, 0.35);
  background: var(--accent-hover);
}
.footer__cta-btn svg {
  transition: transform 0.3s ease;
}
.footer__cta-btn:hover svg {
  transform: translateX(4px);
}

/* ── Footer Grid ── */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10, 2.5rem);
  margin-bottom: var(--space-10, 2.5rem);
}

/* ── Brand Column ── */
.footer__brand {
  max-width: 320px;
}
.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
}
.footer__location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-4);
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}
.footer__location svg {
  color: var(--accent-3);
  flex-shrink: 0;
}

/* ── Social Links ── */
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  transition: all 0.3s ease;
}
.footer__social-link:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(129, 140, 248, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.15);
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* ── Service Columns ── */
.footer__col {
  position: relative;
}
.footer__column-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
}
.footer__column-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-block;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.4);
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer__link::before {
  content: '';
  position: absolute;
  left: -16px;
  width: 0;
  height: 2px;
  background: var(--accent-2);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__link:hover {
  color: var(--text-primary);
  transform: translateX(8px);
}
.footer__link:hover::before {
  width: 10px;
}

/* ── Divider ── */
.footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129,140,248,0.25) 20%, rgba(34,211,238,0.15) 80%, transparent);
  margin-bottom: var(--space-6);
}

/* ── Bottom Bar ── */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

/* When adjacent to the new divider, remove redundant border */
.footer__divider + .footer__bottom {
  padding-top: 0;
  border-top: none;
}
.footer__copyright {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}
.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.footer__bottom-link {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer__bottom-link:hover {
  color: var(--accent-2);
}
.footer__bottom-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-default);
}

/* ── Footer Responsive ── */
@media (min-width: 640px) {
  .footer__cta {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .footer__cta-btn {
    flex-shrink: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ═══════════════════════════════════════════
 * BACK TO TOP BUTTON
 * ═══════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-2);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.3);
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

/* ═══════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════ */

@media (min-width: 640px) {
  .hero__metrics {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(64px + var(--space-16));
  }

  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
    gap: var(--space-12, 3rem);
  }
}
