:root {
  --ink: #151816;               /* Original ink dark */
  --muted: #5e6762;             /* Original muted text */
  --line: #dce3df;              /* Original border line */
  --paper: #ffffff;
  --wash: #f4f7f5;              /* Original wash background */
  --green: #0d6b5e;             /* Original green */
  --green-dark: #07453d;        /* Original green-dark */
  --amber: #c77a14;             /* Original amber */
  --coral: #d4513c;             /* Original coral */
  --blue: #2f65c8;              /* Original blue */
  --shadow: 0 24px 70px rgba(21, 24, 22, 0.14);

  /* Translucent Glassmorphic Background Variables for Original Sage Green */
  --section-bg-light: rgba(255, 255, 255, 0.62);
  --section-bg-wash: rgba(244, 247, 245, 0.62);
  --card-bg: rgba(255, 255, 255, 0.74);
  --header-bg: rgba(244, 247, 245, 0.92);
  --preview-bg: rgba(255, 255, 255, 0.74);
  --preview-bar: rgba(249, 251, 250, 0.85);

  /* Reverted Theme Helpers */
  --accent-bg: #e7f2ef;
  --navy-dark: #13221f;
  --highlight: #7fd1c3;
  --highlight-muted: #cfe1dc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html {
  background: var(--wash);
}

body {
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 24px;
  background: var(--green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 25;
  transition: 
    background-color 450ms cubic-bezier(0.16, 1, 0.3, 1), 
    color 450ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.announcement-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--highlight);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.announcement-text {
  letter-spacing: 0.15px;
  line-height: 1.4;
}

/* Dark theme overrides for announcement bar */
.dark-theme .announcement-bar {
  background: rgba(16, 21, 18, 0.92) !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink);
}

.dark-theme .announcement-badge {
  background: var(--green) !important;
  color: #080a09 !important;
}

@media (max-width: 600px) {
  .announcement-bar {
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    font-size: 13.5px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a,
.contact-methods a,
.whatsapp-float {
  transition: color 160ms ease;
}

.site-nav a:hover,
.contact-methods a:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.header-cta {
  padding: 10px 14px;
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 10px 26px rgba(21, 24, 22, 0.08);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.header-cta svg,
.button svg,
.service-card svg,
.problem-card svg,
.contact-methods svg,
.row-icon svg,
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  min-height: calc(100vh - 70px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px) 32px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 88px;
  line-height: 0.94;
  font-weight: 800;
}

.hero-lede {
  max-width: 680px;
  color: #38413c;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 13px 18px;
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
}

.button.primary:hover {
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--green);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.app-preview {
  width: min(100%, 850px); /* Goldilocks width for optimal screen balance */
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.window-title {
  margin-left: 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--ink);
}

.preview-subtitle {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  background: var(--accent-bg);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(13, 107, 94, 0.16);
  letter-spacing: 0.2px;
}

.preview-container {
  display: grid;
  grid-template-columns: 215px 1fr;
  height: 380px; /* Snug height optimized to fit 7 buttons and mockups perfectly */
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: var(--wash);
}

.mode-button {
  width: 100%;
  min-height: 39px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: 
    background-color 160ms ease, 
    color 160ms ease, 
    transform 160ms ease;
}

.mode-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.mode-button:hover {
  background: rgba(13, 107, 94, 0.05);
  color: var(--green);
  transform: translateX(3px);
}

.mode-button:hover svg {
  transform: scale(1.1);
}

.mode-button.is-active {
  color: #fff !important;
  background: var(--green-dark);
  box-shadow: 0 4px 12px rgba(7, 69, 61, 0.15);
}

.mode-button.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--highlight);
}

.preview-display {
  width: 100%;
  background: #0b0f19; /* Dark background to contrast light/dark dashboards */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}

.preview-display::after {
  content: "🔍 Click to expand";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.preview-display:hover::after {
  opacity: 1;
}

.preview-display img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* CRITICAL: fits full screenshot without cutting text */
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: block;
  transition: opacity 800ms cubic-bezier(0.25, 1, 0.5, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.preview-display:hover img {
  transform: scale(1.006);
}

/* Fullscreen Lightbox Modal System */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: rgba(8, 10, 9, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.lightbox-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}

.lightbox-close:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.is-active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.audience-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 56px) 42px;
}

.audience-strip span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  background: #fff;
  color: #36403b;
  font-weight: 800;
}

