:root {
  /* Theme Fonts matching the reference site */
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;

  /* Application Visual Theme Colors (Glassmorphic Light Theme on Cyan-to-Sky-Blue Gradient) */
  --gradient-start: #38bdf8; /* Sky Blue */
  --gradient-end: #06b6d4;   /* Neon Cyan Accent */
  --bg-gradient: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  
  --surface: rgba(255, 255, 255, 0.88);        /* White glassmorphic surface */
  --surface-border: rgba(255, 255, 255, 0.5);   /* Semi-transparent white border */
  --text: #0f172a;                              /* Slate-900 primary text */
  --muted: #475569;                             /* Slate-600 secondary text */
  --accent: #06b6d4;                            /* Neon Cyan main accent */
  --accent-hover: #0284c7;
  
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1100px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: #060913;
  color: var(--text);
  scroll-behavior: smooth;
  min-height: 100vh;
  overflow-x: clip;
}

/* REVEAL ON SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Sticky Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.hidden-header {
  transform: translateY(-100%);
}

header h1 {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-family: var(--font-heading);
  transition: var(--transition);
}

header h1 span {
  color: #ffffff;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light background header theme overrides */
header.header-light-theme h1 span {
  color: #060913;
}

header.header-light-theme .burger-menu span {
  background-color: #060913;
}

header.header-light-theme .btn-signin {
  border-color: rgba(6, 9, 19, 0.2);
}

header.header-light-theme .btn-signin .link__text {
  color: #060913;
}

header.header-light-theme .btn-signin:hover {
  border-color: rgba(6, 9, 19, 0);
}

/* Header Nav center links */
.header-menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: rgba(6, 9, 19, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: none;
  transition: var(--transition);
}

header.scrolled .header-menu {
  background: rgba(6, 9, 19, 0.65);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

/* Double Text Vertical Slide Hover Animation with sliding hover indicator */
.menu-header__link {
  display: inline-block;
  position: relative;
  z-index: 2; /* float above indicator */
  height: 42px;
  padding: 0 1.6rem;
  border-radius: 50px;
  overflow: hidden;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  background: transparent;
}

/* Sliding pill background indicator */
.header-menu__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease;
}

