/* Cloudflare Fonts will be loaded in HTML Head via Google Fonts URL */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 65px;
  /* Precise height of Tubelight Navbar */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari/Edge */
::-webkit-scrollbar {
  display: none;
}

:root {
  /* Colors */
  --bg-color: #FAF3E7;
  --text-color: #1A1A2E;
  --text-muted: rgba(26, 26, 46, 0.7);
  --accent-color: #DC143C;
  /* Hanko Red */
  --accent-hover: #b01030;
  --card-bg: #FFFFFF;
  --border-color: rgba(26, 26, 46, 0.08);

  /* Inspiration Colors for Dark Sections */
  --bg-dark: #020617;
  --accent-blue: #3b82f6;
  /* To accent Hanko Red if needed, or keep red as primary */

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  /* Or swap to Epilogue if loaded */
  --font-body: 'Inter', sans-serif;

  /* Spacing System (8px grid base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  /* Pill shape */

  /* Effects */
  --shadow-sm: 0 4px 6px -1px rgba(26, 26, 46, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(26, 26, 46, 0.1), 0 10px 10px -5px rgba(26, 26, 46, 0.04);
  /* New Glow Effects */
  --glow-accent: 0 0 20px rgba(220, 20, 60, 0.4);
  --glow-accent-hover: 0 0 30px rgba(220, 20, 60, 0.6);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --blur: blur(12px);

  /* Pattern: Subtle Seigaiha (Wave) */
  --pattern-seigaiha: 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 10c2.67 0 5 2.33 5 5 0 2.67-2.33 5-5 5-2.67 0-5-2.33-5-5 0-2.67 2.33-5 5-5zm10 0c2.67 0 5 2.33 5 5 0 2.67-2.33 5-5 5-2.67 0-5-2.33-5-5 0-2.67 2.33-5 5-5zm10 0c2.67 0 5 2.33 5 5 0 2.67-2.33 5-5 5-2.67 0-5-2.33-5-5 0-2.67 2.33-5 5-5zM5 0c2.67 0 5 2.33 5 5 0 2.67-2.33 5-5 5-2.67 0-5-2.33-5-5 0-2.67 2.33-5 5-5zm10 0c2.67 0 5 2.33 5 5 0 2.67-2.33 5-5 5-2.67 0-5-2.33-5-5 0-2.67 2.33-5 5-5z' fill='%231A1A2E' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");

  /* Blog Custom Tokens (Phase 24) */
  --blog-text-main: #1A1A2E;
  --blog-text-alt: #4B5563;
  --blog-bg-accent: rgba(0, 0, 0, 0.03);
  --modal-bg: rgba(255, 255, 255, 0.98);
}

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

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background Patterns */
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--pattern-seigaiha);
  pointer-events: none;
  z-index: -1;
}

/* Global Premium Typography */
.section-title-premium {
  font-family: var(--font-body);
  /* Modern sans-serif */
  font-size: 2.5rem;
  font-weight: 800;
  /* Black */
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.05em;
  /* Tighter tracking */
  line-height: 1.1;
}

/* Legal Pages Styling */
.legal-page {
  background-color: var(--bg-color);
  color: var(--blog-text-alt);
}

.legal-page .legal-main {
  padding-top: 15rem !important;
  /* Extra space for navbar */
  padding-bottom: 10rem !important;
  max-width: 850px !important;
  margin: 0 auto;
}

.legal-page .section-title-premium {
  color: #002366;
  margin-bottom: 4rem;
  text-align: center;
}

.legal-content .legal-section {
  margin-bottom: 4rem;
}

.legal-content h2 {
  color: #002366 !important;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.legal-content p,
.legal-content li {
  color: #4B5563 !important;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-intro-paragraph {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 4rem;
  color: #002366 !important;
  font-weight: 500;
  border-left: 3px solid var(--accent-color);
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .section-title-premium {
    font-size: 3.5rem;
  }
}

.mono-tag-premium {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  /* Wide tracking */
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Fallback legacy headings (will gradually replace) */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--space-3);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-2);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-3);
  position: relative;
}

.section-padding {
  padding: 60px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent-color);
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden-mobile {
  display: none;
}

.hidden-desktop {
  display: block;
}

@media (min-width: 768px) {
  h1 {
    font-size: 4.5rem;
  }

  .hidden-desktop {
    display: none;
  }

  h2 {
    font-size: 3rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hidden-mobile {
    display: block;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-2) 0;
  background: rgba(250, 243, 231, 0.9);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(26, 26, 46, 0.05);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: var(--space-1) 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.logo img {
  height: 90px;
  width: auto;
  max-width: 280px;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  opacity: 0.8;
  transition: opacity 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  opacity: 1;
}

/* Buttons (Premium Overhaul) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  /* Thicker padding */
  font-weight: 800;
  /* Black font */
  font-size: 1rem;
  text-transform: uppercase;
  font-style: italic;
  font-family: var(--font-body);
  border-radius: 8px;
  /* Professional squared-round look */
  /* Pill shape */
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(200%) skewX(-15deg);
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--glow-accent);
}

