/* css/main.css - Global Styles, Typography, and Layout */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --blue: #0556F3;
  --cyan: #00C8FF;
  --white: #FFFFFF;
  --off: #F4F6FA;
  --navy: #07111F;
  --navy2: #0D1F35;

  --bg-primary: #FFFFFF;
  --bg-secondary: #F4F6FA;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-primary: #0D1A2D;
  --text-secondary: #6A7B92;
  --text-placeholder: #A0ABC0;

  --border: rgba(5, 86, 243, 0.15);
  --border-strong: rgba(5, 86, 243, 0.3);

  --shadow-sm: 0 4px 20px rgba(5, 86, 243, 0.05);
  --shadow-md: 0 12px 40px rgba(5, 86, 243, 0.08);
  --shadow-lg: 0 24px 60px rgba(5, 86, 243, 0.12);
  --shadow-glass: 0 8px 32px rgba(5, 86, 243, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
}

a:hover {
  cursor: none;
}

/* PAGES */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* Layout Utilities */
.section-tag {
  display: inline-block;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  background: rgba(5, 86, 243, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.section-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title .accent {
  color: var(--blue);
  position: relative;
  display: inline-block;
}

.section-title .accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(0, 200, 255, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.section-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 48px;
}

/* Base Sections */
.base-section {
  padding: 96px 6vw;
  position: relative;
  overflow: hidden;
}

.base-section.bg-alt {
  background: var(--bg-secondary);

}

.base-section.bg-dark {
  background: var(--navy);

}

/* Typography styles inside blocks */
.eyebrow {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
  text-align: center;
}

/* Gradient text */
.grad {
  display: block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.color-text {
  color: var(--blue) !important;
}

/* Hero Base */

.hero-badge,
.hero-title,
.hero-sub,
.hero-actions {
  opacity: 0;
  
}

.hero-badge {
  transform: translateY(0);
  will-change: transform, opacity;
}
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
  max-width: 800px;
}

.hero-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-badge {
	transform: translateY(0);
  will-change: transform, opacity;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Custom Cursor Base */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  left: -20px;
  top: -20px;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(5, 86, 243, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  left: -20px;
  top: -20px;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cur-h #cursor {
  background: var(--cyan);
  width: 14px;
  height: 14px;
}

.cur-h #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--cyan);
}

/* Responsive Setup */
@media(max-width: 880px) {
  body {
    cursor: auto;
  }

  a:hover,
  button:hover {
    cursor: pointer !important;
  }

  #cursor,
  #cursor-ring {
    display: none;
  }
}