/* ==========================================
   ZYLO AI Premium CSS Stylesheet
   Designed with Dark Theme, Glassmorphism, 
   and Mint Green Accents
   ========================================== */

/* Custom Properties / Design Tokens */
:root {
  --bg-primary: #080808;
  --bg-secondary: #121212;
  --bg-card: rgba(20, 20, 20, 0.6);
  --bg-card-hover: rgba(30, 30, 30, 0.8);
  
  --accent-green: #8CF5CF;
  --accent-green-rgb: 140, 245, 207;
  --accent-green-dim: #4CDFA8;
  --accent-green-gradient: linear-gradient(135deg, #F4FFF9 0%, #B5F8DE 45%, #50DFA6 100%);
  
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --text-dark: #1A1A1A;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(140, 245, 207, 0.4);
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green-dim);
}

/* Selection highlight */
::selection {
  background: rgba(var(--accent-green-rgb), 0.2);
  color: var(--accent-green);
}

/* ==========================================
   Header Section (Matching Mockup Precisely)
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 91px;
  z-index: 1000;
  background-color: rgba(33, 28, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 80px;
  background-color: rgba(33, 28, 29, 0.95);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 56px 0 36px;
  display: grid;
  grid-template-columns: 220px minmax(500px, 1fr) 252px;
  align-items: center;
  column-gap: 34px;
}

/* Logo Styling */
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0;
  color: var(--text-main);
  display: inline-flex;
  align-items: flex-start;
  position: relative;
  line-height: 1;
  transition: var(--transition-fast);
}

.logo-ai {
  font-size: 0.48rem;
  font-weight: 700;
  margin-left: 2px;
  opacity: 0.9;
  margin-top: 2px;
  line-height: 1;
}

.logo:hover {
  opacity: 0.9;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 690px;
  margin: 0 auto;
  gap: 42px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0;
  color: #ffffff;
  position: relative;
  padding: 8px 0;
  line-height: 1;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-green);
  transition: var(--transition-smooth);
  border-radius: var(--radius-pill);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: var(--radius-pill);
  height: 48px;
  width: 252px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  justify-self: end;
  transition: var(--transition-smooth);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(var(--accent-green-rgb), 0.16), 0 14px 34px rgba(0, 0, 0, 0.22);
  border-color: var(--accent-green);
}

.search-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #000000;
  font-weight: 500;
}

.search-box input::placeholder {
  color: #888888;
  font-weight: 400;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 80px;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 1;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#heroVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Lighter overlay so the video is clearly visible */
  background: 
    linear-gradient(to right, rgba(8,8,8,0.75) 0%, rgba(8,8,8,0.35) 50%, rgba(8,8,8,0.05) 100%),
    linear-gradient(180deg, rgba(8,8,8,0.3) 0%, rgba(8,8,8,0.0) 40%, rgba(8,8,8,0.3) 100%);
  z-index: 2;
}

/* Covers YouTube loading spinner until video starts playing */
.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #080808;
  z-index: 3;
  transition: opacity 0.8s ease;
}
.video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}


.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-image-button {
  position: absolute;
  right: clamp(80px, 11vw, 190px);
  top: 66%;
  z-index: 5;
}

.btn-hero-dark {
  background-color: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.btn-hero-dark:hover {
  background-color: transparent;
  color: #111111;
  border-color: #111111;
}

.hero-content {
  position: absolute;
  z-index: 10;
  left: 80px;
  top: 50%;
  max-width: 600px;
  text-align: left;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(-40%);
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.badge-container {
  margin-bottom: 20px;
}

.hero-badge {
  background: linear-gradient(135deg, rgba(244, 255, 249, 0.16), rgba(181, 248, 222, 0.14) 45%, rgba(80, 223, 166, 0.16));
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(var(--accent-green-rgb), 0.15);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem); /* Decreased to cover less background video */
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, #B5F8DE 68%, #50DFA6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

/* Global Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-green-gradient);
  color: var(--bg-primary);
  border: 1px solid rgba(var(--accent-green-rgb), 0.75);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(var(--accent-green-rgb), 0.12), 0 16px 32px rgba(var(--accent-green-rgb), 0.18);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: none !important; /* hide arrows */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--transition-fast);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
}

.arrow-prev {
  left: 28px;
}

.arrow-next {
  right: 28px;
}

.hero-indicators {
  display: none !important; /* hide slide dots */
}