.btn-primary:hover {
  background-color: #f01440;
  /* Slightly brighter on hover */
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-accent-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.btn-outline:hover {
  background: var(--text-color);
  color: white;
  transform: translateY(-2px);
}

/* 4. Interactive Hover Button (Phase 19 Port) */
.btn-interactive {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 170px; Adjusted to accommodate "IR A TIENDA" */
  padding: 16px 40px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-body);
  font-style: italic;
  /* Consistency with other buttons */
  transition: all 0.3s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.btn-interactive-content {
  display: inline-block;
  transition: all 0.3s ease;
  transform: translateX(0);
  opacity: 1;
}

.btn-interactive:hover .btn-interactive-content {
  transform: translateX(40px);
  /* Reduced overlap */
  opacity: 0;
}

.btn-interactive-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  opacity: 0;
  transform: translateX(-20px);
  /* Softer entry */
  transition: all 0.3s ease;
  z-index: 2;
}

.btn-interactive:hover .btn-interactive-hover {
  opacity: 1;
  transform: translateX(0);
}

.btn-interactive-circle {
  position: absolute;
  left: 10%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #002366;
  opacity: 0;
  /* Hidden by default */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-50%) scale(1);
  z-index: 1;
}

.btn-interactive:hover .btn-interactive-circle {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translateY(0) scale(2);
  border-radius: 0;
}

.btn-interactive:hover {
  border-color: #002366;
  color: white;
}

/* Dark mode button variants for sections with dark bg */
.btn-primary.dark-mode-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: none;
}

.btn-primary.dark-mode-btn:hover {
  border-color: var(--accent-color);
  background-color: rgba(220, 20, 60, 0.1);
  box-shadow: var(--glow-accent);
}

