/* ==========================================================================
   SITZY DESIGN SYSTEM & STYLESHEET (2026 SaaS Edition)
   Brand Identity:
   - Primary Student Green: #0F5C4C / #0A3F34 / #167A65 / #E6F4F0
   - Library Owner Violet: #7C5CFC / #6744EB / #F0EBFF
   - Backgrounds: #FBFBFA (Warm off-white), #F4F7F5, #0D1F18 (Dark Emerald)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors - Student (Green) */
  --brand-student: #0F5C4C;
  --brand-student-hover: #0A3F34;
  --brand-student-light: #E8F5F1;
  --brand-student-border: #C3E5DA;
  --brand-student-glow: rgba(15, 92, 76, 0.18);

  /* Brand Colors - Library Owner (Purple / Violet) */
  --brand-owner: #7C5CFC;
  --brand-owner-hover: #6744EB;
  --brand-owner-light: #F0EBFF;
  --brand-owner-border: #D6C8FF;
  --brand-owner-glow: rgba(124, 92, 252, 0.2);

  /* Neutrals & Surfaces */
  --bg-main: #FBFBFA;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3F6F4;
  --bg-alt: #EEF4F0;
  --bg-dark: #0A1913;
  --bg-dark-card: #122820;
  --bg-dark-surface: #18332A;
  
  /* Text Colors */
  --text-primary: #111B15;
  --text-secondary: #4A5B52;
  --text-muted: #73877C;
  --text-on-dark: #F5FAF7;
  --text-on-dark-muted: #A3BCB0;

  /* Borders & Dividers */
  --border-subtle: #E5ECE7;
  --border-default: #D6E0DA;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-hover: rgba(255, 255, 255, 0.2);

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 27, 21, 0.04);
  --shadow-sm: 0 2px 6px rgba(17, 27, 21, 0.06), 0 1px 2px rgba(17, 27, 21, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(17, 27, 21, 0.08), 0 2px 6px -1px rgba(17, 27, 21, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(15, 92, 76, 0.12), 0 8px 16px -4px rgba(17, 27, 21, 0.04);
  --shadow-xl: 0 28px 64px -12px rgba(10, 25, 19, 0.22);
  --shadow-owner: 0 20px 40px -8px rgba(124, 92, 252, 0.15);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   Typography System
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.lead {
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Eyebrows & Badges */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-spring);
}

.eyebrow-badge.student {
  background: var(--brand-student-light);
  color: var(--brand-student);
  border-color: var(--brand-student-border);
}

.eyebrow-badge.owner {
  background: var(--brand-owner-light);
  color: var(--brand-owner);
  border-color: var(--brand-owner-border);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: pulseGlow 2s infinite ease-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-smooth);
}

.site-header.scrolled {
  background: rgba(251, 251, 250, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-bottom-color: var(--border-default);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-student) 0%, #177864 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--brand-student-glow);
  transition: transform 0.2s var(--ease-spring);
}

.brand-link:hover .brand-logo-icon {
  transform: scale(1.05);
}

.brand-version-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  background: var(--brand-student-light);
  color: var(--brand-student);
  border-radius: var(--radius-full);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-student);
  transition: width 0.25s var(--ease-smooth);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--brand-student);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.owner-link:hover {
  color: var(--brand-owner);
}

.nav-links a.owner-link:hover::after {
  background: var(--brand-owner);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.role-badge-group {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  padding: 3px;
  border-radius: var(--radius-full);
}

.role-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.role-pill.student-pill {
  color: var(--brand-student);
  background: var(--brand-student-light);
}

.role-pill.owner-pill {
  color: var(--brand-owner);
}

.role-pill.owner-pill:hover {
  background: var(--brand-owner-light);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--bg-subtle);
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
  padding: 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-spring);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer a {
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Buttons & CTA System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-student);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--brand-student-glow);
}

.btn-primary:hover {
  background: var(--brand-student-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-student-glow);
  color: #ffffff;
}

.btn-owner {
  background: var(--brand-owner);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--brand-owner-glow);
}

.btn-owner:hover {
  background: var(--brand-owner-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--brand-owner-glow);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--brand-student);
  background: var(--brand-student-light);
}

.btn-dark {
  background: #ffffff;
  color: var(--bg-dark);
}

.btn-dark:hover {
  background: #E8F5F1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn svg {
  transition: transform 0.2s var(--ease-spring);
}