.indicator {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator.active,
.indicator:hover {
  background: var(--accent-green-gradient);
}

/* Mouse Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  z-index: 10;
}

.mouse {
  width: 22px;
  height: 38px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-green-gradient);
  border-radius: var(--radius-pill);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Scroll Down Text + Arrow Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  z-index: 10;
  transition: var(--transition-fast);
  text-decoration: none;
}

.scroll-down:hover {
  color: var(--text-main);
}

.scroll-down-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-down-arrow {
  width: 22px;
  height: 22px;
  animation: bounceArrow 1.6s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ==========================================
   Section Layouts & General Styling
   ========================================== */
.section {
  padding: 104px 40px;
  position: relative;
  z-index: 10;
  background-color: var(--bg-primary);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 58px auto;
}

.section-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--accent-green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}


/* ==========================================
   AI Workout Library Section
   ========================================== */
.workout-section {
  padding: 96px 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 38px 38px,
    radial-gradient(circle at 50% 34%, rgba(140, 245, 207, 0.10), transparent 36%),
    linear-gradient(180deg, #101010 0%, #171717 48%, #0b0b0b 100%);
  position: relative;
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

.workout-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(140, 245, 207, 0.045) 48%, transparent 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.055), transparent 28%);
  opacity: 0.62;
  pointer-events: none;
}

.workout-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.74) 0%, rgba(8, 8, 8, 0.26) 48%, rgba(8, 8, 8, 0.64) 100%),
    url('bg-workout-library.avif') center / cover no-repeat;
  opacity: 0.72;
  filter: saturate(1.02) contrast(1.02);
  pointer-events: none;
}

.workout-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.workout-header {
  margin-bottom: 46px;
}

.workout-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.workout-header p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #C8C8C8;
}

.workout-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.workout-card {
  background-color: transparent;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  aspect-ratio: 1 / 1;
}

.workout-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 18px 30px rgba(var(--accent-green-rgb), 0.25));
}

.workout-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.workout-icon svg {
  width: 100%;
  height: 100%;
}

.workout-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.045);
  transition: transform 0.5s ease;
  border-radius: var(--radius-lg);
}

.workout-card:hover .workout-icon-img {
  transform: scale(1.08);
}

.workout-card span {
  display: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  text-transform: none;
}

@media (max-width: 1100px) {
  .workout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 720px);
  }
  .workout-card {
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .workout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 520px);
  }
  .workout-section {
    padding: 80px 20px;
  }
  .workout-section::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.44)),
      url('bg-workout-library.avif') center / cover no-repeat;
    opacity: 0.58;
  }
}

@media (max-width: 480px) {
  .workout-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 280px);
  }

}


/* ==========================================
   AI Body Analysis Section
   ========================================== */
.body-analysis-section {
  padding: 96px 40px;
  background:
    linear-gradient(rgba(140, 245, 207, 0.032) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(140, 245, 207, 0.026) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 84% 18%, rgba(140, 245, 207, 0.10), transparent 34%),
    radial-gradient(circle at 12% 76%, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #090909 0%, #141414 54%, #080808 100%);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.body-analysis-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.035) 50%, transparent 51%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.42) 78%);
  opacity: 0.5;
  pointer-events: none;
}

.body-analysis-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.36) 50%, rgba(8, 8, 8, 0.92) 100%),
    url('bg-body-analysis.jpg') center / cover no-repeat;
  opacity: 0.46;
  filter: saturate(0.9) contrast(1.08);
  pointer-events: none;
}

.body-analysis-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.body-analysis-header {
  text-align: center;
  margin-bottom: 54px;
}

.body-analysis-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.body-analysis-header p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: #C8C8C8;
  max-width: 700px;
  margin: 0 auto;
}

.analysis-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.analysis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.analysis-text-col {
  flex: 1;
  max-width: 440px;
  text-align: left;
}

.analysis-text-col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.analysis-text-col p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: #D8D8D8;
  margin-bottom: 20px;
}

.shop-now-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.shop-now-link:hover {
  opacity: 0.8;
}

.analysis-image-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.analysis-feature-img {
  max-width: 460px;
  width: 100%;
  height: auto;
  display: block;
  border: none;
  border-radius: var(--radius-lg);
  background-color: transparent;
  box-shadow: none;
}

@media (max-width: 768px) {
  .body-analysis-section {
    padding: 80px 20px;
  }
  .body-analysis-section::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.84), rgba(8, 8, 8, 0.7)),
      url('bg-body-analysis.jpg') center / cover no-repeat;
    opacity: 0.3;
  }
  .analysis-row {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .analysis-text-col {
    max-width: 100%;
    text-align: center;
  }
  .analysis-image-col {
    justify-content: center;
  }
  .analysis-feature-img {
    max-width: 100%;
  }
}

