:root {
  --bg: #0d0a1a;
  --primary: #f97316;
  --secondary: #ffd166;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.45);
  --card: #1a1530;
  --border: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.06);
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial;
  background: linear-gradient(90deg, var(--bg), #1a1530);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    135deg,
    rgba(11, 11, 13, 0.6),
    rgba(11, 11, 13, 0.15)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 36px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 28px;
  }
}

h1 {
  font-size: 46px;
  line-height: 1.02;
  margin: 0;
  font-weight: 800;
  letter-spacing: 2px;
}
p.lead {
  color: var(--muted);
  font-size: 18px;
  margin-top: 16px;
  max-width: 680px;
}

.sunset-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #000;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(15, 21, 48, 0.6);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
}

/* Glass card */
.glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.6);
  border-radius: 16px;
  padding: 18px;
}

/* Feature grid */
/* Container Layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

/* Base Feature Card */
.feature {
  padding: 2.5rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth bouncy transition */
  cursor: default;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* Hover Animation */
.feature:hover {
  transform: translateY(-12px) scale(1.02); /* Lifts the card */
  border-color: var(--primary); /* Uses your primary orange from constants */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(249, 115, 22, 0.15); /* Soft glow */
}

/* Icon Styling */
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* Text Styling */
.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
}

.feature p {
  color: #a1a1aa; /* Muted text color */
  line-height: 1.6;
  font-size: 1rem;
}

/* Subtle background shine effect on hover */
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.feature:hover::before {
  left: 100%;
}

.double-arrow {
  position: relative;
  width: 200px;
  height: 2px;
  background-color: var(--primary);
  margin: 50px auto;
}

/* Arrowheads */
.double-arrow::before,
.double-arrow::after {
  content: "";
  position: absolute;
  top: -4px; /* Centers the 10px tall arrow on the 2px line */
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Left Arrowhead */
.double-arrow::before {
  left: -5px;
  border-right: 10px solid var(--primary);
}

/* Right Arrowhead */
.double-arrow::after {
  right: -5px;
  border-left: 10px solid var(--primary);
}

footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 80px;
}

/* Three.js canvas full bleed in the hero visual area */
.visual-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Feature canvas styling */
.feature-canvas {
  width: 100%;
  min-height: 260px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  overflow: hidden;
  display: block;
}

/* small accent underline */
.accent-underline {
  display: inline-block;
  height: 6px;
  width: 100px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-top: 10px;
}
