/* ============================================
   GSAPify - Premium GSAP Animations Resource
   Custom CSS (Complements Bootstrap 5.3)
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (CSS Variables)
   ============================================ */
:root {
  /* Brand Colors */
  --gs-primary: #00FF66;
  --gs-primary-rgb: 0, 255, 102;
  --gs-secondary: #00CC88;
  --gs-secondary-rgb: 0, 204, 136;
  --gs-dark: #1A1A2E;
  --gs-darker: #0F0F1A;

  /* Typography */
  --gs-font: 'Schibsted Grotesk', sans-serif;
  --gs-mono: 'JetBrains Mono', monospace;

  /* Border Radius */
  --gs-radius: 0.5rem;
  --gs-radius-lg: 1rem;
  --gs-radius-xl: 1.5rem;

  /* Borders & Opacity */
  --gs-border-dark: rgba(255, 255, 255, 0.08);
  --gs-text-muted-dark: rgba(255, 255, 255, 0.45);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(0, 255, 102, 0.25);
  --shadow-glow-lg: 0 0 60px rgba(0, 255, 102, 0.15), 0 0 120px rgba(0, 255, 102, 0.05);

  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

/* ============================================
   Bootstrap 5.3 Color Overrides — Brand Greens
   ============================================ */
:root {
  /* Primary → GSAPify neon green */
  --bs-primary: #00FF66;
  --bs-primary-rgb: 0, 255, 102;
  --bs-primary-text-emphasis: #00CC88;
  --bs-primary-bg-subtle: rgba(0, 255, 102, 0.1);
  --bs-primary-border-subtle: rgba(0, 255, 102, 0.25);

  /* Secondary → GSAPify emerald green */
  --bs-secondary: #00CC88;
  --bs-secondary-rgb: 0, 204, 136;

  /* Link color */
  --bs-link-color: #00FF66;
  --bs-link-color-rgb: 0, 255, 102;
  --bs-link-hover-color: #00CC88;
  --bs-link-hover-color-rgb: 0, 204, 136;
  --bs-heading-color: #000;
}

/* --- Text utilities --- */
.text-primary   { color: var(--gs-primary) !important; }
.text-secondary { color: var(--gs-secondary) !important; }

/* --- Background utilities --- */
.bg-primary   { background-color: var(--gs-primary) !important; }
.bg-secondary { background-color: var(--gs-secondary) !important; }

/* --- Button: .btn-primary --- */
.btn-primary {
  --bs-btn-bg: var(--gs-primary);
  --bs-btn-border-color: var(--gs-primary);
  --bs-btn-hover-bg: var(--gs-secondary);
  --bs-btn-hover-border-color: var(--gs-secondary);
  --bs-btn-active-bg: #00AA77;
  --bs-btn-active-border-color: #00AA77;
  --bs-btn-disabled-bg: var(--gs-primary);
  --bs-btn-disabled-border-color: var(--gs-primary);
  color: var(--gs-dark);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--gs-dark);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.35);
}

/* --- Button: .btn-outline-primary --- */
.btn-outline-primary {
  --bs-btn-color: var(--gs-primary);
  --bs-btn-border-color: var(--gs-primary);
  --bs-btn-hover-bg: var(--gs-primary);
  --bs-btn-hover-border-color: var(--gs-primary);
  --bs-btn-hover-color: var(--gs-dark);
  --bs-btn-active-bg: var(--gs-secondary);
  --bs-btn-active-border-color: var(--gs-secondary);
  --bs-btn-active-color: var(--gs-dark);
}

/* --- Button: .btn-secondary --- */
.btn-secondary {
  --bs-btn-bg: var(--gs-secondary);
  --bs-btn-border-color: var(--gs-secondary);
  --bs-btn-hover-bg: #00AA77;
  --bs-btn-hover-border-color: #00AA77;
  --bs-btn-active-bg: #008866;
  --bs-btn-active-border-color: #008866;
  color: var(--gs-dark);
}

/* --- Button: .btn-outline-secondary --- */
.btn-outline-secondary {
  --bs-btn-color: var(--gs-secondary);
  --bs-btn-border-color: var(--gs-secondary);
  --bs-btn-hover-bg: var(--gs-secondary);
  --bs-btn-hover-border-color: var(--gs-secondary);
  --bs-btn-hover-color: var(--gs-dark);
}

/* --- Border utilities --- */
.border-primary   { border-color: var(--gs-primary) !important; }
.border-secondary { border-color: var(--gs-secondary) !important; }

