/* Homepage-only — uses locked --m-* palette */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="75"] { transition-delay: 75ms; }
[data-reveal-delay="150"] { transition-delay: 150ms; }
[data-reveal-delay="225"] { transition-delay: 225ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal-delay="375"] { transition-delay: 375ms; }
[data-reveal-delay="450"] { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hero */
.hero {
  background: var(--m-gradient-primary);
  color: var(--m-text-on-dark);
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--m-accent) 10%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero .hero-layout {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero .hero-layout {
    grid-template-columns: 1fr 320px;
    text-align: left;
  }
  .hero .hero-main {
    text-align: center;
  }
}

.hero-main {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--m-text-on-dark) 10%, transparent) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: homeHeroFloat 20s ease-in-out infinite;
  }
}

@keyframes homeHeroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo-img {
  display: block;
  max-width: min(320px, 88vw);
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--m-text-primary) 25%, transparent);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.hero-logo-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--m-text-primary) 30%, transparent);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 4px color-mix(in srgb, var(--m-text-primary) 30%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-anim {
    animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  .hero-anim--delay-150 { animation-delay: 150ms; }
  .hero-anim--delay-300 { animation-delay: 300ms; }
  .hero-anim--delay-450 { animation-delay: 450ms; }
  .hero-anim--delay-600 { animation-delay: 600ms; }
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero .meta-byline {
  display: inline-block;
  background: var(--m-accent-light);
  color: var(--m-accent-dark);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 400;
}

.hero-answer-capsule {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  font-weight: 400;
  color: color-mix(in srgb, var(--m-text-on-dark) 95%, transparent);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  background: color-mix(in srgb, var(--m-text-on-dark) 15%, transparent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.trust-badge {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.mbp-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.mbp-badge-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: color-mix(in srgb, var(--m-text-on-dark) 15%, transparent);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--m-text-on-dark) 30%, transparent);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.mbp-badge-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--m-text-primary) 20%, transparent);
}

.mbp-badge-hero img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--m-text-primary) 20%, transparent));
}

.mbp-badge-text {
  color: var(--m-text-on-dark);
  font-size: 1rem;
  font-weight: 600;
}

/* WhatsApp-style chat preview — visual reference: WhatsApp Web */
.chat-preview-wrap {
  display: none;
}

@media (min-width: 1024px) {
  .chat-preview-wrap {
    display: block;
    justify-self: end;
  }
}

.chat-preview {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 8px 24px color-mix(in srgb, var(--m-text-primary) 12%, transparent));
}

.chat-preview-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--m-text-secondary) 18%, transparent);
  background: var(--m-surface-0);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.chat-preview-appbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 56px;
  padding: 0 0.75rem;
  background: var(--m-brand-primary-dark);
  color: var(--m-text-on-dark);
  flex-shrink: 0;
}

.chat-preview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--m-text-on-dark) 22%, transparent);
  color: var(--m-text-on-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-preview-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-preview-sub {
  font-size: 0.72rem;
  color: color-mix(in srgb, var(--m-text-on-dark) 72%, transparent);
  line-height: 1.2;
}

.chat-preview-convo {
  flex: 1 1 auto;
  background-color: var(--m-wa-chat-wallpaper);
  background-image: radial-gradient(
    circle at 1px 1px,
    color-mix(in srgb, var(--m-text-primary) 6%, transparent) 1px,
    transparent 0
  );
  background-size: 12px 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.chat-preview-msgs {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0.5rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  overflow-y: auto;
}

.chat-row {
  display: flex;
  width: 100%;
}

.chat-row--in {
  justify-content: flex-start;
}

.chat-row--out {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 75%;
  padding: 0.35rem 0.5rem 0.25rem;
  box-shadow: 0 1px 1px color-mix(in srgb, var(--m-text-primary) 12%, transparent);
  position: relative;
}

.chat-bubble--in {
  background: var(--m-wa-bubble-incoming);
  color: var(--m-text-primary);
  border-radius: 12px 12px 12px 4px;
}

.chat-bubble--out {
  background: var(--m-wa-bubble-outgoing);
  color: var(--m-text-primary);
  border-radius: 12px 12px 4px 12px;
}

.chat-bubble-text {
  display: block;
  padding-right: 0.25rem;
  word-break: break-word;
}

.chat-bubble-meta {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: color-mix(in srgb, var(--m-text-secondary) 90%, transparent);
  margin-top: 0.15rem;
  line-height: 1;
  white-space: nowrap;
}

.chat-bubble-meta .chat-read {
  color: var(--m-wa-read-tick);
  margin-left: 0.15rem;
  letter-spacing: -0.12em;
}

.chat-typing-bubble {
  align-self: flex-start;
  background: var(--m-surface-0);
  border-radius: 12px 12px 12px 4px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 1px 1px color-mix(in srgb, var(--m-text-primary) 10%, transparent);
  display: flex;
  gap: 0.2rem;
  align-items: center;
  min-height: 2rem;
}

.chat-typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--m-text-secondary) 55%, transparent);
  animation: chatDot 1s ease-in-out infinite;
}

