/* =========================================================
   GLOBAL STYLES (all pages)
   ========================================================= */
:root {
  /* Main colors */
  --myracle-primary: #0b5ed7;
  --myracle-active: #174e9f;

  /* Text colors */
  --myracle-text: #0f172a;
  --myracle-muted: #64748b;

  /* Backgrounds */
  --myracle-bg: #f5f5f7; /* page background */
  --myracle-soft: #f6f8fb;

  /* Borders + corners */
  --myracle-border: #e5e7eb;
  --myracle-radius: 16px;

  /* HOME left/right gutter: change this to move home banner/cards in or out */
  --home-side-gutter: 40px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif;
  color: var(--myracle-text);
  background: var(--myracle-bg);

  /* Push page down so the fixed header does not cover content */
  padding-top: 72px; /* adjust if navbar height changes */
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* =========================================================
   NAVBAR / HEADER
   ========================================================= */

/* Fixed header - always visible */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #ffffff;
  border-bottom: 1px solid var(--myracle-border);
}

#mainNav.navbar {
  padding: 0;
}

/* One-page revision header layout */
.main-nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}

.main-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px; /* gap between Login and Create Account */
  margin-left: auto;
}

.myracle-logo {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Logo spacing control */
.myracle-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 184px;
  margin-left: 0;
  margin-right: 0;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  width: 69px;
  height: 32px;
  padding: 8px 16px;

  border-radius: 6px;
  border: 0.5px solid #d6d6d6;
  background: #ebf5ff;
  color: #174e9f;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 17px;
}

.btn-login:hover {
  color: #174e9f;
  background: #e2efff;
  border-color: #c6d8ef;
}

.btn-create-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  height: 32px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 0.5px solid #174e9f;
  background: #174e9f;
  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
}

.btn-create-account:hover {
  color: #ffffff;
  background: #123d7a;
  border-color: #123d7a;
}

@media (min-width: 992px) {
  .myracle-logo img {
    margin-right: 0;
  }
}

/* Nav link default (black) */
.navbar .nav-link {
  font-family: "Inter", sans-serif;
  font-weight: 400; /* Regular */
  font-size: 14px;
  line-height: 1; /* 100% */
  letter-spacing: 0;

  color: #000 !important;
  text-align: center;

  display: flex;
  align-items: center; /* vertical center inside navbar */
  justify-content: center;

  opacity: 0.95;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

/* Nav link hover */
.navbar .nav-link:hover {
  color: var(--myracle-active) !important;
  opacity: 1;
}

/* Nav link active (ScrollSpy adds .active automatically) */
.navbar .nav-link.active {
  color: var(--myracle-active) !important;
  opacity: 1;
}
#mainNav .navbar-collapse {
  justify-content: flex-end; /* push nav items to the right */
  gap: 12px; /* spacing between links and button */
}

@media (max-width: 991.98px) {
  .main-nav-inner {
    padding: 8px 16px;
  }

  .myracle-logo img {
    max-width: 80px;
    width: auto;
    height: auto;
  }

  .main-nav-actions {
    gap: 8px;
  }

  .btn-create-account {
    padding: 8px 12px;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-myracle {
  background: var(--myracle-primary);
  border: 1px solid var(--myracle-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 14px;
}

.btn-myracle:hover {
  filter: brightness(0.95);
  color: #fff;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  padding: 64px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero p {
  color: var(--myracle-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 52ch;
}

/* =========================================================
   CARD / CONTAINER STYLES
   ========================================================= */
.card-soft {
  border: 1px solid var(--myracle-border);
  border-radius: var(--myracle-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

/* =========================================================
   GENERIC SECTIONS
   ========================================================= */
.app-tiles-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.section {
  padding: 44px 0;
}
/* Reduce space AFTER Appreneur Studio only */
#studio {
  padding-bottom: 12px; /* adjust: 16–32px */
}

/* Reduce space BEFORE tiles only */
.app-tiles-section {
  padding-top: 12px; /* adjust: 16–32px */
}

/* Whole tile clickable + hover scale */
.app-tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.app-tile-link .app-tile {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  transform-origin: center;
}

/* hover */
.app-tile-link:hover .app-tile {
  transform: scale(1.01);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
}

/* keyboard focus */
.app-tile-link:focus-visible .app-tile {
  outline: 2px solid rgba(23, 78, 159, 0.35);
  outline-offset: 4px;
  transform: scale(1.01);
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--myracle-muted);
  margin-bottom: 22px;
}

/* =========================================================
   SAFETY BACKGROUNDS (prevents background “bleeding”)
   ========================================================= */
#why,
.app-tiles-section {
  background: var(--myracle-bg);
}

/* =========================================================
   APPRNEUR STUDIO - TITLE/TEXT (NO GRADIENT HERE)
   ========================================================= */

/* Figma-like title/subtitle container (Auto layout column + gap 20) */
.studio-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 669px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.studio-title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: #333433;
  margin: 0;
}

/* Subtitle */
.studio-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #333433;
  margin: 0;
}

/* =========================================================
   APPRNEUR STUDIO — BACKGROUND (ONLY THIS SECTION)
   ========================================================= */

/* Background applies ONLY behind studio phone images */
.appreneur-section {
  padding: 12px 0;
}

.studio-images-bg {
  background: radial-gradient(ellipse at center, #ffffff 0%, #e4e4e4 100%);

  padding: 40px 0 50px;
}

/* =========================================================
   APPRNEUR STUDIO 
   ========================================================= */
.studio-images-bg .container {
  max-width: 1442px;
  padding: 0;
}

.studio-phones {
  display: flex;
  justify-content: center;
  gap: 22.44px;
  width: min(944.3px, calc(100% - 32px));
  margin: 40px auto 0;
}

.studio-phone {
  position: relative;
  width: calc((100% - 67.32px) / 4);
  aspect-ratio: 219.25 / 450;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.studio-phone img {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  object-fit: contain;
}

/* =========================================================
   APP TILES LAYOUT (NO OUTER MARGINS, 12px INTERNAL GAP)
   ========================================================= */

/* Remove left/right padding from container */
.app-tiles-container {
  padding-left: 0;
  padding-right: 0;
}

/* Custom row spacing */
.app-tiles-row {
  --tile-gap: 12px;
  margin-left: 0;
  margin-right: 0;
}

/* Each column spacing (middle only) */
.app-tiles-row > [class*="col-"] {
  padding-left: calc(var(--tile-gap) / 2);
  padding-right: calc(var(--tile-gap) / 2);
  padding-bottom: var(--tile-gap);
}

/* Remove outermost horizontal padding */
.app-tiles-row > [class*="col-"]:first-child {
  padding-left: 0;
}
.app-tiles-row > [class*="col-"]:last-child {
  padding-right: 0;
}

/* =========================================================
   APP TILE CARD (each tile)
   ========================================================= */
.app-tile {
  position: relative;
  height: 600px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Tile background presets */
.tile-bg-default {
  background: linear-gradient(180deg, #fbfbfb 0%, #f4f4f4 100%);
}
.tile-bg-warm {
  background: linear-gradient(180deg, #fffdf6 0%, #f8f2dc 100%);
}
.tile-bg-cool {
  background: linear-gradient(180deg, #f7fbff 0%, #e9f1ff 100%);
}

/* Tile title + subtitle block */
.tile-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 499px;
  margin: 36px auto 0;
  padding: 0 18px;
}

/* APPRNEUR APP TILES — typography (Figma) */
.tile-title {
  font-family: "Inter", sans-serif;
  font-weight: 600; /* Semi Bold */
  font-size: 24px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  text-align: center;

  width: 100%;
  max-width: 499px; /* Figma width */
  margin: 0 auto;

  color: #111827;
}

.tile-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400; /* Regular */
  font-size: 16px;
  line-height: 1.3; /* 130% */
  letter-spacing: 0;
  text-align: center;

  margin: 0 auto;
  max-width: 499px; /* keeps text width aligned with title */
  color: #6b7280;
}

/* Tile buttons container */
.tile-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

/* Buttons */
.tile-btn-primary {
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  background: #174e9f;
  border-color: #174e9f;
}
.tile-btn-primary:hover {
  background: #134386;
  border-color: #134386;
}
.tile-btn-outline {
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
}

/* Optional illustration behind phone */
.tile-back {
  position: absolute;
  width: 550px;
  height: auto;
  opacity: 0.95;
  top: 58%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.tile-back-left {
  left: -90px;
}
.tile-back-right {
  right: -90px;
}

/* Phone screenshot positioning (EDIT THIS to make phone bigger/smaller) */
.tile-phone-wrap {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);

  width: 620px; /* ✅ MAIN SIZE CONTROL */
  max-width: 85%; /* ✅ responsive cap */
}

/* Tile phone image */
.tile-phone {
  width: 100%;
  height: auto;
  display: block;

  /* If your tile images already have shadows, set this to 'none' */
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.18));
}

/* Bottom fade inside tile */
.tile-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.06) 100%
  );
  opacity: 0.25;
  pointer-events: none;
}

/* =========================================================
   APPRNEUR STUDIO — CTA (2 cards, like Why Myracle)
   ========================================================= */
.studio-cta {
  background: var(--myracle-bg);
  padding: 12px 1px; /* ✅ 12 top/bottom, 1 left/right */
}

.studio-cta-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; /* ✅ middle spacing */
}

