/* ============================================================
   Rental1 Splash Page
   Aesthetic: Editorial dark — cinematic, confident, refined
   ============================================================ */

/* Font fallbacks to reduce layout shift while web fonts load */
@font-face {
  font-family: 'Instrument Serif Fallback';
  src: local('Georgia');
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  size-adjust: 105%;
  ascent-override: 93%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Courier New');
  size-adjust: 114%;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand palette */
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;

  /* Surface palette */
  --bg: #0a0f1a;
  --bg-elevated: #111827;
  --bg-card: #0f1525;
  --bg-card-hover: #141c2e;
  --surface-border: rgba(255 255 255 / 0.06);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  /* Typography */
  --font-display: 'Instrument Serif', 'Instrument Serif Fallback', Georgia, serif;
  --font-body: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;

  /* Spacing */
  --section-padding: clamp(5rem, 12vh, 9rem);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-reveal: 0.9s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img, svg {
  display: block;
}


/* --- Container --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}


/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10 15 26 / 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--surface-border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-text-sm {
  font-size: 1.2rem;
}

.logo-accent {
  color: var(--amber-500);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  color: var(--text-primary);
  background: rgba(255 255 255 / 0.05);
}

.nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: block;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  line-height: 1;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  box-shadow: 0 0 0 0 rgba(20 184 166 / 0), 0 2px 8px rgba(0 0 0 / 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  box-shadow: 0 0 24px rgba(20 184 166 / 0.25), 0 4px 16px rgba(0 0 0 / 0.2);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255 255 255 / 0.1);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255 255 255 / 0.2);
  background: rgba(255 255 255 / 0.03);
}


/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

.hero-gradient-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(20 184 166 / 0.22) 0%, transparent 70%);
  transform: translateY(calc(var(--scroll, 0) * -0.12px));
  will-change: transform;
}

.hero-gradient-2 {
  position: absolute;
  bottom: -10%;
  right: -15%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(245 158 11 / 0.12) 0%, transparent 70%);
  transform: translateY(calc(var(--scroll, 0) * 0.08px));
  will-change: transform;
}


/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(20 184 166 / 0.08);
  border: 1px solid rgba(20 184 166 / 0.15);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--teal-400);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Value props */
.hero-value-props {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
}

/* Scroll hint */
.hero-scroll-hint {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: scroll-bob 2.5s ease-in-out infinite;
}

.hero-scroll-chevron {
  color: var(--text-muted);
  display: block;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}


/* --- App Preview --- */
.app-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  margin: 4rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.app-frame {
  background: #1a1f2e;
  border-radius: 14px 14px 0 0;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255 255 255 / 0.08);
  border-bottom: none;
}

.app-frame-dots {
  display: flex;
  gap: 6px;
}

.app-frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255 255 255 / 0.08);
}

.app-frame-dots span:first-child { background: #ef4444aa; }
.app-frame-dots span:nth-child(2) { background: #f59e0baa; }
.app-frame-dots span:last-child { background: #22c55eaa; }

.app-frame-bar {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-frame-url {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255 255 255 / 0.04);
  padding: 0.3rem 1.2rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.app-window {
  display: flex;
  background: #0c1220;
  border: 1px solid rgba(255 255 255 / 0.08);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  min-height: 380px;
  box-shadow:
    0 20px 80px rgba(0 0 0 / 0.5),
    0 0 0 1px rgba(255 255 255 / 0.03),
    0 0 120px rgba(20 184 166 / 0.06);
}

/* Sidebar */
.app-sidebar {
  width: 180px;
  background: #0a0f1a;
  border-right: 1px solid rgba(255 255 255 / 0.06);
  padding: 1rem 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.app-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 1rem 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255 255 255 / 0.06);
  margin-bottom: 0.5rem;
}

.app-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem 0.5rem;
  flex: 1;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.app-nav-active {
  color: var(--text-primary);
  background: rgba(20 184 166 / 0.1);
}

.app-nav-section-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.6rem 0.65rem 0.3rem;
}

.app-nav-section-admin {
  margin-top: 1.5rem;
}

.app-nav-settings {
  margin-top: 0;
}

/* Main content area */
.app-main {
  flex: 1;
  padding: 1.25rem 1.5rem;
  overflow: hidden;
}

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.app-page-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.app-page-subtitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.app-search-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255 255 255 / 0.04);
  border: 1px solid rgba(255 255 255 / 0.06);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  min-width: 150px;
}

