/* ═══════════════════════════════════════════════ */
/* KRISHIRENT AI — Master Stylesheet              */
/* Deep Forest Green + Harvest Gold                */
/* Zero Emojis — SVG/Material Icons Only           */
/* Google AI Solutions Hackathon 2026              */
/* ═══════════════════════════════════════════════ */

:root {
  /* Background */
  --bg-primary: #0A1F0E;
  --bg-secondary: #0F1A0A;
  --bg-card: #142A18;
  --bg-surface: #1A3320;

  /* Accents */
  --gold: #F5A623;
  --gold-light: #FFD080;
  --gold-dim: #D4820F;
  --green: #2ECC71;
  --green-dark: #1B8A4A;
  --orange: #FF6B35;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B8C9BB;
  --text-muted: #6B8B6F;

  /* Glass */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(245,166,35,0.3);
  --glass-highlight: rgba(255,255,255,0.1);

  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #050D07;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow: hidden;
}

/* ═══════════════════ */
/* PHONE FRAME         */
/* ═══════════════════ */

.phone-frame {
  width: 390px;
  height: 844px;
  background: var(--bg-primary);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(245,166,35,0.15);
  box-shadow:
    0 0 60px rgba(245,166,35,0.08),
    0 25px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 34px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 100;
}

.app-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* ═══════════════════ */
/* SCREENS             */
/* ═══════════════════ */

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.screen-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════ */
/* SCREEN 1: LANGUAGE SELECT   */
/* ═══════════════════════════ */

.language-screen {
  display: flex;
  flex-direction: column;
  padding: var(--sp-lg);
  padding-top: 50px;
  height: 100%;
  overflow: hidden;
}

.lang-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
  animation: fadeSlideUp 0.8s ease-out;
  flex-shrink: 0;
}

.app-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  box-shadow: 0 0 30px rgba(245,166,35,0.3);
}

.app-icon-large .material-icons-round {
  font-size: 44px;
  color: var(--bg-primary);
}

.app-title-gold {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 2px;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: var(--sp-sm);
}

.lang-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-sm);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s ease-out forwards;
  flex-shrink: 0;
}

.lang-option:focus,
.lang-option:focus-visible {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.lang-option.selected {
  border-color: #F5A623 !important;
  background: rgba(245, 166, 35, 0.10) !important;
}

.lang-option .lang-check {
  display: none;
}

.lang-option.selected .lang-check {
  display: block !important;
  color: #F5A623 !important;
}

.lang-option:nth-child(1) { animation-delay: 0.1s; }
.lang-option:nth-child(2) { animation-delay: 0.2s; }
.lang-option:nth-child(3) { animation-delay: 0.3s; }
.lang-option:nth-child(4) { animation-delay: 0.4s; }
.lang-option:nth-child(5) { animation-delay: 0.5s; }
.lang-option:nth-child(6) { animation-delay: 0.6s; }

/* ── Top bar right section ── */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ═══════════════════════════════ */
/* LANGUAGE SWITCHER (all screens) */
/* ═══════════════════════════════ */

.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  z-index: 90;
}

.lang-switcher:hover {
  background: rgba(245,166,35,0.1);
  border-color: var(--gold);
}

.lang-switcher-icon {
  font-size: 16px !important;
  color: var(--gold);
}

.lang-switcher-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  color: var(--gold);
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-arrow {
  font-size: 16px !important;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.lang-switcher-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 6px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(245,166,35,0.1);
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
}

.lang-switcher-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.lang-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-drop-item:hover {
  background: rgba(245,166,35,0.1);
}

.lang-drop-item.active {
  color: var(--gold);
  background: rgba(245,166,35,0.08);
}

.lang-drop-item span {
  width: 28px;
  height: 28px;
  background: var(--bg-surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.lang-drop-item.active span {
  background: var(--gold);
  color: var(--bg-primary);
}

.lang-option:hover {
  background: rgba(245,166,35,0.08);
}

.lang-option.selected {
  background: rgba(245,166,35,0.12);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,166,35,0.2);
}

.lang-option.selected .lang-icon {
  background: var(--gold);
  color: var(--bg-primary);
}

.lang-option.selected .lang-name {
  color: var(--gold);
}

.lang-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.lang-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lang-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.lang-english {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.lang-check {
  color: var(--gold);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lang-option.selected .lang-check {
  opacity: 1;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: var(--r-lg);
  padding: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-gold:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}

.btn-gold:not(:disabled):hover {
  box-shadow: 0 6px 24px rgba(245,166,35,0.5);
  transform: translateY(-1px);
}

.btn-continue {
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-md);
  flex-shrink: 0;
}

/* ═══════════════════════════════════ */
/* SCREEN: LOGIN / AUTH               */
/* ═══════════════════════════════════ */

.login-screen {
  display: flex;
  flex-direction: column;
  padding: var(--sp-lg);
  padding-top: 60px;
  height: 100%;
  justify-content: center;
  gap: var(--sp-md);
}

.login-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
  animation: fadeSlideUp 0.6s ease-out;
}

.login-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: var(--sp-sm);
}

