/*
Theme Name: Fracta Studio
Theme URI: https://fractastudio.com
Author: Fracta Studio
Author URI: https://fractastudio.com
Description: Theme custom WooCommerce para Fracta Studio — cuadros holográficos. Dark theme con estética holográfica.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fracta
WC requires at least: 8.0
WC tested up to: 10.7
*/

/* ========================================
   CSS CUSTOM PROPERTIES — DESIGN SYSTEM
   ======================================== */

:root {
  /* Core colors */
  --bg: #0a0a12;
  --bg-alt: #10101c;
  --surface: #1c1c38;
  --fg: #ffffff;
  --muted: #a8a8c4;
  --border: rgba(255, 255, 255, 0.14);

  /* Holographic accents */
  --holo-cyan: #5ef5ff;
  --holo-rosa: #ff6cbd;
  --holo-lavanda: #c4a8ff;
  --holo-menta: #5cffcc;

  /* Typography */
  --font-display: 'Syne', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(3rem, 8vw, 7rem);
  --container-px: clamp(1rem, 4vw, 1.5rem);
  --container-max: 1280px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--holo-cyan);
}

::selection {
  background: rgba(94, 245, 255, 0.25);
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--holo-cyan);
  outline-offset: 2px;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
}

.section--alt {
  background-color: var(--bg-alt);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--muted);
  max-width: 65ch;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--holo-cyan);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--fg);
  color: var(--bg);
}

.btn--primary:hover {
  color: var(--bg);
  box-shadow: 0 0 30px rgba(94, 245, 255, 0.3);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--fg);
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* ========================================
   GLASS CARD
   ======================================== */

.glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--duration) var(--ease);
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* ========================================
   NAVBAR
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--duration) var(--ease);
  padding: 1rem 0;
}

.site-header.scrolled {
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.site-brand__logo {
  max-height: 2.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.site-nav a:hover {
  color: var(--fg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.cart-count {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--holo-cyan);
  color: var(--bg);
  width: 1.15rem;
  height: 1.15rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--duration) var(--ease);
    z-index: 200;
  }

  .site-nav.open { right: 0; }

  .site-nav a {
    font-size: 1.125rem;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease);
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__title {
  margin-top: 0.75rem;
}

.hero__desc {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Holographic orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero__orb--cyan {
  width: 500px;
  height: 500px;
  background: var(--holo-cyan);
  opacity: 0.08;
  top: -10%;
  right: -5%;
}

.hero__orb--rosa {
  width: 400px;
  height: 400px;
  background: var(--holo-rosa);
  opacity: 0.06;
  bottom: -10%;
  left: -5%;
}

/* ========================================
   PRODUCT GRID
   ======================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 1.25rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--holo-cyan);
}

.product-card__price del {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.product-card__price ins {
  text-decoration: none;
}

.product-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--holo-rosa);
  color: var(--bg);
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.product-card__actions {
  margin-top: 1rem;
}

/* ========================================
   SINGLE PRODUCT
   ======================================== */

.single-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 6rem;
}

@media (min-width: 768px) {
  .single-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.product-gallery {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.product-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info__title {
  margin-bottom: 1rem;
}

.product-info__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--holo-cyan);
  margin-bottom: 1.5rem;
}

.product-info__price del {
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 400;
}

.product-info__price ins {
  text-decoration: none;
}

.product-info__short-desc {
  margin-bottom: 2rem;
}

.product-info__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.product-info__meta span {
  display: block;
  margin-bottom: 0.5rem;
}

.product-info__meta a {
  color: var(--holo-cyan);
}

/* Quantity input */
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-right: 1rem;
}

.quantity input[type="number"] {
  width: 3rem;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  padding: 0.6rem 0;
  -moz-appearance: textfield;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Add to cart form */
.cart .single_add_to_cart_button {
  composes: btn btn--primary; /* fallback below */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--fg);
  color: var(--bg);
  transition: all var(--duration) var(--ease);
}

.cart .single_add_to_cart_button:hover {
  box-shadow: 0 0 30px rgba(94, 245, 255, 0.3);
  transform: translateY(-1px);
}

/* Tabs */
.woocommerce-tabs {
  margin-top: 3rem;
}

.woocommerce-tabs .tabs {
  display: flex;
  gap: 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.woocommerce-tabs .tabs li a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all var(--duration) var(--ease);
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
  color: var(--fg);
  border-bottom-color: var(--holo-cyan);
}

.woocommerce-tabs .panel {
  color: var(--muted);
  line-height: 1.7;
}

/* Related products */
.related.products {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related.products h2 {
  margin-bottom: 1.5rem;
}

/* ========================================
   CATEGORIES
   ======================================== */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.category-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 18, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.category-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

/* ========================================
   PAGINATION
   ======================================== */

.woocommerce-pagination,
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.woocommerce-pagination .page-numbers,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers:hover,
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--muted);
  transition: color var(--duration) var(--ease);
}

