/* HOLYMIND landing — plain CSS, same design as TSX */

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-800: #92400e;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --emerald-500: #10b981;
  --blue-500: #3b82f6;
  --rose-400: #fb7185;
  --font-display: "Playfair Display", serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --max-w-6xl: 72rem;
  --max-w-4xl: 56rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

.page {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--slate-50), var(--white));
  overflow-x: hidden;
  max-width: 100vw;
}

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--max-w-6xl);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.nav-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 2px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--slate-900);
  user-select: none;
}

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

.nav-link {
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--slate-900);
}

.nav-link--cta {
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, var(--amber-500), var(--orange-600));
  color: var(--white);
  border-radius: 9999px;
  font-weight: 500;
}

.nav-link--cta:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
  color: var(--white);
}

@media (max-width: 640px) {
  .nav-link--hide-mobile {
    display: none;
  }

  .nav-inner {
    padding: 0.75rem 1rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
}

@media (max-width: 899px) {
  .hero {
    overflow-x: hidden;
  }
}

.hero-inner {
  max-width: var(--max-w-6xl);
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
  }

  .hero-arrow {
    grid-column: 1 / -1;
  }
}

.hero-content {
  text-align: left;
  min-width: 0;
}

@media (max-width: 640px) {
  .hero-content {
    text-align: center;
  }

  .hero-download-badges {
    justify-content: center;
  }
}