.studio-cta-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* When studio-cta-link is a <button>, remove default button UI */
button.studio-cta-link {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: inherit;
}

/* Remove default focus ring (optional) */
button.studio-cta-link:focus {
  outline: none;
}

/* Keep an accessible focus style */
button.studio-cta-link:focus-visible .studio-cta-card {
  outline: 2px solid rgba(23, 78, 159, 0.35);
  outline-offset: 4px;
}

/* ✅ Figma size: 714 x 400 -> lock ratio instead of fixed height */
.studio-cta-card {
  position: relative;
  width: 100%;
  aspect-ratio: 714 / 400; /* 🔥 fixes “zoomed” look */
  border-radius: 0; /* ✅ no curve edges */
  overflow: hidden;
  background: #fff;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

/* ✅ image fills the card correctly */
.studio-cta-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center; /* change to 'center top' if faces get cut */
}

.studio-cta-overlay {
  position: absolute;
  inset: 0;
}

.studio-cta-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 33px;
  top: 328px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;

  color: #ffffff;
}

.studio-cta-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
}

.studio-cta-title {
  width: auto;
  max-width: none;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

.studio-cta-desc {
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.studio-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 32px;
  padding: 0 12px;

  background: #ffffff;
  color: #174e9f;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.studio-cta-card--form {
  position: relative;
  aspect-ratio: auto;
  height: 545px;
  display: block;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  overflow: hidden;
}

.studio-cta-card--form::before {
  content: "";
  position: absolute;
  top: 0;
  height: 545px;
  left: calc(100% - 320px - 204px);
  width: 320px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.66) 8.49%,
    rgba(255, 255, 255, 0.93) 15.04%,
    #ffffff 20.15%
  );
}

.studio-cta-form-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 330px;
  height: 545px;
  aspect-ratio: 66 / 109;
  background: lightgray center center / 100% 100% no-repeat;
}

.studio-cta-form-pane {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 532px;
  height: 545px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 44px 48px 32px 48px;
  box-sizing: border-box;
  background: transparent;
}

.studio-cta-form-stack {
  display: flex;
  width: 320px;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-left: auto;
  height: 100%;
}

.studio-cta-form-title {
  width: 320px;
  max-width: 100%;
  margin: 0;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.studio-cta-form-fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: visible;
}

.studio-cta-form-row {
  width: 320px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 154px));
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.studio-cta-form-row .studio-cta-form-field {
  width: 154px;
}

.studio-cta-form-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0;
}

.studio-cta-form-fields > .studio-cta-form-field {
  width: 320px;
  max-width: 100%;
}

.studio-cta-form-field label {
  width: 154px;
  height: 17px;
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
}

.studio-cta-form-field input,
.studio-cta-form-field select {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 0 12px;
  box-sizing: border-box;
  color: #111827;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.studio-cta-form-field input:focus,
.studio-cta-form-field select:focus {
  outline: none;
  border-color: #174e9f;
  box-shadow: 0 0 0 3px rgba(23, 78, 159, 0.12);
}

.studio-cta-form-feedback {
  position: absolute;
  left: -224px;
  top: var(--feedback-top, 20px);
  width: 200px;
  max-width: 200px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--feedback-border, transparent);
  background: var(--feedback-bg, #fff);
  color: var(--feedback-text, #111827);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(14px, -50%, 0) scale(0.96);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  z-index: 8;
}

.studio-cta-form-feedback::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--feedback-bg, #fff);
  border-top: 1px solid var(--feedback-border, transparent);
  border-right: 1px solid var(--feedback-border, transparent);
}

.studio-cta-form-feedback.is-visible {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
}

.studio-cta-form-feedback.is-success {
  --feedback-text: #065f46;
  --feedback-bg: #ecfdf5;
  --feedback-border: #a7f3d0;
}

.studio-cta-form-feedback.is-error {
  --feedback-text: #991b1b;
  --feedback-bg: #fef2f2;
  --feedback-border: #fecaca;
}

.studio-cta-form-btn {
  margin: auto 0 0;
  align-self: flex-end;
  display: flex;
  width: 117px;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #0047ab;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}

.studio-cta-form-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.studio-cta-form-btn:active {
  transform: translateY(0) scale(0.995);
}

.studio-cta-form-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.studio-cta-card--account {
  aspect-ratio: auto;
  height: 545px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.04);
  border-radius: 0;
  overflow: hidden;
}

.studio-account-banner {
  width: 100%;
  height: 233px;
  flex-shrink: 0;
  background: #0047ab center center / cover no-repeat;
}

.studio-account-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 20px 101px 32px;
  box-sizing: border-box;
}

