/* Basic reset and variables */
:root {
  --brand: #1f6feb;
  --muted: #6b7280;
  --bg: #f8fafc;
  --dark: #0f1724;
  --accent: #0ea5a4;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px
}

/* Header / Nav */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6edf3;
  position: relative;
}

.nav-mobile-controls,
.mobile-only-profile {
  display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .site-header {
    height: 70px; /* Slightly longer navbar */
    display: flex;
    align-items: center;
  }
  
  .nav-wrap {
    padding: 0; /* Remove padding, let flex align it */
    width: 100%;
    height: 100%;
    justify-content: space-between; /* Push logo and hamburger apart */
  }

  .navbar-logo {
    height: 40px; /* Adjust logo size to fit */
    margin-top: 4px; /* Slight adjustment for visual center */
  }

  .hamburger {
    width: 26px; /* Increase hamburger size */
    height: 3px; /* Slightly thicker */
  }
  
  .hamburger:before,
  .hamburger:after {
    width: 26px;
    height: 3px;
  }
  
  .hamburger:before { top: -8px; }
  .hamburger:after { top: 8px; }

  .nav-mobile-controls {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .mobile-only-profile {
    display: flex !important;
  }
  
  /* Hide the profile inside the menu on mobile */
  .site-nav .user-profile-nav {
    display: none;
  }

  /* Hero CTA Mobile Enhancements */
  .hero-ctas {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }
  
  .hero-ctas .btn-primary {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(31, 111, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .hero-ctas .btn-primary:active {
    transform: scale(0.98);
  }
}

.brand {
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  font-size: 1.25rem
}

.site-nav {
  display: flex;
  align-items: center
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  align-items: center
}

.site-nav a {
  color: var(--dark);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 1.05rem;
}

/* Accessibility */
body.font-bold {
  font-weight: 700;
}

body.font-bold h1, body.font-bold h2, body.font-bold h3, body.font-bold h4, body.font-bold h5, body.font-bold h6,
body.font-bold p, body.font-bold a, body.font-bold span, body.font-bold div,
body.font-bold label, body.font-bold input, body.font-bold button, body.font-bold select, body.font-bold textarea,
body.font-bold li, body.font-bold td, body.font-bold th, body.font-bold strong, body.font-bold b {
  font-weight: 700 !important;
}

.site-nav a:hover {
  background: #f1f5f9
}

/* Profile Dropdown Animation & Styles */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 1001;
  border: 1px solid #e2e8f0;
  transform-origin: top right;
}

.profile-dropdown-menu.show {
  display: block;
  animation: slideDownFade 0.2s ease-out forwards;
}

.ri-arrow-down-s-line {
    transition: transform 0.2s ease;
}

.rotate {
    transform: rotate(180deg);
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--dark);
  text-decoration: none;
  transition: background 0.2s;
  font-size: 14px;
  border-radius: 8px;
}

.profile-dropdown-item:hover {
  background-color: #f1f5f9;
}

.profile-dropdown-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 8px 0;
}

.text-danger {
  color: #dc2626 !important;
}

/* Make all links inherit color and remove underlines inside buttons and hub areas */
a {
  color: inherit;
  text-decoration: none
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.btn:focus {
  outline: 2px solid rgba(31, 111, 235, 0.18);
  outline-offset: 2px
}

.btn-outline {
  border: 1px solid #e2e8f0;
  background: transparent;
  color: var(--dark)
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.08)
}

.btn:hover {
  transform: translateY(-3px)
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(31, 111, 235, 0.12)
}

.nav-right .btn {
  margin-left: 8px
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600
}

.btn-outline {
  border: 1px solid #d1d5db;
  background: transparent
}

.btn-primary {
  background: var(--brand);
  color: #fff
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  position: relative
}

.hamburger:before,
.hamburger:after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform .2s
}

.hamburger:before {
  top: -6px
}

.hamburger:after {
  top: 6px
}

.nav-toggle.open .hamburger {
  background: transparent
}

.nav-toggle.open .hamburger:before {
  transform: rotate(45deg) translate(4px, 4px)
}

.nav-toggle.open .hamburger:after {
  transform: rotate(-45deg) translate(4px, -4px)
}

/* Content */
.hero {
  padding: 48px 0 32px;
  text-align: center
}

.hero .lead {
  color: var(--muted);
  max-width: 700px;
  margin: 12px auto
}