/* Google button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  border: none;
  border-radius: var(--r-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: fadeSlideUp 0.6s ease-out 0.1s both;
}

.btn-google:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

.btn-google:active {
  transform: scale(0.98);
}

.google-icon {
  flex-shrink: 0;
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--sp-sm) 0;
  animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.divider-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* OTP Section */
.otp-section {
  animation: fadeSlideUp 0.6s ease-out 0.3s both;
}

.otp-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.otp-step-hidden {
  display: none;
}

/* Phone input */
.phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.phone-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(245,166,35,0.15);
}

.phone-prefix {
  padding: 14px 12px 14px 16px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--gold);
  border-right: 1px solid var(--glass-border);
  flex-shrink: 0;
  background: rgba(245,166,35,0.05);
}

.phone-input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: 2px;
  outline: none;
}

.phone-input::placeholder {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* Send OTP / Verify button */
.btn-send-otp,
.btn-verify-otp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-send-otp .material-icons-round,
.btn-verify-otp .material-icons-round {
  font-size: 20px;
}

/* OTP boxes */
.otp-sent-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.otp-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.otp-box {
  width: 44px;
  height: 52px;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  outline: none;
  transition: all 0.3s ease;
  -webkit-appearance: none;
}

.otp-box:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(245,166,35,0.25);
  background: rgba(245,166,35,0.05);
}

.otp-box.filled {
  border-color: var(--green);
  background: rgba(46,204,113,0.06);
  color: var(--green);
}

/* Resend */
.btn-resend {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  padding: 8px;
  transition: color 0.3s ease;
}

.btn-resend:not(:disabled):hover {
  color: var(--gold);
}

.btn-resend:disabled {
  cursor: default;
}

.resend-timer {
  color: var(--gold);
  font-weight: 600;
}

/* Footer */
.login-footer {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
  padding-bottom: var(--sp-md);
}

/* ═══════════════════════════════════════════ */
/* SCREEN 2: HOME — TRIGGER SCROLL            */
/* ═══════════════════════════════════════════ */

.wheat-canvas {
  position: absolute;
  bottom: 56px;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

.star-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;
}

.gold-glow {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  transition: top 0.3s ease;
}

.home-scroll {
  position: relative;
  z-index: 1;
  height: calc(100% - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-top: 48px;
}

/* Trigger scroll sections */
.trigger-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
  padding: 0 var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.trigger-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.trigger-section[data-trigger="categories"] {
  padding-right: 0;
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--sp-xl);
}

.app-icon-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon-small .material-icons-round {
  font-size: 24px;
  color: var(--bg-primary);
}

.app-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  flex: 1;
}

.icon-btn {
  padding: 10px;
  background: var(--glass-bg);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(245,166,35,0.1);
}

.icon-btn .material-icons-round {
  font-size: 20px;
  color: var(--text-secondary);
  display: block;
}

/* Hero */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--sp-sm);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-secondary);
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--glass-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.search-bar:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(245,166,35,0.15);
}

.search-icon {
  font-size: 22px;
  color: var(--text-muted);
}

.search-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

.mic-btn-small {
  padding: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 10px;
}

.mic-btn-small .material-icons-round {
  font-size: 20px;
  color: var(--bg-primary);
  display: block;
}

/* Section title */
.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-md);
}

/* Categories 2-column grid */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.cat-chip {
  padding: 0;
  background: var(--glass-bg);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.cat-chip:hover {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245,166,35,0.15);
}

.cat-chip:hover .cat-video-wrap video {
  transform: scale(1.05);
}

/* Video thumbnail wrapper inside cat-chip */
.cat-video-wrap {
  width: 100%;
  height: 80px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.cat-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cat-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,14,0.1) 0%, rgba(10,31,14,0.55) 100%);
  pointer-events: none;
}