.link__inner {
  display: flex;
  flex-direction: column;
  height: 84px; /* 2x heights */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-header__link:hover .link__inner {
  transform: translateY(-42px); /* Translate upwards on hover */
}

.link__content {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link__text {
  color: #ffffff;
  opacity: 0.85;
  transition: var(--transition);
}

.link__content:last-child .link__text {
  color: #0f172a; /* Crisp black text when hovered over white pill indicator */
  opacity: 1;
}

/* Header right nav */
.header-nav {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-signin {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-signin:hover {
  border-color: rgba(255, 255, 255, 0); /* hide border on hover */
}

.btn-signup {
  background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.25);
}

.btn-signup .link__text {
  color: #0f172a;
  opacity: 1;
}

.btn-signup:hover {
  background: transparent; /* hide background to let the indicator show */
  box-shadow: none;
}

/* WISHLABS-INSPIRED HERO SECTION LAYOUT */
.hero {
  position: relative;
  text-align: left;
  min-height: 100vh;
  padding: 0 2.5rem;
  background: linear-gradient(135deg, #6b1bb0 0%, #c018a0 35%, #f42886 65%, #00f0ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 1rem 0;
  z-index: 5;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  box-sizing: border-box;
}

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

.hero-bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./herobg.jpg');
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  opacity: 0.2;
  z-index: 1;
  filter: saturate(1.15) contrast(1.05) brightness(1.1);
  pointer-events: none;
  transition: transform 10s ease-out;
}

.hero:hover .hero-bg-texture {
  transform: scale(1.04);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 75% 25%, rgba(0, 240, 255, 0.65) 0%, rgba(0, 240, 255, 0) 55%),
    radial-gradient(circle at 20% 75%, rgba(244, 40, 134, 0.6) 0%, rgba(244, 40, 134, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 50%, rgba(6, 9, 19, 0.2) 100%);
  z-index: 2;
}

.hero-wishlabs-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto 0;
  padding: 0;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-brand-title {
  font-size: clamp(4.8rem, 15vw, 16rem);
  line-height: 0.85;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: lowercase;
  margin: 0;
  display: block;
  flex-shrink: 0;
}

.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
  max-width: 440px;
}

.hero-tagline-box {
  text-align: right;
}

.hero-tagline {
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero .cta {
  display: inline-flex;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.4rem;
  border-radius: 50px;
  box-shadow: none;
}

.btn-download {
  background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  box-shadow: none;
  border: none;
}

.btn-download .link__text {
  color: #0f172a;
  opacity: 1;
}

.btn-download:hover {
  background: transparent;
  box-shadow: none;
}

/* Animated Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.65;
  transition: var(--transition);
  cursor: pointer;
  z-index: 3;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator .mouse-body {
  width: 26px;
  height: 42px;
  border: 2px solid #ffffff;
  border-radius: 20px;
  position: relative;
}

.scroll-indicator .mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.8s ease-in-out infinite;
}

@keyframes mouseScroll {
  0% { top: 8px; opacity: 1; }
  50% { top: 18px; opacity: 0; }
  100% { top: 8px; opacity: 1; }
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero {
    padding: 7rem 1.2rem 4rem;
    min-height: 85vh;
  }
  .hero-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .hero-right-col {
    align-items: flex-start;
    max-width: 100%;
  }
  .hero-tagline-box {
    text-align: left;
  }
}

/* Main Container layout */
main {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Alternating section themes */
.section-dark {
  background: #060913;
  color: #ffffff;
  --text: #ffffff;
  --muted: #94a3b8;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.btn-signup {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.section-gradient {
  background: #ffffff;
  color: #0f172a;
  --text: #0f172a;
  --muted: #475569;
  --surface: rgba(15, 23, 42, 0.02);
  --surface-border: rgba(15, 23, 42, 0.06);
  --shadow: 0 30px 60px rgba(15, 23, 42, 0.04);
}

.framework-section, .showcase-section, .templates-section, .features-section, .faq-section, .contact-section {
  width: calc(100% - 1rem);
  margin: 0.8rem auto;
  padding: 8rem 1rem;
  box-sizing: border-box;
  border-radius: 40px;
  overflow: hidden;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* APP SCREENSHOT SHOWCASE SECTION */
.showcase-section {
  text-align: left;
  padding: 10rem 2rem !important;
}

.showcase-section .section-inner {
  max-width: 1350px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 6rem;
  align-items: center;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.showcase-info h2 {
  margin-bottom: 0;
}

.showcase-info .section-desc {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.showcase-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.showcase-bullets li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  padding-left: 1.6rem;
}

.showcase-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-weight: 700;
}

.overview-screenshot-container {
  margin: 2.5rem 0 3.5rem;
  width: 100%;
}

.overview-screenshot-frame {
  max-width: 1150px !important;
  transform: none !important;
  box-shadow: 0 20px 60px rgba(6, 9, 19, 0.14), 0 0 30px rgba(6, 182, 212, 0.12) !important;
  border-radius: var(--radius-lg) !important;
}

.overview-screenshot-frame:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 30px 80px rgba(6, 9, 19, 0.2), 0 0 45px rgba(6, 182, 212, 0.2) !important;
}

.showcase-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.showcase-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-md);
  transform: none;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  background: rgba(255, 255, 255, 0.85);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.showcase-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  z-index: -1;
  transform: translateZ(-20px) scale(0.98);
  filter: blur(20px);
  opacity: 0.85;
  transition: opacity 0.6s ease;
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.showcase-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.showcase-frame:hover::before {
  opacity: 1;
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .showcase-info h2 {
    text-align: center;
  }
  .showcase-info .section-desc {
    text-align: center;
    margin: 0 auto;
  }
  .showcase-bullets {
    align-items: center;
    text-align: left;
  }
  .showcase-frame {
    transform: none;
  }
  .showcase-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  }
  .showcase-frame::before {
    display: none;
  }
}

/* DAW TEMPLATE SHOWCASE SECTION */
.templates-section {
  text-align: right;
  padding: 10rem 2rem !important;
}

.templates-section .section-inner {
  max-width: 1350px;
}

.templates-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 6rem;
  align-items: center;
  text-align: left;
}

.templates-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.templates-info h2 {
  margin-bottom: 0;
}

.templates-info .section-desc {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.templates-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.templates-bullets li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  padding-left: 1.6rem;
}

.templates-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  font-weight: 700;
}

.templates-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.templates-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-md);
  transform: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.templates-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.templates-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* GROWTH FRAMEWORK SECTION */
.framework-section {
  text-align: center;
}

.framework-section h2, .showcase-section h2, .templates-section h2, .features-section h2, .faq-section h2, .contact-section h2 {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.framework-section .section-desc {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 500;
  line-height: 1.5;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.framework-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.framework-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.framework-card .step-num {
  font-family: var(--font-heading);
  font-size: 3.0rem;
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, #d97706 0%, var(--gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
}

.framework-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text);
}

