/* =========================================
   VARIABLES & RESET
========================================= */
:root {
  --bg-dark: #06080d;
  --bg-light-edge: #0d121c;
  --bg-shadow: #020305;
  --accent: #d4af37; /* Metallic gold/copper */
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  
  --font-display: 'Bodoni Moda', serif;
  --font-body: 'Instrument Sans', sans-serif;

  /* Skeuomorphic Shadows */
  --shadow-outset: 8px 8px 16px var(--bg-shadow), -8px -8px 16px var(--bg-light-edge);
  --shadow-inset: inset 6px 6px 12px var(--bg-shadow), inset -6px -6px 12px var(--bg-light-edge);
  --shadow-hover: 12px 12px 20px var(--bg-shadow), -12px -12px 20px var(--bg-light-edge);
  --bevel: inset 1px 1px 2px rgba(255, 255, 255, 0.1), inset -1px -1px 2px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Hide default cursor for custom one */
}

/* =========================================
   NOISE & TEXTURE OVERLAY
========================================= */
body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  animation: noiseAnim 0.2s infinite linear;
  z-index: 9999;
}

@keyframes noiseAnim {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  20% { transform: translate(1%, 2%); }
  30% { transform: translate(-2%, 1%); }
  40% { transform: translate(2%, -1%); }
  50% { transform: translate(-1%, 2%); }
  60% { transform: translate(2%, 2%); }
  70% { transform: translate(-2%, -1%); }
  80% { transform: translate(1%, -2%); }
  90% { transform: translate(2%, 1%); }
  100% { transform: translate(0, 0); }
}

/* =========================================
   CUSTOM CURSOR
========================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-outset);
  transition: transform 0.1s ease-out;
}

/* =========================================
   TYPOGRAPHY
========================================= */
h1, h2, h3, .nav__logo, .footer__logo {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 2px 4px 10px rgba(0,0,0,0.8); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 3rem; }
em { font-style: italic; color: var(--accent); }

.label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--bg-dark);
  box-shadow: var(--shadow-outset), var(--bevel);
}

/* =========================================
   LAYOUT & CONTAINERS
========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

section { position: relative; }

/* =========================================
   COMPONENTS: BUTTONS & CARDS (Skeuomorphic)
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text-main);
  background: var(--bg-dark);
  border-radius: 8px;
  border: none;
  box-shadow: var(--shadow-outset), var(--bevel);
  transition: all 0.2s ease;
  cursor: none;
}

.btn:hover {
  box-shadow: var(--shadow-hover), var(--bevel);
  color: var(--accent);
}

.btn:active {
  box-shadow: var(--shadow-inset);
  transform: translateY(2px);
}

.btn--primary {
  color: var(--accent);
  background: linear-gradient(145deg, #07090f, #05070a);
}

/* Interactive 3D Cards */
.service-card, .ai-card, .founder-card {
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-outset), var(--bevel);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s ease;
  transform-style: preserve-3d; /* For JS 3D tilt */
}

.service-card:hover, .ai-card:hover, .founder-card:hover {
  box-shadow: var(--shadow-hover), var(--bevel);
}

/* Inner elements pushed out for 3D effect */
.service-card > *, .ai-card > *, .founder-card > * {
  transform: translateZ(30px);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  text-shadow: 1px 2px 4px rgba(0,0,0,0.8);
}

/* Grids */
.services__grid, .ai-section__grid, .portfolio__grid, .founders__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  perspective: 1000px;
}

/* =========================================
   FORMS (Inset Skeuomorphic)
========================================= */
.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--bg-dark);
  border: none;
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  box-shadow: var(--shadow-inset);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  box-shadow: inset 8px 8px 16px var(--bg-shadow), inset -8px -8px 16px var(--bg-light-edge), 0 0 10px rgba(212, 175, 55, 0.2);
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* =========================================
   HERO & NAV SPECIFICS
========================================= */
.nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(6, 8, 13, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav__link { color: var(--text-main); text-decoration: none; margin-left: 2rem; font-weight: 500; }
.nav__logo { font-size: 1.5rem; font-weight: bold; color: var(--text-main); text-decoration: none; text-shadow: 2px 2px 4px #000; }

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}