/* ClinicGrid brand palette */
:root {
  --cg-brand: #1F4B59;
  --cg-accent: #3C979B;
  --cg-accent-dark: #3A9398;
  --cg-accent-light: #56B3B5;
  --cg-white: #FFFFFF;
  --cg-black: #111827;
  --cg-dark-grey: #374151;
  --cg-mid-grey: #6B7280;
  --cg-pale-grey: #F3F4F6;
  --cg-green: #009639;
  --shadow-sm: 0 2px 8px rgba(31, 75, 89, 0.08);
  --shadow-md: 0 4px 16px rgba(31, 75, 89, 0.12);
  --shadow-lg: 0 8px 32px rgba(31, 75, 89, 0.15);
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: var(--cg-dark-grey);
  background: var(--cg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background — solid white per brand guide */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--cg-white);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(60, 151, 155, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 151, 155, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--cg-brand) 0%, var(--cg-accent-dark) 100%);
  color: var(--cg-white);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.header__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  overflow: hidden;
}

/* Main */
.main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--cg-brand), var(--cg-accent));
  color: var(--cg-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.02); }
}

.hero__title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--cg-black);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero__tagline {
  font-size: 1.25rem;
  color: var(--cg-mid-grey);
  margin: 0;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Intro */
.intro {
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.intro__lead {
  font-size: 1.125rem;
  color: var(--cg-dark-grey);
  margin: 0;
  line-height: 1.7;
}

/* Features */
.features {
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

.features__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cg-black);
  margin: 0 0 1.5rem;
}

.features__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--cg-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(60, 151, 155, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.feature-card__icon--rooms {
  background: linear-gradient(135deg, rgba(60, 151, 155, 0.15), rgba(76, 166, 170, 0.2));
}

.feature-card__icon--people {
  background: linear-gradient(135deg, rgba(81, 172, 175, 0.15), rgba(86, 179, 181, 0.2));
}

.feature-card__icon--plan {
  background: linear-gradient(135deg, rgba(31, 75, 89, 0.15), rgba(58, 147, 152, 0.2));
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cg-black);
  margin: 0 0 0.5rem;
}

.feature-card__text {
  font-size: 0.9375rem;
  color: var(--cg-dark-grey);
  margin: 0;
  line-height: 1.55;
}

/* Audience */
.audience {
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.35s both;
}

.audience__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cg-black);
  margin: 0 0 1rem;
}

.audience__list {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--cg-dark-grey);
  line-height: 1.8;
}

.audience__list li {
  margin-bottom: 0.5rem;
}

.audience__list strong {
  color: var(--cg-brand);
}

/* Clarify */
.clarify {
  margin-bottom: 4rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(60, 151, 155, 0.06), rgba(76, 166, 170, 0.04));
  border-radius: 12px;
  border-left: 4px solid var(--cg-accent);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.clarify__text {
  font-size: 0.9375rem;
  color: var(--cg-dark-grey);
  margin: 0;
  line-height: 1.6;
}

.clarify__text em {
  font-style: italic;
  color: var(--cg-brand);
}

/* Coming soon */
.coming-soon {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--cg-white), var(--cg-pale-grey));
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(60, 151, 155, 0.15);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.coming-soon__text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cg-brand);
  margin: 0;
  position: relative;
  z-index: 1;
}

.coming-soon__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  background: radial-gradient(circle, rgba(60, 151, 155, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 0; }
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--cg-pale-grey) 0%, #E5E7EB 100%);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--cg-mid-grey);
  margin: 0;
}

/* Print */
@media print {
  .page-bg,
  .grid-pattern,
  .coming-soon__pulse {
    display: none;
  }

  .header {
    background: var(--cg-brand) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .hero__badge {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .feature-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Responsive */
@media (min-width: 48rem) {
  .header {
    padding: 1.25rem 2rem;
  }

  .main {
    padding: 4rem 2rem 5rem;
  }

  .hero__title {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }
}