.page-center {
  padding: 48px 0;
  text-align: center
}

/* Home page specific */
.hero-grid {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 28px 0
}

.hero-copy {
  flex: 1;
  text-align: left
}

.hero-copy .eyebrow {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px
}

.hero-copy h1 {
  font-size: 2rem;
  margin: 6px 0 12px;
  line-height: 1.08
}

.hero-copy .lead {
  margin: 0 0 16px;
  color: var(--muted)
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin: 14px 0
}

.hero-media {
  flex: 1;
  display: flex;
  justify-content: center
}

.hero-image {
  max-width: 380px;
  width: 100%;
  height: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  transform: translateY(0);
  transition: all .4s cubic-bezier(.2, .9, .26, 1);
}

.hero-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.feature-card-home {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card-home:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(12, 20, 30, 0.08);
}

.feature-icon-box {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
  padding: 12px;
  background: #f0f9ff;
  border-radius: 12px;
}

.feature-card-home h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--dark);
}

.feature-card-home p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.trust {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px
}

/* How It Works page */
.hero-narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.hero-narrow h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 12px
}

.hero-narrow .lead {
  font-size: 1.1rem;
  color: var(--muted)
}

.steps-process {
  padding: 48px 0
}

.step-block {
  position: relative;
  margin-bottom: 32px;
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.step-block.revealed {
  opacity: 1;
  transform: none
}

.step-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: center
}

.step-content {
  flex: 1
}

.step-content h2 {
  margin: 0 0 10px;
  font-size: 1.4rem
}

.step-content>p {
  color: var(--muted);
  line-height: 1.6
}

.step-highlights {
  list-style: none;
  padding: 12px 0;
  margin: 12px 0
}

.step-highlights li {
  padding: 6px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.step-highlights li:before {
  content: '✓';
  color: var(--brand);
  font-weight: 700
}

.steps-process {
  padding: 48px 0
}

.step-block {
  position: relative;
  margin-bottom: 32px;
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.step-block.revealed {
  opacity: 1;
  transform: none
}

.step-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: center
}

.step-content {
  flex: 1
}

.step-content h2 {
  margin: 0 0 10px;
  font-size: 1.4rem
}

.step-content>p {
  color: var(--muted);
  line-height: 1.6
}

.step-highlights {
  list-style: none;
  padding: 12px 0;
  margin: 12px 0
}

.step-highlights li {
  padding: 6px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.step-highlights li:before {
  content: '✓';
  color: var(--brand);
  font-weight: 700
}

.step-content .btn {
  margin-top: 12px
}

/* Features page */
.features-hero .eyebrow {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
  display: block
}

.features-hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 12px
}

.features-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 18px
}

.features-hero .hero-ctas {
  justify-content: center
}

.features-grid-section {
  padding: 48px 0
}

.features-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.feature-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1), box-shadow .25s;
  display: flex;
  flex-direction: column
}

.feature-card.revealed {
  opacity: 1;
  transform: none
}

.feature-card:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-8px)
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 12px
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0
}

.benefits-highlight {
  padding: 48px 0
}

.benefits-highlight h2 {
  text-align: center;
  margin-bottom: 28px
}

.benefits-split {
  display: flex;
  gap: 32px
}

.benefit-side {
  flex: 1;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.benefit-side.revealed {
  opacity: 1;
  transform: none
}

.benefit-side h3 {
  margin: 0 0 12px;
  font-size: 1.2rem
}

.benefit-side ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.benefit-side li {
  padding: 8px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.benefit-side li:before {
  content: '→';
  color: var(--brand);
  font-weight: 700
}

.security-section {
  padding: 48px 0;
  text-align: center
}

.security-section h2 {
  margin-bottom: 28px
}

.security-badges {
  display: flex;
  gap: 20px;
  justify-content: center
}

.security-badge {
  flex: 1;
  max-width: 280px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.security-badge.revealed {
  opacity: 1;
  transform: none
}

.security-icon {
  font-size: 2rem;
  margin-bottom: 12px
}

.security-text h4 {
  margin: 0 0 6px;
  font-size: 1rem
}

.security-text p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5
}

/* Pricing page */
.pricing-hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 12px
}

.pricing-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px
}

.toggle-label {
  font-weight: 600;
  color: var(--dark)
}