.audience-strip span:first-child {
  border-radius: 8px 0 0 8px;
}

.audience-strip span:last-child {
  border-radius: 0 8px 8px 0;
}

.section {
  padding: clamp(64px, 9vw, 108px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.08;
}

.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.pricing-grid,
.problem-grid,
.idea-grid,
.project-grid,
.proof-grid,
.care-grid {
  display: grid;
  gap: 16px;
}

.service-grid,
.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.problem-card,
.idea-card,
.project-card,
.proof-card,
.price-card,
.care-card,
.process-steps article,
.contact-form,
.trust-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.problem-section {
  background: #fff;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.service-card,
.idea-card,
.proof-card,
.care-card {
  padding: 24px;
}

.problem-card svg,
.service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 26px;
  color: var(--green);
}

.problem-card:nth-child(2) svg,
.problem-card:nth-child(5) svg,
.idea-card:nth-child(2) span,
.idea-card:nth-child(6) span {
  color: var(--amber);
}

.problem-card:nth-child(3) svg,
.problem-card:nth-child(6) svg,
.idea-card:nth-child(3) span,
.idea-card:nth-child(7) span {
  color: var(--blue);
}

.problem-card:nth-child(4) svg,
.idea-card:nth-child(4) span,
.idea-card:nth-child(8) span {
  color: var(--coral);
}

.service-card h3,
.problem-card h3,
.idea-card h3,
.price-card h3,
.care-card h3,
.process-steps h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.service-card p,
.problem-card p,
.idea-card p,
.price-card p,
.care-card p,
.process-steps p {
  margin: 0;
  color: var(--muted);
}

.idea-section {
  background: #eef3f0;
}

.idea-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.idea-card {
  min-height: 232px;
}

.idea-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.idea-card svg {
  width: 21px;
  height: 21px;
}

.project-section {
  background: #fff;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.project-card.featured {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(13, 107, 94, 0.12);
}

.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--green);
  background: var(--accent-bg);
}

.project-icon svg {
  width: 22px;
  height: 22px;
}

.project-tag {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--green);
  background: var(--accent-bg);
  font-size: 12px;
  font-weight: 800;
}

.project-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.16;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 24px;
  color: #38413c;
}

.project-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  margin-top: 6px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f7f5;
}

.project-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-meta strong {
  color: var(--green-dark);
  white-space: nowrap;
}

.process-band {
  color: #fff;
  background: var(--navy-dark);
}

.process-band .eyebrow {
  color: var(--highlight);
}

.process-band .section-heading p,
.process-band .process-steps p {
  color: #cbd5e1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-steps article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.process-steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--highlight);
  font-weight: 800;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #fff;
}

.trust-copy {
  max-width: 820px;
}

.trust-copy h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.08;
}

.trust-copy p {
  color: var(--muted);
  font-size: 18px;
}

.trust-copy p:last-child {
  margin-bottom: 0;
}

.trust-panel {
  padding: 26px;
  background: var(--navy-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--highlight);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-panel h3 {
  margin-bottom: 22px;
  font-size: 26px;
  line-height: 1.18;
}

.trust-panel ul,
.care-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-panel li,
.care-card li {
  position: relative;
  padding-left: 24px;
}

.trust-panel li {
  color: var(--highlight-muted);
}

.trust-panel li::before,
.care-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
}

.trust-panel li::before {
  background: var(--highlight);
}

.proof-section {
  background: #eef3f0;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 28px;
  color: var(--green);
}

.proof-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(13, 107, 94, 0.12);
}

.price-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.price-head span {
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: #38413c;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.care-section {
  background: #eef3f0;
}

.care-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.care-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1.15;
}

.care-card p {
  margin-bottom: 22px;
}

.care-card.featured {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(13, 107, 94, 0.12);
}

.care-card li {
  color: #38413c;
}

