/* ========================================
   RENTO - Premium Landing Page Styles
   ======================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --color-primary: #4285F4;
  --color-primary-light: #669DF6;
  --color-primary-dark: #1967D2;
  --color-primary-glow: rgba(66, 133, 244, 0.35);

  /* Accent Colors (from the Rento logo) */
  --color-accent-red: #EA4335;
  --color-accent-yellow: #FBBC04;
  --color-accent-green: #34A853;
  --color-accent-blue: #4285F4;

  /* Light Theme */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-bg-card: rgba(255, 255, 255, 0.8);
  --color-bg-glass: rgba(255, 255, 255, 0.6);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.85);

  /* Text */
  --color-text-primary: #111827;
  --color-text-secondary: #4B5563;
  --color-text-muted: #9CA3AF;

  /* Borders */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 0, 0, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4285F4 0%, #669DF6 50%, #34A853 100%);
  --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(66, 133, 244, 0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 70% 80%, rgba(52, 168, 83, 0.06) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 50%, rgba(234, 67, 53, 0.04) 0%, transparent 60%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
  --gradient-text: linear-gradient(135deg, #1967D2 0%, #0D652D 100%);
  --gradient-cta: linear-gradient(135deg, #4285F4 0%, #1967D2 100%);
  --gradient-glow: radial-gradient(circle, rgba(66, 133, 244, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;
  --fs-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 8vw, 8rem);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 20px rgba(66, 133, 244, 0.2);
  --shadow-glow-green: 0 4px 20px rgba(52, 168, 83, 0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-nav: 500;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary-dark);
  background: rgba(66, 133, 244, 0.08);
  border: 1px solid rgba(66, 133, 244, 0.15);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-label .label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  max-width: 600px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-md) 0;
  transition: var(--transition-base);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: var(--z-nav);
}

.nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  font-family: Inter, sans-serif;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: var(--transition-base);
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 1.5rem;
  background: var(--gradient-cta);
  color: white !important;
  font-size: var(--fs-sm) !important;
  font-weight: var(--fw-semibold) !important;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.45);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.nav-cta:hover svg {
  transform: translateX(3px);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: var(--z-nav);
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(66, 133, 244, 0.2);
  top: -10%;
  left: -5%;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(52, 168, 83, 0.15);
  bottom: -10%;
  right: -5%;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(234, 67, 53, 0.1);
  top: 40%;
  left: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-badge .badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(52, 168, 83, 0.5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  position: relative;
  display: inline;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, rgba(66, 133, 244, 0.2), rgba(52, 168, 83, 0.2));
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: var(--gradient-cta);
  color: white;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(66, 133, 244, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary img {
  width: 22px;
  height: 22px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-phone img {
  width: 340px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
  border-radius: var(--radius-2xl);
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient-glow);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating cards around the phone */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  z-index: 3;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-card-1 {
  top: 15%;
  left: -15%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.floating-card-1 .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(52, 168, 83, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.floating-card-1 .fc-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-accent-green);
}

.floating-card-1 .fc-text span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.floating-card-2 {
  bottom: 20%;
  right: -10%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.floating-card-2 .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(66, 133, 244, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.floating-card-2 .fc-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.floating-card-2 .fc-text span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* --- Trusted By / Logos Strip --- */
.trusted-strip {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.trusted-strip .container {
  text-align: center;
}

.trusted-strip p {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  opacity: 0.5;
}

.tech-logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-secondary);
  transition: var(--transition-base);
}

.tech-logo:hover {
  opacity: 1;
  color: var(--color-text-primary);
}

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

.features .container > .section-label,
.features .container > .section-title,
.features .container > .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.feature-card {
  position: relative;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ensure all content elements sit above the mouse-glow effect */
.feature-card > * {
  position: relative;
  z-index: 2;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-base);
  z-index: 3;
}

/* Mouse-tracking glow pseudo-element */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 50%), var(--glow-color, rgba(66, 133, 244, 0.08)), transparent 80%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

/* Set individual glows */
#feature-1 { --glow-color: rgba(66, 133, 244, 0.1); }
#feature-2 { --glow-color: rgba(52, 168, 83, 0.1); }
#feature-3 { --glow-color: rgba(234, 67, 53, 0.1); }
#feature-4 { --glow-color: rgba(251, 188, 4, 0.1); }
#feature-5 { --glow-color: rgba(66, 133, 244, 0.1); }
#feature-6 { --glow-color: rgba(52, 168, 83, 0.1); }

.feature-card.bento-wide {
  grid-column: span 2;
  min-height: 280px;
}

.feature-card-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
  height: 100%;
}

.feature-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

/* Bento Visual Containers */
.bento-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.5);
  border: 1px dashed rgba(66, 133, 244, 0.15);
  overflow: hidden;
  padding: var(--space-md);
  perspective: 800px;
}

/* Mockup 1: Smart Property Search */
.bento-visual-search .search-bar-mock {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 240px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-sm);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-xs);
  margin-bottom: var(--space-md);
  transform: translateZ(20px);
  transition: transform var(--transition-base);
}