/* --- Badge overrides --- */
.badge.bg-primary { background-color: var(--gs-primary) !important; color: var(--gs-dark) !important; }
.badge.bg-secondary { background-color: var(--gs-secondary) !important; color: var(--gs-dark) !important; }

/* --- Links --- */
a { color: var(--gs-primary); }
a:hover { color: var(--gs-secondary); }

/* --- Form focus states --- */
.form-control:focus,
.form-select:focus {
  border-color: var(--gs-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 255, 102, 0.25);
}

/* --- Progress bar --- */
.progress-bar { background-color: var(--gs-primary); }

/* --- Nav pills / tabs active state --- */
.nav-pills .nav-link.active { background-color: var(--gs-primary); color: var(--gs-dark); }
.nav-link:hover, .nav-link:focus { color: var(--gs-secondary); }

/* --- Accordion focus --- */
.accordion-button:not(.collapsed) {
  color: var(--gs-primary);
  background-color: rgba(0, 255, 102, 0.05);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--gs-primary);
}
.accordion-button:focus {
  border-color: var(--gs-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 255, 102, 0.25);
}

/* ============================================
   2. BASE TYPOGRAPHY
   ============================================ */
html {
  overflow-x: clip;
}

body {
  font-family: var(--gs-font);
  background-color: var(--gs-darker);
  color: #e0e0e0;
  overflow-x: clip;
}

.font-mono {
  font-family: var(--gs-mono);
}

.ls-wide {
  letter-spacing: 0.15em;
}

code {
  font-family: var(--gs-mono);
  background-color: rgba(0, 255, 102, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--gs-radius);
  font-size: 0.9em;
  color: var(--gs-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ============================================
   3. NAVIGATION
   ============================================ */
.gsap-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.gsap-nav .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color var(--transition-base);
  font-weight: 500;
  font-size: 0.95rem;
}

.gsap-nav .nav-link:hover,
.gsap-nav .nav-link.active {
  color: #fff !important;
}

.gsap-nav.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 15, 26, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gsapify-logo {
  color: var(--gs-primary) !important;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 1.3rem;
}

/* ── Mobile: Generator button in navbar ───── */
.btn-generator-mobile {
  font-size: 0.82rem;
  padding: 6px 14px !important;
}

/* ── Animated Hamburger ───────────────────── */
.hamburger-icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}
/* X state */
#mobileMenuToggle.active .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#mobileMenuToggle.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#mobileMenuToggle.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ───────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--gs-darker);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-height, 70px) + 1.5rem);
  overflow-y: auto;
  transform: translateX(100%);
}

/* ── Mobile Nav Links ─────────────────────── */
.mobile-nav-links {
  flex-grow: 1;
  padding: 0 1.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
  cursor: pointer;
  visibility: visible;
  opacity: 1;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
}
.mobile-nav-link.active .mobile-nav-link-text {
  color: var(--gs-primary);
}
.mobile-nav-link i {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, color 0.2s ease;
}
.mobile-nav-link:hover i {
  color: var(--gs-primary);
  transform: translateX(3px);
}

/* ── Mobile Sub-menu (accordion) ──────────── */
.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-group .mobile-nav-link {
  border-bottom: none;
}

.mobile-accordion-chevron {
  transition: transform 0.3s ease !important;
}

.mobile-nav-sub {
  height: 0;
  overflow: hidden;
  padding-left: 1rem;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-sublink:hover {
  color: var(--gs-primary);
  padding-left: 6px;
}
.mobile-nav-sublink:last-child {
  border-bottom: none;
}

/* ── Mobile Nav Footer ────────────────────── */
.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  visibility: visible;
  opacity: 1;
}

.mobile-nav-generator {
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
}

.mobile-nav-signin {
  font-size: 0.92rem;
}

