@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --milk-ink: #102b2d;
  --milk-muted: #5f7473;
  --milk-green: #078f76;
  --milk-green-dark: #056b5b;
  --milk-mint: #e7f7f1;
  --milk-cream: #f7fbf8;
  --milk-line: rgba(16, 43, 45, 0.1);
  --milk-shadow: 0 24px 70px rgba(18, 60, 54, 0.12);
  --milk-shadow-sm: 0 12px 32px rgba(18, 60, 54, 0.09);
  --bs-success: #078f76;
  --bs-success-rgb: 7, 143, 118;
  --bs-body-font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  --bs-body-color: var(--milk-ink);
  --bs-body-bg: var(--milk-cream);
  --bs-border-color: var(--milk-line);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(130, 221, 186, .18), transparent 25rem),
    var(--milk-cream) !important;
  color: var(--milk-ink);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  content: '';
  pointer-events: none;
  filter: blur(2px);
  opacity: .45;
}

body::before { top: 26rem; right: -14rem; background: rgba(164, 224, 208, .3); }
body::after { bottom: 10rem; left: -16rem; background: rgba(255, 229, 174, .22); }

h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: 'Manrope', var(--bs-body-font-family); letter-spacing: -.04em; }
h1 { line-height: 1.02; }
h2 { line-height: 1.08; }
.lead { color: var(--milk-muted) !important; line-height: 1.7; }
.text-body-secondary { color: var(--milk-muted) !important; }
.text-success { color: var(--milk-green) !important; }
.bg-success-subtle { background: var(--milk-mint) !important; }
.bg-light { background-color: transparent !important; }
.bg-white { background-color: rgba(255, 255, 255, .78) !important; }