.bento-visual-search .search-icon {
  margin-right: var(--space-xs);
  opacity: 0.6;
}

.bento-visual-search .search-placeholder {
  color: var(--color-text-muted);
  flex-grow: 1;
}

.bento-visual-search .search-btn {
  background: var(--color-primary);
  color: white;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: 10px;
}

.bento-visual-search .property-card-mock {
  width: 100%;
  max-width: 200px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateZ(40px) rotateX(-5deg);
  transition: transform var(--transition-base);
}

.bento-visual-search .pcm-img {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, #E0E7FF, #EEF2FF);
  position: relative;
}

.bento-visual-search .pcm-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #34A853;
  color: white;
  font-size: 8px;
  font-weight: var(--fw-bold);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.bento-visual-search .pcm-info {
  padding: var(--space-sm);
}

.bento-visual-search .pcm-title {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.bento-visual-search .pcm-meta {
  font-size: 8px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* Mockup 2: Map Integration */
.bento-visual-map {
  background-image: 
    radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(rgba(66,133,244,0.02) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px;
  background-color: #EDF2F7;
  border-color: rgba(251, 188, 4, 0.3);
}

.bento-visual-map .map-mock {
  position: relative;
  width: 100%;
  height: 100%;
}

.bento-visual-map .map-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-visual-map .map-pin.pin-1 {
  top: 30%;
  left: 30%;
}

.bento-visual-map .map-pin.pin-2 {
  bottom: 30%;
  right: 25%;
}

.bento-visual-map .pin-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1px solid var(--color-accent-yellow);
  animation: pin-pulse-wave 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pin-pulse-wave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.bento-visual-map .map-card-popup {
  position: absolute;
  top: 15%;
  right: 15%;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-xs) var(--space-sm);
  box-shadow: var(--shadow-lg);
  font-size: 8px;
  transform: translateZ(30px);
  transition: transform var(--transition-base);
}

.bento-visual-map .map-card-popup strong {
  display: block;
  font-weight: var(--fw-semibold);
}

.bento-visual-map .map-card-popup span {
  color: var(--color-accent-blue);
  font-weight: var(--fw-bold);
}

/* Mockup 3: Booking Management */
.bento-visual-booking {
  border-color: rgba(66, 133, 244, 0.3);
}

.bento-visual-booking .booking-card-mock {
  width: 90%;
  max-width: 220px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm);
  transform: translateZ(30px) rotateY(-5deg);
  transition: transform var(--transition-base);
}

.bento-visual-booking .bcm-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 6px;
  margin-bottom: 6px;
  font-size: 8px;
}

.bento-visual-booking .bcm-status {
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.bento-visual-booking .bcm-date {
  color: var(--color-text-secondary);
}

.bento-visual-booking .bcm-details {
  font-size: 10px;
  margin-bottom: var(--space-sm);
}

.bento-visual-booking .bcm-details strong {
  display: block;
  color: var(--color-text-primary);
}

.bento-visual-booking .bcm-details span {
  font-size: 8px;
  color: var(--color-text-muted);
}

.bento-visual-booking .bcm-actions {
  display: flex;
  gap: var(--space-xs);
}

.bento-visual-booking button {
  flex: 1;
  padding: 4px var(--space-xs);
  border-radius: var(--radius-sm);
  font-size: 8px;
  font-weight: var(--fw-semibold);
}

.bento-visual-booking .bcm-btn-decline {
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.bento-visual-booking .bcm-btn-approve {
  background: var(--color-primary);
  color: white;
}

/* Feature Icon Base Rules */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--space-lg);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
}

.feature-icon.blue { background: rgba(66, 133, 244, 0.1); }
.feature-icon.green { background: rgba(52, 168, 83, 0.1); }
.feature-icon.red { background: rgba(234, 67, 53, 0.1); }
.feature-icon.yellow { background: rgba(251, 188, 4, 0.1); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-lg);
}

/* Feature Tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.feature-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-primary-dark);
  background: rgba(66, 133, 244, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid rgba(66, 133, 244, 0.12);
  transition: var(--transition-fast);
}

.feature-card:hover .feature-tag {
  background: rgba(66, 133, 244, 0.12);
  border-color: rgba(66, 133, 244, 0.2);
}

/* --- Showcase Sections --- */
.showcase {
  padding: var(--space-section) 0;
  position: relative;
}

