@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #ffffff;
  /* White bg */
  --secondary-color: #d1121d;
  /* Quick Silver Red */
  --accent-color: #1a73e8;
  /* Electric Blue */
  --text-dark: #1e1e1e;
  --text-light: #555555;
  --bg-light: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--primary-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography — Gen Z: Space Grotesk headings, tight tracking */
h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.85rem;
  letter-spacing: -1px;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Navigation */
nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  /* Blend white background of logo into the page */
  mix-blend-mode: multiply;
  /* Removes any residual white halo */
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.08)) contrast(1.05);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 1.5rem;
  border-radius: 100px;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Buttons — Gen Z: compact pill, sharp hover, no heavy shadow */
.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #a80e16;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  padding: 0.58rem 1.35rem;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--text-dark);
  transform: translateY(-1px);
}

/* Layout */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100vh;
  z-index: 5;
}

/* Cards — sharper radius, lighter shadow */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
}

/* Bot Fixed Interactive Positioning */
.bot-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 1.5rem;
  animation: float 6s ease-in-out infinite;
  cursor: pointer;
}

.bot-image {
  width: 200px;
  /* Larger resting size */
  height: auto;
  border: none;
  background: transparent;
  transform-origin: bottom right;
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.22));
}

/* On hover: grow upward, not sideways — avoids overflow on right edge */
.bot-container:hover .bot-image {
  width: 380px;
  transform: translateY(-30px);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.25));
}

/* Dialogue floats to the left of the bot */
.bot-dialogue {
  background: transparent;
  color: var(--text-dark);
  padding: 0;
  font-weight: 600;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 24px rgba(255, 255, 255, 0.9);
  text-align: right;

  opacity: 0;
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateX(15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bot-container:hover .bot-dialogue {
  opacity: 1;
  max-width: 320px;
  max-height: 220px;
  padding: 0.75rem 0;
  transform: translateX(0);
}

.bot-dialogue span {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin-top: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Background Gradients: Red Swooshes */
.gradient-blob {
  position: absolute;
  z-index: 0;
  opacity: 1;
}

.blob-1 {
  width: 150%;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(209, 18, 29, 0.22) 0%, rgba(209, 18, 29, 0.06) 50%, transparent 75%);
  top: -350px;
  right: -25%;
  transform: rotate(-12deg);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.blob-2 {
  width: 120%;
  height: 700px;
  background: linear-gradient(55deg, rgba(209, 18, 29, 0.18) 0%, rgba(209, 18, 29, 0.07) 40%, transparent 100%);
  bottom: -200px;
  left: -150px;
  transform: rotate(22deg);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
}

/* Sleek diagonal swoosh — richer and more visible */
.swoosh {
  position: absolute;
  width: 200%;
  height: 100vh;
  background: linear-gradient(to right, transparent 20%, rgba(209, 18, 29, 0.12) 60%, rgba(209, 18, 29, 0.18) 100%);
  clip-path: polygon(0 75%, 100% 15%, 100% 100%, 0% 100%);
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  z-index: 10;
  position: relative;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Internal Pages specific */
.page-header {
  padding: 180px 5% 50px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.page-header h1 {
  font-size: 3.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 0 5% 5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 5% 5rem;
  position: relative;
  z-index: 10;
}