.cat-fallback-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.cat-video-wrap video:not([src]) ~ .cat-fallback-icon,
.cat-video-wrap video[src=""] ~ .cat-fallback-icon {
  opacity: 1;
}

.cat-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-primary);
  text-align: center;
  padding: 6px 4px 2px;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  padding-bottom: 6px;
}

/* ── Equipment card video thumbnails ── */
.eq-video-image {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.eq-video-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-md);
}

.eq-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,14,0.15) 0%, rgba(10,31,14,0.45) 100%);
  border-radius: var(--r-md);
  pointer-events: none;
}

.eq-fallback-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  color: rgba(245,166,35,0.7);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.eq-video-image video:not([src]) ~ .eq-fallback-icon {
  opacity: 1;
}

/* Glass card */
.glass-card {
  background: var(--glass-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  padding: var(--sp-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.glass-card.glow {
  box-shadow: 0 0 20px rgba(245,166,35,0.15), 0 8px 24px rgba(0,0,0,0.4);
}

/* Stats */
.stats-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--glass-border);
}

/* Equipment cards */
.equipment-card {
  display: flex;
  gap: 14px;
  margin-bottom: var(--sp-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.equipment-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,166,35,0.15);
}

.eq-image {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eq-image .material-icons-round {
  font-size: 36px;
  color: rgba(245,166,35,0.7);
}

.eq-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.eq-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.eq-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eq-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.eq-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

/* Grade badge */
.grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  flex-shrink: 0;
}

.grade-a {
  background: rgba(46,204,113,0.15);
  color: var(--green);
  border: 1px solid rgba(46,204,113,0.4);
}

.grade-b {
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.4);
}

.grade-c {
  background: rgba(255,107,53,0.15);
  color: var(--orange);
  border: 1px solid rgba(255,107,53,0.4);
}

.grade-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}

.grade-a .grade-dot { background: var(--green); color: var(--bg-primary); }
.grade-b .grade-dot { background: var(--gold); color: var(--bg-primary); }
.grade-c .grade-dot { background: var(--orange); color: var(--bg-primary); }

/* Price tag */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.price-value {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold);
}

.price-unit {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

/* Rating */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
}

.rating .material-icons-round {
  font-size: 16px;
  color: var(--gold);
}

/* AI badge */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: shimmerBadge 2s linear infinite;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 10px;
  color: var(--bg-primary);
  letter-spacing: 1.2px;
  box-shadow: 0 0 8px rgba(245,166,35,0.4);
  flex-shrink: 0;
}

.ai-badge .material-icons-round {
  font-size: 14px;
  color: var(--bg-primary);
}

.ai-badge.small {
  padding: 3px 8px;
  font-size: 9px;
}

.ai-badge.small .material-icons-round {
  font-size: 12px;
}

/* Voice match CTA */
.voice-cta {
  padding: 24px;
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(245,166,35,0.05));
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(245,166,35,0.4);
  box-shadow: 0 0 20px rgba(245,166,35,0.15);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.voice-cta:hover {
  box-shadow: 0 0 30px rgba(245,166,35,0.25);
  border-color: var(--gold);
}

.cta-mic-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(245,166,35,0.4);
}

.cta-mic-icon .material-icons-round {
  font-size: 30px;
  color: var(--bg-primary);
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
}

.cta-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Bottom nav */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-secondary);
  border-top: 0.5px solid var(--glass-border);
  display: flex;
  z-index: 10;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: color 0.2s ease;
  color: var(--text-muted);
}

.nav-item.active {
  color: var(--gold);
}

.nav-item .material-icons-round {
  font-size: 22px;
}

.nav-label {
  font-family: var(--font-body);
  font-size: 11px;
}

/* ═══════════════════════════════════ */
/* SCREEN 3: AI VOICE MATCH           */
/* ═══════════════════════════════════ */

.voice-screen {
  display: flex;
  flex-direction: column;
}

.voice-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--sp-md) var(--sp-lg);
  padding-top: 52px;
}

.voice-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.voice-mic-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  padding: var(--sp-lg);
}

.voice-status {
  text-align: center;
}

.voice-status-tamil {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
}