.save-badge {
  margin-left: 6px;
  background: rgba(31, 111, 235, 0.1);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  width: 50px;
  height: 26px;
  background: #e2e8f0;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background .25s
}

.toggle-switch input {
  display: none
}

.toggle-switch input:checked+.slider {
  left: 24px;
  background: var(--brand)
}

.slider {
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 50%;
  transition: all .25s
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0
}

.pricing-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  padding: 28px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1), box-shadow .25s, transform .25s;
  position: relative
}

.pricing-card.revealed {
  opacity: 1;
  transform: none
}

.pricing-card:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-6px)
}

.pricing-card-featured {
  border: 2px solid var(--brand);
  transform: scale(1.03)
}

.pricing-card-featured.revealed {
  transform: scale(1.03)
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-6px)
}

.recommended-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700
}

.card-header {
  margin-bottom: 12px
}

.card-header h3 {
  margin: 0 0 6px;
  font-size: 1.3rem
}

.price {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand)
}

.price .amount {
  display: inline
}

.price .period {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400
}

.subtitle-small {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem
}

.yearly-info {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem
}

.yearly-price {
  color: var(--brand);
  font-weight: 700
}

.card-desc {
  color: var(--muted);
  margin: 12px 0
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
  flex-grow: 1
}

.card-features li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem
}

.btn-full {
  width: 100%
}

.comparison-table {
  padding: 48px 0
}

.comparison-table h2 {
  text-align: center;
  margin-bottom: 24px
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04)
}

thead {
  background: #f8fafc;
  border-bottom: 2px solid #e6edf3
}

th {
  padding: 14px;
  text-align: left;
  font-weight: 700;
  color: var(--dark)
}

td {
  padding: 14px;
  border-bottom: 1px solid #e6edf3;
  color: var(--muted)
}

tbody tr:last-child td {
  border-bottom: none
}

td:first-child {
  font-weight: 600;
  color: var(--dark)
}

.why-rentmate {
  padding: 48px 0;
  text-align: center
}

.why-rentmate h2 {
  margin-bottom: 24px
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px
}

.benefit-check {
  color: var(--brand);
  font-weight: 800
}

.faq-section {
  padding: 48px 0
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 28px
}

.faq-items {
  max-width: 700px;
  margin: 0 auto
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.faq-item.revealed {
  opacity: 1;
  transform: none
}

.faq-question {
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  transition: background .2s
}

.faq-question:hover {
  background: #f8fafc
}

.faq-item.open .faq-question {
  background: #f8fafc
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.6
}

/* About page */
.about-hero {
  padding: 48px 0
}

.about-hero .eyebrow {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px
}

.about-hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 16px
}

.about-hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7
}

.story-section {
  padding: 48px 0
}

.story-section h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  text-align: center
}

.story-section p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem
}

.mission-vision {
  display: flex;
  gap: 40px;
  padding: 48px 0
}

.mission-block,
.vision-block {
  flex: 1
}

.mission-block h2,
.vision-block h2 {
  margin-bottom: 16px;
  font-size: 1.4rem
}

.mission-block p,
.vision-block p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.95rem
}

.mission-block ul,
.vision-block ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.mission-block li,
.vision-block li {
  padding: 6px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.mission-block li:before,
.vision-block li:before {
  content: '✓';
  color: var(--brand);
  font-weight: 700
}

.values-section {
  padding: 48px 0
}

.values-section h2 {
  text-align: center;
  margin-bottom: 28px
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px
}

.value-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.value-card.revealed {
  opacity: 1;
  transform: none
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 8px
}

.value-card h3 {
  margin: 0 0 6px;
  font-size: 1rem
}

.value-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4
}

.why-section {
  padding: 32px 0
}

.why-section h2 {
  text-align: center;
  margin-bottom: 24px
}

.why-split {
  display: flex;
  gap: 32px
}

.why-side {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.why-side.revealed {
  opacity: 1;
  transform: none
}

.why-side h3 {
  margin: 0 0 12px
}

.why-side ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.why-side li {
  padding: 6px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.why-side li:before {
  content: '→';
  color: var(--brand);
  font-weight: 700
}

.timeline-section {
  padding: 48px 0
}

.timeline-section h2 {
  text-align: center;
  margin-bottom: 32px
}

.timeline {
  position: relative;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto
}

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: translateX(-50%)
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1);
  align-items: flex-start
}