/* Hero Section */
.hero {
  padding: 9rem 0 var(--space-8);
  /* Increased top padding for Tubelight Navbar */
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 var(--space-6);
  }

  /* Ensure bottom content isn't hidden by mobile nav */
  body {
    padding-bottom: 0;
  }

  .mobile-logo {
    width: 150px;
    /* Bigger Logo */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .mobile-logo-container {
    margin-bottom: 1rem;
    /* Reduced bottom margin */
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(220, 20, 60, 0.1);
  border: 1px solid rgba(220, 20, 60, 0.2);
  border-radius: 50px;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.verified-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.hero-video-frame {
  margin-top: 4rem;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.video-placeholder {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  background: #111;
}

.video-placeholder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Hanko Stamp */
.hanko-stamp {
  width: 80px;
  height: 80px;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  /* Traditional Hanko is often round or square, let's go round */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
  opacity: 0.9;
  mask-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  mask-mode: alpha;
  /* Fallback border style */
  border-style: double;
}

.hanko-inner {
  border: 1px solid var(--accent-color);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Comparison Table (Consulting Style) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: 3rem;
}

.spin-in {
  margin-top: 1rem;
}

/* Helper */

/* Minimalist Footer */
/* Brutalist Premium Footer */
.animated-footer {
  background-color: #050505;
  color: #fff;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #fff;
}

@media (max-width: 768px) {
  .animated-footer {
    padding: 4rem 0 2rem;
  }
}

.footer-bg-text {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 15vw;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
  font-style: italic;
  letter-spacing: -2px;
  line-height: 0.8;
}

@media (max-width: 768px) {
  .footer-bg-text {
    font-size: 25vw;
    bottom: -10px;
    right: -10px;
    opacity: 0.3;
  }
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .footer-content-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.brand-col .footer-logo {
  width: 180px;
  margin-bottom: 2rem;
  opacity: 1;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 2;
  max-width: 400px;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-links-col {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-col a {
  color: #888;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-col a:hover {
  color: #fff;
  transform: translateX(10px);
}

.social-links-row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.social-icon {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: transform 0.3s, color 0.3s;
}

.social-links-row a:hover .social-icon {
  transform: rotate(-10deg) scale(1.2);
  color: var(--accent-color);
}

.footer-bottom {
  margin-top: 8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #888 !important;
  /* Slightly lighter for readability */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  position: relative;
}

@media (max-width: 768px) {
  .footer-bottom {
    margin-top: 4rem;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

.back-to-top button {
  background: transparent;
  border: 1px solid #333;
  color: #888;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.back-to-top button:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

#waveContainer {
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  opacity: 0.5;
}

.wave-segment {
  flex: 1;
  background-color: #222;
  /* Darker waves for subtlety */
  transform-origin: bottom;
  will-change: transform;
}


/* Hero Trust Badges */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-color);
  /* Dark text for white bg */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
  /* No drop-shadow */
}

.trust-divider {
  width: 4px;
  height: 4px;
  background: #444;
  border-radius: 50%;
}

/* Showcase 3D Animation */
.perspective-container {
  perspective: 1200px;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
  /* Space for animation */
}

.rotate-card {
  width: 100%;
  max-width: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(25deg) scale(0.9) translateY(50px);
  /* Initial State */
  /* transition: transform 0.1s linear;  Managed by JS now for scroll sync */
}

.screen-frame {
  background: #222;
  padding: 10px;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px #333,
    0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.screen-header {
  height: 24px;
  background: #222;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  margin-bottom: 4px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.screen-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
  }
}

.comp-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.comp-card.highlight {
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  position: relative;
  z-index: 10;
}

.comp-card ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

/* Holographic Product Grid */
.holo-card {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.1s ease;
  /* Smooth return, fast move */
  will-change: transform;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.holo-card::before {
  /* Foil Overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      transparent 20%,
      rgba(255, 255, 255, 0.1) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.1) 60%,
      transparent 80%);
  background-size: 200% 200%;
  opacity: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.3s ease;
}

.holo-card:hover::before {
  opacity: 1;
  animation: holo-shine 2s infinite linear;
}

@keyframes holo-shine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.holo-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #222, #111);
  /* Dark substrate */
}

.holo-image-container {
  height: 240px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--accent-color);
}

.holo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.holo-card:hover .holo-img {
  transform: scale(1.1);
}

.rarity-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-color);
  /* Neon glow */
  animation: pulse-neon 2s infinite alternate;
}

@keyframes pulse-neon {
  from {
    box-shadow: 0 0 5px var(--accent-color);
  }

  to {
    box-shadow: 0 0 15px var(--accent-color), 0 0 5px white;
  }
}

.holo-details {
  padding: 1.5rem;
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.holo-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

.holo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #e0e0e0;
  /* Much lighter for contrast */
  font-weight: 500;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Anchor offset for fixed/floating headers */
section[id] {
  scroll-margin-top: 0;
  /* Handled by scroll-padding-top on html */
}

/* Traceability Card (Floating) */
.trace-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: 'Courier New', monospace;
  /* Technical feel */
  font-size: 0.85rem;
  color: #333;
  max-width: 320px;
  margin: 2rem auto;
  position: relative;
  transform: rotate(-2deg);
  border-top: 4px solid var(--accent-color);
}

.trace-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 4px;
}

.trace-label {
  color: #888;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.trace-val {
  font-weight: 600;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-color);
  text-decoration: none;
}

.mobile-menu-btn {
  background: none;
  border: none;
  z-index: 101;
  cursor: pointer;
  display: none;
}

.hamburger {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* Footer */
footer {
  background: var(--text-color);
  color: white;
  padding: 4rem 0;
  margin-top: 6rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: white;
}

/* Animation Utils */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-color);
  animation: blink 1s step-end infinite;
  margin-left: 4px;
  vertical-align: text-bottom;
}

@keyframes blink {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Infinite Marquee */
.marquee-container {
  background: #1A1A2E;
  /* Dark Navy contrast against cream */
  color: #FAF3E7;
  /* Cream text */
  padding: 1.2rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  transform: rotate(-1deg);
  margin-top: -3rem;
  /* Overlap hero slightly */
  margin-bottom: 4rem;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 2rem;
}

.marquee-content .separator {
  color: var(--accent-color);
  font-size: 1rem;
  vertical-align: middle;
  opacity: 0.7;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Bento Grid Layout */
/* Logistics Command Center (HUD) */
/* Logistics Command Center (HUD) */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(200px, auto));
  gap: var(--space-4);
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .logistics-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .logistics-card {
    min-height: auto;
  }
}

.logistics-card {
  background: rgba(5, 5, 10, 0.9);
  /* Darker for contrast */
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 24px;
  /* Rounded corners */
}

/* Background Grid Animation */
.logistics-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  opacity: 0.5;
  transition: transform 10s linear;
  pointer-events: none;
}

.logistics-card:hover::before {
  transform: scale(1.1);
  /* Subtle zoom on grid */
}

.logistics-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.15);
  transform: translateY(-2px);
}

.logistics-card::after {
  /* Corner Accents - Enhanced */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  /* Match radius */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* Specific corner brackets via multiple background gradients */
.tech-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  /* Match radius */
  background:
    linear-gradient(to right, var(--accent-color) 2px, transparent 2px) 0 0,
    linear-gradient(to bottom, var(--accent-color) 2px, transparent 2px) 0 0,
    linear-gradient(to left, var(--accent-color) 2px, transparent 2px) 100% 0,
    linear-gradient(to bottom, var(--accent-color) 2px, transparent 2px) 100% 0,
    linear-gradient(to right, var(--accent-color) 2px, transparent 2px) 0 100%,
    linear-gradient(to top, var(--accent-color) 2px, transparent 2px) 0 100%,
    linear-gradient(to left, var(--accent-color) 2px, transparent 2px) 100% 100%,
    linear-gradient(to top, var(--accent-color) 2px, transparent 2px) 100% 100%;
  background-size: 15px 15px;
  background-repeat: no-repeat;
  opacity: 0.3;
  transition: all 0.3s ease;
  mask-image: radial-gradient(circle at center, transparent 95%, black 100%);
}