/* ==========================================
   Train Smarter Steps Section
   ========================================== */
.steps-section {
  padding: 96px 40px;
  background:
    radial-gradient(circle at 50% 34%, rgba(140, 245, 207, 0.07), transparent 32%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.022) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #F6F7F5 0%, #E9ECE8 100%);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  overflow: hidden;
}

.steps-section::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(76, 223, 168, 0.22), transparent);
  pointer-events: none;
}

.steps-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.steps-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: #000000;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(140, 245, 207, 0.12);
}

.step-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 500px;
    margin: 0 auto;
  }
  .steps-section {
    padding: 80px 20px;
  }
}

/* ==========================================
   Anytime, Anywhere Section
   ========================================== */
.anytime-section {
  padding: 100px 40px;
  background-image: url('anytime_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.anytime-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.anytime-content {
  flex: 1.1;
  max-width: 540px;
  text-align: left;
}

.anytime-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.anytime-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 36px;
}

.anytime-badges {
  display: flex;
  gap: 16px;
}

.badges-wrapper-link {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.badges-wrapper-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badges-img {
  max-width: 330px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.anytime-image {
  flex: 0.9;
  display: flex;
  justify-content: flex-end;
}

.anytime-device-img {
  max-width: 560px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .anytime-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .anytime-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .anytime-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  }
  .anytime-badges {
    justify-content: center;
  }
  .anytime-image {
    justify-content: center;
    width: 100%;
  }
  .anytime-device-img {
    max-width: 480px;
    margin: 0 auto;
  }
  .anytime-section {
    padding: 80px 20px;
  }
}

/* ==========================================
   Home Gym CTA Section
   ========================================== */
.home-gym-cta {
  padding: 104px 40px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.48)), url('cta_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #ffffff;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cta-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.btn-cta {
  text-decoration: none;
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-shop {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.btn-shop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  background: var(--accent-green-gradient);
  border-color: rgba(var(--accent-green-rgb), 0.85);
}

.btn-showroom {
  background-color: transparent;
  border: 2px solid var(--accent-green);
  color: #ffffff;
}

.btn-showroom:hover {
  transform: translateY(-3px);
  background-color: rgba(var(--accent-green-rgb), 0.1);
  box-shadow: 0 8px 24px rgba(var(--accent-green-rgb), 0.3);
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 15px;
  }
  .btn-cta {
    width: 100%;
  }
  .home-gym-cta {
    padding: 80px 20px;
  }
}

/* ==========================================
   AI Training Pillars Section
   ========================================== */

.pillars-section {
  padding: 96px 40px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.035) 24%, transparent 36%, rgba(255, 255, 255, 0.03) 50%, transparent 64%, rgba(255, 255, 255, 0.035) 76%, transparent 100%),
    radial-gradient(circle at 50% 72%, rgba(140, 245, 207, 0.09), transparent 36%),
    linear-gradient(180deg, #080808 0%, #171717 52%, #0B0B0B 100%);
  position: relative;
  z-index: 10;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.pillars-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center bottom, rgba(255, 255, 255, 0.11), transparent 56%);
  opacity: 0.45;
  pointer-events: none;
}

.pillars-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.52) 46%, rgba(8, 8, 8, 0.92)),
    url('bg-training-pillars.avif') center / cover no-repeat;
  opacity: 0.48;
  filter: saturate(0.9) contrast(1.08);
  pointer-events: none;
}

.pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pillars-header {
  margin-bottom: 42px;
}

.pillars-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.5px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.pillar-card {
  background-color: transparent;
  border: none;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: block;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26), 0 10px 28px rgba(140, 245, 207, 0.16);
}

.pillar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-radius: var(--radius-lg);
}

.pillar-card:hover img {
  transform: scale(1.04);
}

.pillar-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.0) 100%);
  text-align: left;
}

.pillar-card-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.pillar-card-text p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillars-section {
    padding: 80px 20px;
  }
  .pillars-section::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.68)),
      url('bg-training-pillars.avif') center / cover no-repeat;
    opacity: 0.32;
  }
}

/* ==========================================
   Artist Gallery Section
   ========================================== */
.gallery-section {
  padding: 96px 20px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.022) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(180deg, #F8F8F5 0%, #ECEDE9 100%);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(140, 245, 207, 0.045), transparent 24%, transparent 76%, rgba(140, 245, 207, 0.04)),
    radial-gradient(circle at 14% 18%, rgba(0, 0, 0, 0.025), transparent 20%);
  pointer-events: none;
}