/* ── Hide Bootstrap collapse on mobile, use custom overlay ─ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none !important;
  }
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--gs-darker);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  background: radial-gradient(circle, rgba(var(--gs-primary-rgb), var(--opacity, 0.15)) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

.hero-bg-gradient-1 {
  --opacity: 0.12;
  top: -40%;
  left: -10%;
  width: 700px;
  height: 700px;
}

.hero-bg-gradient-2 {
  --opacity: 0.08;
  bottom: -20%;
  right: -5%;
  width: 900px;
  height: 900px;
}

.hero-bg-gradient-3 {
  --opacity: 0.06;
  top: 40%;
  right: 15%;
  width: 500px;
  height: 500px;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 20%, transparent 70%);
  pointer-events: none;
}

/* Floating decorative shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  opacity: 0;
  will-change: transform;
}

.hero-shape-1 {
  top: 15%;
  left: 8%;
}

.hero-shape-2 {
  top: 20%;
  right: 10%;
}

.hero-shape-3 {
  bottom: 20%;
  left: 15%;
}

.hero-shape-4 {
  bottom: 30%;
  right: 20%;
}

.hero-shape-5 {
  top: 60%;
  left: 5%;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gs-primary);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-title {
  position: relative;
  z-index: 10;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-word {
  display: inline-block;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-line-container {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
}

.scroll-line-fill {
  width: 100%;
  height: 0;
  background: var(--gs-primary);
  border-radius: 1px;
  animation: scroll-pulse 2s ease-in-out infinite;
}

.hero-scroll-line {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gs-primary), rgba(0, 255, 102, 0.3));
  z-index: 9999;
}

@keyframes scroll-pulse {
  0%, 100% { height: 0; }
  50% { height: 100%; }
}

/* Magnetic button effect */
.btn-magnetic {
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.btn-magnetic::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gs-primary), transparent, var(--gs-primary));
  opacity: 0;
  border-radius: inherit;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.btn-magnetic:hover::before {
  opacity: 0.3;
}

.btn-magnetic:hover {
  box-shadow: var(--shadow-glow);
}

/* ============================================
   5. TECH MARQUEE
   ============================================ */
.tech-marquee-section {
  border-top: 1px solid rgba(0, 255, 102, 0.1);
  border-bottom: 1px solid rgba(0, 255, 102, 0.1);
  overflow: hidden;
}

.tech-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
  gap: 2rem;
}

.tech-marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.tech-marquee-dot {
  color: var(--gs-primary);
  font-size: 0.5rem;
}

/* ============================================
   5b. SECTION LABEL PILLS
   ============================================ */
.section-label-pill {
  display: inline-block;
  background-color: #000;
  color: var(--gs-primary);
  padding: 0.35em 1.1em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

/* ============================================
   6. MANIFESTO
   ============================================ */
.manifesto-text {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.manifesto-word {
  display: inline;
  opacity: 0.15;
  transition: none;
}

.manifesto-word.highlight {
  color: var(--gs-primary);
  font-weight: 800;
}

/* ============================================
   7. DEMO CARDS (on light sections with dark text)
   ============================================ */
.demo-card {
  position: relative;
  border-radius: var(--gs-radius-lg);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.demo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.demo-area {
  min-height: 250px;
  background-color: var(--gs-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gs-border-dark);
}

.demo-card .p-4 h3,
.demo-card .p-4 p {
  color: #1a1a2e;
}

.demo-card .p-4 p {
  color: #666;
}

.demo-card-link {
  color: var(--gs-primary);
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: color var(--transition-base);
  text-decoration: none;
}

.demo-card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gs-primary);
  transition: width var(--transition-base);
}

.demo-card:hover .demo-card-link::after {
  width: 100%;
}

.stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.stagger-cell {
  aspect-ratio: 1;
  background-color: rgba(0, 255, 102, 0.15);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: var(--gs-radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.stagger-cell:hover {
  background-color: rgba(0, 255, 102, 0.25);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

/* ============================================
   8. SECTION DIVIDERS (SVG containers)
   ============================================ */
.section-divider {
  line-height: 0;
  /* margin-top: -1px; */
  overflow: hidden;
}

.section-divider-flip {
  line-height: 0;
  /* margin-top: -1px; */
  overflow: hidden;
}

/* .section-divider svg {
  margin-bottom: -1px;
} */

/* ============================================
   9. NUMBERED FEATURES
   ============================================ */
.numbered-block {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

/* .numbered-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
} */

.numbered-index {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--gs-primary);
  line-height: 1;
  display: inline-block;
  opacity: 0.9;
}

.numbered-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.numbered-body {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--gs-text-muted-dark);
  line-height: 1.8;
}

.numbered-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gs-primary), transparent);
  margin: 0;
  opacity: 0.2;
  display: none;
}

/* ============================================
   10. HORIZONTAL SCROLL GALLERY
   ============================================ */
.horizontal-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.horizontal-track {
  display: flex;
  height: 100%;
  width: max-content;
  flex-wrap: nowrap;
}

.horizontal-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  position: relative;
}

.effect-panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  overflow: hidden;
}