.logistics-card:hover .tech-corners {
  background-size: 25px 25px;
  /* Expand corners on hover */
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--accent-color));
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  box-shadow: 0 0 15px var(--accent-color);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.logistics-card:hover .scan-line {
  opacity: 1;
  animation: scan-vertical 2s linear infinite;
}

@keyframes scan-vertical {
  0% {
    top: -10%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 110%;
    opacity: 0;
  }
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  /* More space */
  position: relative;
  z-index: 2;
}

.hud-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  /* Rounded icons */
  color: #fff;
  /* White icon */
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.logistics-card:hover .hud-icon {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(220, 20, 60, 0.2);
  box-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.hud-data {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: #888;
  text-align: right;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4ade80;
  /* Green default */
  margin-right: 4px;
  box-shadow: 0 0 5px #4ade80;
  animation: pulse-dot 2s infinite;
}

.status-dot.red {
  background-color: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-color);
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hud-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hud-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  max-width: 90%;
}

/* Grid Layouts matches original sizes roughly but stronger */
.l-wide {
  grid-column: span 12;
}

.l-half {
  grid-column: span 6;
}

.l-tall {
  grid-column: span 4;
  grid-row: span 2;
}

.l-box {
  grid-column: span 4;
}

@media (min-width: 768px) {
  .l-wide {
    grid-column: span 8;
  }
}

/* Smart Header (Fixed Logo + Tubelight) */
.tubelight-nav-container {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tubelight-nav-container.nav-hidden {
  transform: translateY(-200%);
  /* Hide upwards */
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #dc143c;
  /* Softer, solid red */
  font-family: var(--font-heading);
  line-height: 1;
  margin: 1rem 0;
  opacity: 0.9;
}

.bento-icon {
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-size: 8rem;
  opacity: 0.05;
  pointer-events: none;
  filter: grayscale(1);
}

/* High-Impact Comparison Section */
.brutal-comparison-section {
  background-color: #0F0F13;
  /* Deep Dark */
  color: #fff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.brutal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  align-items: center;
}

@media (min-width: 900px) {
  .brutal-grid {
    grid-template-columns: 1fr 1.25fr 1fr;
    /* Center larger */
  }
}

.brutal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);

  /* Spotlight Setup */
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.06),
      transparent 40%), rgba(255, 255, 255, 0.03);
}

.brutal-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Center Highlight Card */
.brutal-card.bestia-card {
  background: #1A1A2E;
  /* Navy tint */
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 40px rgba(220, 20, 60, 0.15);
  z-index: 10;
  transform: scale(1.05);
  padding: 3.5rem 2.5rem;
}

.brutal-card.bestia-card:hover {
  transform: scale(1.08);
  /* More lift */
  box-shadow: 0 0 60px rgba(220, 20, 60, 0.3);
}

.brutal-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.brutal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.brutal-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 99px;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  box-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

/* List Items */
.brutal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brutal-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.brutal-list li.check-item {
  color: #fff;
  font-weight: 500;
}

.brutal-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Staggered Reveal Animation */
.stagger-reveal>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-reveal.active>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal.active>*:nth-child(1) {
  transition-delay: 0.2s;
}

.stagger-reveal.active>*:nth-child(2) {
  transition-delay: 0.4s;
}

.stagger-reveal.active>*:nth-child(3) {
  transition-delay: 0.6s;
}

.stagger-reveal.active>*:nth-child(4) {
  transition-delay: 0.8s;
}

.stagger-reveal.active>*:nth-child(5) {
  transition-delay: 1.0s;
}

/* Tubelight Navbar */
.tubelight-nav-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
}

/* Mobile: Top position (User Request) */
@media (max-width: 768px) {

  /* Dynamic Header for Mobile */
  .tubelight-nav-container {
    top: 20px;
    /* Positioned at the very top */
    bottom: auto;
    width: 90%;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .tubelight-nav {
    justify-content: space-evenly;
    width: 100%;
    padding: 0.6rem;
  }

  /* Hide the fixed logo on mobile (we use the static one in Hero) */
  .fixed-logo {
    display: none !important;
  }

  /* Smart Navbar: Hide on Scroll Down */
  .tubelight-nav-container.nav-hidden {
    transform: translateY(-200%) translateX(-50%);
    opacity: 0;
    pointer-events: none;
  }
}

/* Smart Navbar Desktop (optional, if desired on desktop too) */
@media (min-width: 769px) {
  .tubelight-nav-container {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .tubelight-nav-container.nav-hidden {
    transform: translateY(-100%) translateX(-50%);
    opacity: 0;
  }
}

/* Fix Typewriter Layout Shift */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 2.5em;
  /* Reserve space for both lines */
}

.typewriter-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.2em;
  /* Fixed height for the dynamic line */
  min-width: 10px;
}

#typewriter {
  display: inline-block;
  white-space: nowrap;
}