.hero-h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.hero-h1-accent {
  display: block;
  background: linear-gradient(to right, var(--amber-500), var(--orange-500), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 32rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .hero {
    padding: 7rem 1rem 3rem;
  }

  .hero-h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-badge-img {
    height: 2.5rem;
  }
}

.hero-download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-badge-link {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-badge-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.hero-badge-img {
  height: 2.75rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  min-width: 0;
}

@media (max-width: 899px) {
  .hero-phones {
    overflow-x: hidden;
  }
}

@media (min-width: 900px) {
  .hero-phones {
    justify-content: flex-end;
    align-items: center;
    min-height: 580px;
  }
}

.hero-phone {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  border-radius: 1.25rem;
  position: absolute;
  transform-origin: bottom right;
  top: 50%;
  right: 50%;
  margin-right: -125px;
  filter: none;
}

@media (max-width: 480px) {
  .hero-phones {
    min-height: 400px;
    justify-content: center;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .hero-phone {
    max-width: 180px;
    right: auto;
    margin-right: 0;
    left: 50%;
    margin-left: -90px;
    transform-origin: bottom center;
  }

  .hero-phone--1 {
    transform: translateY(-50%) rotate(0deg);
    z-index: 3;
  }

  .hero-phone--2 {
    transform: translateY(-50%) translateX(10px) rotate(24deg);
    z-index: 1;
  }

  .hero-phone--2.hero-phone--hover {
    transform: translateY(-50%) translateX(10px) scale(1.04) rotate(30deg);
  }

  .hero-phone--3 {
    transform: translateY(-50%) translateX(-10px) rotate(-24deg);
    z-index: 1;
  }

  .hero-phone--3.hero-phone--hover {
    transform: translateY(-50%) translateX(-10px) scale(1.04) rotate(-30deg);
  }
}

@media (min-width: 900px) {
  .hero-phone {
    max-width: 320px;
    margin-right: 0;
    right: 18%;
    left: auto;
  }

  .hero-phone--1 {
    transform: translateY(-50%) rotate(0deg);
    z-index: 3;
    pointer-events: none;
  }

  .hero-phone--2 {
    transform: translateY(-50%) rotate(24deg);
    z-index: 1;
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .hero-phone--2.hero-phone--hover {
    transform: translateY(-50%) scale(1.04) rotate(30deg);
  }

  .hero-phone--3 {
    transform: translateY(-50%) rotate(12deg);
    z-index: 2;
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .hero-phone--3.hero-phone--hover {
    transform: translateY(-50%) scale(1.04) rotate(16deg);
  }
  
  .hero-phone-trigger {
    position: absolute;
    top: 50%;
    right: 18%;
    width: 180px;
    height: 360px;
    transform-origin: bottom right;
    transform: translateY(-50%);
    pointer-events: auto;
    background: transparent;
  }
  
  .hero-phone-trigger--2 {
    z-index: 2;
    transform: translateY(-50%) rotate(24deg) translateX(-40px);
  }
  
  .hero-phone-trigger--3 {
    z-index: 3;
    transform: translateY(-50%) rotate(12deg) translateX(-10px);
  }
}

@media (min-width: 481px) and (max-width: 899px) {
  .hero-phone--1 {
    transform: translateY(-50%) rotate(0deg);
    z-index: 3;
    pointer-events: none;
  }

  .hero-phone--2 {
    transform: translateY(-50%) rotate(24deg);
    z-index: 1;
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .hero-phone--3 {
    transform: translateY(-50%) rotate(12deg);
    z-index: 2;
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .hero-phone-trigger {
    display: none;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn-icon--amber {
  color: var(--amber-500);
}

.btn-arrow {
  font-size: 1.25rem;
}

.btn--primary {
  background: var(--slate-900);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--slate-800);
  color: var(--white);
}

.btn--secondary {
  color: var(--slate-700);
  font-weight: 500;
}

.btn--secondary:hover {
  color: var(--slate-900);
}

.btn--outline {
  border: 1px solid var(--slate-200);
  color: var(--slate-900);
  font-weight: 600;
}

.btn--outline:hover {
  border-color: var(--slate-900);
}

.hero-arrow {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
  color: var(--slate-400);
  transition: color 0.2s;
}

.hero-arrow:hover {
  color: var(--slate-600);
}

.hero-arrow svg {
  width: 2.75rem;
  height: 2.75rem;
  animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-arrow svg {
    animation: none;
  }
}

/* ----- Features ----- */
.features {
  padding: 5rem 1.5rem;
  background: var(--white);
  overflow-x: hidden;
}

.features-inner {
  max-width: var(--max-w-6xl);
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 1rem;
}

.features-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

@media (max-width: 767px) {
  .features {
    padding: 3rem 1rem;
  }

  .features-header {
    margin-bottom: 2.5rem;
  }

  .features-title {
    font-size: 1.75rem;
  }

  .features-subtitle {
    font-size: 1rem;
  }

  .feature-card .feature-icon-wrap,
  .feature-card .feature-title,
  .feature-card .feature-desc {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .feature-title,
  .feature-desc {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem 0 0;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.feature-card .feature-icon-wrap,
.feature-card .feature-title,
.feature-card .feature-desc {
  padding-left: 2rem;
  padding-right: 2rem;
}

.feature-card .feature-icon-wrap {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.feature-card .feature-desc {
  padding-bottom: 2rem;
}

.feature-card:hover {
  background: var(--white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

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

.feature-icon-wrap--amber .feature-icon { color: var(--amber-500); }
.feature-icon-wrap--emerald .feature-icon { color: var(--emerald-500); }
.feature-icon-wrap--blue .feature-icon { color: var(--blue-500); }

.feature-icon-wrap--blue .feature-icon--book {
  color: var(--blue-500);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
}

.feature-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: brightness(0);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.75rem;
}

.feature-desc {
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

/* ----- Focus ----- */
.focus {
  padding: 5rem 1.5rem;
  background: linear-gradient(to bottom right, var(--slate-900), var(--slate-800), var(--slate-900));
  overflow-x: hidden;
}

.focus-inner {
  max-width: var(--max-w-6xl);
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 767px) {
  .focus {
    padding: 3rem 1rem;
  }

  .focus-title {
    font-size: 1.75rem;
  }

  .focus-desc {
    font-size: 1rem;
  }

  .focus-list-item span {
    font-size: 1rem;
  }

  .focus-card {
    padding: 1.5rem;
  }

  .focus-card-time {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .focus-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.focus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber-400);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.focus-badge-icon {
  width: 1rem;
  height: 1rem;
}

.focus-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.focus-title-accent {
  display: block;
  color: var(--amber-400);
}

.focus-desc {
  font-size: 1.125rem;
  color: rgb(203 213 225);
  line-height: 1.6;
  margin: 0 0 2rem;
}

@media (max-width: 767px) {
  .focus-badge,
  .focus-title,
  .focus-desc {
    text-align: center;
  }

  .focus-badge {
    justify-content: center;
  }
}

.focus-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.focus-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgb(203 213 225);
}

.focus-list-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(51, 65, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
}

.focus-list-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.focus-list-item span {
  font-size: 1.125rem;
}

.focus-card-wrap {
  position: relative;
}

.focus-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.2));
  border-radius: 1.5rem;
  filter: blur(2rem);
}

.focus-card {
  position: relative;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 1.5rem;
  padding: 2rem;
}

.focus-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

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

.focus-card-logo-wrap {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, var(--amber-500), var(--orange-600));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-card-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.focus-card-name {
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

.focus-card-session {
  color: var(--slate-400);
  font-size: 0.875rem;
  margin: 0;
}

.focus-card-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--emerald-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.focus-card-timer {
  text-align: center;
  padding: 2rem 0;
}

.focus-card-time {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.focus-card-label {
  color: var(--slate-400);
  margin: 0;
}

.focus-card-blocks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.focus-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 0.75rem;
}

.focus-block-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.focus-block-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--rose-400);
}

.focus-block span:first-of-type {
  color: rgb(203 213 225);
}

.focus-block-tag {
  color: var(--rose-400);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ----- Download ----- */
.download {
  padding: 5rem 1.5rem;
  background: var(--white);
  overflow-x: hidden;
}

.download-inner {
  max-width: var(--max-w-4xl);
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .download {
    padding: 3rem 1rem;
  }

  .download-title {
    font-size: 1.75rem;
  }

  .download-subtitle {
    font-size: 1rem;
  }

  .download-badge-img {
    height: 2.75rem;
    max-width: 100%;
  }
}

.download-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 1rem;
}

.download-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.download-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

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

.download-badge-link {
  transition: transform 0.2s;
}

.download-badge-link:hover {
  transform: scale(1.05);
}

.download-badge-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

/* ----- Footer ----- */
.footer {
  padding: 3rem 1.5rem;
  background: var(--slate-900);
  overflow-x: hidden;
}

.footer-inner {
  max-width: var(--max-w-6xl);
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-inner {
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-copy {
    font-size: 0.8125rem;
    text-align: center;
  }
}

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

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

.footer-logo-wrap {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(to bottom right, var(--amber-500), var(--orange-600));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.footer-copy {
  color: var(--slate-400);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}