.gallery-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(248, 248, 245, 0.76), rgba(236, 237, 233, 0.68)),
    url('bg-artist-gallery.jpg') center / cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.8) contrast(1.02);
  pointer-events: none;
}

.gallery-inner {
  width: 100%;
  max-width: min(1680px, calc(100vw - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gallery-header {
  text-align: center;
  margin-bottom: 42px;
}

.gallery-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: #000000;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.gallery-header p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #444444;
}

/* Main gallery grid: 5 equal columns, 3 proportionate rows matching the exact image layouts */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 177fr 192fr 227fr;
  gap: 10px;
  width: 100%;
  aspect-ratio: 1200 / 610;
  background-color: transparent;
}

/* Gallery items share base styles */
.gallery-item {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background-color: transparent;
  transition: transform 0.35s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition: transform 0.5s ease, filter 0.35s ease, opacity 0.35s ease;
  border-radius: 0;
}

.gallery-grid:hover .gallery-item:hover {
  z-index: 2;
}

.gallery-grid:hover .gallery-item:hover img,
.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* Precise grid areas mapping */
.g-c1-tall {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.g-c2-r1 {
  grid-column: 2;
  grid-row: 1;
}

.g-c2-r2 {
  grid-column: 2;
  grid-row: 2;
}

.g-c3-r1 {
  grid-column: 3;
  grid-row: 1;
}

.g-c3-tall {
  grid-column: 3;
  grid-row: 2 / span 2;
}

.g-c4-tall {
  grid-column: 4;
  grid-row: 1 / span 2;
}

.g-c5-tall {
  grid-column: 5;
  grid-row: 1 / span 2;
}

.g-c1-r3 {
  grid-column: 1;
  grid-row: 3;
}

.g-c2-r3 {
  grid-column: 2;
  grid-row: 3;
}

.g-c4-wide {
  grid-column: 4 / span 2;
  grid-row: 3;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    aspect-ratio: auto;
    gap: 12px;
  }
  .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1.2 / 1;
  }
  .g-c4-wide {
    grid-column: span 2 !important;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    aspect-ratio: auto;
    gap: 8px;
  }
  .gallery-section::after {
    background:
      linear-gradient(180deg, rgba(248, 248, 245, 0.84), rgba(236, 237, 233, 0.78)),
      url('bg-artist-gallery.jpg') center / cover no-repeat;
    opacity: 0.3;
  }
  .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1.2 / 1;
  }
  .g-c4-wide {
    grid-column: span 2 !important;
  }
  .gallery-section {
    padding: 80px 20px;
  }
}

/* ==========================================
   Products Section
   ========================================== */