.btn:hover svg.arrow-right {
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(1200px 500px at 75% -5%, rgba(15, 92, 76, 0.09), transparent 70%),
              radial-gradient(800px 400px at 15% 15%, rgba(124, 92, 252, 0.05), transparent 60%),
              var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--brand-student) 0%, #1D8A74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-copy {
  margin-bottom: 32px;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-role-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.role-chip.student-chip {
  background: var(--brand-student-light);
  color: var(--brand-student);
  border-color: var(--brand-student-border);
}

.role-chip.owner-chip {
  background: var(--brand-owner-light);
  color: var(--brand-owner);
  border-color: var(--brand-owner-border);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--brand-student);
}

/* ==========================================================================
   Hero Visual / SaaS Product Mockup
   ========================================================================== */
.hero-visual {
  position: relative;
  z-index: 2;
}

.saas-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}

.saas-window:hover {
  transform: translateY(-4px);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-student);
}

.window-body {
  padding: 24px;
  background: #FCFDFC;
}

/* Library Mockup Card */
.mockup-library-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.mockup-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.mockup-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mockup-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mockup-rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: #FEF8E7;
  color: #B58105;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.mockup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.mockup-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

/* Plan Selector in Mockup */
.mockup-plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.mockup-plan-btn {
  padding: 8px 4px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.mockup-plan-btn.active {
  background: var(--bg-surface);
  color: var(--brand-student);
  box-shadow: var(--shadow-xs);
}

.mockup-plan-btn span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mockup-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.mockup-price-box {
  display: flex;
  flex-direction: column;
}

.mockup-price-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.mockup-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Floating Glass Cards */
.section, .hero-section {
  scroll-margin-top: 86px;
}

.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: 0 16px 36px rgba(15, 92, 76, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.floating-qr-card {
  bottom: -16px;
  left: -20px;
}

.floating-status-card {
  top: -16px;
  right: -20px;
  animation-delay: -3s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.floating-icon-box.green {
  background: var(--brand-student-light);
  color: var(--brand-student);
}

.floating-icon-box.purple {
  background: var(--brand-owner-light);
  color: var(--brand-owner);
}

.floating-meta-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-meta-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Layout & Standard Patterns
   ========================================================================== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   About Section (3-Pillar SaaS Architecture)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.about-intro-text p {
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pillar-card.student-pillar::before {
  background: var(--brand-student);
}

.pillar-card.owner-pillar::before {
  background: var(--brand-owner);
}

.pillar-card.admin-pillar::before {
  background: linear-gradient(90deg, var(--brand-student), var(--brand-owner));
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.pillar-card.student-pillar .pillar-icon-box {
  background: var(--brand-student-light);
  color: var(--brand-student);
}

.pillar-card.owner-pillar .pillar-icon-box {
  background: var(--brand-owner-light);
  color: var(--brand-owner);
}

.pillar-card.admin-pillar .pillar-icon-box {
  background: #E8EDF5;
  color: #2B5282;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pillar-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pillar-features-list li svg {
  flex-shrink: 0;
}

.student-pillar .pillar-features-list li svg { color: var(--brand-student); }
.owner-pillar .pillar-features-list li svg { color: var(--brand-owner); }
.admin-pillar .pillar-features-list li svg { color: #2B5282; }

/* ==========================================================================
   Features Section (Bento Grid)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-student-border);
}

.feature-bento-card.owner-feature:hover {
  border-color: var(--brand-owner-border);
}

.feature-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--brand-student-light);
  color: var(--brand-student);
  transition: transform 0.25s var(--ease-spring);
}

.feature-bento-card.owner-feature .feature-icon-wrapper {
  background: var(--brand-owner-light);
  color: var(--brand-owner);
}

.feature-bento-card:hover .feature-icon-wrapper {
  transform: scale(1.08);
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.feature-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   How It Works (Connected Timeline Journey)
   ========================================================================== */
.timeline-journey-wrapper {
  position: relative;
  margin-top: 20px;
}

.timeline-track {
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-student) 0%, var(--brand-student) 75%, var(--brand-owner) 100%);
  z-index: 1;
  border-radius: 4px;
  opacity: 0.4;
}

.timeline-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.timeline-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-student);
}

.timeline-step-card.step-owner:hover {
  border-color: var(--brand-owner);
}

.step-badge-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--brand-student);
  color: var(--brand-student);
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--brand-student-light);
}

.timeline-step-card.step-owner .step-badge-node {
  border-color: var(--brand-owner);
  color: var(--brand-owner);
  box-shadow: 0 0 0 6px var(--brand-owner-light);
}