.timeline-item.revealed {
  opacity: 1;
  transform: none
}

.timeline-marker {
  grid-column: 2;
  position: relative;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid var(--brand);
  border-radius: 50%;
  z-index: 2;
  margin-top: 6px
}

.timeline-item:nth-child(odd) .timeline-label {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 6px
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding-left: 30px
}

.timeline-item:nth-child(even) .timeline-label {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding-left: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 6px
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: 30px
}

.timeline-content {
  color: var(--muted);
  line-height: 1.6
}

.timeline-content h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700
}

.timeline-content p {
  margin: 0;
  font-size: 0.95rem
}

.team-section {
  padding: 48px 0
}

.team-section h2 {
  text-align: center;
  margin-bottom: 12px
}

.team-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.team-member {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.team-member.revealed {
  opacity: 1;
  transform: none
}

.member-avatar {
  font-size: 3rem;
  margin-bottom: 12px
}

.team-member h3 {
  margin: 0 0 8px;
  font-size: 1.05rem
}

.team-member p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 6px 0;
  line-height: 1.5
}

.member-role {
  font-weight: 600;
  color: var(--brand);
  font-size: 0.85rem
}

.commitment-section {
  padding: 48px 0
}

.commitment-section h2 {
  text-align: center;
  margin-bottom: 12px
}

.commitment-section>p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 24px
}

.security-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.security-item {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04)
}

.security-check {
  color: var(--brand);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0
}

.security-item h4 {
  margin: 0 0 4px;
  font-size: 1rem
}

.security-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0
}

/* Contact page */
.contact-hero .eyebrow {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px
}

.contact-hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 16px
}

.contact-hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7
}

.contact-options {
  padding: 48px 0
}

.contact-options h2 {
  text-align: center;
  margin-bottom: 28px
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.contact-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1);
  display: flex;
  flex-direction: column
}

.contact-card.revealed {
  opacity: 1;
  transform: none
}

.contact-card:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-8px)
}

.contact-icon {
  font-size: 2.4rem;
  margin-bottom: 12px
}

.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem
}

.contact-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600
}

.contact-card a:hover {
  text-decoration: underline
}

.contact-hours {
  font-size: 0.85rem;
  margin-top: 4px
}

.contact-form-section {
  padding: 48px 0
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04)
}

.form-wrapper h2 {
  margin-bottom: 24px;
  text-align: center
}

.contact-form {
  display: flex;
  flex-direction: column
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.1)
}

.contact-form button {
  margin-top: 8px
}

.btn-submit {
  padding: 12px 24px;
  font-size: 1rem;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.15);
  position: relative;
  overflow: hidden;
  transition: all .3s ease
}

.btn-submit:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left .5s
}

.btn-submit:hover {
  box-shadow: 0 12px 32px rgba(31, 111, 235, 0.25);
  transform: translateY(-2px)
}

.btn-submit:hover:before {
  left: 100%
}

.btn-submit:active {
  transform: translateY(0)
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px
}

.location-section {
  padding: 48px 0
}

.location-section h2 {
  text-align: center;
  margin-bottom: 28px
}

.location-content {
  display: flex;
  gap: 40px;
  align-items: center
}

.location-info {
  flex: 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.location-info.revealed {
  opacity: 1;
  transform: none
}

.location-icon {
  font-size: 2.4rem;
  margin-bottom: 12px
}

.location-info h3 {
  margin: 0 0 12px;
  font-size: 1.3rem
}

.location-info p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0
}

.location-map {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.location-map.revealed {
  opacity: 1;
  transform: none
}

.faq-suggestions {
  padding: 48px 0;
  text-align: center
}

.faq-suggestions h2 {
  margin-bottom: 12px
}

.faq-suggestions>p {
  color: var(--muted);
  margin-bottom: 24px
}

.suggestions-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: all .25s
}

.suggestion-item:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-4px)
}

.suggestion-icon {
  font-size: 1.3rem
}

.social-connect {
  padding: 48px 0;
  text-align: center
}

.social-connect h2 {
  margin-bottom: 12px
}

.social-connect>p {
  color: var(--muted);
  margin-bottom: 24px
}

.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: all .25s
}

.social-icon:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-4px)
}

.how-works {
  padding: 34px 0
}

.how-works .steps {
  display: flex;
  gap: 18px;
  margin-top: 18px
}

