/* ==========================================================================
   Vayun Medical Technologies — static design system
   Deep Night base, Pra?a Teal primary, Sacred Gold accent.
   ========================================================================== */

:root {
  --radius: 0.5rem;

  --background: #0b1e2d;
  --foreground: #eef6fb;

  --surface: #12293a;
  --surface-elevated: #17334a;

  --primary: #0ab0c1;
  --primary-foreground: #04141d;

  --muted-foreground: #9db3c2;

  --gold: #d4af37;
  --gold-soft: #e6cd7d;

  --mist: #e6f3fb;
  --sage: #9ec1b3;

  --destructive: #ef6a6a;

  --border: rgba(120, 160, 185, 0.28);

  --gradient-hero: linear-gradient(
    180deg,
    rgba(11, 30, 45, 0.15) 0%,
    rgba(11, 30, 45, 0.78) 55%,
    rgba(11, 30, 45, 1) 100%
  );
  --gradient-aura: radial-gradient(120% 90% at 50% 0%, rgba(10, 176, 193, 0.22) 0%, transparent 65%);
  --gradient-rule: linear-gradient(90deg, transparent, var(--gold) 45%, var(--primary) 55%, transparent);

  --shadow-glow: 0 0 60px -12px rgba(10, 176, 193, 0.55);
  --shadow-panel: 0 24px 70px -30px rgba(2, 10, 16, 0.9);
  --transition-soft: 320ms cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Karla", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

sup {
  color: var(--primary);
  font-size: 0.7em;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ---------- helpers ---------- */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted-foreground);
}

.strong-text {
  color: var(--foreground);
}

.aura {
  background-image: var(--gradient-aura);
}

.hero-scrim {
  background-image: var(--gradient-hero);
}

.rule-gradient {
  height: 1px;
  background-image: var(--gradient-rule);
  border: 0;
}

.eyebrow {
  font-family: var(--font-sans);
  /* font-size: 0.72rem; */
  font-size: 1.25rem;  
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.text-glow {
  text-shadow: 0 0 34px rgba(10, 176, 193, 0.45);
}

.glass-panel {
  background: rgba(18, 41, 58, 0.78);
  border: 1px solid rgba(10, 176, 193, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-panel);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color var(--transition-soft), transform var(--transition-soft);
}

.glass-panel:hover {
  border-color: rgba(10, 176, 193, 0.45);
  transform: translateY(-3px);
}

.btn-breath {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  background: linear-gradient(100deg, var(--primary), #6bb27f);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  border-radius: 999px;
  transition: filter var(--transition-soft), transform var(--transition-soft);
}

.btn-breath:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-breath:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

@keyframes vayun-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-rise {
  animation: vayun-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 30, 45, 0.8);
  backdrop-filter: blur(18px);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img.dont-display-mobile {
  width: 200px;
  height: 284px;
  /* border-radius: 999px; */
  object-fit: cover;
  object-position: 50% 17%;
}

.brand img.display-on-mobile {
  width: 327px;
  height: 150px;
  /* border-radius: 999px; */
  object-fit: cover;
  object-position: 50% 17%;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  /* gap: 1.75rem; */
  gap: 1rem;  
}

.nav-links a {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-soft);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--primary);
}

.nav-cta {
  display: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-align:center;
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-block;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 6rem 0;
}

.section.tinted {
  /* background: rgba(18, 41, 58, 0.4); */
  background: linear-gradient(250deg,rgba(168, 175, 179, 1) 0%,  rgba(53, 92, 92, 1) 30%, rgba(18, 41, 58, 0.4) 100%);
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
  .display-on-mobile {
  display:none !important;	
  }  
}

.section-heading {
  max-width: 48rem;
}

.section-heading .rule-gradient {
  margin-top: 1rem;
  width: 6rem;
}

.section-heading h2 {
  margin-top: 1.5rem;
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .section-heading h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 3rem;
  }
}