.tubelight-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(20, 20, 20, 0.85);
  /* Slightly darker/more opaque */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.tubelight-item {
  position: relative;
  padding: 0.6rem 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: color 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.tubelight-item:hover {
  color: var(--accent-color);
}

.tubelight-item.active {
  color: var(--accent-color);
}

/* Responsive: Text vs Icons */
.nav-text {
  display: block;
  line-height: 1.2;
  padding-bottom: 2px;
}

.nav-icon {
  display: none;
}

@media (max-width: 768px) {
  .nav-text {
    display: none !important;
  }

  .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tubelight-item {
    padding: 0.6rem 0.8rem;
  }
}

/* Lamp Effect */
.tubelight-lamp {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(220, 20, 60, 0.15);
  border-radius: 9999px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  width: 0;
  opacity: 0;
}

.tubelight-lamp.initialized {
  opacity: 1;
}

/* Lamp Lights (Glows) */
.lamp-top {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-color);
}

.lamp-light-1 {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 15px;
  background: var(--accent-color);
  filter: blur(15px);
  opacity: 0.4;
  border-radius: 50%;
}

/* --- Anti-Reseal Verification Ticket (Magical Edition) --- */
.verification-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 60% 50%, #0f0f15 0%, #000000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.verification-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(220, 20, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 20, 60, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
  pointer-events: none;
}

.ticket-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
  margin-top: 2rem;
  z-index: 10;
}

.holo-ticket {
  width: 100%;
  max-width: 550px;
  /* Bigger */
  background: #050505;
  /* Legendary Black */
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  transform: rotateY(-10deg) rotateX(5deg);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.holo-ticket:hover {
  transform: translateY(-15px) rotateY(0) rotateX(0) scale(1.03);
  border-color: #ffd700;
  /* Gold Border on Hover */
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.2), 0 50px 100px rgba(0, 0, 0, 0.8);
}