.step-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-card-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.step-micro-snippet {
  margin-top: auto;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Library Owner Section (Deep SaaS / Purple Accent #7C5CFC)
   ========================================================================== */
.owner-section {
  background: linear-gradient(180deg, #FAF8FF 0%, #F4EFFF 100%);
  border-top: 1px solid var(--brand-owner-border);
  border-bottom: 1px solid var(--brand-owner-border);
  position: relative;
  overflow: hidden;
}

.owner-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.owner-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.owner-features-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 32px 0;
}

.owner-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--brand-owner-border);
  border-left: 4px solid var(--brand-owner);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-spring);
}

.owner-check-item:hover {
  transform: translateX(4px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.owner-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-owner-light);
  color: var(--brand-owner);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.owner-check-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Owner Dashboard Mockup */
.owner-dashboard-mockup {
  background: #15102A;
  border: 1px solid rgba(124, 92, 252, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-owner);
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.owner-mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #1C1638;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.owner-hub-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.owner-hub-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-owner);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8125rem;
}

.owner-hub-name {
  font-size: 0.875rem;
  font-weight: 700;
}

.owner-hub-tag {
  font-size: 0.6875rem;
  color: #B4A4FF;
}

.owner-live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(39, 201, 63, 0.15);
  color: #38DF54;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.owner-mockup-content {
  padding: 24px;
}

.owner-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.owner-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.owner-stat-label {
  font-size: 0.6875rem;
  color: #B4A4FF;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.owner-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.owner-stat-trend {
  font-size: 0.6875rem;
  color: #38DF54;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Occupancy Progress Bar in Mockup */
.owner-capacity-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.capacity-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #E2DBFF;
}

.capacity-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.capacity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-owner) 0%, #A38BFF 100%);
  border-radius: 4px;
  width: 84%;
}

/* Check-in feed in Mockup */
.owner-feed-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #B4A4FF;
  font-weight: 700;
  margin-bottom: 10px;
}

.owner-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owner-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.feed-student {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.feed-plan-tag {
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(124, 92, 252, 0.2);
  color: #D6C8FF;
}

.feed-status {
  color: #38DF54;
  font-weight: 600;
  font-size: 0.75rem;
}

/* ==========================================================================
   Contact CTA Section (Premium Dark Emerald Card)
   ========================================================================== */
.contact-cta-wrapper {
  background: linear-gradient(135deg, #091712 0%, #112820 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: 64px 56px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.contact-cta-wrapper::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 122, 101, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-cta-content h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-cta-content p {
  color: var(--text-on-dark-muted);
  font-size: 1.125rem;
  max-width: 520px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-row:last-child {
  margin-bottom: 0;
}

.contact-icon-pill {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(22, 122, 101, 0.3);
  color: #7BE3CB;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-row-content {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-val {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-email-link {
  color: #7BE3CB;
  text-decoration: underline;
  word-break: break-all;
}

.contact-email-link:hover {
  color: #ffffff;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.copy-email-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #08130E;
  color: #8C9E94;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col .brand-link {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-mission {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #9FB2A8;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.9375rem;
  color: #8C9E94;
}

.footer-nav-list a:hover {
  color: #7BE3CB;
  transform: translateX(2px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #8C9E94;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Subpages / Legal Pages Styling
   ========================================================================== */
.legal-page-header {
  padding: 60px 0 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-default);
}

.legal-page-content {
  padding: 60px 0 100px;
}

.legal-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-article h2:first-of-type {
  margin-top: 20px;
}

.legal-article p, .legal-article ul {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-article ul {
  padding-left: 24px;
}

.legal-article li {
  margin-bottom: 8px;
}

.contact-card-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

/* ==========================================================================
   Micro-animations & Utilities
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0A1913;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--ease-spring);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .floating-glass-card {
    animation: none !important;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-track {
    display: none;
  }
  .timeline-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .owner-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .nav-container {
    height: 70px;
  }
  .nav-links, .role-badge-group {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-nav-drawer {
    display: flex;
    top: 70px;
  }
  .section {
    padding: 70px 0;
  }
  .hero-section {
    padding: 50px 0 70px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .timeline-steps-grid {
    grid-template-columns: 1fr;
  }
  .floating-glass-card {
    position: static;
    margin-top: 12px;
    animation: none;
  }
  .contact-cta-wrapper {
    padding: 36px 24px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-article {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .owner-stats-row {
    grid-template-columns: 1fr;
  }
  .mockup-plan-selector {
    grid-template-columns: 1fr;
  }
}