.effect-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.effect-info {
  text-align: center;
  margin-top: auto;
  padding: 3rem 0;
}

/* --- Scallop arc stagger defaults --- */
.scallop-arc {
  transform-origin: center bottom;
}

/* ---- EFFECT 01: Parallax Depth ---- */
.fx-parallax-scene {
  position: relative;
  width: 600px;
  height: 400px;
  max-width: 90vw;
}

.fx-parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fx-shape {
  position: absolute;
  will-change: transform;
}

.fx-circle-glow {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.25), transparent 70%);
  box-shadow: 0 0 60px rgba(0, 255, 102, 0.15);
}

.fx-circle-glow.fx-teal {
  background: radial-gradient(circle, rgba(0, 204, 153, 0.2), transparent 70%);
  box-shadow: 0 0 60px rgba(0, 204, 153, 0.1);
  width: 90px;
  height: 90px;
}

.fx-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 102, 0.3);
}

.fx-line-h {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.4), transparent);
}

.fx-dot-cluster {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 8px;
}

.fx-dot-cluster span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.3);
}

.fx-triangle-svg,
.fx-arc-svg {
  opacity: 0.6;
}

.fx-cross {
  width: 30px;
  height: 30px;
  position: relative;
}

.fx-cross::before,
.fx-cross::after {
  content: '';
  position: absolute;
  background: rgba(0, 255, 102, 0.4);
}

.fx-cross::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.fx-cross::after {
  height: 100%;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.fx-square-rotate {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 255, 102, 0.3);
  transform: rotate(45deg);
}

.fx-diamond {
  width: 24px;
  height: 24px;
  background: var(--gs-primary);
  transform: rotate(45deg);
  opacity: 0.6;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.3);
}

/* ---- EFFECT 02: Morph Grid ---- */
.fx-morph-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 320px;
  height: 320px;
}

.fx-grid-cell {
  background: rgba(0, 255, 102, 0.15);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 6px;
  will-change: transform, border-radius, background-color;
}

/* ---- EFFECT 03: 3D Card Cascade ---- */
.fx-card-stage {
  position: relative;
  width: 280px;
  height: 380px;
  perspective: 1200px;
}

.fx-card {
  position: absolute;
  width: 200px;
  height: 280px;
  border-radius: var(--gs-radius-lg);
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fx-card:nth-child(1) { background: linear-gradient(135deg, #00FF66, #00CC88); z-index: 6; }
.fx-card:nth-child(2) { background: linear-gradient(135deg, #00CC88, #00AA77); z-index: 5; }
.fx-card:nth-child(3) { background: linear-gradient(135deg, #00AA77, #008866); z-index: 4; }
.fx-card:nth-child(4) { background: linear-gradient(135deg, #008866, #006B50); z-index: 3; }
.fx-card:nth-child(5) { background: linear-gradient(135deg, #006B50, #00503B); z-index: 2; }
.fx-card:nth-child(6) { background: linear-gradient(135deg, #00503B, #003828); z-index: 1; }

.fx-card-face {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--gs-mono);
}

/* ---- EFFECT 04: Kinetic Typography ---- */
.fx-kinetic-wrap {
  display: flex;
  gap: 0.1em;
  user-select: none;
}

.fx-char {
  display: inline-block;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  will-change: transform;
  text-shadow: 0 0 40px rgba(0, 255, 102, 0.2);
}

/* ---- EFFECT 05: Orbital System ---- */
.fx-orbital {
  position: relative;
  width: 500px;
  height: 500px;
  max-width: 80vmin;
  max-height: 80vmin;
}

.fx-orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: var(--gs-primary);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.5), 0 0 80px rgba(0, 255, 102, 0.2);
}

.fx-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 102, 0.08);
  will-change: transform;
}

.fx-orbit-body {
  position: absolute;
  border-radius: 50%;
  background: var(--gs-primary);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.fx-orbit-body.fx-teal {
  background: var(--gs-secondary);
  box-shadow: 0 0 15px rgba(0, 204, 153, 0.4);
}


/* ============================================
  Home Page
   ============================================ */

   .numbered-section, #generator-section {
    margin-top: -2px;
    overflow-x: hidden;
   }

/* ============================================
   11. GENERATOR MOCKUP (on light bg - dark text)
   ============================================ */
.generator-mockup {
  background-color: var(--gs-dark);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: var(--gs-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
  transition: box-shadow var(--transition-slow);
}

.generator-mockup:hover {
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0, 255, 102, 0.2);
}

.generator-topbar {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.generator-body {
  padding: 2rem;
  min-height: 300px;
}

.gen-panel {
  margin-bottom: 1.5rem;
}

.gen-panel-input,
.gen-panel-output {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gs-radius);
  padding: 1.25rem;
  min-height: 180px;
}

.gen-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.gen-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--gs-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.gen-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background-color: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  cursor: default;
}

.gen-chip:hover {
  background-color: rgba(0, 255, 102, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 255, 102, 0.4);
}

/* ============================================
   12. PLUGIN CARDS (on white bg - dark text)
   ============================================ */
.plugin-card {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--gs-radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.plugin-card:hover {
  border-color: var(--gs-primary);
  box-shadow: 0 0 40px rgba(0, 255, 102, 0.15);
  transform: translateY(-4px);
}

.plugin-card h4 {
  color: var(--gs-dark);
}

.plugin-card p {
  color: #666;
}

.plugin-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gs-primary), var(--gs-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gs-darker);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 255, 102, 0.25);
}

/* ============================================
   13. GUIDE CARDS (on dark bg)
   ============================================ */
.guide-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 102, 0.08);
  border-radius: var(--gs-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.guide-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  box-shadow: var(--shadow-glow);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.guide-card-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  color: rgba(0, 255, 102, 0.08);
  line-height: 1;
}

/* ============================================
   14. STATS
   ============================================ */
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--gs-primary);
  line-height: 1;
  font-family: var(--gs-mono);
}

/* ============================================
   15. FAQ ACCORDION
   ============================================ */
.faq-list {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--gs-font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gs-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-base);
}

.faq-trigger:hover {
  color: #009940;
}

.faq-content p {
  color: #555;
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gs-primary);
  transition: transform var(--transition-base);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  height: 0;
  overflow: hidden;
}