.voice-status-en {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Ripple animation */
.ripple-container {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ripple-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}

.r1 { width: 180px; height: 180px; }
.r2 { width: 220px; height: 220px; }
.r3 { width: 250px; height: 250px; }

.mic-button {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  border: 2px solid rgba(245,166,35,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(245,166,35,0.2);
  transition: all 0.3s ease;
  z-index: 2;
}

.mic-button:hover {
  box-shadow: 0 0 25px rgba(245,166,35,0.35);
  border-color: var(--gold);
}

.mic-button .material-icons-round {
  font-size: 48px;
  color: var(--gold);
  transition: all 0.3s ease;
}

/* Listening state */
.voice-screen.listening .mic-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(245,166,35,0.5);
  animation: pulse 1.2s ease-in-out infinite;
}

.voice-screen.listening .mic-button .material-icons-round {
  color: var(--bg-primary);
}

.voice-screen.listening .ripple-ring {
  animation: rippleExpand 2s ease-out infinite;
}

.voice-screen.listening .r2 {
  animation-delay: 0.6s;
}

.voice-screen.listening .r3 {
  animation-delay: 1.2s;
}

/* Processing state */
.voice-screen.processing .mic-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(245,166,35,0.5);
}

.voice-screen.processing .mic-button .material-icons-round {
  color: var(--bg-primary);
}

.voice-instruction {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.lang-chips {
  display: flex;
  gap: 8px;
}

.lang-chip {
  padding: 6px 14px;
  background: var(--glass-bg);
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
}

/* Voice results */
.voice-results {
  display: none;
  padding: var(--sp-md) var(--sp-lg);
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.voice-results.show {
  display: block;
}

.gemini-card {
  margin-bottom: var(--sp-md);
}

.gemini-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 12px;
}

.gemini-header .material-icons-round {
  font-size: 18px;
  color: var(--gold);
}

.gemini-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Match cards */
.match-card {
  margin-bottom: var(--sp-md);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

.match-card.show {
  opacity: 1;
  transform: translateY(0);
}

.match-top {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.match-img {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.match-img .material-icons-round {
  font-size: 30px;
  color: var(--gold);
}

.match-info {
  flex: 1;
  min-width: 0;
}

.match-name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.match-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.match-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.match-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.match-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.score-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
}

.score-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.score-bar {
  height: 4px;
  background: var(--glass-bg);
  border-radius: 2px;
  margin-bottom: 14px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.btn-book {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-search-again {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: var(--sp-lg) auto;
  padding: 12px 24px;
  background: none;
  border: 1px solid rgba(245,166,35,0.5);
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-search-again:hover {
  border-color: var(--gold);
  background: rgba(245,166,35,0.08);
}

.btn-search-again .material-icons-round {
  font-size: 18px;
}

/* ═══════════════════════════════════ */
/* SCREEN 4: EQUIPMENT DETAIL          */
/* ═══════════════════════════════════ */

.detail-scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.detail-hero {
  height: 280px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-primary));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero-icon .material-icons-round {
  font-size: 80px;
  color: var(--gold);
}

.detail-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-primary));
}

.detail-back {
  position: absolute;
  top: 52px;
  left: 16px;
}

.detail-content {
  padding: 0 var(--sp-lg);
  animation: fadeSlideUp 0.6s ease-out;
}

.detail-name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.detail-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1.2;
}

.detail-chips {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: var(--sp-lg);
}

.category-chip {
  padding: 4px 10px;
  background: rgba(245,166,35,0.15);
  border-radius: var(--r-full);
  border: 1px solid rgba(245,166,35,0.3);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--gold);
}

/* Owner card */
.owner-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: var(--sp-lg);
}

.owner-avatar {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.owner-avatar .material-icons-round {
  font-size: 28px;
  color: var(--gold);
}

.owner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.owner-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

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

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--green);
}

.verified-badge .material-icons-round {
  font-size: 16px;
  color: var(--green);
}

/* Pricing card */
.pricing-card {
  margin-bottom: var(--sp-lg);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.price-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.price-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.price-big {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--gold);
}

.price-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* Availability */
.availability-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
}

.day-slot {
  width: 42px;
  padding: 10px 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.day-slot.available {
  background: rgba(46,204,113,0.15);
  border: 1px solid rgba(46,204,113,0.4);
  color: var(--green);
}

.day-slot.booked {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--gold);
}

.day-name {
  font-family: var(--font-body);
  font-size: 11px;
}

.day-slot .material-icons-round {
  font-size: 18px;
}

/* Specs */
.specs-card {
  margin-bottom: var(--sp-lg);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.spec-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
}

/* Action buttons */
.btn-full {
  width: 100%;
  margin-bottom: 12px;
}