.step {
  flex: 1;
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12, 20, 30, 0.04);
  transform: translateY(6px);
  transition: transform .45s cubic-bezier(.2, .9, .26, 1), box-shadow .25s, opacity .4s
}

.step .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px
}


.benefits {
  padding: 34px 0
}

.benefit-grid {
  display: flex;
  gap: 18px
}

.benefit-col {
  flex: 1;
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12, 20, 30, 0.04)
}

.stats {
  padding: 22px 0
}

.stat-items {
  display: flex;
  gap: 18px;
  justify-content: space-between
}

.stat {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.stat-num {
  font-weight: 800;
  font-size: 1.25rem
}

/* Reveal animation helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: none
}

/* small floating animation for accents */
@keyframes floaty {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }

  100% {
    transform: translateY(0)
  }
}

.floaty {
  animation: floaty 6s ease-in-out infinite
}

.testimonials {
  padding: 34px 0
}

.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12, 20, 30, 0.04)
}

.testimonial blockquote {
  margin: 0 0 12px;
  font-style: italic
}

.pricing-preview {
  padding: 34px 0;
  text-align: center
}

.final-cta {
  background: linear-gradient(90deg, #eef5ff, #ffffff);
  padding: 28px 0;
  margin-top: 18px
}

.final-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.cta-actions {
  display: flex;
  gap: 12px
}

/* Footer */
.site-footer {
  background: #0b1320;
  color: #cbd5e1;
  margin-top: 40px;
  padding-top: 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0
}

.site-footer h4 {
  margin: 0 0 8px;
  font-size: 1rem
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0
}

.bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.slogan {
  font-weight: 600
}

.socials a {
  margin-left: 12px;
  color: inherit;
  text-decoration: none
}

/* Authentication Pages */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef5ff 100%);
  position: relative
}

.auth-container:before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef5ff 100%);
  z-index: -1
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(31, 111, 235, 0.1);
  padding: 48px;
  max-width: 560px;
  width: 100%;
  animation: slideInUp .6s ease
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 28px
}

.auth-header h1 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: var(--dark)
}

.auth-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6
}

.auth-form {
  display: flex;
  flex-direction: column
}

.auth-form .form-group {
  margin-bottom: 18px
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.1)
}

.password-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted)
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 20px;
  gap: 12px
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px
}

.remember-me input {
  width: 18px;
  height: 18px;
  cursor: pointer
}

.remember-me label {
  margin: 0;
  cursor: pointer;
  font-weight: 500
}

.forgot-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600
}

.forgot-link:hover {
  text-decoration: underline
}

.btn-full {
  width: 100%;
  text-align: center
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 0.9rem
}

.auth-divider:before,
.auth-divider:after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0
}

.oauth-section {
  margin: 24px 0
}

.btn-oauth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--dark);
  padding: 12px 16px;
  font-weight: 600;
  transition: all .2s
}

.btn-oauth:hover {
  border-color: var(--brand);
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.08)
}

.btn-oauth svg {
  width: 20px;
  height: 20px
}

.auth-switch {
  text-align: center;
  margin: 20px 0 0;
  font-size: 0.9rem
}

.auth-switch a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none
}

.auth-switch a:hover {
  text-decoration: underline
}

.auth-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px;
  background: rgba(31, 111, 235, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--brand);
  font-size: 0.85rem;
  color: var(--muted)
}

.auth-note svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0
}

.auth-legal {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.5
}

.auth-legal a {
  color: var(--brand);
  text-decoration: none
}

.auth-legal a:hover {
  text-decoration: underline
}

.auth-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 20px
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  justify-content: center
}

.auth-help {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--brand);
  font-size: 0.85rem
}

.auth-help p {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--dark)
}

.auth-help ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.auth-help li {
  padding: 4px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px
}

.auth-help li:before {
  content: '→';
  color: var(--brand);
  font-weight: 700;
  margin-right: 4px
}

.auth-help a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600
}

.auth-help a:hover {
  text-decoration: underline
}

/* Dashboard */
.dashboard-header {
  background: linear-gradient(135deg, #1f6feb 0%, #0ea5a4 100%);
  color: #fff;
  padding: 40px 0;
  margin-bottom: 40px
}

.dashboard-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.dashboard-greeting h1 {
  margin: 0 0 8px;
  font-size: 1.8rem
}

.dashboard-greeting p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem
}