.care-card li::before {
  background: var(--green);
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.faq-list details.is-active {
  border-color: rgba(13, 107, 94, 0.36);
  background: #fbfdfc;
  box-shadow: 0 16px 34px rgba(21, 24, 22, 0.08);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 21px 22px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--green);
  background: var(--accent-bg);
  text-align: center;
  line-height: 30px;
  content: "+";
  transition:
    transform 260ms ease,
    background 260ms ease;
}

.faq-list details.is-active summary::after {
  background: #d7eee8;
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease;
}

.faq-list details.is-active .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  max-width: 850px;
  padding: 0 22px 26px;
}

.faq-answer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.faq-answer-inner p + p {
  margin-top: 12px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: #fff;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #303832;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfb;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 107, 94, 0.1);
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #dcebe7;
  background: #111816;
  font-size: 14px;
}

.site-footer span:first-child {
  font-weight: 800;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
}

.start-project-float,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(21, 24, 22, 0.15);
  cursor: pointer;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease !important;
}

.start-project-float {
  background: #a9e4d9;
  color: #07453d !important;
  border-color: rgba(7, 69, 61, 0.22);
  box-shadow: 0 18px 36px rgba(7, 69, 61, 0.08);
}

.start-project-float:hover {
  background: #92ded1;
  color: #07453d !important;
  transform: translateY(-1px);
}

.whatsapp-float {
  background: #128c7e;
  box-shadow: 0 18px 36px rgba(18, 140, 126, 0.2);
}

.whatsapp-float:hover {
  background: #0d6b5e;
  transform: translateY(-1px);
}

.dark-theme .start-project-float {
  background: var(--green) !important;
  color: #080a09 !important;
  box-shadow: 0 18px 36px rgba(20, 223, 192, 0.24) !important;
}

.dark-theme .start-project-float:hover {
  background: var(--green-dark) !important;
}