.navbar {
  --bs-navbar-padding-y: .75rem;
  background: rgba(247, 251, 248, .82) !important;
  border-bottom: 1px solid rgba(16, 43, 45, .08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.announcement-bar {
  min-height: 34px;
  padding: .45rem 0;
  background: #0b3f38;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.announcement-bar a { color: #8ce6c4; text-decoration: none; transition: color .2s ease; }
.announcement-bar a:hover { color: #fff; }
.announcement-dot { display: inline-block; width: 6px; height: 6px; margin: 0 .45rem .08rem 0; border-radius: 50%; background: #8ce6c4; box-shadow: 0 0 0 4px rgba(140, 230, 196, .12); }

.navbar.scrolled { box-shadow: 0 10px 30px rgba(16, 43, 45, .08); background: rgba(255, 255, 255, .95) !important; }
.navbar .container { max-width: 1180px; }
.navbar-brand { color: var(--milk-ink) !important; font-size: 1.05rem; letter-spacing: -.03em; }
.navbar-brand img { object-fit: contain; filter: drop-shadow(0 4px 8px rgba(7, 143, 118, .18)); }
.navbar-nav { gap: .2rem; }
.navbar .nav-link { position: relative; padding: .65rem .9rem !important; color: var(--milk-muted); font-size: .9rem; font-weight: 600; }
.navbar .nav-link::after { position: absolute; right: .9rem; bottom: .35rem; left: .9rem; height: 2px; border-radius: 999px; background: var(--milk-green); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--milk-green) !important; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid var(--milk-line); border-radius: 12px; padding: .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .25rem rgba(7, 143, 118, .15); }

.btn { --bs-btn-border-radius: 999px; --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .72rem; font-weight: 700; letter-spacing: -.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-success { --bs-btn-bg: var(--milk-green); --bs-btn-border-color: var(--milk-green); --bs-btn-hover-bg: var(--milk-green-dark); --bs-btn-hover-border-color: var(--milk-green-dark); box-shadow: 0 10px 22px rgba(7, 143, 118, .18); }
.btn-outline-success { --bs-btn-color: var(--milk-green-dark); --bs-btn-border-color: rgba(7, 143, 118, .35); --bs-btn-hover-bg: var(--milk-green); --bs-btn-hover-border-color: var(--milk-green); }
.btn svg { vertical-align: -3px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

main > section { position: relative; }
main > section:first-child {
  overflow: hidden;
  background: linear-gradient(135deg, #e9f8f0 0%, #f5fbf8 55%, #fff 100%) !important;
}
main > section:first-child::before { position: absolute; top: -10rem; right: -8rem; width: 32rem; height: 32rem; border: 1px solid rgba(7, 143, 118, .12); border-radius: 50%; content: ''; box-shadow: 0 0 0 4rem rgba(7, 143, 118, .035), 0 0 0 8rem rgba(7, 143, 118, .025); }
main > section:first-child .container { position: relative; z-index: 1; }
main > section:first-child .py-lg-5 { padding-top: clamp(4.5rem, 8vw, 7rem) !important; padding-bottom: clamp(4.5rem, 8vw, 7rem) !important; }

body[data-page='home'] main > section:first-child h1 { max-width: 700px; font-size: clamp(3rem, 6vw, 5.7rem); }
body[data-page='home'] main > section:first-child .col-lg-6:first-child > .badge { padding: .7rem 1rem; background: rgba(7, 143, 118, .1) !important; color: var(--milk-green-dark) !important; font-weight: 700; }
body[data-page='home'] main > section:first-child .col-lg-6:first-child > .text-uppercase { letter-spacing: .14em; }
body[data-page='home'] main > section:first-child .position-relative > .bg-dark { max-width: 318px; border: 7px solid rgba(16, 43, 45, .92); background: #102b2d !important; box-shadow: var(--milk-shadow) !important; transform: rotate(2.5deg); animation: phoneFloat 6s ease-in-out infinite; }
body[data-page='home'] main > section:first-child .position-relative::before { position: absolute; top: 12%; left: 8%; width: 86%; height: 72%; border-radius: 50%; background: rgba(96, 206, 167, .3); content: ''; filter: blur(40px); }
body[data-page='home'] main > section:first-child .position-relative .card { border: 1px solid rgba(255,255,255,.65) !important; border-radius: 16px; text-align: left; animation: softFloat 5s ease-in-out infinite; }
body[data-page='home'] main > section:first-child .position-relative .card:last-child { animation-delay: -2.2s; }
.hero-proof-row { display: flex; gap: 1.4rem; margin-top: 2rem; }
.hero-proof-row > div { display: flex; flex-direction: column; gap: .12rem; padding-right: 1.4rem; border-right: 1px solid rgba(16, 43, 45, .14); }
.hero-proof-row > div:last-child { padding-right: 0; border-right: 0; }
.hero-proof-row strong { color: var(--milk-green); font-size: .72rem; letter-spacing: .14em; }
.hero-proof-row span { color: var(--milk-ink); font-size: .82rem; font-weight: 700; }
.hero-orbit-card { position: absolute; z-index: 2; top: 12%; right: 1%; align-items: center; gap: .65rem; padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.7); border-radius: 1rem; background: rgba(255,255,255,.86); box-shadow: 0 18px 35px rgba(15, 80, 66, .12); text-align: left; backdrop-filter: blur(16px); animation: softFloat 5s ease-in-out infinite; }
.hero-orbit-card strong { display: block; color: var(--milk-green); font-family: 'Manrope', sans-serif; font-size: 1.05rem; letter-spacing: -.04em; }
.hero-orbit-card small { display: block; color: var(--milk-muted); font-size: .65rem; white-space: nowrap; }
.hero-orbit-icon { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: .65rem; background: #dff8ed; color: var(--milk-green); font-weight: 800; }

body[data-page='home'] main > section:nth-child(2) { padding-top: 1rem !important; padding-bottom: 1rem !important; background: transparent !important; }
body[data-page='home'] main > section:nth-child(2) .container { max-width: 1140px; padding: 1.55rem 2rem; border: 1px solid rgba(140, 230, 196, .16); border-radius: 1.6rem; background: linear-gradient(115deg, #102b2d, #124a42); box-shadow: 0 22px 55px rgba(16, 43, 45, .16); }
body[data-page='home'] main > section:nth-child(2) strong { font-family: 'Manrope', sans-serif; letter-spacing: -.03em; }
body[data-page='home'] main > section:nth-child(2) .fw-semibold { color: #8ce6c4; font-family: 'Manrope', sans-serif; font-size: 1.05rem; }
body[data-page='home'] main > section:nth-child(2) .small { color: rgba(255,255,255,.56) !important; }
body[data-page='home'] main > section:nth-child(2) .col-4 { padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,.14); }

body:not([data-page='home']) main > section:first-child {
  min-height: 510px;
  background: linear-gradient(115deg, #102b2d 0%, #10473f 52%, #176a58 100%) !important;
  color: #fff;
}
body:not([data-page='home']) main > section:first-child::before { top: -12rem; right: -6rem; border-color: rgba(140, 230, 196, .22); box-shadow: 0 0 0 4rem rgba(140, 230, 196, .06), 0 0 0 8rem rgba(140, 230, 196, .04); }
body:not([data-page='home']) main > section:first-child::after { position: absolute; right: 8%; bottom: 8%; width: 15rem; height: 9rem; border: 1px solid rgba(140, 230, 196, .18); border-radius: 1.25rem; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.01)); box-shadow: 0 0 0 1.3rem rgba(140, 230, 196, .025), 0 0 0 2.6rem rgba(140, 230, 196, .018); content: ''; transform: rotate(-8deg); }
body:not([data-page='home']) main > section:first-child h1 { max-width: 900px; color: #fff; font-size: clamp(3rem, 6vw, 5.8rem); }
body:not([data-page='home']) main > section:first-child .lead,
body:not([data-page='home']) main > section:first-child .text-body-secondary { color: rgba(255,255,255,.72) !important; }
body:not([data-page='home']) main > section:first-child .text-success { color: #8ce6c4 !important; }
body:not([data-page='home']) main > section:first-child .text-uppercase { letter-spacing: .14em; }

body:not([data-page='home']) main > section:nth-child(even) { background: rgba(255, 255, 255, .65); }
body:not([data-page='home']) main > section:nth-child(odd):not(:first-child) { background: rgba(231, 247, 241, .34); }

.card { --bs-card-border-radius: 1.35rem; border-color: transparent !important; box-shadow: var(--milk-shadow-sm) !important; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card:hover { transform: translateY(-7px); box-shadow: var(--milk-shadow) !important; }
.card .card-body { border-radius: inherit; }
.feature-card { position: relative; overflow: hidden; background: rgba(255,255,255,.82); }
.feature-card::after { position: absolute; right: -2rem; bottom: -2.8rem; width: 7rem; height: 7rem; border-radius: 50%; background: rgba(154, 222, 199, .18); content: ''; transition: transform .35s ease; }
.feature-card:hover::after { transform: scale(1.5); }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { min-height: 3.1rem; line-height: 1.6; }
.feature-icon { position: relative; z-index: 1; width: 3.15rem; height: 3.15rem; border: 1px solid rgba(7, 143, 118, .12); background: linear-gradient(145deg, #ddf5eb, #f6fffb) !important; box-shadow: 0 8px 16px rgba(7, 143, 118, .1); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-card:nth-child(3n + 2) { transform: translateY(1.2rem); }
.feature-card:nth-child(3n + 2):hover { transform: translateY(.7rem); }

.section-kicker { display: inline-flex; align-items: center; gap: .55rem; letter-spacing: .14em; }
.section-kicker::before { width: 1.8rem; height: 2px; border-radius: 99px; background: currentColor; content: ''; }

main > section:not(:first-child) { padding-top: clamp(4.5rem, 8vw, 7rem) !important; padding-bottom: clamp(4.5rem, 8vw, 7rem) !important; }
main > section.bg-dark { background: linear-gradient(115deg, #102b2d, #174b46) !important; }
.bg-dark { --bs-dark-rgb: 16, 43, 45; }
.bg-dark.rounded-4, .bg-dark.rounded-5 { box-shadow: var(--milk-shadow); }
.list-group-flush .list-group-item { border-color: var(--milk-line); background: transparent; padding-top: .9rem; padding-bottom: .9rem; }
.list-group-flush .list-group-item::before { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; margin-right: .7rem; border-radius: 50%; background: var(--milk-mint); color: var(--milk-green); content: '✓'; font-size: .75rem; font-weight: 800; }

img { max-width: 100%; }
main img.border-dark, main img.border-secondary { border-color: rgba(16, 43, 45, .86) !important; box-shadow: var(--milk-shadow) !important; }
.bg-success-subtle.rounded-4, .bg-success-subtle.rounded-5 { border: 1px solid rgba(7, 143, 118, .08); box-shadow: var(--milk-shadow-sm); }
.bg-success-subtle.rounded-4 img, .bg-success-subtle.rounded-5 img { max-height: 560px; object-fit: contain; }

.plan-card { position: relative; overflow: hidden; background: rgba(255,255,255,.92); }
.plan-card::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--plan-color, var(--milk-green)), rgba(255,255,255,.3)); content: ''; }
.plan-card.is-popular { transform: translateY(-8px); border: 1px solid rgba(7, 143, 118, .18) !important; box-shadow: 0 24px 60px rgba(7, 143, 118, .15) !important; }
.plan-card.is-popular:hover { transform: translateY(-14px); }
.plan-price { font-family: 'Manrope', sans-serif; font-size: clamp(2.3rem, 4vw, 3.25rem); letter-spacing: -.07em; }
.pricing-ribbon { position: absolute; top: 1.25rem; right: -2.1rem; padding: .35rem 2.5rem; background: var(--milk-green); color: white; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(35deg); }

.form-control, .form-select { border: 1px solid rgba(16, 43, 45, .13); border-radius: .85rem; padding: .8rem 1rem; background: rgba(255,255,255,.72); }
.form-control:focus, .form-select:focus { border-color: rgba(7, 143, 118, .55); box-shadow: 0 0 0 .25rem rgba(7, 143, 118, .12); background: #fff; }
.form-label { font-weight: 700; font-size: .9rem; }
.accordion { --bs-accordion-border-color: var(--milk-line); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(7, 143, 118, .12); --bs-accordion-active-color: var(--milk-green-dark); --bs-accordion-active-bg: var(--milk-mint); }
.accordion-item { overflow: hidden; border-radius: .9rem !important; margin-bottom: .7rem; border: 1px solid var(--milk-line) !important; }
.accordion-button { font-weight: 700; }
.auth-panel { background: linear-gradient(145deg, #102b2d, #1d5c53) !important; }
.auth-panel li::before { background: rgba(255,255,255,.15) !important; color: #8ce6c4 !important; }

footer { position: relative; }
footer .bg-dark { background: linear-gradient(125deg, #102b2d, #0b3c37) !important; }
footer a { text-decoration: none; transition: color .2s ease, opacity .2s ease; }
footer a:hover { color: #8ce6c4 !important; opacity: 1 !important; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal='left'] { transform: translateX(-22px); }
[data-reveal='right'] { transform: translateX(22px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay='1'] { transition-delay: .08s; }
[data-reveal-delay='2'] { transition-delay: .16s; }
[data-reveal-delay='3'] { transition-delay: .24s; }

@keyframes phoneFloat { 0%, 100% { transform: rotate(2.5deg) translateY(0); } 50% { transform: rotate(0deg) translateY(-13px); } }
@keyframes softFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Home v3: product-led dashboard composition */
.home-hero { overflow: hidden; min-height: 720px; background: #eef9f4 !important; }
.home-hero::before { top: -18rem !important; right: -12rem !important; width: 44rem !important; height: 44rem !important; border-color: rgba(7, 143, 118, .15) !important; box-shadow: 0 0 0 5rem rgba(7, 143, 118, .04), 0 0 0 10rem rgba(7, 143, 118, .025) !important; }
.home-hero .container { position: relative; z-index: 2; }
.home-hero-copy { padding-top: 1rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border: 1px solid rgba(7, 143, 118, .15); border-radius: 999px; background: rgba(255,255,255,.6); color: var(--milk-green-dark); font-size: .75rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 8px 20px rgba(7, 143, 118, .06); }
.hero-eyebrow-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--milk-green); box-shadow: 0 0 0 .25rem rgba(7, 143, 118, .1); }
.home-hero h1 { max-width: 690px; margin: 1.55rem 0 1.35rem; color: var(--milk-ink); font-family: 'Manrope', sans-serif; font-size: clamp(3.4rem, 6vw, 6.4rem); font-weight: 800; line-height: .98; letter-spacing: -.075em; }
.home-hero h1 span, .section-heading-row h2 span, .workflow-section h2 span { color: var(--milk-green); }
.hero-lead { max-width: 560px; margin-bottom: 2rem; color: var(--milk-muted); font-size: 1.12rem; line-height: 1.7; }
.hero-text-link { color: var(--milk-ink); font-weight: 800; text-decoration: none; transition: color .2s ease; }
.hero-text-link span { display: inline-block; margin-left: .35rem; color: var(--milk-green); transition: transform .2s ease; }
.hero-text-link:hover { color: var(--milk-green); }
.hero-text-link:hover span { transform: translateX(4px); }
.hero-signals { display: flex; gap: 1.2rem; margin-top: 3.1rem; }
.hero-signals > div { display: flex; flex-direction: column; gap: .25rem; padding-right: 1.2rem; border-right: 1px solid rgba(16,43,45,.14); }
.hero-signals > div:last-child { padding-right: 0; border-right: 0; }
.hero-signals strong { color: var(--milk-green); font-size: .7rem; letter-spacing: .16em; }
.hero-signals span { color: var(--milk-ink); font-size: .78rem; font-weight: 800; }
.hero-dashboard-stage { position: relative; min-height: 610px; padding: 2.5rem 2rem 1rem; }
.hero-dashboard-glow { position: absolute; top: 12%; right: 9%; width: 30rem; height: 30rem; border-radius: 50%; background: radial-gradient(circle, rgba(91, 207, 167, .42), rgba(91, 207, 167, 0) 66%); filter: blur(10px); }
.hero-dashboard-frame { position: relative; z-index: 1; width: min(100%, 410px); margin: 0 auto; padding: .65rem .65rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1.9rem; background: #0b2e2e; box-shadow: 0 34px 80px rgba(9, 53, 48, .28); transform: rotate(3deg); animation: dashboardFloat 8s ease-in-out infinite; }
.hero-dashboard-chrome { display: flex; align-items: center; justify-content: space-between; padding: .55rem .7rem .75rem; color: rgba(255,255,255,.5); font-size: .55rem; font-weight: 700; letter-spacing: .02em; }
.chrome-dots { display: flex; gap: .25rem; }
.chrome-dots i { width: .32rem; height: .32rem; border-radius: 50%; background: rgba(255,255,255,.28); }
.chrome-status { display: inline-flex; align-items: center; gap: .25rem; color: #9be8c8; }
.chrome-status b { width: .3rem; height: .3rem; border-radius: 50%; background: #74dbad; }
.hero-dashboard-heading { position: absolute; z-index: 2; top: 4rem; left: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; color: white; text-align: left; }
.hero-dashboard-heading span { color: rgba(255,255,255,.6); font-size: .68rem; }
.hero-dashboard-heading strong { max-width: 10rem; margin-top: .35rem; font-family: 'Manrope', sans-serif; font-size: 1.35rem; line-height: 1.05; letter-spacing: -.05em; }
.hero-dashboard-frame img { display: block; width: 100%; height: 485px; border-radius: 1.35rem; object-fit: cover; object-position: top; }
.hero-data-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; border: 1px solid rgba(255,255,255,.8); border-radius: 1rem; background: rgba(255,255,255,.9); box-shadow: 0 18px 35px rgba(15,80,66,.15); backdrop-filter: blur(14px); animation: softFloat 5s ease-in-out infinite; }
.hero-data-card small, .hero-data-card strong, .hero-data-card em { display: block; }
.hero-data-card small { color: var(--milk-muted); font-size: .65rem; font-weight: 700; }
.hero-data-card strong { color: var(--milk-ink); font-family: 'Manrope', sans-serif; font-size: 1rem; letter-spacing: -.04em; }
.hero-data-card em { color: var(--milk-green); font-size: .65rem; font-style: normal; font-weight: 800; }
.data-card-icon { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .7rem; background: var(--milk-mint); color: var(--milk-green); font-weight: 800; }
.hero-data-card-volume { top: 19%; right: 0; }
.hero-data-card-billing { bottom: 17%; left: 0; animation-delay: -2s; }
.home-metrics { background: var(--milk-cream) !important; }
.home-metrics .container { padding: 1.25rem 1.5rem; border: 1px solid rgba(7,143,118,.16); border-radius: 1.4rem; background: linear-gradient(115deg,#102b2d,#124a42); box-shadow: 0 22px 50px rgba(16,43,45,.16); }
.metric-intro { display: flex; align-items: center; gap: .65rem; color: #fff; font-family: 'Manrope', sans-serif; font-size: 1rem; letter-spacing: -.03em; }
.metric-pulse { width: .55rem; height: .55rem; border-radius: 50%; background: #8ce6c4; box-shadow: 0 0 0 .35rem rgba(140,230,196,.12); }
.metric-item { display: flex; flex-direction: column; gap: .15rem; padding: .2rem 1.2rem; border-left: 1px solid rgba(255,255,255,.14); }
.metric-item span { color: #fff; font-size: .78rem; font-weight: 800; }
.metric-item small { color: rgba(255,255,255,.48); font-size: .65rem; }
.home-bento-section { padding-top: 4rem !important; background: #fbfdfb !important; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.section-heading-row h2, .workflow-section h2, .home-cta-card h2 { margin: 1rem 0 0; color: var(--milk-ink); font-family: 'Manrope', sans-serif; font-size: clamp(2.4rem, 4vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.07em; }
.section-heading-row > p { max-width: 355px; margin: 0 0 .25rem; color: var(--milk-muted); font-size: 1rem; line-height: 1.7; }
.bento-feature-row { align-items: stretch; }
.bento-feature-row > div:nth-child(1), .bento-feature-row > div:nth-child(4) { flex: 0 0 50%; max-width: 50%; }
.bento-feature-row > div:nth-child(2), .bento-feature-row > div:nth-child(3), .bento-feature-row > div:nth-child(5), .bento-feature-row > div:nth-child(6) { flex: 0 0 25%; max-width: 25%; }
.bento-feature-row .feature-card { min-height: 220px; border: 1px solid rgba(16,43,45,.08) !important; background: #fff; }
.bento-feature-row > div:nth-child(1) .feature-card, .bento-feature-row > div:nth-child(4) .feature-card { background: linear-gradient(140deg,#e4f8ef,#f8fffb); }
.bento-feature-row .feature-card p { min-height: auto; }
.bento-feature-row .feature-card .link-success { position: relative; z-index: 2; }
.workflow-section { background: #edf8f2 !important; }
.workflow-section h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.workflow-section .lead { max-width: 470px; margin-top: 1.3rem; }
.workflow-steps { display: grid; gap: .4rem; margin-top: 2.2rem; }
.workflow-step { display: flex; gap: 1rem; padding: 1rem; border: 1px solid transparent; border-radius: 1rem; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.workflow-step > span { color: var(--milk-green); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.workflow-step strong, .workflow-step small { display: block; }
.workflow-step strong { color: var(--milk-ink); font-size: .93rem; }
.workflow-step small { max-width: 320px; margin-top: .25rem; color: var(--milk-muted); font-size: .78rem; line-height: 1.5; }
.workflow-step.is-active, .workflow-step:hover { border-color: rgba(7,143,118,.14); background: rgba(255,255,255,.78); transform: translateX(6px); }
.product-preview-shell { overflow: hidden; border: 1px solid rgba(16,43,45,.09); border-radius: 1.75rem; background: #fff; box-shadow: 0 25px 60px rgba(16,43,45,.12); }
.product-preview-top { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; padding: 2rem 2rem 1.5rem; }
.product-preview-top h3 { margin: .65rem 0 .4rem; font-size: 1.35rem; }
.product-preview-top p { max-width: 320px; margin: 0; color: var(--milk-muted); font-size: .82rem; line-height: 1.5; }
.product-preview-tabs { display: flex; flex-wrap: wrap; justify-content: end; gap: .35rem; }
.product-preview-tabs button { border: 0; border-radius: 999px; padding: .55rem .75rem; background: #f0f5f2; color: var(--milk-muted); font-size: .68rem; font-weight: 800; transition: background .2s ease, color .2s ease; }
.product-preview-tabs button:hover, .product-preview-tabs button.is-active { background: var(--milk-green); color: #fff; }
.product-preview-canvas { position: relative; min-height: 470px; overflow: hidden; background: linear-gradient(145deg,#102b2d,#1b6355); }
.preview-grid-lines { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(600px) rotateX(55deg) translateY(12rem) scale(1.8); transform-origin: center bottom; }
.preview-phone { position: relative; z-index: 1; width: 205px; margin: 2.2rem auto -3rem; padding: .42rem; border: 5px solid #071f20; border-radius: 1.8rem; background: #071f20; box-shadow: 0 30px 60px rgba(0,0,0,.28); transform: rotate(4deg); }
.preview-phone img { display: block; width: 100%; height: 420px; border-radius: 1.35rem; object-fit: cover; object-position: top; }
.preview-phone img { transition: opacity .18s ease, transform .18s ease; }
.preview-phone img.is-switching { opacity: .25; transform: scale(.97); }
.preview-mini-card { position: absolute; z-index: 2; display: flex; flex-direction: column; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: .95rem; background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(12px); }
.preview-mini-card small { color: rgba(255,255,255,.6); font-size: .62rem; }
.preview-mini-card strong { margin-top: .2rem; font-family: 'Manrope', sans-serif; font-size: 1.3rem; }
.preview-mini-card span { color: #8ce6c4; font-size: .6rem; }
.preview-mini-card-one { top: 22%; left: 7%; }
.preview-mini-card-two { right: 7%; bottom: 20%; }
.pricing-section { background: #fbfdfb !important; }
.home-cta-section { background: #edf8f2 !important; }
.home-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 3.4rem; border-radius: 1.8rem; background: linear-gradient(115deg,#102b2d,#176b59); box-shadow: 0 28px 60px rgba(16,43,45,.2); }
.home-cta-card h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 4rem); }
.home-cta-card p { margin: .7rem 0 0; color: rgba(255,255,255,.64); }
.home-cta-card .section-kicker { color: #8ce6c4 !important; }
@keyframes dashboardFloat { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-12px); } }

@media (max-width: 991.98px) {
  .home-hero { min-height: auto; }
  .home-hero-copy { padding-top: 1rem; }
  .hero-dashboard-stage { min-height: 560px; }
  .bento-feature-row > div:nth-child(1), .bento-feature-row > div:nth-child(2), .bento-feature-row > div:nth-child(3), .bento-feature-row > div:nth-child(4), .bento-feature-row > div:nth-child(5), .bento-feature-row > div:nth-child(6) { flex: 0 0 50%; max-width: 50%; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 1.2rem; }
  .product-preview-top { align-items: start; flex-direction: column; }
  .product-preview-tabs { justify-content: start; }
  .metric-intro { padding-bottom: 1rem; }
  .metric-item { padding-left: .7rem; }
}
@media (max-width: 575.98px) {
  .home-hero h1 { font-size: clamp(3.2rem, 15vw, 4.7rem); }
  .hero-lead { font-size: 1rem; }
  .hero-signals { gap: .7rem; margin-top: 2.4rem; }
  .hero-signals > div { padding-right: .7rem; }
  .hero-signals span { font-size: .68rem; }
  .hero-dashboard-stage { min-height: 500px; padding: 1rem 0; }
  .hero-dashboard-frame { width: 86%; }
  .hero-dashboard-frame img { height: 420px; }
  .hero-dashboard-heading { top: 2.5rem; left: 1.35rem; }
  .hero-data-card-volume { top: 12%; right: -2%; }
  .hero-data-card-billing { bottom: 12%; left: -2%; }
  .bento-feature-row > div:nth-child(1), .bento-feature-row > div:nth-child(2), .bento-feature-row > div:nth-child(3), .bento-feature-row > div:nth-child(4), .bento-feature-row > div:nth-child(5), .bento-feature-row > div:nth-child(6) { flex: 0 0 100%; max-width: 100%; }
  .bento-feature-row .feature-card { min-height: auto; }
  .metric-item { padding-left: .5rem; }
  .metric-item span { font-size: .65rem; }
  .metric-item small { font-size: .55rem; }
  .product-preview-top, .home-cta-card { padding: 1.5rem; }
  .product-preview-canvas { min-height: 430px; }
  .preview-mini-card { display: none; }
  .home-cta-card { align-items: start; flex-direction: column; }
}

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 .25rem; }
  .navbar .nav-link::after { right: auto; left: .9rem; width: 2rem; }
  .navbar .d-flex { padding-top: .5rem; }
  body[data-page='home'] main > section:first-child h1 { font-size: clamp(2.7rem, 9vw, 4.5rem); }
  .plan-card.is-popular { transform: none; }
  .feature-card:nth-child(3n + 2), .feature-card:nth-child(3n + 2):hover { transform: none; }
}

@media (max-width: 575.98px) {
  main > section:first-child .py-lg-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .display-3 { font-size: 2.7rem; }
  .display-6 { font-size: 2rem; }
  .btn-lg { --bs-btn-padding-y: .75rem; --bs-btn-padding-x: 1rem; font-size: .95rem; }
  .feature-card p { min-height: auto; }
  .hero-proof-row { gap: .8rem; }
  .hero-proof-row > div { padding-right: .8rem; }
  .announcement-bar a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