.studio-account-title {
  width: 512px;
  max-width: 100%;
  margin: 0 0 20px;
  white-space: nowrap;
  color: #333433;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.studio-account-features {
  width: 512px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.studio-account-feature {
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #f6f6f6;
  text-align: center;
}

.studio-account-feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #0047ab;
  flex-shrink: 0;
}

.studio-account-feature-icon svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.studio-account-feature-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.studio-account-feature-text {
  color: #333433;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.studio-account-actions {
  width: 512px;
  max-width: 100%;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.studio-account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 0;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}

.studio-account-btn--primary {
  background: #0047ab;
  border-color: #0047ab;
  color: #ffffff;
}

.studio-account-btn--secondary {
  background: #ebf5ff;
  border: 1px solid #d6d6d6;
  color: #0047ab;
}

.studio-account-btn:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.studio-account-btn:active {
  transform: translateY(0) scale(0.995);
}

.studio-cta-link:hover .studio-cta-card {
  transform: scale(1.01);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
}

.studio-cta-link:active .studio-cta-card {
  transform: scale(0.97);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.1);
}

/* mobile */
@media (max-width: 992px) {
  .studio-cta-grid {
    grid-template-columns: 1fr;
  }
  .studio-cta-card--form {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .studio-cta-card--account {
    height: auto;
  }

  .studio-cta-card--form::before {
    display: none;
  }

  .studio-cta-form-image {
    position: static;
    width: 100%;
    height: 320px;
  }

  .studio-cta-form-pane {
    position: static;
    width: 100%;
    height: auto;
    padding: 28px 24px 24px;
  }

  .studio-cta-form-stack {
    width: 100%;
    margin-left: 0;
  }

  .studio-cta-form-row {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .studio-cta-form-row .studio-cta-form-field {
    width: 100%;
  }

  .studio-cta-form-fields > .studio-cta-form-field {
    width: 100%;
  }

  .studio-cta-form-feedback {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(-2px);
    left: auto;
    top: auto;
  }

  .studio-cta-form-feedback::after {
    display: none;
  }

  .studio-cta-form-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .studio-account-banner {
    height: 200px;
  }

  .studio-account-body {
    padding: 20px 24px 24px;
  }

  .studio-account-title,
  .studio-account-features,
  .studio-account-actions {
    width: 100%;
    max-width: 512px;
  }

  .studio-account-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .studio-account-feature {
    width: 156px;
    height: 156px;
  }
}

@media (max-width: 576px) {
  .studio-cta-form-image {
    position: relative;
    overflow: hidden;
  }

  /* Mobile-only: fade banner image into the form area (bottom -> top) */
  .studio-cta-form-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    pointer-events: none;
    background: linear-gradient(
      to top,
      #ffffff 0%,
      rgba(255, 255, 255, 0.93) 15.04%,
      rgba(255, 255, 255, 0.66) 33%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .studio-cta-content {
    top: auto;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .studio-cta-title {
    white-space: normal;
    font-size: 20px;
    line-height: 1.2;
  }

  .studio-cta-btn {
    height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .studio-account-banner {
    height: 180px;
  }

  .studio-account-features {
    flex-direction: column;
    align-items: center;
  }

  .studio-account-feature {
    width: 100%;
    max-width: 320px;
    height: 140px;
  }

  .studio-account-actions {
    width: auto;
    max-width: none;
    margin: 8px auto 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .studio-account-btn {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    height: 32px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    border: 0.5px solid transparent;
    appearance: none;
    -webkit-appearance: none;
  }

  .studio-account-actions .studio-account-btn--primary {
    min-width: 128px;
    border-radius: 8px;
    background: #174e9f;
    border-color: #174e9f;
    color: #ffffff;
    order: 1;
  }

  .studio-account-actions .studio-account-btn--secondary {
    min-width: 128px;
    border-radius: 6px;
    background: #ebf5ff;
    border-color: #d6d6d6;
    color: #174e9f;
    font-weight: 500;
    line-height: 17px;
    order: 2;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .app-tile {
    height: 560px;
  }
  .tile-back {
    width: 420px;
  }
  .tile-phone-wrap {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .app-tile {
    height: 520px;
  }
  .tile-phone-wrap {
    width: 260px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--myracle-border);
  height: 100px; /* Figma */
  display: flex;
  align-items: center;
}

.footer-container {
  display: flex;
  width: 100%;
  padding: 0 40px;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 28px;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;

  color: #0047ab;
}

.footer-copy {
  color: #0047ab;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

.footer-link {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;

  color: #0047ab;
  text-decoration: none;
}

.footer-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
}

.footer-link:hover {
  text-decoration: underline;
  color: #0047ab;
}

.footer-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-connect {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #0047ab;
}

.footer-social-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social {
  width: 28px;
  height: 28px;
  background: #0047ab;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}

.footer-social svg {
  display: block;
  flex-shrink: 0;
}

.footer-social--facebook svg {
  width: 28px;
  height: 28px;
}

.footer-social--linkedin svg {
  width: 18px;
  height: 18px;
}

.footer-social--youtube svg {
  width: 16px;
  height: 12px;
}

.footer-social--viber {
  width: 28px;
  height: 28px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.footer-social--viber svg {
  width: 32px;
  height: 32px;
}

.footer-social--email svg {
  width: 18px;
  height: 14px;
}

.coming-soon-modal .modal-dialog {
  max-width: 420px;
}

.coming-soon-modal .modal-content {
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.22),
    0 2px 8px rgba(15, 23, 42, 0.12);
}

.coming-soon-modal .modal-header {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.coming-soon-modal .modal-title {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.coming-soon-modal .modal-body {
  padding: 16px;
  color: #334155;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.coming-soon-modal .modal-footer {
  padding: 0 16px 16px;
  border-top: 0;
}

.coming-soon-btn {
  min-width: 104px;
  height: 36px;
  border: 1px solid #174e9f;
  border-radius: 8px;
  background: #174e9f;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.coming-soon-btn:hover {
  background: #123d7a;
  border-color: #123d7a;
}

.legal-modal .modal-dialog {
  max-width: 820px;
}

.legal-modal .modal-content {
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.22),
    0 2px 8px rgba(15, 23, 42, 0.12);
}

.legal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.legal-modal .modal-title {
  margin: 0;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.legal-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-modal-kicker {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  width: fit-content;
  background: #e8f1ff;
  color: #174e9f;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-modal .btn-close {
  margin: 2px 0 0 8px;
  opacity: 0.75;
}

.legal-modal .btn-close:hover {
  opacity: 1;
}

.legal-modal-body {
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding: 22px 24px;
  color: #334155;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  background: #ffffff;
}

.legal-modal-body p {
  margin: 0 0 14px;
}

.legal-modal-body p:last-child {
  margin-bottom: 0;
}

.legal-modal-footer {
  border-top: 1px solid #eef2f7;
  padding: 12px 20px 14px;
  background: #fbfdff;
}

.legal-modal-btn {
  min-width: 108px;
  height: 36px;
  border: 1px solid #174e9f;
  border-radius: 8px;
  background: #174e9f;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.legal-modal-btn:hover {
  background: #123d7a;
  border-color: #123d7a;
}

.legal-modal-btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .footer-left {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
  }

  .footer-copy {
    justify-self: start;
    text-align: left;
  }

  .footer-left .footer-link-btn:nth-of-type(1) {
    justify-self: center;
    text-align: center;
  }

  .footer-left .footer-link-btn:nth-of-type(2) {
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 576px) {
  .coming-soon-modal .modal-dialog {
    max-width: calc(100vw - 24px);
    margin: 12px auto;
  }

  .coming-soon-modal .modal-title {
    font-size: 18px;
  }

  .coming-soon-modal .modal-body {
    font-size: 14px;
  }

  .coming-soon-btn {
    width: 100%;
  }

  .legal-modal .modal-dialog {
    max-width: calc(100vw - 24px);
    margin: 12px auto;
  }

  .legal-modal-header {
    padding: 14px 16px;
  }

  .legal-modal .modal-title {
    font-size: 19px;
  }

  .legal-modal-kicker {
    font-size: 11px;
  }

  .legal-modal-body {
    max-height: 62vh;
    padding: 16px;
    font-size: 14px;
  }

  .legal-modal-footer {
    padding: 10px 16px 12px;
  }

  .legal-modal-btn {
    width: 100%;
  }

  .site-footer {
    height: auto;
    padding: 18px 0;
  }

  .footer-container {
    height: auto;
    padding: 0 16px;
    flex-direction: column;
    gap: 14px;
  }

  .footer-left {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
  }

  .footer-copy {
    justify-self: start;
    text-align: left;
  }

  .footer-left .footer-link-btn:nth-of-type(1) {
    justify-self: center;
    text-align: center;
  }

  .footer-left .footer-link-btn:nth-of-type(2) {
    justify-self: end;
    text-align: right;
  }

  .footer-right {
    margin-left: 0;
    align-items: center;
  }

  .footer-social-list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================================================
   HEADER BUTTON: MYRACLE ACCOUNT (128x32)
   ========================================================= */

.btn-myracle-account {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px;

  width: 128px;
  height: 32px;

  background: #174e9f; /* ✅ new color */
  border: 1px solid #174e9f;
  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #ffffff;
  border-radius: 8px;

  transition:
    background 0.2s ease,
    transform 0.05s ease;
}

/* Hover state */
.btn-myracle-account:hover {
  background: #123d7a; /* slightly darker on hover */
  border-color: #123d7a;
  color: #ffffff;
}

/* Click (active) state */
.btn-myracle-account:active {
  transform: scale(0.97); /* subtle press effect */
}

/* =========================================================
   KICKSTART TOOLBOX — TOP HERO BANNER (FULL WIDTH)
   ========================================================= */
.toolbox-hero {
  width: 100%;
  height: 350px; /* adjust if you want taller */
  background: #174e9f; /* fallback blue like screenshot */
  overflow: hidden;
}
@media (max-width: 576px) {
  .toolbox-hero {
    height: 220px;
  }

  .toolbox-hero img {
    object-position: center top; /* keeps top visible */
  }
}

.toolbox-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* fills the banner */
  object-position: center; /* adjust if image needs reposition */
}

/* =========================================================
   KICKSTART TOOLBOX — LOGBOOK SHOWCASE (BG LOGO + PHONES)
   ========================================================= */
.logbook-showcase {
  background: #ffffff;
  padding: 70px 0 90px;
  overflow: hidden;
  position: relative;
}

.logbook-showcase--home .container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Background MYRACLE LOGBOOK logo behind phones */
.logbook-bg-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: min(1200px, 90vw);
  height: auto;

  opacity: 1; /* solid */
  pointer-events: none;
  user-select: none;
}

.logbook-phones {
  position: relative;

  /* Figma: logbook-carousel container */
  width: 645.16px;
  height: 650px;

  margin: 0 auto; /* centers it */
}

/* slides stacked on top of each other */
.logbook-phone-slide {
  position: absolute;

  /* Figma: phone container */
  width: 316.68px;
  height: 650px;

  left: 50%;
  top: 0;
  transform: translateX(-50%); /* centers base phone */

  object-fit: contain;

  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.2));
}

/* visible slide */
.logbook-phone-slide.is-active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 3;
}

/* optional: make it look like 3 phones (left and right hints) */
.logbook-phone-slide.is-left {
  opacity: 1;
  transform: translateX(calc(-50% - 170px)) scale(0.92);
  z-index: 2;
}

.logbook-phone-slide.is-right {
  opacity: 1;
  transform: translateX(calc(-50% + 170px)) scale(0.92);
  z-index: 1;
}

@media (max-width: 992px) {
  .logbook-showcase .container {
    min-height: 460px;
  }
  .logbook-phones {
    height: 460px;
  }
  .logbook-phone-slide {
    width: 260px;
  }
  .logbook-phone-slide.is-left {
    transform: translateX(-160px) rotate(-2deg) scale(0.95);
  }
  .logbook-phone-slide.is-right {
    transform: translateX(160px) rotate(2deg) scale(0.95);
  }
}

@media (max-width: 576px) {
  .logbook-showcase {
    padding: 40px 0 50px;
  }

  .logbook-bg-logo {
    width: 140%;
  }

  .logbook-phones {
    max-width: 360px;
    height: 420px;
  }

  .logbook-phone-slide {
    width: 180px;
    height: 420px;
  }

  .logbook-phone-slide.is-left {
    transform: translateX(calc(-50% - 80px)) scale(0.82);
    opacity: 0.85;
  }

  .logbook-phone-slide.is-right {
    transform: translateX(calc(-50% + 80px)) scale(0.82);
    opacity: 0.85;
  }
}

@media (max-width: 768px) {
  .logbook-phones {
    width: 100%;
    max-width: 420px;
    height: 480px;
    margin: 0 auto;
  }

  .logbook-phone-slide {
    width: 200px;
    height: 480px;
  }

  /* keep side phones visible but closer + smaller */
  .logbook-phone-slide.is-left {
    transform: translateX(calc(-50% - 95px)) scale(0.84);
    opacity: 0.9;
  }

  .logbook-phone-slide.is-right {
    transform: translateX(calc(-50% + 95px)) scale(0.84);
    opacity: 0.9;
  }
}
/* ================================
   WHY MYRACLE - TOP BANNER (CMS)
   ================================ */
.why-hero-banner {
  width: 1440px;
  height: 350px; /* Figma */
  max-width: calc(100% - 2px); /* 1px left + 1px right */
  margin: 0 auto; /* no space below header */
  border-radius: 12px; /* rounded corners */
  overflow: hidden;
  background: var(--myracle-bg);
}
.why-hero-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px; /* match banner corners */
}

/* ================================
   WHY MYRACLE - TITLE + DESC
   ================================ */
.why-title-desc {
  background: #fff;
  padding: 40px 0 0;
}
.why-title-wrap {
  width: 669px; /* Figma */
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px; /* space between title and text */
  align-items: center;
  text-align: center;
}
.why-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 61px;
  margin: 0;
  color: #174e9f;
}
.why-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  margin: 0;
  color: #333433;
}

/* ================================
   WHY MYRACLE - ASPECTS GRID (6)
   ================================ */
.why-aspects {
  background: #fff;
  padding: 42px 0 50px;
}

.why-aspects-container {
  width: 1084px;
  height: 696px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: space-between;
  gap: 0;
  margin: 0 auto;
  position: relative;

  /* 🔥 PERFECT GRID LINES */
  background:
    /* vertical line 1 */
    linear-gradient(#bdbdbd, #bdbdbd) 33.333% 0 / 3px 100% no-repeat,
    /* vertical line 2 */ linear-gradient(#bdbdbd, #bdbdbd) 66.666% 0 / 3px 100%
      no-repeat,
    /* horizontal middle line */ linear-gradient(#bdbdbd, #bdbdbd) 0 50% / 100%
      3px no-repeat;
}

/* GRID CELL (keeps divider lines) */
.why-aspect {
  width: 300px;
  height: 300px;
  position: relative;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 27.69px;

  background: transparent;
}

/* INNER CARD (this is what zooms) */
.why-aspect::before {
  content: "";
  position: absolute;

  /* 👇 Top touches grid line */
  top: 16px;

  /* 👇 Side spacing from grid lines */
  left: 16px;
  right: 16px;

  /* 👇 Bottom spacing */
  bottom: 16px;

  background: transparent;
  border-radius: 6px;
  box-shadow: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;

  z-index: 0;
}

.why-aspect > * {
  position: relative;
  z-index: 1;
}

/* Hover = slight lift */
.why-aspect:hover::before {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: scale(1.015);
}

/* Click / Press = push down like Apple buttons */
.why-aspect:active::before {
  transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* ICON STYLE */
.why-aspect-icon {
  width: 110px;
  height: 110px;
  background: #174e9f;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-aspect-icon svg {
  width: 50px;
  height: 50px;
  fill: #ffffff;
}

/* LABEL */
.why-aspect-label {
  width: 231px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #333433;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .why-title-wrap {
    width: 100%;
    padding: 0 24px;
  }

  .why-title {
    font-size: 36px;
    line-height: 44px;
  }

  .why-desc {
    font-size: 16px;
  }

  .why-aspects-container {
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 0;
    padding: 0 24px;
  }

  .why-aspect {
    width: 100%;
    height: auto;
    padding: 36px 20px;
  }

  .why-aspect::before {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 680px) {
  .why-title-wrap {
    padding: 0 16px;
  }

  .why-aspects-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    padding: 0 12px;
    background:
      /* vertical line 1 */
      linear-gradient(#bdbdbd, #bdbdbd) 33.333% 0 / 2px 100% no-repeat,
      /* vertical line 2 */ linear-gradient(#bdbdbd, #bdbdbd) 66.666% 0 / 2px
        100% no-repeat,
      /* horizontal middle line */ linear-gradient(#bdbdbd, #bdbdbd) 0 50% /
        100% 2px no-repeat;
  }

  .why-aspect {
    padding: 18px 8px;
    gap: 12px;
  }

  .why-aspect-icon {
    width: 64px;
    height: 64px;
  }

  .why-aspect-icon svg {
    width: 28px;
    height: 28px;
  }

  .why-aspect-label {
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
  }
}

@media (max-width: 992px) and (min-width: 681px) {
  .why-aspects-container {
    background:
      /* 1 vertical line between 2 cols */
      linear-gradient(#bdbdbd, #bdbdbd) 50% 0 / 3px 100% no-repeat,
      /* horizontal line between rows (optional, looks nice) */
        linear-gradient(#bdbdbd, #bdbdbd) 0 50% / 100% 3px no-repeat;
  }
}

/* ================================
   WHY MYRACLE - FEATURE CARDS (4)
   ================================ */
/* Make the whole feature card clickable */
.why-feature-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Motion like your app tiles (smooth + subtle) */
.why-feature-link .why-feature-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

/* Hover = gentle lift */
.why-feature-link:hover .why-feature-card {
  transform: scale(1.015);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
}

/* Press = subtle push down like Apple */
.why-feature-link:active .why-feature-card {
  transform: scale(0.985);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.1);
}

.why-features {
  background: #fff;
  padding: 10px 0 12px;
}

/* GRID WRAPPER — full width, no side spacing */
.why-features-grid {
  width: 100%;
  margin: 0; /* remove centering gap */
  padding: 0; /* remove inner spacing */

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; /* ✅ only middle spacing */
}

/* One card (image + gradient + text + button) */
.why-feature-card {
  position: relative;
  width: 100%;
  height: 500px; /* Figma */
  border-radius: 0px;
  overflow: hidden;
  background: #ffffff;
}

.why-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark-to-blue gradient on bottom */
.why-feature-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
}

/* Text + button area */
.why-feature-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #ffffff;
}

/* Title + description */
.why-feature-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 474px; /* Figma */
}

.why-feature-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.why-feature-desc {
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

/* Read button */
.why-feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  background: #ffffff;
  color: #174e9f;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.why-feature-btn:hover {
  filter: brightness(0.95);
}

.why-feature-btn-text {
  line-height: 1;
}

.why-feature-btn-arrow {
  line-height: 1;
}

@media (max-width: 992px) {
  .why-features-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .why-feature-card {
    width: 100%;
    height: auto;
    min-height: 320px;
  }
}
/* =========================
   HOME - SWIPEABLE BANNER
   ========================= */
/* Make horizontal swipe feel responsive */
#homeBannerCarousel,
#homeBannerCarousel .carousel-inner,
#homeBannerCarousel .carousel-item {
  touch-action: pan-y; /* allow vertical scroll, but we will handle horizontal */
}

/* Smoother slide animation */
#homeBannerCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Disable image dragging/selection */
#homeBannerCarousel img,
#homeBannerCarousel a {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.home-banner .carousel-inner {
  touch-action: pan-y;
}

/* Prevent the browser drag-ghost image on swipe */
.home-banner img,
.home-banner a {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.home-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.home-banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-banner-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-banner-textbox {
  position: absolute;
  top: 139px;
  left: 120px;
  width: 668px;
  max-width: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-banner-title {
  margin: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 65px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.home-banner-desc {
  margin: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.home-banner-mini-buttons {
  margin-top: 50px;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  pointer-events: auto;
}

.home-banner-mini-buttons.is-image-stack {
  margin-left: 0;
}

.home-banner-mini-button {
  text-decoration: none;
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
}

.home-banner-mini-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.home-banner-mini-button:active {
  transform: translateY(0) scale(0.995);
}

.home-banner-mini-button.is-image img {
  display: block;
  width: auto;
  max-width: 320px;
  height: auto;
}

.home-banner-mini-button.is-text {
  display: inline-flex;
  height: 70px;
  padding-left: 14px;
  padding-right: 22px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-radius: 12px;
  border: 0.875px solid rgba(214, 214, 214, 0.25);
  background: #fff;
  color: #0047ab;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.home-banner-mini-button-text {
  color: #0047ab;
  font-family: "Inter", sans-serif;
  font-size: 24.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Banner text spec (desktop) */
@media (min-width: 1201px) {
  .home-banner .carousel-item:first-child .home-banner-title {
    width: 668px;
    max-width: 100%;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 65px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
  }

  .home-banner .carousel-item:first-child .home-banner-desc {
    align-self: stretch;
    width: auto;
    max-width: 100%;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .home-banner .carousel-item:nth-child(2) .home-banner-title {
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 65px;
    font-style: normal;
    font-weight: 800;
    line-height: 90%;
  }

  .home-banner .carousel-item:nth-child(2) .home-banner-desc {
    width: 340px;
    max-width: 100%;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .home-banner .carousel-item:nth-child(3) .home-banner-title {
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 65px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
  }

  .home-banner .carousel-item:nth-child(3) .home-banner-desc {
    align-self: stretch;
    width: 470px;
    max-width: 100%;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
}

/* First banner mini-button sizing */

.home-banner .carousel-item:first-child .home-banner-mini-button {
  width: 200px !important;
  max-width: 200px !important;
}

.home-banner .carousel-item:first-child .home-banner-mini-button.is-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.home-banner .carousel-item:first-child .home-banner-mini-button.is-text {
  display: inline-flex;
  height: 70px;
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.home-banner-wrap {
  margin-top: 0;
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: center;
}

.home-banner {
  width: 100%;
  max-width: none;
  height: 600px;
  background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, #eaeaea 100%);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
}

.home-banner .carousel-inner,
.home-banner .carousel-item,
.home-banner .home-banner-slide,
.home-banner .home-banner-slide > img {
  height: 100%;
}

.home-banner .home-banner-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  display: block;
}

@media (max-width: 1200px) {
  .home-banner-textbox {
    top: 84px;
    left: 64px;
    max-width: calc(100% - 128px);
  }

  .home-banner-title {
    font-size: 48px;
  }

  .home-banner-desc {
    font-size: 24px;
  }

  .home-banner-mini-buttons {
    margin-top: 32px;
    margin-left: 0;
    gap: 10px;
  }

  .home-banner-mini-buttons.is-image-stack {
    margin-left: 0;
  }

  .home-banner-mini-button.is-image img {
    max-width: 260px;
  }

  .home-banner-mini-button.is-text {
    height: 56px;
    padding-left: 12px;
    padding-right: 18px;
    gap: 6px;
  }

  .home-banner-mini-button-text {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .home-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 1360 / 600;
  }

  .home-banner .home-banner-slide > img {
    transform: scale(1);
    object-position: center center;
  }

  .home-banner-textbox {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    gap: 6px;
  }

  .home-banner-title {
    font-size: 22px;
  }

  .home-banner-desc {
    font-size: 14px;
  }

  .home-banner .carousel-item:nth-child(3) .home-banner-desc {
    max-width: 22ch;
  }

  .home-banner-mini-buttons {
    margin-top: 10px;
    margin-left: 0;
    gap: 8px;
  }

  .home-banner-mini-buttons.is-image-stack {
    margin-left: 0;
  }

  .home-banner-mini-button.is-image img {
    width: 128px;
    max-width: 128px;
    height: auto;
  }

  .home-banner-mini-button.is-text {
    height: 34px;
    padding-left: 10px;
    padding-right: 14px;
    border-radius: 10px;
    gap: 6px;
  }

  .home-banner-mini-button-text {
    font-size: 14px;
  }

  .home-banner-mini-button.is-text svg {
    width: 9px;
    height: 14px;
  }

  /* Keep first-banner "See More" button consistent on mobile */
  .home-banner .carousel-item:first-child .home-banner-mini-button {
    width: 128px !important;
    max-width: 128px !important;
  }

  .home-banner .carousel-item:first-child .home-banner-mini-button.is-text {
    height: 34px;
    justify-content: center;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 6px;
  }

  .home-banner .carousel-item:first-child .home-banner-mini-button-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .home-banner-mini-button.is-image img {
    width: 116px;
    max-width: 116px;
    height: auto;
  }

  .home-banner-mini-button.is-text {
    height: 32px;
    padding-left: 9px;
    padding-right: 12px;
  }

  .home-banner-mini-button-text {
    font-size: 13px;
  }

  .home-banner .carousel-item:first-child .home-banner-mini-button {
    width: 116px !important;
    max-width: 116px !important;
  }

  .home-banner .carousel-item:first-child .home-banner-mini-button.is-text {
    height: 32px;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .home-banner .carousel-item:first-child .home-banner-mini-button-text {
    font-size: 13px;
  }
}

.home-cms-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(1026px, calc(100% - 414px));
  margin: 80px auto 80.35px;
}

.home-cms-title {
  width: 100%;
  margin: 0;
  color: #0047ab;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.home-cms-text {
  width: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 150%;
  letter-spacing: 0;
  text-align: center;
  color: #333433;
}

.home-tiles-wrap {
  width: 100%;
  max-width: none;
  margin-top: 12.35px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.home-tiles-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-tile-card {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 714 / 600; /* keeps image framing consistent while responsive */
  overflow: hidden;
  background: #ffffff;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.home-tile-image {
  position: absolute;
  inset: -1px; /* bleed image slightly to hide hairline seams */
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: block;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  transform: scale(1) !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-tile-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 53, 128, 0) 0%,
    rgba(0, 53, 128, 0.6641) 66.41%,
    #003580 100%
  );
  pointer-events: none;
}

/* Tile 1 gradient (per design) */
.home-tiles-grid .home-tile-card:nth-child(1) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(0, 53, 128, 0) 0%,
    rgba(0, 53, 128, 0.66) 16.53%,
    #003580 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(1) .home-tile-title {
  align-self: stretch;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(1) .home-tile-desc {
  color: #ffffff;
}

/* Tile 2 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(2) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.66) 16.53%,
    #ffffff 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(2) .home-tile-title {
  align-self: stretch;
  color: #c59d62;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(2) .home-tile-desc {
  align-self: stretch;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* Tile 3 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(3) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.66) 16.53%,
    #ffffff 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(3) .home-tile-title {
  align-self: stretch;
  color: #016d6d;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(3) .home-tile-desc {
  align-self: stretch;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* Tile 4 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(4) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(245, 255, 224, 0) 0%,
    rgba(245, 255, 224, 0.66) 16.53%,
    #f5ffe0 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(4) .home-tile-title {
  align-self: stretch;
  color: #00862f;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(4) .home-tile-desc {
  align-self: stretch;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

/* Tile 5 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(5) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.66) 16.53%,
    #ffffff 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(5) .home-tile-title {
  align-self: stretch;
  color: #c59d62;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(5) .home-tile-desc {
  align-self: stretch;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* Tile 6 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(6) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.66) 16.53%,
    #f68926 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(6) .home-tile-title {
  align-self: stretch;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(6) .home-tile-desc {
  align-self: stretch;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

/* Tile 6 text box vertical alignment (logo already fixed) */
.home-tiles-grid .home-tile-card:nth-child(6) .home-tile-textbox {
  margin-top: 0 !important;
  position: relative;
  top: 24px;
}

/* Extra safe targeting for the Gigawatts (tile 6) logo/text pairing */
.home-tile-card .home-tile-logo[src*="gigawatts"] + .home-tile-textbox {
  margin-top: 0 !important;
  position: relative;
  top: 24px;
}

/* Tile 7 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(7) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(84, 112, 198, 0) 0%,
    rgba(84, 112, 198, 0.66) 16.53%,
    #5470c6 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(7) .home-tile-title {
  align-self: stretch;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(7) .home-tile-desc {
  align-self: stretch;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

/* Tile 8 styles (per design) */
.home-tiles-grid .home-tile-card:nth-child(8) .home-tile-overlay {
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.66) 16.53%,
    #ffffff 31.27%
  );
}

.home-tiles-grid .home-tile-card:nth-child(8) .home-tile-title {
  align-self: stretch;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-tiles-grid .home-tile-card:nth-child(8) .home-tile-desc {
  align-self: stretch;
  color: #333433;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.home-tile-mini-buttons {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.home-tile-mini-button {
  display: block;
  line-height: 0;
  border-radius: 10px;
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}

.home-tile-mini-button:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.04);
}

.home-tile-mini-button:active {
  transform: translateY(0) scale(0.995);
}

.home-tile-mini-button img {
  display: block;
  max-width: 147px;
  width: auto;
  height: auto;
}

.home-tile-content {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 45px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.home-tile-logo {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  flex: 0 0 80px;
  align-self: flex-end;
  margin-bottom: 16px; /* 45px base + 16px = 61px from tile bottom */
  display: block;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.home-tile-textbox {
  width: 530px;
  max-width: calc(100% - 104px);
  display: flex;
  flex-direction: column;
}

.home-tile-title {
  width: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: #ffffff;
}

.home-tile-desc {
  width: 100%;
  margin: 4px 0 0;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  color: #ffffff;
}

.home-tile-card:hover {
  transform: scale(1.005);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.home-tile-card:hover .home-tile-image {
  transform: scale(1) !important;
}

.home-tile-card:active {
  transform: scale(0.992);
  box-shadow: 0 6px 14px rgba(2, 6, 23, 0.08);
}

@media (max-width: 1200px) {
  .home-cms-text-wrap {
    width: calc(100% - 80px);
    margin: 72px auto;
  }

  .home-cms-title {
    font-size: 34px;
  }

  .home-cms-text {
    font-size: 24px;
  }

  .home-tiles-wrap {
    margin-top: 12.35px;
  }

  .home-tiles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-cms-text-wrap {
    width: calc(100% - 32px);
    margin: 56px auto;
  }

  .home-cms-title {
    font-size: 28px;
    line-height: 110%;
  }

  .home-cms-text {
    font-size: 20px;
  }

  .home-tiles-wrap {
    margin-top: 12.35px;
  }

  .home-tile-card {
    height: 460px;
  }

  .home-tile-overlay {
    height: 220px;
  }

  .home-tile-mini-buttons {
    top: 16px;
    right: 16px;
    gap: 6px;
  }

  .home-tile-mini-button img {
    max-width: 112px;
  }

  .home-tile-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 12px;
  }

  .home-tile-textbox {
    max-width: calc(100% - 84px);
  }

  .home-tile-title {
    font-size: 16px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-tile-desc {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-tile-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    flex: 0 0 64px;
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .home-tiles-grid .home-tile-card:nth-child(6) .home-tile-content {
    bottom: 32px;
  }

  .home-tiles-grid .home-tile-card:nth-child(6) .home-tile-title {
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 420px) {
  .home-tile-card {
    height: 490px;
  }

  .home-tile-title {
    font-size: 15px;
  }

  .home-tile-desc {
    -webkit-line-clamp: 5;
  }
}

/* =========================================================
   ARTICLE PAGE (Why Myracle features -> article pages)
   ========================================================= */
.article-wrap {
  padding: 32px 0;
}

.article-content {
  width: 940px;
  max-width: 100%;
  margin: 112px auto 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-date {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: #71717a;
}

.article-title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: #0047ab;
  margin: 0;
}

.article-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #333433;
  margin: 0;
  white-space: pre-wrap;
}

.article-image {
  margin: 0;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.article-image--center {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.article-image--full {
  width: 100%;
}

.article-image--left,
.article-image--right {
  width: 620px;
  max-width: 100%;
}

.article-image--left {
  margin-right: auto;
}

.article-image--right {
  margin-left: auto;
}

/* dots */
.home-banner .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

/* =========================
   HOME - SECTION HEADER ROW
   ========================= */
.home-section-head {
  width: 1350px;
  max-width: calc(
    100% - var(--home-side-gutter)
  ); /* adjust via --home-side-gutter */
  margin: 40px auto 16px; /* 40px below banner, 16px before cards */
  height: 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-head-icon {
  width: 32px;
  height: 32px;
  background: #174e9f;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-head-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 40px;
  color: #333433;
}

.home-head-icon svg {
  width: 16px;
  height: 15px;
  display: block;
}

.home-head-icon img {
  width: 16px;
  height: 15px;
  display: block;
  object-fit: contain;
}

.home-head-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #174e9f;
  text-decoration: none;
}
.home-head-link:hover {
  text-decoration: underline;
}

.home-kickstart-block {
  padding: 48px 0 0; /* 48px top & bottom spacing */
  background: #fff;
}
/* =========================================================
   HOME — KICKSTART TOOLBOX SHOWCASE (Figma frame)
   ========================================================= */
.logbook-showcase--home {
  width: 1442px; /* Figma */
  height: 800px; /* Figma */
  max-width: 100%;

  margin: 0 auto;
  padding: 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* HOME ONLY — make inner container fill the frame */
.logbook-showcase--home > .container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}

@media (max-width: 768px) {
  .logbook-showcase--home {
    width: 100%;
    height: auto;
    padding: 40px 0 50px;
  }

  .logbook-showcase--home > .container {
    height: auto;
  }
}

@media (max-width: 576px) {
  .logbook-showcase--home {
    padding: 32px 0 36px;
  }
}

/* =========================================================
   HOME — APPRNEUR STUDIO (panel background + 3 cards)
   ========================================================= */
.home-appreneur-block {
  width: 1360px;
  max-width: calc(
    100% - var(--home-side-gutter)
  ); /* adjust via --home-side-gutter */
  margin: 0 auto 48px;
}

/* inner padding like screenshot */
.home-appreneur-inner {
  padding: 0;
}

/* ✅ cards grid (NO extra left/right padding) */
.home-appcards {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; /* ✅ Figma spacing */
}

/* card */
.home-appcard {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* image area */
.home-appcard-img {
  width: 100%;
  height: 270px; /* adjust if needed */
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

/* footer strip */
.home-appcard-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 0; /* space under image */
  background: transparent;
}

.home-appcard-miniicon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: contain;
  flex: 0 0 auto; /* keep size */
}

.home-appcard-meta {
  flex: 1 1 auto;
  min-width: 0;
}

/* =========================================================
   HOME — APPRNEUR CARDS HOVER ANIMATION
   ========================================================= */

.home-appcard {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

/* Smooth lift on hover */
.home-appcard:hover {
  transform: translateY(-3px);
  box-shadow: none; /* ❌ removes the dark glow that looks like bg color */
}

/* Press down when clicked */
.home-appcard:active {
  transform: translateY(-1px) scale(0.995);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.home-appcard-img,
.home-appcard-miniicon,
.home-appcard-title,
.home-appcard-desc {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle zoom on the image only */
.home-appcard:hover .home-appcard-img {
  transform: scale(1.01);
}

/* ================================
   APPRENEUR APP TILE TYPOGRAPHY
   ================================ */

/* TITLE — "B1T1 Customer App" */
.home-appcard-title {
  font-family: "Inter", sans-serif;
  font-weight: 600; /* Semi Bold */
  font-size: 16px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  color: #333433;

  text-align: left;
  margin: 0;
}

.home-appcard-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400; /* Regular */
  font-size: 14px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  color: #333433;

  text-align: left;
  margin-top: 4px;
}

.home-appcard-miniicon {
  width: 70px; /* matches your Figma */
  height: 70px;
  border-radius: 6px;
  flex: 0 0 auto;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.04));
}

/* responsive */
@media (max-width: 992px) {
  .home-appreneur-inner {
    padding: 12px;
  }

  .home-appcards {
    grid-template-columns: 1fr;
  }

  .home-appcard-img {
    height: 240px;
  }
}
/* =========================================================
   INQUIRY MODAL (Figma: 550x650 left + 550x650 right)
   ========================================================= */
.myracle-inquiry-modal .modal-dialog {
  max-width: 1100px; /* 550 + 550 */
}

.myracle-inquiry-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: transparent;
}

/* close button */
.myracle-inquiry-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
  color: #71717a;
  z-index: 5;
}

.myracle-inquiry-wrap {
  display: grid;
  grid-template-columns: 550px 550px;
  width: 1100px;
  height: 650px;
  background: #fff;
}

/* LEFT */
.myracle-inquiry-left {
  position: relative;
  width: 550px;
  height: 650px;
  overflow: hidden;
}

.myracle-inquiry-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* bottom title like your mock */
.myracle-inquiry-left-title {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* RIGHT */
.myracle-inquiry-right {
  width: 550px;
  height: 650px;
  background: #ffffff;
  position: relative;
}

/* Form box: width 350, gap 16, centered w/ 100 left/right
   You mentioned top spacing values; this matches your visual (centered nicely). */
.myracle-inquiry-form {
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  left: 100px;
  right: 100px;
  top: 57px; /* use 57 like your note; adjust if you want it lower */
}

/* label before input: 12px Open Sans 500, #71717A, with 4px bottom spacing */
.myracle-label {
  display: block;
  margin: 0 0 4px;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: #71717a;
}

/* inputs: 350 x 40 */
.myracle-input {
  width: 350px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.myracle-input:focus {
  border-color: #174e9f;
  box-shadow: 0 0 0 3px rgba(23, 78, 159, 0.12);
}

/* textarea */
.myracle-textarea {
  width: 350px;
  min-height: 110px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  resize: none;
}

.myracle-textarea:focus {
  border-color: #174e9f;
  box-shadow: 0 0 0 3px rgba(23, 78, 159, 0.12);
}

/* checkbox line */
.myracle-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #71717a;
}

.myracle-check a {
  color: #174e9f;
  text-decoration: none;
}
.myracle-check a:hover {
  text-decoration: underline;
}

/* submit button: 350 x 40, text Inter 14 regular white */
.myracle-submit {
  width: 350px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: #174e9f;
  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.myracle-submit:active {
  transform: scale(0.98);
}

/* Responsive (stack on mobile) */
@media (max-width: 1200px) {
  .myracle-inquiry-modal .modal-dialog {
    max-width: 95vw;
  }
  .myracle-inquiry-wrap {
    width: 95vw;
    grid-template-columns: 1fr;
    height: auto;
  }
  .myracle-inquiry-left,
  .myracle-inquiry-right {
    width: 100%;
  }
  .myracle-inquiry-left {
    height: 320px;
  }
  .myracle-inquiry-right {
    height: 520px;
  }
  .myracle-inquiry-form {
    position: static;
    margin: 24px auto;
  }
}
/* =========================================================
   INQUIRY MODAL FEEDBACK MESSAGES
   ========================================================= */
.myracle-inquiry-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.myracle-inquiry-feedback.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.myracle-inquiry-feedback.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =========================================================
   APPOINTMENT PAGE
   ========================================================= */
.appointment-page {
  background: var(--myracle-bg);
  padding: 32px 0 32px;
}

.appointment-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.appointment-hero {
  width: 100%;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.appointment-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #0f2d66;
}

.appointment-shell {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px;
}

.appointment-intro {
  text-align: center;
}

.appointment-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  color: #174e9f;
}

.appointment-subtitle {
  margin: 12px auto 0;
  max-width: 600px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #333433;
}

.appointment-date-chip {
  width: fit-content;
  margin: 16px auto 0;
  padding: 8px 20px;
  border-radius: 999px;
  background: #edf3ff;
  color: #174e9f;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.appointment-date-control {
  margin-top: 8px;
}

.appointment-date-control label {
  display: block;
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-align: left;
}

.appointment-date-control input,
.appointment-date-control select {
  width: 100%;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #0f172a;
}

.appointment-date-control input:focus,
.appointment-date-control select:focus {
  outline: none;
  border-color: #174e9f;
  box-shadow: 0 0 0 3px rgba(23, 78, 159, 0.14);
}

.appointment-times {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Event page uses two time choices only. */
.event-page .appointment-times {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appointment-type-group {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.appointment-type {
  height: 42px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.appointment-type.is-active {
  background: #174e9f;
  color: #fff;
  border-color: #174e9f;
}

.appointment-time {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  height: 46px;
  background: #fff;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.appointment-time:hover {
  border-color: #174e9f;
}

.appointment-time.is-active {
  background: #174e9f;
  color: #fff;
  border-color: #174e9f;
}

.appointment-time.is-full {
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.appointment-form {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.appointment-field label {
  display: block;
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.appointment-field input {
  width: 100%;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #0f172a;
}

.appointment-field input:focus {
  outline: none;
  border-color: #174e9f;
  box-shadow: 0 0 0 3px rgba(23, 78, 159, 0.14);
}

.appointment-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #475569;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.appointment-submit {
  margin-top: 6px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #174e9f;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.appointment-submit:disabled {
  opacity: 0.75;
}

.appointment-feedback {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

.appointment-feedback.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.appointment-feedback.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.appointment-empty {
  margin: 0;
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

@media (max-width: 768px) {
  .appointment-wrap {
    width: calc(100% - 20px);
  }

  .appointment-shell {
    padding: 20px;
  }

  .appointment-title {
    font-size: 28px;
  }

  .appointment-subtitle {
    font-size: 16px;
  }

  .appointment-times {
    grid-template-columns: 1fr;
  }

  .appointment-type-group {
    grid-template-columns: 1fr;
  }
}