.dashboard-actions {
  display: flex;
  gap: 12px
}

.dashboard-actions .btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3)
}

.dashboard-actions .btn:hover {
  background: rgba(255, 255, 255, 0.3)
}

.dashboard-container {
  padding-bottom: 60px
}

/* App shell (authenticated) */
.app-shell {
  display: flex;
  min-height: 100vh
}

.app-sidebar {
  width: 220px;
  background: #ffffff;
  color: var(--dark);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(15, 23, 36, 0.06);
  box-shadow: 0 8px 28px rgba(12, 20, 30, 0.06);
  transition: width .2s ease, box-shadow .2s
}

.app-sidebar .sidebar-brand {
  font-size: 1.05rem;
  color: var(--brand);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.sidebar-nav a {
  color: var(--dark);
  padding: 12px 12px;
  border-radius: 10px;
  display: block;
  font-weight: 600
}

.sidebar-nav a:hover {
  background: #e6f0ff;
  color: var(--brand)
}

.sidebar-nav a.active {
  background: #dbe9ff;
  color: var(--brand)
}

.sidebar-bottom {
  margin-top: 22px
}

.app-main {
  flex: 1;
  min-height: 100vh;
  background: #e5e7eb;
  padding-bottom: 40px;
  /* Override margin-left set in main.css (fixed sidebar layout) */
  margin-left: 0;
}

.app-topbar {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 36, 0.06);
  box-shadow: 0 2px 8px rgba(15, 23, 36, 0.06)
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.topbar-right {
  position: relative;
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 12px
}

.topbar-right:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(15, 23, 36, 0.06);
  border-radius: 2px
}

.profile-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #bfdbfe;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid rgba(31, 111, 235, 0.12);
  box-shadow: 0 6px 18px rgba(12, 20, 30, 0.04)
}

.profile-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(12, 20, 30, 0.06)
}

.btn-danger {
  background: #fff9f9;
  color: #991b1b;
  border: 1px solid #fca5a5;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block
}

.btn-danger:hover {
  background: #fee2e2;
  color: #7f1d1d
}

@media (max-width:900px) {
  .app-sidebar {
    display: none
  }

  .app-main {
    margin: 0;
    padding: 16px
  }
}

.app-shell.sidebar-collapsed .app-sidebar {
  width: 72px
}

.app-shell.sidebar-collapsed .sidebar-brand {
  display: none
}

.app-shell.sidebar-collapsed .nav-label {
  display: none
}

.app-shell.sidebar-collapsed .nav-icon {
  display: inline-block;
  margin: 0 auto
}

.app-shell.sidebar-collapsed .sidebar-bottom {
  align-items: center
}

/* Ensure no offset when collapsed; flex layout handles positioning */
.app-shell.sidebar-collapsed .app-main {
  margin-left: 0;
}

.sidebar-toggle {
  background: transparent;
  color: var(--dark);
  padding: 6px;
  border-radius: 8px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  box-shadow: none
}

.sidebar-toggle:hover {
  background: rgba(15, 23, 36, 0.04)
}

.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  transition: background .15s ease, color .12s
}

.sidebar-nav .nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: 0.95
}

.sidebar-nav a:hover .nav-icon,
.sidebar-nav a:focus .nav-icon,
.sidebar-nav a.active .nav-icon {
  color: var(--brand)
}

.sidebar-nav .nav-label {
  white-space: nowrap
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px 0 12px
}

.sidebar-top .sidebar-toggle {
  margin: 0
}

.sidebar-top .brand {
  font-weight: 800
}

/* Toggle sits inline next to the brand to keep it aligned with nav icons */
#sidebarToggle {
  margin: 0;
  padding: 6px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer
}

#sidebarToggle:hover {
  background: rgba(15, 23, 36, 0.04)
}

#sidebarToggleIcon {
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
  font-size: 1.05rem;
  display: inline-block
}

/* Make the minimize toggle icon turn brand-blue on hover/focus/active */
.sidebar-toggle:hover #sidebarToggleIcon,
.sidebar-toggle:focus #sidebarToggleIcon,
.sidebar-toggle:active #sidebarToggleIcon,
.app-shell.sidebar-collapsed .sidebar-toggle:hover #sidebarToggleIcon {
  color: var(--brand);
}

.sidebar-bottom .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  color: var(--dark);
  text-decoration: none
}