.chat-typing-bubble span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing-bubble span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatDot {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-typing {
  min-height: 0;
}

.chat-preview-composer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.4rem 0.5rem;
  background: var(--m-wa-composer-bg);
  border-top: 1px solid color-mix(in srgb, var(--m-text-secondary) 12%, transparent);
  flex-shrink: 0;
}

.chat-preview-composer-ic {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.65;
  flex-shrink: 0;
}

.chat-preview-composer-field {
  flex: 1 1 auto;
  background: var(--m-surface-0);
  border-radius: 20px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--m-text-secondary) 85%, transparent);
  border: 1px solid color-mix(in srgb, var(--m-text-secondary) 12%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .chat-bubble,
  .chat-typing-bubble span {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* Trust strip */
.trust-strip {
  padding: 24px 2rem;
  background: var(--m-surface-0);
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--m-text-secondary) 3%, transparent) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  text-align: center;
}

.trust-strip p {
  font-size: 1.05rem;
  color: var(--m-text-primary);
  font-weight: 600;
  margin: 0;
}

/* TODO: restore when real customer logos are added
.marquee {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

.logo-placeholder {
  flex: 0 0 120px;
  width: 120px;
  height: 60px;
  background: var(--m-surface-50);
  border: 1px solid color-mix(in srgb, var(--m-text-secondary) 25%, transparent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--m-text-secondary);
  text-align: center;
  padding: 4px;
}
*/

/* Stats */
.stats {
  background: var(--m-surface-0);
  padding: 3rem 2rem;
  text-align: center;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--m-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--m-text-secondary);
  font-size: 1.1rem;
}

.stat-item--fade .stat-number {
  animation: none;
}

/* Features bento */
.features {
  padding: 4rem 2rem;
  background: var(--m-surface-50);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--m-text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--m-text-secondary);
}

.features-bento {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .features-bento {
    grid-auto-rows: minmax(min-content, auto);
  }
  #tile-messaging {
    grid-column: 1 / span 6;
    grid-row: 1 / span 2;
  }
  #tile-automation {
    grid-column: 7 / span 6;
    grid-row: 1 / span 2;
  }
  #tile-commerce {
    grid-column: 1 / span 4;
    grid-row: 3 / span 2;
  }
  #tile-contacts {
    grid-column: 5 / span 4;
    grid-row: 3 / span 1;
  }
  #tile-developer {
    grid-column: 9 / span 4;
    grid-row: 3 / span 1;
  }
  #tile-operations {
    grid-column: 1 / span 12;
    grid-row: 5 / span 1;
  }
}

.bento-tile {
  background: var(--m-surface-50);
  border: 1px solid color-mix(in srgb, var(--m-accent) 8%, transparent);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--m-text-primary) 4%, transparent);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--m-text-primary) 8%, transparent);
}

.bento-tile h3 {
  color: var(--m-text-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bento-tile .feature-group-intro {
  color: var(--m-text-secondary);
  margin-bottom: 1.25rem;
}

.bento-subgrid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bento-subitem {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.bento-subitem .feature-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.bento-subitem h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--m-text-primary);
  margin: 0 0 0.25rem;
}

.bento-subitem p {
  font-size: 0.9rem;
  color: var(--m-text-secondary);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .features-bento {
    grid-template-columns: repeat(6, 1fr);
  }
  #tile-messaging { grid-column: span 6; }
  #tile-automation { grid-column: span 6; }
  #tile-commerce { grid-column: span 6; }
  #tile-contacts { grid-column: span 3; }
  #tile-developer { grid-column: span 3; }
  #tile-operations { grid-column: span 6; }
}

@media (max-width: 767px) {
  .features-bento {
    grid-template-columns: 1fr;
  }
  #tile-messaging,
  #tile-automation,
  #tile-commerce,
  #tile-contacts,
  #tile-developer,
  #tile-operations {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* Pricing home */
.pricing {
  padding: 4rem 2rem;
  background: var(--m-surface-0);
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 30%,
    color-mix(in srgb, var(--m-brand-primary) 5%, transparent) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.pricing > * {
  position: relative;
  z-index: 1;
}

.home-pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.home-pricing-grid .pricing-card {
  background: var(--m-surface-0);
  border: 1px solid color-mix(in srgb, var(--m-text-secondary) 20%, transparent);
  border-radius: 24px;
  padding: 40px;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  position: relative;
}

.home-pricing-grid .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--m-brand-primary) 15%, transparent);
}

