/* ========================================
   ROMAN BAHAN - CSS VARIABLES
   Exact copy from original style.css
   ======================================== */

:host {
  /* Colors - Exact from original */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-white-5: rgba(255, 255, 255, 0.05);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-40: rgba(255, 255, 255, 0.4);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-60: rgba(255, 255, 255, 0.6);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-green: #4ADE80;
  --color-purple: #8B5CF6;
  --color-purple-dark: #7C3AED;
  --color-purple-light: rgba(139, 92, 246, 0.12);
  --color-purple-glow: rgba(139, 92, 246, 0.3);

  /* Font */
  --font-primary: 'Inter', system-ui, sans-serif;

  /* Transitions - Exact from original */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   ROMAN BAHAN - GLOBAL STYLES
   Exact copy from original style.css
   ======================================== */

/*
  SHADOW DOM COMPATIBILITY:
  Webflow Code Components run inside a Shadow DOM, which is isolated from the main document.
  CSS variables declared on :root are NOT inherited into the Shadow DOM.
  We re-declare all variables on :host (= the shadow root) to fix this.
*/
:host {
  /* Colors */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-white-5: rgba(255, 255, 255, 0.05);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-40: rgba(255, 255, 255, 0.4);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-60: rgba(255, 255, 255, 0.6);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-green: #4ADE80;
  --color-purple: #8B5CF6;
  --color-purple-dark: #7C3AED;
  --color-purple-light: rgba(139, 92, 246, 0.12);
  --color-purple-glow: rgba(139, 92, 246, 0.3);
  /* Font */
  --font-primary: 'Inter', system-ui, sans-serif;
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}


/* Reset & Base - Exact from original */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Force Webflow to use white for text to override its default dark grey styles */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: var(--color-white);
}

/* Ensure the purple text is explicitly colored */
.text-muted {
  color: var(--color-purple) !important;
}

/* Selection - Exact from original */
::selection {
  background: var(--color-white-20);
  color: var(--color-white);
}

/* Scrollbar - Exact from original */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-white-20);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-white-30);
}

/* Container - Exact from original */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Section Common - Exact from original */
section {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0;
}

.section-number {
  position: absolute;
  top: 6rem;
  left: 3rem;
  font-size: 10rem;
  font-weight: 900;
  color: var(--color-white-10);
  line-height: 1;
  pointer-events: none;
}

.section-number-right {
  left: auto;
  right: 3rem;
}

.section-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-white-50);
  letter-spacing: 0.16em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
  cursor: default;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--color-purple), rgba(139, 92, 246, 0.15));
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.section-title:hover::after {
  width: 100%;
}

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

.section-header {
  margin-bottom: 5rem;
}

/* Section Line - Exact from original */
.section-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-white-20), transparent);
}

/* Decorative Line */
.decorative-line {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 300px;
  background: linear-gradient(180deg, transparent, var(--color-white-20), transparent);
  transform: translateY(-50%);
}

/* Decorative Circles */
.decorative-circle {
  position: absolute;
  border: 1px solid var(--color-white-10);
  border-radius: 50%;
  pointer-events: none;
}

.circle-1 {
  width: 200px;
  height: 200px;
  bottom: 5rem;
  right: 5rem;
}

.circle-2 {
  width: 100px;
  height: 100px;
  top: 10rem;
  right: 10rem;
  border-color: rgba(255, 255, 255, 0.05);
}

.circle-3 {
  width: 150px;
  height: 150px;
  bottom: 15rem;
  left: 5rem;
}

/* Buttons - Exact from original */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-purple);
  color: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg,
      transparent 20%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 80%);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.55);
}

.btn-primary:hover::before {
  left: 160%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-primary span {
  position: relative;
  z-index: 1;
  transition: color var(--transition-normal);
}

.btn-outline {
  border: 1px solid var(--color-purple);
  color: var(--color-white);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-outline:hover {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Reveal Animation - Exact from original */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* GSAP word-reveal clipping (original parity) */
.gsap-word-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.gsap-word-inner {
  display: inline-block;
}

/* Responsive - Exact from original */
@media (max-width: 1200px) {

  .section-counter,
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .section-number {
    font-size: 6rem;
    left: 1.5rem;
  }

  .section-number-right {
    left: auto;
    right: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .decorative-circle {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor.hover {
  transform: scale(2);
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: var(--color-white);
}

@media (pointer: coarse) {

  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ========================================
   ANIMATED GEOMETRIC BACKGROUND
   ======================================== */
.bg-pattern {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 120vmax;
  height: 120vmax;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.04;
  pointer-events: none;
  animation: bg-rotate 40s linear infinite;
  color: var(--color-purple);
}

@keyframes bg-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Ensure all sections appear above background */
section,
.cursor,
.cursor-follower,
.progress-bar,
.side-left,
.side-right,
.section-counter,
.scroll-indicator {
  position: relative;
  z-index: 1;
}

.mobile-menu,
.cursor,
.cursor-follower,
.progress-bar,
.side-left,
.side-right,
.section-counter,
.scroll-indicator {
  position: fixed;
}

/* ========================================
   TRUST STRIP - EXACT FROM ORIGINAL
   ======================================== */

.trust-strip {
  min-height: auto;
  padding: 0;
  position: relative;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-strip-item {
  padding: 2.5rem 3.5rem;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-normal);
  cursor: default;
}

.trust-strip-item:last-child {
  border-right: none;
}

.trust-strip-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-purple);
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-strip-item:hover {
  background: rgba(139, 92, 246, 0.04);
}

.trust-strip-item:hover::after {
  width: 100%;
}

.trust-strip-icon {
  width: 46px;
  height: 46px;
  color: var(--color-purple);
  opacity: 0.8;
  margin-bottom: 0.35rem;
  flex-shrink: 0;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  background: rgba(180, 220, 255, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-strip-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip-item:hover .trust-strip-icon {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-strip-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-white);
  margin-bottom: 0;
  line-height: 1.2;
}

.trust-strip-label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-strip-item {
    padding: 2rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip-item {
    padding: 2rem 1.75rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
  }

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

  .trust-strip-icon {
    margin: 0 auto 0.35rem;
  }
}