.btn-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: none;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outlined:hover {
  background: rgba(245,166,35,0.08);
}

.btn-outlined .material-icons-round {
  font-size: 20px;
}

/* ═══════════════════ */
/* ANIMATIONS          */
/* ═══════════════════ */

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

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

@keyframes shimmerBadge {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ═══════════════════ */
/* SHIMMER PROCESSING  */
/* ═══════════════════ */

.shimmer-bar {
  width: 200px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(245,166,35,0.2) 0%,
    var(--gold) 50%,
    rgba(245,166,35,0.2) 100%
  );
  background-size: 200% 100%;
  animation: shimmerBadge 1.5s linear infinite;
  margin: 8px auto 0;
}

/* ═══════════════════════════════ */
/* SHARED: Screen top bar          */
/* ═══════════════════════════════ */

.screen-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--sp-md) var(--sp-lg);
  padding-top: 52px;
}

.screen-bar-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-outlined-sm {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outlined-sm:hover {
  background: rgba(245,166,35,0.08);
}

.btn-decline {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 8px;
  background: none;
  border: 1px solid rgba(255,107,53,0.5);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-decline:hover {
  background: rgba(255,107,53,0.08);
}

/* ═══════════════════════════════ */
/* SCREEN 5: BOOKINGS              */
/* ═══════════════════════════════ */

.bookings-screen {
  padding-bottom: 20px;
}

.booking-section {
  padding: 0 var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.section-title-sm {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.booking-card {
  margin-bottom: var(--sp-sm);
  animation: fadeSlideUp 0.5s ease-out;
}

.booking-card.completed {
  opacity: 0.7;
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.booking-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
}

.booking-status .material-icons-round { font-size: 14px; }

.active-status {
  background: rgba(46,204,113,0.15);
  color: var(--green);
  border: 1px solid rgba(46,204,113,0.3);
}

.upcoming-status {
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
}

.completed-status {
  background: rgba(184,201,187,0.15);
  color: var(--text-secondary);
  border: 1px solid rgba(184,201,187,0.2);
}

.booking-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.booking-eq-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.booking-eq-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-eq-icon .material-icons-round {
  font-size: 24px;
  color: var(--gold);
}

.booking-eq-info { flex: 1; }

.booking-eq-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.booking-eq-owner {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.booking-eq-price .price-value {
  font-size: 16px;
}

.booking-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.booking-date-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
}

.booking-date-item .material-icons-round {
  font-size: 16px;
  color: var(--text-muted);
}

.booking-actions {
  display: flex;
  gap: 10px;
}

.booking-actions .btn-gold,
.booking-actions .btn-outlined-sm {
  flex: 1;
}

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

.booking-rating-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.booking-stars {
  display: flex;
  gap: 2px;
}

.star-filled {
  font-size: 18px;
  color: var(--gold);
}

/* ═══════════════════════════════ */
/* SCREEN 6: OWNER DASHBOARD      */
/* ═══════════════════════════════ */

.owner-screen {
  padding: 0 var(--sp-lg);
  padding-bottom: 20px;
}

.owner-header-avatar {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.owner-header-avatar .material-icons-round {
  font-size: 26px;
  color: var(--gold);
}

.owner-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.owner-header-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}

.owner-header-name {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
}

.earnings-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--sp-md);
  animation: fadeSlideUp 0.6s ease-out;
}

.earnings-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}

.earnings-value {
  font-family: var(--font-mono);
  font-size: 40px;
  color: var(--gold);
  line-height: 1.2;
}

.earnings-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--green);
}

.earnings-trend .material-icons-round { font-size: 18px; }

.owner-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: var(--sp-md);
}

.owner-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
}

.request-card {
  margin-bottom: 10px;
  animation: fadeSlideUp 0.5s ease-out;
}

.request-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.request-avatar {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.request-avatar .material-icons-round {
  font-size: 20px;
  color: var(--text-secondary);
}

.request-info { flex: 1; }

.request-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.request-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.request-price-col {
  text-align: right;
}

.request-dates {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
}

.request-actions {
  display: flex;
  gap: 10px;
}

.request-actions .btn-gold,
.request-actions .btn-decline {
  flex: 1;
}

.owner-eq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--sp-lg);
}