.home-pricing-grid .pricing-card.featured {
  border: 2px solid var(--m-brand-primary);
  background: var(--m-surface-0);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  transform: none;
  background: var(--m-brand-primary);
  color: var(--m-text-on-dark);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.home-pricing-grid .features-list li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.home-pricing-grid .pricing-card.checks-done .features-list li {
  opacity: 1;
  transform: translateY(0);
}

.home-pricing-grid .btn-primary:hover {
  transform: scale(1.02);
}

.home-pricing-grid .btn-primary:active {
  transform: scale(0.98);
}

/* FAQ accordion home */
.faq-section.faq-section-home {
  padding: 4rem 2rem;
  background: var(--m-surface-50);
}

.faq-section-home .faq-container-home {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section-home .faq-item-home {
  background: var(--m-surface-0);
  border: 1px solid color-mix(in srgb, var(--m-text-secondary) 15%, transparent);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: background-color 200ms ease-out;
}

.faq-section-home .faq-item-home:hover {
  background: var(--m-surface-50);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--m-text-primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-q:focus-visible {
  outline: 2px solid var(--m-accent);
  outline-offset: -2px;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 400ms ease-out;
}

.faq-item-home.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease-out;
}

.faq-item-home.is-open .faq-panel {
  max-height: 1000px;
}

.faq-panel-inner {
  padding: 0 1.5rem 1.25rem;
}

.faq-panel-inner p {
  color: var(--m-text-secondary);
  line-height: 1.65;
  font-size: 0.98rem;
  margin: 0;
}

/* Blog teaser */
.blog-teaser {
  padding: 4rem 2rem;
  background: var(--m-surface-0);
}

.blog-teaser-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.blog-teaser-card {
  background: var(--m-surface-0);
  border: 1px solid color-mix(in srgb, var(--m-text-secondary) 18%, transparent);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  display: flex;
  flex-direction: column;
}

.blog-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--m-text-primary) 8%, transparent);
}

.blog-teaser-thumb {
  height: 140px;
  background: var(--m-accent-light);
  flex-shrink: 0;
}

.blog-teaser-card .blog-teaser-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-teaser-date {
  font-size: 0.8rem;
  color: var(--m-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.blog-teaser-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.blog-teaser-card h3 a {
  color: var(--m-text-primary);
  text-decoration: none;
}

.blog-teaser-card h3 a:hover {
  color: var(--m-accent);
}

.blog-teaser-card p {
  color: var(--m-text-secondary);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.blog-teaser-link {
  color: var(--m-accent);
  font-weight: 600;
  text-decoration: none;
}

.blog-teaser-all {
  max-width: 1200px;
  margin: 1.75rem auto 0;
  text-align: center;
}

.btn-ghost {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 2px solid var(--m-brand-primary);
  color: var(--m-brand-primary);
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--m-brand-primary) 10%, transparent);
  transform: translateY(-2px);
}

/* Auth */
.auth-section {
  padding: 4rem 2rem;
  background: var(--m-surface-50);
}

.auth-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.auth-card {
  background: var(--m-surface-0);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--m-text-primary) 10%, transparent);
  text-align: center;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  border: 2px solid transparent;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--m-text-primary) 15%, transparent);
}

.auth-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--m-text-on-dark);
}

.signin-icon {
  background: var(--m-gradient-primary);
}

.signup-icon {
  background: var(--m-gradient-primary);
}

.auth-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--m-text-primary);
  font-weight: 600;
}

.auth-card p {
  color: var(--m-text-secondary);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-section {
  padding: 4rem 2rem;
  background: var(--m-surface-50);
}

.contact-section .contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  transition: background 200ms ease-out;
}

.contact-item:hover {
  background: color-mix(in srgb, var(--m-accent) 5%, var(--m-surface-0));
}

.contact-icon-svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--m-brand-primary);
  transition: transform 200ms ease-out;
}

.contact-item:hover .contact-icon-svg {
  transform: scale(1.1);
}

.contact-item h4 {
  color: var(--m-text-primary);
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--m-accent);
}

.contact-item p {
  margin: 0;
  color: var(--m-text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo-img {
    max-width: min(260px, 90vw);
  }
}