.prose {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  color: var(--muted-foreground);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.split {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .split.even {
    grid-template-columns: 1fr 1fr;
  }
}

.media {
  position: relative;
}

.media img {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: var(--shadow-panel);
}

.media .aura {
  position: absolute;
  inset: -2.5rem;
  filter: blur(28px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 6rem;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-scrim,
.hero .aura {
  position: absolute;
  inset: 0;
}

.hero .container {
  position: relative;
  /* padding-top: 6rem;  */
  padding-top: 18rem;
  padding-bottom: 6rem;
}

.hero-copy {
   max-width: 48rem; 
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.08;
}

.hero .lede {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.sanskrit {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--gold-soft);
}

/* ---------- stats ---------- */
.stats {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stats .glass-panel {
  padding: 1.25rem;
}

.stats .stat {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
}

.stats .stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- cards ---------- */
.cards {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cards h3 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
}

.cards p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card-quote {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--gold-soft);
}

.pillar .rule-gradient {
  width: 3rem;
}

.pillar h3 {
  margin-top: 1.25rem;
}

blockquote {
  margin: 2.5rem 0 0;
  max-width: 56rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  blockquote {
    font-size: 1.875rem;
  }
}

/* ---------- what's next ---------- */
.next {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.next > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.next .hero-scrim {
  position: absolute;
  inset: 0;
}

.next .container {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .next .container {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ---------- email capture ---------- */
.email-capture {
  width: 100%;
  max-width: 32rem;
  margin-top: 2.5rem;
}

.email-capture .row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .email-capture .row {
    flex-direction: row;
  }
}

.email-capture input {
  flex: 1;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(18, 41, 58, 0.7);
  padding: 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--foreground);
}

.email-capture input::placeholder {
  color: var(--muted-foreground);
}

.email-capture input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 176, 193, 0.25);
}

.email-capture input:disabled {
  opacity: 0.6;
}

.email-capture button {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--primary);
}

.form-message.error {
  color: var(--destructive);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.site-footer .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 218px;
  height: 100px;
  /* border-radius: 999px; */
  object-fit: cover;
  object-position: 50% 17%;
}

.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.footer-brand .tag {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links a {
  text-decoration: none;
  transition: color var(--transition-soft);
}

.footer-links a:hover {
  color: var(--primary);
}

.site-footer .rule-gradient {
  margin-top: 2.5rem;
}

.legal {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- simple content pages ---------- */
.page {
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.page .prose {
  max-width: 48rem;
}

.page .prose h2 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-top: 1rem;
}

.page a {
  color: var(--primary);
}

.centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background);
  color: white;
  padding: 10px 20px;
  position: relative;
}

@media screen and (max-width: 767px) {
/* Hide the actual checkbox input completely */
.menu-toggle {
  display: none;
}

/* Style the hamburger menu icon wrapper */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

/* Style individual horizontal bars */
.hamburger span {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hide menu options off-screen by default */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--background);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  margin: 0;
  padding: 0;
}

.nav-links li {
  text-align: center;
}

.nav-links a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
/*  border-top: 1px solid #444; */
  	border-top: 1px solid #444; 	
}

.nav-links a:hover {
/*  background-color: #444; */
	color: var(--primary);
}

/* The Magic: Show menu when the hidden checkbox is clicked */
.menu-toggle:checked ~ .nav-links {
  max-height: 600px; /* Adjust based on menu size */
}

/* Optional: Transform hamburger lines into an "X" when checked */
.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

  img.dont-display-mobile, .dont-display-mobile, .btn-breath {
  display:none !important;	
  }
  .brand {width:100% !important;text-align:center !important;}
  img.display-on-mobile, .display-on-mobile  {
  text-align:center !important;	
  }  
  .brand img.display-on-mobile, .display-on-mobile {
    object-position: center !important;
  }
  .email-capture input {
  padding: 1rem 1.25rem !important;
  }
  .email-capture .row {
    flex-direction: column !important;
    text-align:center;
  }
  .email-capture button {
  padding: 1rem 1.25rem !important;
  width: 150px !important;
  display: inline !important;
  }
}