.ticket-accent-line {
  height: 8px;
  background: linear-gradient(90deg, var(--accent-color), #ffd700);
  width: 100%;
  box-shadow: 0 0 20px var(--accent-color);
}

.ticket-header {
  padding: 2.5rem 3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
}

.ticket-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  /* HUGE */
  color: #fff;
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ticket-icon {
  color: #ffd700;
  /* Gold Icon */
  filter: drop-shadow(0 0 8px #ffd700);
  transform: scale(1.2);
}

.ticket-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.ticket-row::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.ticket-row:last-child::after {
  display: none;
}

.ticket-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-color);
  /* Crimson Label */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.ticket-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  /* BIGGER */
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.status-badge {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 2px solid #4ade80;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.status-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.ticket-footer {
  background: #080808;
  padding: 2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qc-id {
  font-family: var(--font-mono);
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Scanning Effect (Gold) */
.scan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  box-shadow: 0 0 20px #ffd700;
  opacity: 0.5;
  animation: scan-down 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 20;
}

@keyframes scan-down {

  0%,
  100% {
    top: 0%;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* --- Readability Fixes for Anti-Reseal List --- */
.brutal-list .check-item {
  margin-bottom: 2rem;
  align-items: flex-start;
}

.brutal-list strong {
  font-size: 1.25rem;
  /* Much larger */
  color: #fff;
  /* Pure White */
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.brutal-list p {
  font-size: 1rem;
  /* larger */
  color: #ccc;
  /* Light grey */
}

/* Specific Fixes for Ticket Readability */
.verification-section h2 {
  color: #ffffff !important;
  font-size: 3rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.ticket-title {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.ticket-header span,
.ticket-footer,
.qc-id {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 1 !important;
}

.brutal-icon {
  width: 32px;
  height: 32px;
  margin-top: 5px;
  color: #dc143c !important;
  /* Force HEX Red */
  filter: drop-shadow(0 0 8px #dc143c) !important;
}


/* --- Brutal Comparison Section (Black Ops) --- */
.brutal-comparison-section {
  padding: 8rem 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: center;
  }
}

.comp-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.comp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.comp-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.comp-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  opacity: 1;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature List */
.comp-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

.comp-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

/* --- Card Variants --- */

/* 1. Importación Propia (Neutral/Bad) */
.comp-card.import-own .comp-icon {
  color: #ef4444;
  /* Red X */
}

/* 3. Grey Market (Hazard) */
.comp-card.grey-market {
  border-color: rgba(234, 179, 8, 0.3);
}

.comp-card.grey-market .comp-title {
  color: #eab308;
}

.comp-card.grey-market .comp-icon {
  color: #eab308;
  /* Yellow Warning */
}

/* 2. TCG BESTIA (Hero) */
.comp-card.bestia-hero {
  background: #080808;
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  z-index: 10;
  padding: 3rem 2.5rem;
}

.comp-card.bestia-hero:hover {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(220, 20, 60, 0.2);
  border-color: #ffd700;
  /* Gold on hover */
}

.comp-card.bestia-hero .comp-title {
  font-size: 2rem;
  margin-bottom: 0.2rem;
  background: linear-gradient(90deg, #fff, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comp-card.bestia-hero .comp-subtitle {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.9rem;
}

.comp-card.bestia-hero .comp-item {
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
}

.comp-card.bestia-hero .comp-icon {
  color: #4ade80;
  /* Green Check */
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
}

.comp-card.bestia-hero .comp-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Readability Fixes for Anti-Reseal List --- */
.brutal-list .check-item {
  margin-bottom: 2rem;
  align-items: flex-start;
}

.brutal-list strong {
  font-size: 1.25rem;
  /* Much larger */
  color: #fff;
  /* Pure White */
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.brutal-list p {
  font-size: 1rem;
  /* larger */
  color: #ccc;
  /* Light grey, not blue */
}

.brutal-icon {
  width: 32px;
  height: 32px;
  margin-top: 5px;
  color: #ffd700;
  /* Gold icons instead of blue */
}


/* --- Brutal Comparison Section (Black Ops) --- */
.brutal-comparison-section {
  padding: 8rem 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: center;
  }
}

.comp-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.comp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.comp-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.comp-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  opacity: 1;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature List */
.comp-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

.comp-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

/* --- Card Variants --- */

/* 1. Importación Propia (Neutral/Bad) */
.comp-card.import-own .comp-icon {
  color: rgba(255, 255, 255, 0.4);
  /* Subtler White/Grey X */
}

/* 3. Grey Market (Hazard) */
.comp-card.grey-market {
  border-color: rgba(255, 255, 255, 0.1);
}

.comp-card.grey-market .comp-title {
  color: #ffffff;
}

.comp-card.grey-market .comp-icon {
  color: rgba(255, 255, 255, 0.4);
  /* Subtler White/Grey Warning */
}

/* 2. TCG BESTIA (Hero) */
.comp-card.bestia-hero {
  background: #080808;
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  z-index: 10;
  padding: 3rem 2.5rem;
}

.comp-card.bestia-hero:hover {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(220, 20, 60, 0.2);
  border-color: #ffd700;
  /* Gold on hover */
}

.comp-card.bestia-hero .comp-title {
  font-size: 2rem;
  margin-bottom: 0.2rem;
  background: linear-gradient(90deg, #fff, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comp-card.bestia-hero .comp-subtitle {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.9rem;
}

.comp-card.bestia-hero .comp-item {
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
}

.comp-card.bestia-hero .comp-icon {
  color: #4ade80;
  /* Green Check */
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
}

.comp-card.bestia-hero .comp-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- PHASE 2: VISUAL POLISH (EPIC MODE) --- */

/* 1. Blur In (Scroll Reveal) */
.fx-blur-in {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, filter, transform;
}

.fx-blur-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .fx-blur-in {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}


/* 2. Letter Swap (Interactive Text) */
.letter-swap-link {
  display: inline-flex;
  overflow: hidden;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  line-height: 1;
}

/* Char Container */
.swap-char {
  display: inline-block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
  white-space: pre;
  /* Preserve spaces */
}

/* Primary (Initial) Letter */
.swap-char .primary {
  display: block;
}

/* Secondary (Hover) Letter - Positioned Absolute below */
.swap-char .secondary {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  opacity: 0;
  transform: rotateX(-90deg);
  /* slight 3D rotation start */
  transition: opacity 0.2s;
  color: var(--accent-color);
  /* Accent color on hover */
}

/* Hover State */
.letter-swap-link:hover .swap-char {
  transform: translateY(-100%);
}

.letter-swap-link:hover .swap-char .secondary {
  opacity: 1;
  transform: rotateX(0);
}

/* 3. Sparkles (Premium Detail) */
.fx-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Let clicks pass through */
  z-index: 1;
  overflow: visible;
}

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle-anim var(--duration, 2s) ease-in-out forwards;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

@keyframes sparkle-anim {
  0% {
    opacity: 0;
    transform: scale(0) translate(0, 0) rotate(0);
  }

  50% {
    opacity: var(--max-opacity, 0.8);
    transform: scale(1) translate(var(--tx), var(--ty)) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: scale(0) translate(var(--tx), var(--ty)) rotate(90deg);
  }
}

/* --- PHASE 3: TRUST & CONVERSION (TERMINAL & REVIEWS) --- */

/* 1. Contact Section "Premium B2B" Style */
.contact-premium-section {
  position: relative;
  overflow: hidden;
  background: #000;
  /* Deep black space */
  padding: 8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Starry Background */
.stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 160px 120px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 200px 180px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 240px 60px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 250px 250px;
  animation: bg-stars 120s linear infinite;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
  /* Prevent blocking clicks */
}

/* Ensure container is above stars and clickable */
.contact-premium-section .container {
  position: relative;
  z-index: 10;
}

.stars-bg.twinkles {
  background-image:
    radial-gradient(1px 1px at 50px 160px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 180px 210px, rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0));
  background-size: 300px 300px;
  animation: bg-stars 150s linear infinite, twinkle 6s ease-in-out infinite alternate;
  opacity: 0.4;
}

@keyframes bg-stars {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-300px);
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.8;
  }
}

/* Left Column - Requirements Block */
.contact-desc {
  color: #a1a1aa;
  /* text-zinc-400 */
  margin-bottom: 2.5rem;
  max-width: 450px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.requirements-block {
  margin-top: 2rem;
  padding: 1.8rem;
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.req-title {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.req-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #d4d4d8;
  font-size: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
}

.req-item:hover {
  color: #fff;
}

.req-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.req-icon {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(220, 20, 60, 0.5));
}

/* Right Column - Glass Form Container */
.glass-container {
  background: rgba(10, 10, 12, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(220, 20, 60, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.glass-container form {
  position: relative;
  z-index: 2;
}

/* Premium Inputs */
.premium-input-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.premium-input-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #71717a;
  /* text-zinc-500 */
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  transition: color 0.3s ease;
}

.premium-input-group:focus-within label {
  color: #e4e4e7;
}

.modern-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
}

.modern-input::placeholder {
  color: #52525b;
  /* text-zinc-600 */
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 0 0 8px 8px;
}

.modern-input:focus {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.modern-input:focus~.input-line {
  transform: scaleX(1);
}

.btn-glow-massive {
  margin-top: 1rem;
  padding: 1.4rem;
  font-size: 1.1rem;
  border-radius: 9999px;
  /* Pill shape */
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px -10px rgba(220, 20, 60, 0.4);
  border: 1px solid transparent;
}

.btn-glow-massive:hover {
  box-shadow: 0 0 50px rgba(220, 20, 60, 0.6);
  transform: translateY(-2px);
  border-color: rgba(220, 20, 60, 0.5);
  background: var(--accent-color);
}

@media (max-width: 768px) {
  .contact-premium-section .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .glass-container {
    padding: 2.5rem 1.5rem;
  }
}



/* 2. Reviews Section (Trust Wall) */
.reviews-section {
  padding: 6rem 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-stars-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1rem;
  color: #ffcc00;
}

.premium-stars-row svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
}

.author-info span {
  color: #666;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-stars {
  color: #ffd700;
  display: flex;
  gap: 2px;
}

.review-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.review-text {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.9;
}

.verified-badge-small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* FAQ Inspiration Style */
.faq-insp-section {
  padding: 4rem 0 0 0;
  /* Reduced padding to the minimum */
  position: relative;
  overflow: hidden;
}

/* Decorative Vertical Line */
.faq-insp-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 6rem;
  background: linear-gradient(to bottom, rgba(220, 20, 60, 0.5), transparent);
}

.faq-insp-container {
  max-width: 800px;
  margin: 0 auto;
  min-height: 850px;
  /* Reserved space to keep the footer stable regardless of open items */
}

/* Pre-title */
.faq-insp-pretitle {
  display: block;
  color: var(--accent-color);
  font-weight: 800;
  /* font-black */
  letter-spacing: 0.3em;
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Title */
.faq-insp-title {
  color: #1A1A2E;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.05em;
  /* tracking-tighter */
  margin-bottom: 1rem;
  font-family: var(--font-body);
  /* Epilogue or fallback body */
}

@media (min-width: 768px) {
  .faq-insp-title {
    font-size: 3.75rem;
    /* 6xl */
  }
}

.faq-insp-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Item Container */
.faq-insp-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(26, 26, 46, 0.1);
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-insp-item:hover {
  border-color: rgba(220, 20, 60, 0.5);
}

/* Question Header */
.faq-insp-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Question Text */
.faq-insp-qtext {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1A2E;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.025em;
  /* tracking-tight */
  transition: color 0.3s ease;
  padding-right: 1.5rem;
  font-family: var(--font-body);
}

@media (min-width: 768px) {
  .faq-insp-qtext {
    font-size: 1.25rem;
    /* xl */
  }
}

.faq-insp-item:hover .faq-insp-qtext {
  color: var(--accent-color);
}

/* Circle Icon */
.faq-insp-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 46, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: transparent;
  color: #1A1A2E;
}

.faq-insp-icon span {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
}

/* Active State Styles */
.faq-insp-item.is-open .faq-insp-icon {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  transform: rotate(45deg);
  /* Turns + into x */
}

/* Answer Body */
.faq-insp-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.faq-insp-item.is-open .faq-insp-answer {
  opacity: 1;
}

.faq-insp-answer p {
  padding: 0 2rem 2rem 2rem;
  margin: 0;
  font-size: 0.875rem;
  /* text-sm */
  color: rgba(26, 26, 46, 0.7);
  /* gray-400 */
  font-weight: 500;
  line-height: 1.625;
  /* leading-relaxed */
  font-style: italic;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .faq-insp-answer p {
    font-size: 1rem;
    /* base */
  }
}

/* ==========================================================================
   PHASE 15: PREMIUM BLOG SYSTEM
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.blog-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  /* Premium rounded corners */
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-image-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  /* Match white date */
  margin-bottom: 1rem;
}

.blog-card-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
}

.blog-card-excerpt {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.blog-card-footer .btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  pointer-events: auto;
}

.blog-card-footer .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: none;
  /* No scaling effect */
}

/* Article Styling */
/* Blog Article Styling */
.article-header {
  padding: 8rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.article-breadcrumb {
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blog-text-alt);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.article-breadcrumb a {
  color: var(--blog-text-alt);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
  color: var(--accent-color);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blog-text-alt);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.meta-value {
  color: var(--blog-text-main);
  font-weight: 600;
}

.article-hero-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  margin-bottom: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-body {
  font-family: var(--font-body);
  color: var(--blog-text-main);
  line-height: 1.8;
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto;
}

.article-body h2 {
  color: #0c0c16;
  font-family: var(--font-primary);
  font-size: 2rem;
  margin: 4rem 0 2rem;
  letter-spacing: -0.02em;
}

.article-body p {
  margin-bottom: 2rem;
}

.article-body ul {
  margin: 2rem 0;
  padding-left: 0;
}

.article-body ul li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--blog-text-main);
}

.article-body ul li strong {
  color: #000;
}

/* Drop Cap for the first paragraph */
.article-body>p:first-of-type::first-letter {
  float: left;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 800;
  margin-right: 1.2rem;
  color: var(--accent-color);
  font-family: var(--font-primary);
  text-transform: uppercase;
}

/* Premium Blog Images (Casilla Boxed Format) */
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 3rem auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 35, 102, 0.05);
  background: #fff;
  padding: 8px;
  /* Inner margin for the "box" effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-body img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Premium Pull Quote */
.pull-quote {
  margin: 5rem -4rem;
  padding: 4rem;
  border-left: 4px solid var(--accent-color);
  background: var(--blog-bg-accent);
  position: relative;
  border-radius: 0 24px 24px 0;
}

.pull-quote-text {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--blog-text-main);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

/* Smart Table of Contents */
.blog-toc {
  background: var(--blog-bg-accent);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 4rem;
}

.blog-toc h3 {
  font-size: 0.75rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.blog-toc ul li {
  padding: 0;
  margin-bottom: 1.2rem;
}

.blog-toc ul li a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blog-text-alt);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.blog-toc ul li a span {
  color: rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  font-weight: 800;
  transition: color 0.3s ease;
}

.blog-toc ul li a:hover {
  color: var(--blog-text-main);
  transform: translateX(8px);
}

.blog-toc ul li a:hover span {
  color: var(--accent-color);
}

.blog-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  color: #000;
  padding: 4rem;
  text-align: center;
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.blog-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-color);
}