@media (max-width: 480px) {
  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .start-project-float span,
  .whatsapp-float span {
    display: none;
  }

  .start-project-float,
  .whatsapp-float {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    min-height: 48px;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal[data-reveal="left"] {
  transform: translateX(-32px);
}

.scroll-reveal[data-reveal="right"] {
  transform: translateX(32px);
}

.scroll-reveal[data-reveal="left"].is-visible,
.scroll-reveal[data-reveal="right"].is-visible {
  transform: translateX(0);
}

.scroll-float {
  transform: translateY(var(--scroll-offset, 0));
  transition: transform 120ms linear;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal[data-reveal],
  .scroll-float {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-preview {
    justify-self: start;
  }

  .service-grid,
  .problem-grid,
  .idea-grid,
  .project-grid,
  .proof-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-strip span,
  .audience-strip span:first-child,
  .audience-strip span:last-child {
    border-radius: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  h1 {
    font-size: 60px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-stats,
  .preview-grid,
  .pricing-grid,
  .care-grid,
  .trust-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .preview-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .preview-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px;
    gap: 4px;
  }



  .mode-button {
    width: auto;
    flex: 1 1 auto;
    text-align: center;
    padding: 6px 10px;
    font-size: 12px;
  }

  .preview-display {
    min-height: 240px;
  }

  .mode-button {
    flex: 1;
  }

  .audience-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading h2,
  .trust-copy h2,
  .contact-copy h2 {
    font-size: 32px;
  }

  .service-grid,
  .problem-grid,
  .idea-grid,
  .project-grid,
  .proof-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .workflow-row {
    grid-template-columns: 36px 1fr;
  }

  .workflow-row strong {
    grid-column: 2;
  }

  .audience-strip {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 11px 13px;
  }
}

/* ==========================================================================
   PREMIUM MOVING GRADIENT & GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  filter: blur(88px);
  opacity: 0.86;
  will-change: transform;
}

.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  will-change: opacity;
}

/* Glassmorphic Section Overrides with Backdrop Filters */
.problem-section,
.project-section,
.trust-section,
.faq-section,
.contact-band {
  background: var(--section-bg-light) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.idea-section,
.proof-section,
.care-section {
  background: var(--section-bg-wash) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Dark Accent Section Glassmorphism */
.process-band {
  background: rgba(19, 34, 31, 0.88) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.process-steps article {
  background: rgba(28, 48, 44, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Transparent Stats Panel */
.hero-stats div {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Glassmorphic Cards & Elevating Micro-Animations */
.service-card,
.problem-card,
.idea-card,
.proof-card,
.price-card,
.care-card,
.project-card,
.founder-card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: 
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Enhanced Hover State for Premium Touch */
.service-card:hover,
.problem-card:hover,
.idea-card:hover,
.proof-card:hover,
.price-card:hover,
.care-card:hover,
.project-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--green) !important;
  box-shadow: 0 18px 36px rgba(13, 107, 94, 0.09) !important;
}

/* Ensure nested elements maintain clarity */
.preview-toolbar,
.mode-switcher,
.workflow-row,
.metric-panel {
  background: var(--preview-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.preview-toolbar {
  background: var(--preview-bar) !important;
}

/* Add reduce motion support for direct-line-card */
@media (prefers-reduced-motion: reduce) {
  .direct-line-card:hover {
    transform: none;
  }
  .founder-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   PREMIUM THEME SWITCHER & OBSIDIAN MIDNIGHT OVERRIDES
   ========================================================================== */

/* Smooth Global Transitions for Theme Variables */
body,
.site-header,
.section,
.service-card,
.problem-card,
.idea-card,
.proof-card,
.price-card,
.care-card,
.project-card,
.founder-card,
.direct-line-card,
.start-project-float,
.hero-stats div,
.audience-strip span,
.preview-toolbar,
.mode-switcher,
.preview-display,
.preview-display img,
.contact-form,
.contact-form input,
.contact-form select,
.contact-form textarea,
.faq-list details,
.announcement-bar,
.announcement-badge,
.login-btn {
  transition: 
    background-color 450ms cubic-bezier(0.16, 1, 0.3, 1),
    color 450ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 450ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Obsidian Midnight Dark Mode Variables */
.dark-theme {
  --ink: #f3f7f5;               /* Off-white sage grey text */
  --muted: #8d9b94;             /* Muted sage grey text */
  --line: rgba(255, 255, 255, 0.08);
  --paper: #101512;             /* Deep obsidian card background */
  --wash: #080a09;              /* Deep obsidian wash background */
  --green: #14dfc0;             /* Electric neon teal */
  --green-dark: #00b096;        /* Bright active teal */
  --amber: #fbbf24;
  --coral: #f87171;             /* Pastel coral */
  --blue: #60a5fa;              /* Soft pastel blue */
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.65);

  /* Translucent Glassmorphic Background Variables */
  --section-bg-light: rgba(16, 21, 18, 0.68);
  --section-bg-wash: rgba(8, 10, 9, 0.68);
  --card-bg: rgba(16, 21, 18, 0.74);
  --header-bg: rgba(8, 10, 9, 0.9);
  --preview-bg: rgba(16, 21, 18, 0.74);
  --preview-bar: rgba(16, 21, 18, 0.8);

  /* Custom Sage Theme Helpers */
  --accent-bg: rgba(20, 223, 192, 0.12);
  --navy-dark: #13221f;
  --highlight: #7fd1c3;
  --highlight-muted: #cfe1dc;
}

/* Header Adjustments in Dark Theme */
.dark-theme .site-header {
  background: rgba(8, 10, 9, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-theme .header-cta,
.dark-theme .button.secondary,
.dark-theme .mode-switcher {
  background: #101512 !important;
  color: #f3f7f5 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.dark-theme .header-cta:hover,
.dark-theme .button.secondary:hover {
  border-color: var(--green) !important;
  background: #161f1a !important;
}

/* Section Backdrops in Dark Theme */
.dark-theme .problem-section,
.dark-theme .project-section,
.dark-theme .trust-section,
.dark-theme .faq-section,
.dark-theme .contact-band {
  background: rgba(8, 10, 9, 0.68) !important;
}

.dark-theme .idea-section,
.dark-theme .proof-section,
.dark-theme .care-section {
  background: rgba(16, 21, 18, 0.68) !important;
}

/* Translucent Cards in Dark Theme */
.dark-theme .service-card,
.dark-theme .problem-card,
.dark-theme .idea-card,
.dark-theme .proof-card,
.dark-theme .price-card,
.dark-theme .care-card,
.dark-theme .project-card,
.dark-theme .founder-card,
.dark-theme .faq-list details {
  background: rgba(16, 21, 18, 0.74) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-theme .service-card:hover,
.dark-theme .problem-card:hover,
.dark-theme .idea-card:hover,
.dark-theme .proof-card:hover,
.dark-theme .price-card:hover,
.dark-theme .care-card:hover,
.dark-theme .project-card:hover,
.dark-theme .founder-card:hover {
  border-color: var(--green) !important;
  box-shadow: 0 18px 36px rgba(0, 176, 150, 0.08) !important;
}

/* Audience Strip & Stats in Dark Theme */
.dark-theme .audience-strip span {
  background: #101512 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #cfe1dc !important;
}

.dark-theme .hero-stats div {
  background: rgba(16, 21, 18, 0.6) !important;
}

/* Nested App Preview blocks in Dark Theme */
.dark-theme .app-preview {
  background: #101512 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .preview-toolbar {
  background: rgba(16, 21, 18, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .preview-sidebar {
  background: rgba(8, 10, 9, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .mode-button:hover {
  background: rgba(20, 223, 192, 0.06) !important;
  color: var(--green) !important;
}

.dark-theme .preview-display {
  background: #080a09 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .preview-display img {
  filter: brightness(0.88) contrast(1.02);
}

.dark-theme .faq-list details[open] {
  border-color: rgba(20, 223, 192, 0.3) !important;
  background: rgba(16, 21, 18, 0.74) !important;
}

.dark-theme .faq-list details.is-active {
  border-color: rgba(20, 223, 192, 0.3) !important;
  background: rgba(16, 21, 18, 0.74) !important;
}

.dark-theme .faq-list summary::after {
  background: rgba(20, 223, 192, 0.1) !important;
  color: var(--green) !important;
}

.dark-theme .faq-list details.is-active summary::after {
  background: rgba(20, 223, 192, 0.2) !important;
}

/* Contact Form in Dark Theme */
.dark-theme .contact-form {
  background: #101512 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-theme .contact-form input,
.dark-theme .contact-form select,
.dark-theme .contact-form textarea {
  background: #080a09 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f3f7f5 !important;
}

.dark-theme .contact-form input:focus,
.dark-theme .contact-form select:focus,
.dark-theme .contact-form textarea:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 4px rgba(20, 223, 192, 0.1) !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(21, 24, 22, 0.05);
  transition: 
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  border-color: var(--green);
  background: var(--accent-bg);
}

.login-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.dark-theme .login-btn {
  background: #101512 !important;
  color: #f3f7f5 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .login-btn:hover {
  border-color: var(--green) !important;
  background: rgba(20, 223, 192, 0.08) !important;
  color: var(--green) !important;
}

/* Premium Theme Switcher Button Style */
.theme-toggle-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-dark);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(21, 24, 22, 0.05);
  margin-right: 4px;
  transition: 
    transform 320ms cubic-bezier(0.175, 0.885, 0.32, 1.275), 
    border-color 320ms ease, 
    background-color 320ms ease, 
    color 320ms ease !important;
}

.theme-toggle-btn:hover {
  transform: scale(1.08) rotate(20deg) !important;
  border-color: var(--green);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.dark-theme .theme-toggle-btn {
  color: #fbbf24 !important; /* Golden Sun */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Custom adjustment for process blocks in Dark Mode */
.dark-theme .process-steps article {
  border-color: rgba(255, 255, 255, 0.08) !important;
}


/* ==========================================================================
   ABOUT US & FOUNDERS SECTION STYLE
   ========================================================================== */

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  background: #111a17 !important; /* Premium deep dark sage background to separate sections */
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.about-story {
  max-width: 720px;
}

.about-story .eyebrow {
  color: var(--highlight);
}

.about-story h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.08;
  color: #fff;
}

.about-story p {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.62;
  margin-bottom: 20px;
}

.stat-milestone {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 24px;
  border-radius: 12px;
  background: rgba(127, 209, 195, 0.08) !important;
  border: 1px solid rgba(127, 209, 195, 0.2) !important;
  max-width: fit-content;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--highlight);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-text {
  font-size: 15px;
  font-weight: 600;
  color: #cfe1dc;
  line-height: 1.4;
}

.founders-container {
  display: grid;
  gap: 20px;
}

.founders-grid {
  display: grid;
  gap: 16px;
}

.founder-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  transition: 
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.founder-card h3 {
  margin: 0 0 2px 0;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}

.founder-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.founder-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.founder-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--highlight) !important;
  box-shadow: 0 18px 36px rgba(127, 209, 195, 0.1) !important;
}

/* Founders Direct Promise Card (High trust booster) */
.direct-line-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.direct-line-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(7, 69, 61, 0.25);
  border-color: var(--highlight) !important;
}

.direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(127, 209, 195, 0.1) !important;
  color: var(--highlight) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.direct-badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.direct-line-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.direct-line-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsiveness overrides */
@media (max-width: 1040px) {
  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-story h2 {
    font-size: 32px;
  }
  .stat-milestone {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .founder-avatar {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .direct-line-card:hover {
    transform: none;
  }
  .founder-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   PREMIUM CUSTOM LOGIN SCREEN STYLES
   ========================================================================== */

.login-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 24px;
}

.login-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.login-card {
  width: 100%;
  max-width: 520px;
  background: var(--card-bg) !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: max-width 240ms ease-in-out;
}

.login-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-card-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-card-header p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.login-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #303832;
}

.dark-theme .form-group {
  color: var(--muted);
}

.password-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-password-link {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  transition: color 150ms ease;
}

.forgot-password-link:hover {
  color: var(--green-dark);
}

.dark-theme .forgot-password-link:hover {
  color: #fff;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfcfb;
  color: var(--ink);
  outline: none;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dark-theme .input-wrapper input {
  background: #080a09;
}

.input-wrapper input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 107, 94, 0.1);
}

.dark-theme .input-wrapper input:focus {
  box-shadow: 0 0 0 4px rgba(20, 223, 192, 0.1);
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  color: var(--ink);
}

.password-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.login-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.login-card-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color 160ms ease, transform 160ms ease;
}

.back-home-link:hover {
  color: var(--green);
  transform: translateX(-2px);
}

.back-home-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.register-prompt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.register-btn-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--green) !important;
  background: rgba(13, 107, 94, 0.03) !important;
  color: var(--green) !important;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  max-width: 240px;
  transition: 
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease !important;
}

.register-btn-highlight:hover {
  background: var(--green) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.dark-theme .register-btn-highlight {
  background: rgba(20, 223, 192, 0.04) !important;
}

.dark-theme .register-btn-highlight:hover {
  background: var(--green) !important;
  color: #080a09 !important;
}

.register-btn-highlight svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.85;
  margin-left: 2px;
}

.fade-in-slide {
  animation: fadeInSlide 320ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@media (max-width: 480px) {
  .login-card {
    padding: 32px 20px;
  }
}

/* Custom Form Status Alert Banners */
.form-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
  animation: formAlertSlideIn 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-alert.error {
  background: rgba(212, 81, 60, 0.08);
  border: 1px solid rgba(212, 81, 60, 0.25);
  color: #c0392b;
}

.form-alert.success {
  background: rgba(13, 107, 94, 0.08);
  border: 1px solid rgba(13, 107, 94, 0.25);
  color: #0d6b5e;
}

/* Icons within alerts */
.form-alert .alert-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-alert.error .alert-icon {
  color: #d4513c;
}

.form-alert.success .alert-icon {
  color: #0d6b5e;
}

/* Dark Mode adaptation */
.dark-theme .form-alert.error {
  background: rgba(245, 103, 84, 0.08);
  border: 1px solid rgba(245, 103, 84, 0.25);
  color: #ff8578;
}

.dark-theme .form-alert.success {
  background: rgba(46, 211, 196, 0.08);
  border: 1px solid rgba(46, 211, 196, 0.25);
  color: #5ff2e4;
}

.dark-theme .form-alert.error .alert-icon {
  color: #ff8578;
}

.dark-theme .form-alert.success .alert-icon {
  color: #5ff2e4;
}

@keyframes formAlertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