.owner-eq-item {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owner-eq-img {
  height: 70px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owner-eq-img .material-icons-round {
  font-size: 36px;
  color: var(--gold);
}

.owner-eq-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-eq-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grade-badge.s { padding: 2px 6px; font-size: 10px; gap: 3px; }
.grade-dot.s { width: 16px; height: 16px; font-size: 10px; }

.status-chip {
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 10px;
}

.active-chip {
  background: rgba(46,204,113,0.15);
  color: var(--green);
}

.rented-chip {
  background: rgba(255,107,53,0.15);
  color: var(--orange);
}

.owner-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: var(--r-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--bg-primary);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
  transition: all 0.3s ease;
}

.owner-fab:hover {
  box-shadow: 0 6px 24px rgba(245,166,35,0.5);
  transform: translateY(-1px);
}

.owner-fab .material-icons-round {
  font-size: 20px;
}

/* ═══════════════════════════════ */
/* SCREEN 7: PROFILE               */
/* ═══════════════════════════════ */

.profile-screen {
  padding-bottom: 20px;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-lg);
  padding-top: 0;
  animation: fadeSlideUp 0.6s ease-out;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  box-shadow: 0 0 20px rgba(245,166,35,0.2);
}

.profile-avatar .material-icons-round {
  font-size: 40px;
  color: var(--gold);
}

.profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.profile-phone {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.profile-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile-role-chip {
  padding: 4px 12px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--gold);
}

.profile-stats-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 16px;
  margin: 0 var(--sp-lg) var(--sp-lg);
}

.profile-menu {
  padding: 0 var(--sp-lg);
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(245,166,35,0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-menu-item:hover {
  padding-left: 4px;
}

.profile-menu-item .material-icons-round {
  font-size: 22px;
  color: var(--gold);
}

.menu-label {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
}

.menu-arrow {
  font-size: 20px;
  color: var(--text-muted) !important;
}

.profile-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-xl) var(--sp-lg) var(--sp-md);
  gap: 4px;
}

.profile-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.profile-hackathon {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════ */
/* RESPONSIVE          */
/* ═══════════════════ */

/* ═══════════════════════════════════ */
/* SCREEN 8: CATEGORY EQUIPMENT LIST  */
/* ═══════════════════════════════════ */

.category-screen {
  padding: 0 var(--sp-lg);
  padding-top: var(--sp-xxl);
}

.cat-header-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-header-icon .material-icons-round {
  font-size: 22px;
  color: var(--bg-primary);
}

/* Filter chip row */
.cat-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: var(--sp-md) calc(-1 * var(--sp-lg));
  padding: 4px var(--sp-lg);
}

.cat-filter-row::-webkit-scrollbar {
  display: none;
}

.cat-filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.cat-filter-chip .material-icons-round {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.cat-filter-chip:hover {
  background: rgba(245,166,35,0.08);
  border-color: var(--gold);
}

.cat-filter-chip.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-color: var(--gold);
  color: var(--bg-primary);
  font-weight: 500;
  box-shadow: 0 0 12px rgba(245,166,35,0.3);
}

.cat-filter-chip.active .material-icons-round {
  color: var(--bg-primary);
}

/* Results header */
.cat-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--sp-md) 0;
}

.cat-results-count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

/* Equipment list */
.cat-equipment-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

/* Equipment card */
.cat-eq-card {
  display: flex;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: catCardSlideIn 0.5s ease-out forwards;
}

.cat-eq-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,166,35,0.15);
  transform: translateY(-2px);
}

@keyframes catCardSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cat-eq-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cat-eq-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-eq-icon .material-icons-round {
  font-size: 30px;
  color: rgba(245,166,35,0.7);
}

.cat-eq-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cat-eq-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.cat-eq-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-eq-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.cat-eq-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

/* ═══════════════════════════════ */
/* SCREEN: UPLOAD EQUIPMENT         */
/* ═══════════════════════════════ */

.upload-form-container {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  animation: fadeSlideUp 0.6s ease-out forwards;
}

.upload-image-box {
  width: 100%;
  height: 180px;
  border-radius: var(--r-md);
  border: 1.5px dashed rgba(245, 166, 35, 0.4);
  background: var(--glass-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  position: relative;
  transition: all 0.3s ease;
}

.upload-image-box:hover {
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.05);
}

.upload-icon {
  font-size: 36px;
  color: var(--gold);
}

.upload-text {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.upload-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
}

.input-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: -4px;
}

.eq-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.eq-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.2);
}

.eq-input option {
  background: #111e18;
  color: white;
}