.footer-social a:hover {
  color: var(--holo-cyan);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */

/* Notices / Messages */
.woocommerce-message,
.woocommerce-info {
  background: rgba(94, 245, 255, 0.08);
  border: 1px solid rgba(94, 245, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--fg);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--holo-cyan);
  font-weight: 600;
}

.woocommerce-error {
  background: rgba(255, 108, 189, 0.08);
  border: 1px solid rgba(255, 108, 189, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--fg);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

/* Forms */
.woocommerce form .form-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.875rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--duration) var(--ease);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--holo-cyan);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 1rem 0;
  margin-top: 4.5rem;
}

.woocommerce-breadcrumb a {
  color: var(--muted);
}

.woocommerce-breadcrumb a:hover {
  color: var(--holo-cyan);
}

/* Cart table */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce table.shop_table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-name a {
  font-weight: 600;
}

.woocommerce table.shop_table td.product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Star rating */
.star-rating {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

/* Sale badge WooCommerce */
.woocommerce span.onsale {
  background: var(--holo-rosa);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

/* Widget areas */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--fg);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin-top: 0.75rem;
}

/* ========================================
   HERO EXTENDED
   ======================================== */

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(94, 245, 255, 0.1);
  max-width: 480px;
}

.hero__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__price-badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(94, 245, 255, 0.25);
  background: rgba(94, 245, 255, 0.06);
  font-size: 0.875rem;
  color: var(--holo-cyan);
}

/* ========================================
   STEPS / HOW IT WORKS
   ======================================== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.step-card__number {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--fg);
  opacity: 0.05;
  line-height: 1;
}

.step-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
}

.steps-closing {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ========================================
   B2B SPLIT
   ======================================== */

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.b2b-card {
  padding: 2.5rem;
  position: relative;
}

.b2b-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.b2b-card > p {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.b2b-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--holo-menta);
  color: var(--bg);
  margin-bottom: 1rem;
}

.b2b-card__list {
  list-style: none;
  margin-bottom: 2rem;
}

.b2b-card__list li {
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.b2b-card__list li::before {
  content: '✓';
  color: var(--holo-menta);
  font-weight: 700;
  font-size: 0.875rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card__stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--fg);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--holo-cyan), var(--holo-rosa), var(--holo-lavanda), var(--holo-menta));
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.875rem;
}

.testimonial-card__author span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--duration) var(--ease);
}

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

.faq-item__question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
  color: var(--holo-cyan);
}

.faq-item[open] .faq-item__question {
  color: var(--holo-cyan);
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-item__answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   NEWSLETTER
   ======================================== */

.newsletter-section {
  position: relative;
  overflow: hidden;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 420px;
  margin-inline: auto;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--duration) var(--ease);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--holo-cyan);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--muted);
}

.newsletter-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.newsletter-social a {
  color: var(--muted);
  transition: color var(--duration) var(--ease);
}

.newsletter-social a:hover {
  color: var(--holo-cyan);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes holo-rotate {
  from { --holo-angle: 0deg; }
  to { --holo-angle: 360deg; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-in-up 0.6s var(--ease) both;
}

/* Stagger children */
.stagger > :nth-child(1) { animation-delay: 0s; }
.stagger > :nth-child(2) { animation-delay: 0.08s; }
.stagger > :nth-child(3) { animation-delay: 0.16s; }
.stagger > :nth-child(4) { animation-delay: 0.24s; }
.stagger > :nth-child(5) { animation-delay: 0.32s; }
.stagger > :nth-child(6) { animation-delay: 0.4s; }
.stagger > :nth-child(7) { animation-delay: 0.48s; }
.stagger > :nth-child(8) { animation-delay: 0.56s; }

/* Holographic gradient text */
.holo-text {
  background: linear-gradient(
    135deg,
    var(--holo-cyan),
    var(--holo-rosa),
    var(--holo-lavanda),
    var(--holo-menta),
    var(--holo-cyan)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