.sidebar-bottom .nav-item .nav-icon {
  color: var(--muted)
}

.sidebar-bottom .nav-item:hover {
  background: #e6f0ff;
  color: var(--brand)
}

.sidebar-bottom .nav-item:hover .nav-icon {
  color: var(--brand)
}

.app-shell.sidebar-collapsed .sidebar-bottom .nav-item {
  justify-content: center
}

.app-shell.sidebar-collapsed .sidebar-top {
  justify-content: center;
  padding-left: 0;
  padding-right: 0
}

.app-shell.sidebar-collapsed .sidebar-top .sidebar-toggle {
  margin-left: 0
}

/* Sign out styles - red */
.sidebar-bottom .nav-item.logout {
  color: #b91c1c
}

.sidebar-bottom .nav-item.logout .nav-icon {
  color: #b91c1c
}

.sidebar-bottom .nav-item.logout:hover {
  background: rgba(185, 28, 28, 0.06)
}

.app-shell.sidebar-collapsed .sidebar-bottom .nav-item.logout {
  justify-content: center
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px
}

.stat-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1)
}

.stat-card.revealed {
  opacity: 1;
  transform: none
}

.stat-icon {
  font-size: 2.4rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px
}

.stat-card-primary .stat-icon {
  background: rgba(31, 111, 235, 0.1);
  color: var(--brand)
}

.stat-card-success .stat-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981
}

.stat-card-warning .stat-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b
}

.stat-card-info .stat-icon {
  background: rgba(14, 165, 164, 0.1);
  color: var(--accent)
}

.stat-content h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark)
}

.stat-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted)
}

.quick-actions {
  margin-bottom: 40px
}

.quick-actions h2,
.recent-activity h2,
.dashboard-properties h2,
.dashboard-resources h2 {
  margin: 0 0 24px;
  font-size: 1.4rem;
  color: var(--dark)
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.action-item {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1), box-shadow .2s
}

.action-item.revealed {
  opacity: 1;
  transform: none
}

.action-item:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-4px)
}

.action-icon {
  font-size: 2.4rem;
  margin-bottom: 12px
}

.action-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem
}

.action-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem
}

.action-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem
}

.action-link:hover {
  text-decoration: underline
}

.recent-activity {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  margin-bottom: 40px
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.activity-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6edf3
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.activity-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px
}

.activity-indicator.success {
  background: #10b981
}

.activity-indicator.warning {
  background: #f59e0b
}

.activity-indicator.info {
  background: var(--brand)
}

.activity-content h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--dark)
}

.activity-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted)
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.property-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1), box-shadow .2s
}

.property-card.revealed {
  opacity: 1;
  transform: none
}

.property-card:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-4px)
}

.property-image {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #eef5ff, #f0f9ff);
  display: flex;
  align-items: center;
  justify-content: center
}

.property-placeholder {
  font-size: 3rem
}

.property-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700
}

.property-details {
  padding: 20px
}

.property-details h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--dark)
}

.property-location {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem
}

.property-info {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  font-size: 0.85rem;
  color: var(--muted)
}

.property-info span {
  flex: 1
}

.btn-small {
  padding: 8px 12px;
  font-size: 0.85rem
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.resource-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 20, 30, 0.04);
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .26, 1), box-shadow .2s
}

.resource-card.revealed {
  opacity: 1;
  transform: none
}

.resource-card:hover {
  box-shadow: 0 18px 48px rgba(12, 20, 30, 0.08);
  transform: translateY(-4px)
}

.resource-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block
}

.resource-card h3 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: 1rem
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem
}

/* Alerts */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-color: #34d399;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-color: #f87171;
}

/* Toast Notifications */
.flash-messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allow clicking through the container */
}

.alert {
    pointer-events: auto; /* Re-enable clicking on alerts */
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    max-width: 400px;
    border-left: 4px solid var(--brand);
    animation: slideInRight 0.3s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
    margin-bottom: 0; /* Override previous margin */
}