.products-section {
  background: radial-gradient(circle at 50% 0%, rgba(140, 245, 207, 0.035) 0%, rgba(8, 8, 8, 1) 70%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  background-color: var(--bg-card-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 10px 30px rgba(140, 245, 207, 0.08);
}

/* Hidden visual glow inside card */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 50%) var(--y, 50%), rgba(140, 245, 207, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(140, 245, 207, 0.08);
  border: 1px solid rgba(140, 245, 207, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.product-card:hover .card-icon {
  background: var(--accent-green-gradient);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(var(--accent-green-rgb), 0.3);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 12px;
  z-index: 2;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  z-index: 2;
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.card-link .arrow {
  transition: transform 0.3s ease;
}

.product-card:hover .card-link {
  color: var(--accent-green);
}

.product-card:hover .card-link .arrow {
  transform: translateX(5px);
}

/* ==========================================
   Dashboard / Live Telemetry Section
   ========================================== */
.dashboard-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(140, 245, 207, 0.045), transparent 30%),
    #0c0c0c;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.dashboard-info {
  padding-right: 40px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.stat-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40px;
  background: var(--accent-green-gradient);
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Terminal / Code Window Mockup */
.dashboard-visual {
  width: 100%;
}

.dashboard-window {
  background-color: #060606;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(140, 245, 207, 0.02);
}

.window-header {
  background-color: #141414;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-header .dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
}

.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #4CDFA8; }

.window-title {
  margin-left: 10px;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.window-content {
  padding: 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
}

.terminal-line {
  margin-bottom: 8px;
  color: #D4D4D4;
}

.t-cyan { color: #56B6C2; }
.t-green { color: #8CF5CF; }
.t-yellow { color: #E5C07B; }
.t-gray { color: #5C6370; }

.terminal-progress-bar {
  background-color: #1E1E1E;
  height: 6px;
  border-radius: var(--radius-pill);
  margin: 20px 0;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  background: var(--accent-green-gradient);
  height: 100%;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(var(--accent-green-rgb), 0.8);
  transition: width 0.3s ease;
}

.terminal-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================
   Blog / Intelligence Feed Section
   ========================================== */
.blog-section {
  background: radial-gradient(circle at 10% 80%, rgba(140, 245, 207, 0.024) 0%, rgba(8, 8, 8, 1) 60%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 10px 30px rgba(140, 245, 207, 0.06);
}

.blog-img-placeholder {
  height: 200px;
  background-color: #121212;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-img-placeholder::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(135deg, rgba(140, 245, 207, 0.08) 0%, transparent 60%);
  top: -25%;
  left: -25%;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-placeholder::before {
  transform: rotate(10deg) scale(1.1);
}

.blog-icon {
  font-size: 3rem;
  z-index: 2;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-icon {
  transform: scale(1.1);
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--accent-green);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.blog-card:hover .blog-link {
  color: var(--accent-green);
  gap: 12px;
}

/* ==========================================
   Contact Us Section
   ========================================== */
.contact-section {
  background:
    radial-gradient(circle at 16% 8%, rgba(140, 245, 207, 0.04), transparent 28%),
    var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-details {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.detail-item .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.detail-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Glassmorphic Form Container */
.contact-form-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(140, 245, 207, 0.15);
  background-color: rgba(0, 0, 0, 0.5);
}

/* Spinner anim inside submit button */
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #000;
  border-radius: var(--radius-pill);
  animation: spinner 0.8s linear infinite;
  margin-left: 10px;
}

.hidden {
  display: none !important;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.form-feedback {
  font-size: 0.9rem;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.form-feedback.success {
  background-color: rgba(var(--accent-green-rgb), 0.1);
  border: 1px solid rgba(var(--accent-green-rgb), 0.3);
  color: var(--accent-green);
}

.form-feedback.error {
  background-color: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.3);
  color: #FF5F56;
}

/* ==========================================
   Footer Section
   ========================================== */
.site-footer {
  background-color: #0b0b0b;
  padding: 58px 40px 24px;
  z-index: 10;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 892px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  column-gap: 46px;
  row-gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.footer-link-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: 0;
  line-height: 1.25;
}

.footer-link-col a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
}

.footer-link-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 39px;
}

.footer-bottom-container {
  max-width: 892px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-bottom-container p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  line-height: 1.5;
}

.footer-contact-col {
  min-width: 150px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.footer-icon {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 12px;
}

.footer-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  line-height: 1;
}

.footer-socials a {
  width: 13px;
  height: 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: #303030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.footer-socials span {
  padding-left: 1px;
  letter-spacing: 0;
}

/* ==========================================
   Responsive / Media Queries
   ========================================== */
@media (max-width: 1200px) {
  .header-container {
    padding: 0 32px;
    grid-template-columns: 180px minmax(420px, 1fr) 240px;
    column-gap: 24px;
  }

  .nav-menu {
    max-width: 580px;
    gap: 28px;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .search-box {
    width: 240px;
  }
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0 24px;
  }
  .section {
    padding: 90px 24px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dashboard-info {
    padding-right: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-info {
    position: static;
  }
  .footer-container {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 46px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  /* Responsive Mobile Menu Layout */
  .nav-menu {
    position: fixed;
    top: 91px;
    left: 0;
    width: 100%;
    height: calc(100vh - 91px);
    background-color: #1e1e1e;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding-bottom: 100px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.4rem;
  }

  .search-box {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-content {
    left: 24px;
    right: 24px;
    max-width: none;
  }

  .hero-image-button {
    right: 24px;
    top: auto;
    bottom: 138px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .arrow-prev {
    left: 16px;
  }

  .arrow-next {
    right: 16px;
  }

  .hero-indicators {
    bottom: 86px;
  }
  
  .btn {
    width: 100%;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  .logo-ai {
    font-size: 0.65rem;
    top: -6px;
  }
  .search-box {
    width: 120px;
  }
  .search-box input {
    font-size: 0.8rem;
  }
  .search-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }

  .hero-image-button {
    left: 24px;
    right: 24px;
  }

  .hero-image-button .btn {
    width: 100%;
  }

  .hero-slide-image {
    object-position: 38% center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