/* ═══════════════════════════════ */
/* KEYPAD ACCESSIBILITY (D-Pad)     */
/* ═══════════════════════════════ */

*:focus, *:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.5);
}

input:focus, .btn-gold:focus, .btn-outlined-sm:focus, .icon-btn:focus, .owner-eq-item:focus, .equipment-card:focus {
  outline-offset: 4px;
}

/* ═══════════════════════════════ */
/* AGRONOMIST AI SCREEN             */
/* ═══════════════════════════════ */

.agro-fab {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.5), 0 0 40px rgba(46, 204, 113, 0.15);
  transition: all 0.3s ease;
  animation: agroFabPulse 3s ease-in-out infinite;
}

.agro-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 28px rgba(46, 204, 113, 0.6);
}

.agro-fab .material-icons-round { font-size: 22px; }

@keyframes agroFabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(46, 204, 113, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(46, 204, 113, 0.8), 0 0 50px rgba(46, 204, 113, 0.2); }
}

.agro-screen {
  padding: 0 var(--sp-lg);
  padding-bottom: 20px;
}

.agro-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  margin: var(--sp-md) 0;
  border-radius: var(--r-lg);
  border: 2px dashed rgba(46, 204, 113, 0.4);
  background: rgba(46, 204, 113, 0.04);
  cursor: pointer;
  transition: all 0.3s ease;
}

.agro-upload-area:hover {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.08);
}

.agro-upload-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(46, 204, 113, 0.4);
}

.agro-upload-icon .material-icons-round {
  font-size: 30px;
  color: #fff;
}

.agro-upload-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

.agro-upload-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.agro-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--sp-md) 0;
  animation: fadeSlideUp 0.4s ease-out;
}

.agro-thumbs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}

.agro-thumbs-scroll::-webkit-scrollbar { display: none; }

.agro-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.agro-thumb:hover { border-color: #2ecc71; }

.agro-thumb.selected { border-color: #2ecc71; box-shadow: 0 0 10px rgba(46,204,113,0.5); }

.agro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agro-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

.agro-add-more-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px dashed rgba(46,204,113,0.5);
  background: rgba(46,204,113,0.06);
  color: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.agro-add-more-btn:hover {
  background: rgba(46,204,113,0.15);
  border-color: #2ecc71;
}

.agro-add-more-btn .material-icons-round { font-size: 22px; }

.agro-clear-btn {
  flex-shrink: 0;
  font-size: 11px;
  padding: 6px 10px;
  border-color: rgba(255,107,53,0.4);
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* After-result section */
.agro-again-bar {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-md);
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(46,204,113,0.06);
  border: 1px solid rgba(46,204,113,0.2);
  align-items: center;
}

.agro-again-label {
  flex: 1;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
}

.agro-again-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.agro-again-btn:hover { transform: scale(1.04); }
.agro-again-btn .material-icons-round { font-size: 16px; }

.agro-question-area {
  margin: var(--sp-md) 0;
}

.agro-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}

.agro-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.agro-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.agro-input:focus {
  border-color: #2ecc71;
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.agro-send-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(46, 204, 113, 0.4);
}

.agro-send-btn:hover { transform: scale(1.08); }

.agro-send-btn .material-icons-round { font-size: 20px; }

.agro-quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: var(--sp-sm);
}

.agro-chip {
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.agro-chip:hover {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.agro-response-area {
  margin: var(--sp-md) 0;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid rgba(46, 204, 113, 0.3);
  overflow: hidden;
  animation: fadeSlideUp 0.5s ease-out;
}

.agro-response-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(46, 204, 113, 0.08);
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: #2ecc71;
}

.agro-tts-btn {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(46, 204, 113, 0.3);
  background: transparent;
  color: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.agro-tts-btn:hover {
  background: rgba(46, 204, 113, 0.15);
}

.agro-tts-btn .material-icons-round { font-size: 18px; }

.agro-response-body {
  padding: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.agro-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #2ecc71;
  animation: fadeSlideUp 0.4s ease-out;
}

.agro-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  animation: agroPulseAnim 1.2s ease-in-out infinite;
}

@keyframes agroPulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px rgba(46, 204, 113, 0.4); }
  50% { transform: scale(1.2); opacity: 0.7; box-shadow: 0 0 30px rgba(46, 204, 113, 0.6); }
}

@media (max-width: 420px) {
  .phone-frame {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: none;
  }
  .phone-notch {
    display: none;
  }
}