/* ============================================
   16. CTA SECTION (with marquee background)
   ============================================ */
.cta-section {
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

.cta-section .section-title {
  color: var(--gs-dark);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  pointer-events: none;
}

.mega-text {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  white-space: nowrap;
}

.cta-marquee-text {
  color: var(--gs-dark);
  opacity: 0.06;
}

/* ============================================
   17. FOOTER
   ============================================ */
.footer-link {
  transition: color var(--transition-base);
  opacity: 0.7;
}

.footer-link:hover {
  color: var(--gs-primary) !important;
  opacity: 1;
}

/* ============================================
   18. CUSTOM BACKGROUND UTILITIES
   ============================================ */
.bg-gs-dark {
  background-color: var(--gs-dark);
}

.bg-gs-darker {
  background-color: var(--gs-darker);
}

.text-muted-dark {
  color: var(--gs-text-muted-dark);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--gs-primary), var(--gs-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   19. SECTION PADDING UTILITIES
   ============================================ */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-lg {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.section-padding-xl {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

/* ============================================
   20. ANIMATED DECORATIVE ELEMENTS
   ============================================ */

/* Animated border glow for cards */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gs-primary), transparent 40%, transparent 60%, var(--gs-primary));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.glow-border:hover::after {
  opacity: 0.5;
}

/* Floating animation */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
  75% { transform: translateY(-15px) rotate(1deg); }
}

/* Section reveal decoration - animated line */
.section-accent-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gs-primary), transparent);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}



/* ============================================
   21. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
  .hero-scroll-indicator {
    display: none;
  }

  .hero-shapes {
    display: none;
  }

  /* Horizontal gallery responsive — stack vertically on tablets */
  .horizontal-section {
    height: auto;
    overflow: clip;
  }

  .horizontal-track {
    flex-direction: column;
    width: 100%;
  }

  .horizontal-panel {
    width: 100%;
    height: auto;
    min-height: 80vh;
  }

  .fx-parallax-scene {
    width: 100%;
    height: 300px;
  }

  .fx-morph-grid {
    width: 260px;
    height: 260px;
  }

  .fx-card-stage {
    width: 220px;
    height: 300px;
  }

  .fx-card {
    width: 160px;
    height: 220px;
  }

  .fx-orbital {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-scroll-indicator {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
}

/* ============================================
   22. PRINT STYLES
   ============================================ */
@media print {
  .gsap-nav,
  .hero-scroll-indicator,
  .hero-particles,
  .hero-shapes,
  .hero-grid {
    display: none;
  }

  body {
    background-color: white;
    color: var(--gs-dark);
  }
}