.alert-success {
    border-left-color: #10b981;
    background: white; /* Override previous background */
    color: var(--dark); /* Override previous color */
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.alert-error {
    border-left-color: #ef4444;
    background: white; /* Override previous background */
    color: var(--dark); /* Override previous color */
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.alert span {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.alert button {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 0 0 15px;
    transition: color 0.2s;
    opacity: 0.5;
}

.alert button:hover {
    color: var(--dark);
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width:900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:700px) {
  .nav-left,
  .nav-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid #e6edf3;
    transform-origin: top;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 100;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-nav.open {
    max-height: 480px;
    padding: 16px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: flex-start;
  }
  
  .site-nav a {
    display: block;
    width: 100%;
    padding: 10px;
  }
  
  .nav-right {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
  }
  
  .nav-right .btn {
    margin-left: 0;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    gap: 40px 20px;
  }

  .bottom-inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .copyright {
    text-align: center;
    margin-top: 16px;
    display: block;
  }

  .hero-grid {
    flex-direction: column
  }

  .hero-copy {
    text-align: center
  }

  .hero-ctas {
    justify-content: center
  }

  .hero-copy h1 {
    font-size: 1.5rem
  }

  .hero-narrow h1 {
    font-size: 1.5rem
  }

  .hero-narrow .lead {
    font-size: 1rem
  }

  .how-works .steps {
    flex-direction: column
  }

  .features-grid {
    grid-template-columns: 1fr
  }

  .benefit-grid {
    flex-direction: column
  }

  .stat-items {
    flex-direction: column
  }

  .final-grid {
    flex-direction: column;
    align-items: center
  }

  .step-block {
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .step-number {
    font-size: 2rem
  }

  .step-highlights li:before {
    content: '✓';
    margin: 0 auto
  }

  .features-grid-cards {
    grid-template-columns: 1fr
  }

  .benefits-split {
    flex-direction: column
  }

  .security-badges {
    flex-direction: column;
    align-items: center;
  }

  .security-badge {
    width: 100%;
    max-width: 100%;
  }

  .pricing-cards {
    grid-template-columns: 1fr
  }

  .pricing-card-featured {
    transform: scale(1)
  }

  .pricing-card-featured.revealed {
    transform: scale(1)
  }

  .pricing-card-featured:hover {
    transform: translateY(-6px)
  }

  .benefits-list {
    grid-template-columns: 1fr
  }

  table {
    font-size: 0.9rem
  }

  th,
  td {
    padding: 10px
  }

  .mission-vision {
    flex-direction: column
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .why-split {
    flex-direction: column
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .security-items {
    grid-template-columns: 1fr
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 24px;
  }

  .location-content {
    flex-direction: column
  }

  .suggestions-links {
    flex-direction: column;
    align-items: center
  }

  .social-icons {
    flex-direction: column
  }

  .auth-card {
    padding: 32px
  }

  .dashboard-header-content {
    flex-direction: column;
    align-items: stretch
  }

  .dashboard-actions {
    width: 100%
  }

  .dashboard-actions .btn {
    flex: 1
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .action-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .properties-grid {
    grid-template-columns: 1fr
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  /* Timeline Mobile Fix */
  .timeline {
    padding-left: 0;
    padding-right: 0;
  }

  .timeline:before {
    left: 14px;
    transform: none;
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    margin-bottom: 32px;
    position: relative;
    gap: 4px;
  }

  /* Reorder even items so Label appears above Content */
  .timeline-item:nth-child(even) {
    flex-direction: column-reverse;
  }

  .timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 0;
    width: 30px;
    height: 30px;
    border-width: 4px;
  }

  /* Reset all grid/alignment styles for mobile */
  .timeline-item:nth-child(odd) .timeline-label,
  .timeline-item:nth-child(even) .timeline-label {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    color: var(--brand);
    line-height: 1.2;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
    padding: 0;
  }
  
  /* Adjust content spacing */
  .timeline-content h4 {
    margin-top: 4px;
    font-size: 1rem;
  }
}

/* Flash messages */
.flash-messages {
  max-width: 1100px;
  margin: 20px auto
}

.flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5
}

.flash-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #86efac
}

.flash-info {
  background: #e6f0ff;
  color: #0f1724;
  border: 1px solid #bfd4ff
}

/* Responsive Auth Card */
@media (max-width: 600px) {
  .auth-card {
    padding: 24px;
    margin: 0 16px;
  }
  .auth-container {
    padding: 20px 0;
  }
}

/* Logo Styles */
.navbar-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 24px; /* Increase edge gap */
  }

  .nav-toggle {
    margin-right: -8px; /* Balance the padding */
  }
  
  .navbar-logo {
    height: 45px; /* Slightly smaller on mobile */
  }
}