.app-search-cursor {
  display: inline-block;
  width: 1px;
  height: 0.7em;
  background: var(--text-muted);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink-cursor 1.2s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.app-search-kbd {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  background: rgba(255 255 255 / 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-left: auto;
  flex-shrink: 0;
}

.app-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats row */
.app-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.app-stat-card {
  background: rgba(255 255 255 / 0.025);
  border: 1px solid rgba(255 255 255 / 0.06);
  border-radius: 10px;
  padding: 0.85rem;
  position: relative;
  overflow: hidden;
}


.app-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.app-stat-icon-blue {
  background: rgba(59 130 246 / 0.12);
  color: #60a5fa;
}

.app-stat-icon-teal {
  background: rgba(20 184 166 / 0.12);
  color: var(--teal-400);
}

.app-stat-icon-green {
  background: rgba(34 197 94 / 0.12);
  color: #4ade80;
}

.app-stat-icon-red {
  background: rgba(239 68 68 / 0.12);
  color: #f87171;
}

.app-stat-value {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.app-stat-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Content row — panels */
.app-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.app-content-row-single {
  grid-template-columns: 1fr;
}

.app-panel {
  background: rgba(255 255 255 / 0.025);
  border: 1px solid rgba(255 255 255 / 0.06);
  border-radius: 10px;
  padding: 0.85rem;
}

.app-panel-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.app-panel-icon {
  color: var(--text-muted);
  display: flex;
}

.app-panel-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-primary);
}

.app-panel-count {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  background: rgba(255 255 255 / 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: auto;
}

.app-panel-list {
  display: flex;
  flex-direction: column;
}

.app-panel-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid rgba(255 255 255 / 0.03);
}

.app-panel-item:last-child {
  border-bottom: none;
}

.app-panel-item-main {
  flex: 1;
  min-width: 0;
}

.app-panel-item-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-panel-item-meta {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.app-panel-item-amount {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.app-amount-overdue {
  color: #f87171;
}

/* Subtle pulse on the overdue stat card */
.app-stat-card:last-child {
  animation: overdue-pulse 3s ease-in-out infinite;
}

@keyframes overdue-pulse {
  0%, 100% { border-color: rgba(255 255 255 / 0.06); }
  50% { border-color: rgba(248 113 113 / 0.35); }
}

.app-panel-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255 255 255 / 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.app-panel-tag-warn {
  color: var(--amber-500);
  background: rgba(245 158 11 / 0.1);
}

.app-panel-tag-teal {
  color: var(--teal-400);
  background: rgba(20 184 166 / 0.1);
}

/* App preview responsive */
@media (max-width: 768px) {
  .app-preview {
    margin-top: 3rem;
  }

  .app-sidebar {
    display: none;
  }

  .app-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-content-row {
    grid-template-columns: 1fr;
  }

  .app-window {
    min-height: 300px;
  }

  .app-content-row-single {
    display: none;
  }
}

@media (max-width: 480px) {
  .app-frame-url {
    display: none;
  }

  .app-search-box {
    display: none;
  }
}


/* --- Section common --- */
.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.section-tag-amber {
  color: var(--amber-400);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.text-muted {
  color: var(--text-muted);
}


/* --- Features --- */
.features {
  padding: var(--section-padding) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out-expo);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255 255 255 / 0.1);
  transform: translateY(-2px);
}

.feature-card-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
}

.feature-card-text {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20 184 166 / 0.08);
  color: var(--teal-400);
  margin-bottom: 1.25rem;
}

.feature-icon-amber {
  background: rgba(245 158 11 / 0.08);
  color: var(--amber-400);
}

.feature-icon-blue {
  background: rgba(59 130 246 / 0.08);
  color: #60a5fa;
}

.feature-icon-violet {
  background: rgba(139 92 246 / 0.08);
  color: #a78bfa;
}

.feature-icon-rose {
  background: rgba(244 63 94 / 0.08);
  color: #fb7185;
}

/* Feature card accent borders — colored left edge per card */
.feature-card:not(.feature-card-large):not(.feature-card-wide) {
  border-left: 2px solid transparent;
}

.feature-card:not(.feature-card-large):not(.feature-card-wide):nth-child(2) {
  border-left-color: var(--teal-600);
}

.feature-card:not(.feature-card-large):not(.feature-card-wide):nth-child(3) {
  border-left-color: var(--amber-600);
}

.feature-card:not(.feature-card-large):not(.feature-card-wide):nth-child(4) {
  border-left-color: #7c3aed;
}

.feature-card:not(.feature-card-large):not(.feature-card-wide):nth-child(6) {
  border-left-color: #e11d48;
}

.feature-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Wide feature card — spans 2 columns with side illustration */
.feature-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-card-wide .feature-card-text {
  display: flex;
  flex-direction: column;
}