.showcase .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.showcase.reverse .container {
  direction: rtl;
}

.showcase.reverse .container > * {
  direction: ltr;
}

.showcase-content {
  max-width: 500px;
}

.showcase-content .feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.showcase-content .feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.feature-list-item .check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(52, 168, 83, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-list-item .check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-green);
}

.feature-list-item span {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

.showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-phone {
  position: relative;
}

.showcase-phone img {
  width: 300px;
  height: auto;
  border-radius: var(--radius-2xl);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.showcase-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(60px);
  opacity: 0.3;
}

.showcase-glow.blue { background: var(--color-accent-blue); }
.showcase-glow.green { background: var(--color-accent-green); }
.showcase-glow.red { background: var(--color-accent-red); }
.showcase-glow.yellow { background: var(--color-accent-yellow); }

/* --- How It Works Section --- */
.how-it-works {
  padding: var(--space-section) 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-secondary) 50%, transparent 100%);
}

.how-it-works .container > .section-label,
.how-it-works .container > .section-title,
.how-it-works .container > .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    var(--color-accent-blue) 20%, 
    var(--color-accent-green) 50%, 
    var(--color-accent-yellow) 80%,
    transparent
  );
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 2;
  border: 2px solid;
}

.step-card:nth-child(1) .step-number {
  background: rgba(66, 133, 244, 0.12);
  border-color: rgba(66, 133, 244, 0.3);
  color: var(--color-accent-blue);
}
.step-card:nth-child(2) .step-number {
  background: rgba(234, 67, 53, 0.12);
  border-color: rgba(234, 67, 53, 0.3);
  color: var(--color-accent-red);
}
.step-card:nth-child(3) .step-number {
  background: rgba(251, 188, 4, 0.12);
  border-color: rgba(251, 188, 4, 0.3);
  color: var(--color-accent-yellow);
}
.step-card:nth-child(4) .step-number {
  background: rgba(52, 168, 83, 0.12);
  border-color: rgba(52, 168, 83, 0.3);
  color: var(--color-accent-green);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

/* --- Testimonials --- */
.testimonials {
  padding: var(--space-section) 0;
}

.testimonials .container > .section-label,
.testimonials .container > .section-title,
.testimonials .container > .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.testimonial-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-lg);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent-yellow);
}

.testimonial-text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  color: white;
}

.testimonial-info strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.testimonial-info span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* --- Download / CTA Section --- */
.download-cta {
  padding: var(--space-section) 0;
  position: relative;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 50%, #FFF7ED 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  text-align: center;
  overflow: hidden;
  --cta-glow-scale: 1;
  --cta-glow-opacity: 0.3;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.cta-card::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gradient-glow);
  top: -200px;
  left: 50%;
  transform: translateX(-50%) scale(var(--cta-glow-scale));
  opacity: var(--cta-glow-opacity);
  filter: blur(80px);
  pointer-events: none;
}

.cta-card .section-label {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Google Play Store Button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.9rem 2rem;
  background: #111827;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  min-width: 210px;
  color: white;
}

.store-btn:hover {
  transform: translateY(-3px);
  background: #1F2937;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  text-align: left;
}

.store-btn-text small {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--fw-regular);
}

.store-btn-text strong {
  display: block;
  font-size: var(--fs-md);
  color: white;
  font-weight: var(--fw-semibold);
}

/* --- Footer --- */
.footer {
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-xl);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  color: var(--color-text-secondary);
}

.social-links a:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-text-secondary);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

/* --- Scroll-to-top --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-base);
  box-shadow: var(--shadow-glow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* --- Grid Lines Background Effect --- */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* --- Animated Particles --- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-primary-light);
  opacity: 0.3;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-3xl);
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-phone img {
    width: 280px;
  }

  .floating-card {
    display: none;
  }

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

  .feature-card.bento-wide {
    min-height: auto;
  }

  .feature-card-body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .bento-visual {
    height: 160px;
    margin-top: var(--space-md);
  }

  .showcase .container,
  .showcase.reverse .container {
    grid-template-columns: 1fr;
    text-align: center;
    direction: ltr;
  }

  .showcase-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .showcase-content .feature-list {
    align-items: center;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container::before {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-3xl);
    gap: var(--space-xl);
    transition: var(--transition-slow);
    border-left: 1px solid var(--color-border);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
    z-index: calc(var(--z-nav) - 1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: var(--fs-lg);
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: var(--space-3xl) auto 0;
  }

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

  .cta-card {
    padding: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .stat-item {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-phone img {
    width: 240px;
  }

  .cta-buttons {
    flex-direction: column;
  }

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