/* ============================================================
   RUDRAX.CLOUD — QCLAY AESTHETIC GLOBAL SYSTEM
   Design: High-end creative agency, ultra-bold, light base
   Fonts: Satoshi (Headings) + Inter (Body)
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  /* --- Colors: Base Theme (Light) --- */
  --bg-primary:       #F7F7F7; /* Very soft off-white */
  --bg-secondary:     #FFFFFF; /* Pure white for cards */
  --bg-dark:          #0A0A0A; /* Deep black for inverted sections */
  
  /* --- Colors: Text --- */
  --text-primary:     #0F0F0F;
  --text-secondary:   #5A5A5A;
  --text-muted:       #8A8A8A;
  
  /* --- Colors: Text (Dark Mode Sections) --- */
  --text-light-primary:   #FFFFFF;
  --text-light-secondary: #A0A0A0;
  
  /* --- Colors: Accents --- */
  --accent-primary:   #4A3AFF; /* Vivid Blue-Violet */
  --accent-hover:     #3225E6;
  --accent-cyan:      #06B6D4;
  
  /* --- Borders --- */
  --border-light:     rgba(0, 0, 0, 0.06);
  --border-dark:      rgba(255, 255, 255, 0.1);
  
  /* --- Extreme Radii (QClay Style) --- */
  --radius-sm:   12px;
  --radius-md:   24px;
  --radius-lg:   32px;
  --radius-xl:   48px;
  --radius-pill: 100px;
  
  /* --- Shadows (Soft & Large) --- */
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 30px 60px rgba(0, 0, 0, 0.08);
  
  /* --- Typography --- */
  --font-heading:  'Satoshi', sans-serif;
  --font-body:     'Inter', sans-serif;
  
  /* --- Massive Font Sizes --- */
  --text-hero:   clamp(3rem, 8vw + 1rem, 7.5rem);
  --text-h1:     clamp(2.5rem, 6vw + 0.5rem, 5rem);
  --text-h2:     clamp(2rem, 4vw + 0.5rem, 3.5rem);
  --text-h3:     clamp(1.5rem, 3vw, 2.5rem);
  --text-h4:     clamp(1.25rem, 2vw, 1.75rem);
  --text-body:   clamp(1rem, 1.2vw, 1.125rem);
  --text-body-lg: clamp(1.125rem, 1.5vw, 1.35rem);
  
  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  
  /* --- Layout --- */
  --max-width: 1400px; /* Wider canvas for modern feel */
  
  /* --- Transitions --- */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  font-size: 16px;
  /* NO smooth scrolling here, Lenis handles it */
}

/* Custom Cursor CSS */
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Hide default cursor */
}

/* Let touch devices use normal cursor */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none !important; }
}

a, button { cursor: none; }

img, svg, video { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font: inherit; }

/* ============================================================
   CUSTOM CURSOR ELEMENT
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-bounce), height 0.3s var(--ease-bounce), background 0.3s ease;
  mix-blend-mode: difference;
}

.cursor.is-hovering {
  width: 40px; height: 40px;
  background: white;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.text-hero { font-size: var(--text-hero); }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: -0.02em; }
h4 { font-size: var(--text-h4); letter-spacing: -0.01em; }

.text-body { font-size: var(--text-body); }
.text-body-lg { font-size: var(--text-body-lg); line-height: 1.5; }

/* Dark section text overrides */
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: var(--text-light-primary); }
.dark-section p { color: var(--text-light-secondary); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-32) 0; position: relative; }
.section--dark { background-color: var(--bg-dark); color: var(--text-light-primary); }
.section--flush { padding: 0; }

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

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

/* ============================================================
   GSAP HELPER CLASSES
   ============================================================ */
.gsap-reveal { opacity: 0; visibility: hidden; }
.gsap-slide-up { opacity: 0; transform: translateY(60px); }
.gsap-scale-up { opacity: 0; transform: scale(0.9); }