.feature-file-tree {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(255 255 255 / 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  line-height: 2;
}

.feature-file-tree-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.feature-file-tree .ft-folder {
  color: #60a5fa;
}

.feature-file-tree .ft-file {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.feature-file-tree .ft-tag {
  font-size: 0.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.5rem;
}

.feature-file-tree .ft-tag-green {
  color: #4ade80;
  background: rgba(34 197 94 / 0.1);
}

.feature-file-tree .ft-tag-amber {
  color: var(--amber-400);
  background: rgba(245 158 11 / 0.1);
}

/* Feature mock UI */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-mock {
  width: 100%;
  max-width: 400px;
  background: rgba(255 255 255 / 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  overflow: hidden;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
}

.feature-table th {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: left;
  padding: 0.4rem 0.4rem;
  border-bottom: 1px solid rgba(255 255 255 / 0.06);
}

.feature-table td {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid rgba(255 255 255 / 0.03);
}

.feature-table tr:last-child td {
  border-bottom: none;
}

.ft-address {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}

.ft-ref {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.ft-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.ft-status-active {
  color: var(--teal-400);
  background: rgba(20 184 166 / 0.1);
}

.ft-status-vacant {
  color: var(--amber-500);
  background: rgba(245 158 11 / 0.1);
}



/* --- How it Works --- */
.how-it-works {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--surface-border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.step:first-child {
  border-top: 1px solid var(--surface-border);
}

.step-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  min-width: 4rem;
  background: linear-gradient(180deg, rgba(20 184 166 / 0.3) 0%, rgba(20 184 166 / 0.08) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
}

.step-icon {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--teal-400);
  align-self: center;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(20 184 166 / 0.06);
  border: 1px solid rgba(20 184 166 / 0.1);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.steps-cta {
  margin-top: 3rem;
  text-align: center;
}

.steps-cta .btn {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- CTA --- */
.cta {
  padding: var(--section-padding) 0;
}

.cta-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5rem);
  text-align: center;
  border: 1px solid var(--surface-border);
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(20 184 166 / 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(245 158 11 / 0.12) 0%, transparent 55%);
}

.cta-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-reassurance {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}


/* --- Footer --- */
.footer {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--surface-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-top: 1.25rem;
  opacity: 0.7;
}

.footer-badge svg {
  width: 13px;
  height: 13px;
  display: inline;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: var(--teal-400);
}


/* --- Pricing --- */
.pricing {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--surface-border);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pricing-toggle-label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.25s;
  user-select: none;
}

.pricing-toggle-label--active {
  color: var(--text-primary);
  font-weight: 500;
}

.pricing-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: rgba(255 255 255 / 0.08);
  border: 1px solid rgba(255 255 255 / 0.12);
  border-radius: 100px;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, border-color 0.25s;
}

.pricing-toggle-switch:hover {
  background: rgba(255 255 255 / 0.12);
}

.pricing-toggle-switch[aria-checked="true"] {
  background: rgba(20 184 166 / 0.15);
  border-color: rgba(20 184 166 / 0.3);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out-expo), background 0.25s;
}

.pricing-toggle-switch[aria-checked="true"] .pricing-toggle-knob {
  transform: translateX(22px);
  background: var(--teal-400);
}

.pricing-toggle-save {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(20 184 166 / 0.08);
  border: 1px solid rgba(20 184 166 / 0.15);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out-expo);
  pointer-events: none;
}

.pricing-toggle-save--visible {
  opacity: 1;
  transform: translateX(0);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out-expo);
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255 255 255 / 0.1);
  transform: translateY(-2px);
}

.pricing-card-popular {
  border-color: var(--teal-600);
  box-shadow:
    0 0 24px rgba(20 184 166 / 0.12),
    0 8px 32px rgba(0 0 0 / 0.3);
  transform: translateY(-4px);
}

.pricing-card-popular:hover {
  border-color: var(--teal-500);
  box-shadow:
    0 0 32px rgba(20 184 166 / 0.18),
    0 12px 40px rgba(0 0 0 / 0.35);
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(20 184 166 / 0.08);
  border: 1px solid rgba(20 184 166 / 0.15);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
}

.pricing-plan-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.pricing-period {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-limit {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--teal-400);
}

.pricing-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing-enterprise {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.pricing-enterprise strong {
  color: var(--text-primary);
  font-weight: 500;
}

.pricing-enterprise a {
  color: var(--teal-400);
  transition: color 0.2s;
}

.pricing-enterprise a:hover {
  text-decoration: underline;
}

.pricing-vat {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

noscript [data-reveal],
.no-js [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }


/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(10 15 26 / 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    display: block;
    font-size: 1.2rem;
  }

  .nav-links .btn-sm {
    font-size: 1rem;
    padding: 0.85rem 2rem;
    margin-top: 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large,
  .feature-card-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem 0;
  }

  .step-number {
    min-width: auto;
  }

  .step-desc {
    font-size: 0.9rem;
  }

  .step-icon {
    margin-left: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    order: -1;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .steps-cta {
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-popular {
    order: -1;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large,
  .feature-card-wide {
    grid-column: span 2;
  }
}

/* ============================================================
   Cookie Consent Banner
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  animation: cookie-slide-up 0.4s ease-out;
}

@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner-inner {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-banner-text a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}