.framework-card p {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

/* FEATURES GRID */
.features-section {
  text-align: center;
}

.features-section h2 {
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%) 1;
  border-image-slice: 0 0 0 1;
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* FAQ SECTION */
.faq-section {
  text-align: center;
}

.faq-section h2 {
  margin-bottom: 3.5rem;
}

.faq-container {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem 0;
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover {
  color: #ffffff;
  opacity: 0.85;
}

.faq-question span:last-child {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 500;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

.faq-item.open .faq-answer {
  height: auto;
  opacity: 1;
  padding-top: 1rem;
}

/* CONTACT SECTION */
.contact-section {
  text-align: center;
}

.contact-container {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  color: var(--text);
  margin-bottom: 0.8rem;
}

.contact-section p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 3rem;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 700px;
  margin-inline: auto;
  text-align: left;
}

form .form-group-full {
  grid-column: span 2;
}

input, textarea {
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

button[type=submit] {
  grid-column: span 2;
  background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: #0f172a;
  border: none;
  padding: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
}

button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: none;
  opacity: 0.95;
}

footer {
  text-align: center;
  padding: 4rem 1rem 3rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #060913;
  width: 100%;
  margin: 0;
}

.burger-menu {
  display: none;
}

.mobile-nav-overlay {
  display: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  header {
    padding: 1.1rem 1rem;
    z-index: 130;
  }
  .header-menu {
    display: none;
  }
  .header-nav {
    display: none;
  }

  /* Burger menu button */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 150;
    padding: 0;
  }

  /* Force white colors on overlay open */
  body.menu-open header h1 span {
    color: #ffffff !important;
  }
  body.menu-open .burger-menu span {
    background-color: #ffffff !important;
  }

  .burger-menu span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Animated states when open */
  body.menu-open .burger-menu span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  body.menu-open .burger-menu span:nth-child(2) {
    opacity: 0;
  }
  body.menu-open .burger-menu span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile overlay menu */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 120;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.menu-open .mobile-nav-overlay {
    transform: translateX(0);
  }

  .mobile-nav-link {
    font-size: 1.45rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }

  .mobile-nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
  }

  .mobile-nav-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0.5rem 0;
  }

  .btn-signup-mobile {
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 0.8rem 2.4rem;
    border-radius: 50px;
    color: #0f172a;
    font-weight: 700;
  }
  
  .btn-signup-mobile:hover {
    opacity: 0.9;
  }

  /* Grid stack resets */
  .framework-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Compact padding and rounding for mobile */
  .framework-section, .showcase-section, .templates-section, .features-section, .faq-section, .contact-section {
    padding: 4.5rem 1rem !important;
    border-radius: 24px;
  }

  .framework-section h2, .showcase-section h2, .templates-section h2, .features-section h2, .faq-section h2, .contact-section h2 {
    font-size: 2.2rem;
  }

  .templates-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .templates-grid .templates-container {
    grid-row: 2;
  }
  .templates-info h2 {
    text-align: center;
  }
  .templates-info .section-desc {
    text-align: center;
    margin: 0 auto;
  }
  .templates-bullets {
    align-items: center;
    text-align: left;
  }
  .templates-frame:hover {
    transform: translateY(-5px);
  }

  .framework-section .section-desc, .contact-section p {
    margin-bottom: 2rem;
  }

  .hero {
    border-radius: 24px;
    min-height: 80vh;
    padding: 8rem 1rem 4rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  form {
    grid-template-columns: 1fr;
  }

  form .form-group-full, button[type=submit] {
    grid-column: span 1;
  }
}

/* DOWNLOAD PAGE SPECIFIC STYLES - CLEAN WHITE THEME */
.download-page-body {
  background: #ffffff;
  color: #0f172a;
}

.download-page-body header h1,
.download-page-body header h1 span {
  color: #0f172a !important;
}

.download-page-body .burger-menu span {
  background-color: #0f172a !important;
}

.download-page-hero {
  padding: 10rem 2rem 6rem;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.download-hero-inner {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.download-title {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: #0f172a;
  margin: 1rem 0 3rem;
  letter-spacing: -0.03em;
}

.single-download-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.single-card {
  max-width: 480px;
  width: 100%;
  padding: 3rem 2.5rem;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.single-card .card-os-header {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.download-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.highlight-card {
  background: #ffffff;
  border-color: #cbd5e1;
}

.card-os-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.os-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

.windows-badge {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
}

.mac-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.os-info h2 {
  font-size: 1.45rem;
  margin: 0 0 0.2rem;
  color: #0f172a;
}

.version-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.card-desc {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.download-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn-download-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, #38bdf8 0%, #06b6d4 100%);
  color: #0f172a;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: none;
  transition: var(--transition);
}

.btn-download-primary:hover {
  transform: translateY(-2px);
  box-shadow: none;
  filter: brightness(1.08);
}

.btn-download-secondary {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.4rem;
}

.btn-download-secondary:hover {
  color: #ffffff;
}

.spec-list {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-list li {
  font-size: 0.85rem;
  color: var(--muted);
}

.spec-list strong {
  color: #ffffff;
}

/* PARALLAX STACKING CARDS ENGINE (DESKTOP ONLY) */
@media (min-width: 901px) {
  main#main {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: visible;
  }

  /* Base card stacking section styling */
  main#main > article,
  main#main > section {
    position: sticky !important;
    top: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 44px 44px 0 0;
    box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.28);
    margin-bottom: 0 !important;
    box-sizing: border-box;
    transform: none !important;
    opacity: 1 !important;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  /* Sequential z-index stack so each card covers the card before it when scrolling */
  main#main #overview   { z-index: 10; }
  main#main #framework  { z-index: 20; }
  main#main #showcase   { z-index: 30; }
  main#main #templates  { z-index: 40; }
  main#main #features   { z-index: 50; }
  main#main #faq        { z-index: 60; }
  main#main #contact    { z-index: 70; }
}

@media (max-width: 900px) {
  main#main > article,
  main#main > section {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    z-index: auto !important;
  }
}