.blog-cta-box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

/* ==========================================================================
   PHASE 27: PREMIUM MODAL SYSTEM
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.premium-modal {
  background: var(--modal-bg);
  width: 100%;
  max-width: 900px;
  min-height: 500px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  transform: translateY(60px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.2, 1, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
}

.modal-overlay.active .premium-modal {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1A2E;
  z-index: 101;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: rotate(90deg) scale(1.1);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 992px) {
  .modal-content-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.modal-form-side {
  padding: 4rem;
  background: #ffffff;
}

.modal-info-side {
  background: #fcfaf5;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .modal-info-side {
    display: none;
  }

  .modal-form-side {
    padding: 4rem 2rem;
  }
}

.modal-success-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  transform: translateY(30px);
}

.modal-success-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Modal Form Specific Refinements */
.modal-form-side .premium-input-group label {
  color: #64748b;
  font-weight: 700;
}

.modal-form-side .modern-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: 12px 0;
  color: #1a1a2e;
  font-weight: 600;
}

.modal-form-side .modern-input:focus {
  background: rgba(0, 0, 0, 0.02);
  box-shadow: none;
}

.modal-form-side .input-line {
  border-radius: 0;
}

.modal-form-side .modern-submit-btn {
  background: #1a1a2e;
  border: none;
  margin-top: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.modal-form-side .modern-submit-btn:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* --- Instant Search Styles --- */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 35, 102, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 35, 102, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: none;
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 35, 102, 0.05);
  transition: all 0.2s ease;
}

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

.search-result-item:hover {
  background: rgba(0, 35, 102, 0.03);
  padding-left: 2rem;
}

.search-result-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-category {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.search-result-title {
  font-size: 0.9rem;
  color: #002366;
  font-weight: 700;
  font-family: var(--font-body);
}

.search-no-results {
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  font-family: var(--font-mono);
}

#blogSearch:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
  background: #fff;
}

/* --- Newsletter Section Styles --- */
.newsletter-card {
  box-shadow: 0 40px 100px rgba(0, 35, 102, 0.3);
}

.newsletter-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--pattern-seigaiha);
  opacity: 0.05;
  filter: invert(1);
  z-index: 1;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
}

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

  .newsletter-form button {
    width: 100%;
  }
}