/* =====================================================================
   SAVEINDRIVE — PREMIUM LIGHT SAAS DESIGN SYSTEM
   Modern, Clean, Trustworthy Cloud Infrastructure UI
   Inspired by Linear, Stripe & Modern Cloud Utilities
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Surfaces & Canvas */
  --surface: #FFFFFF;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --bg-input: #FFFFFF;
  --bg-hover: #F8FAFC;

  /* Typography */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverted: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-focus: #3B82F6;

  /* Brand Accents & Gradients */
  --blue-primary: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;

  --green-accent: #10B981;
  --green-hover: #059669;
  --green-light: #ECFDF5;
  --green-border: #A7F3D0;

  --amber-accent: #F59E0B;
  --amber-light: #FEF3C7;
  --amber-border: #FDE68A;

  --rose-accent: #EF4444;
  --rose-light: #FEF2F2;
  --rose-border: #FECACA;

  /* Signature Brand Gradients */
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
  --gradient-cta: linear-gradient(135deg, #0066FF 0%, #00B96B 100%);
  --gradient-cta-hover: linear-gradient(135deg, #0052CC 0%, #00A35C 100%);
  --gradient-badge: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows (Ultra-Soft, Elegant) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-btn: 0 4px 14px rgba(37, 99, 235, 0.25);
  --shadow-btn-hover: 0 6px 20px rgba(37, 99, 235, 0.35);

  /* Font Stack */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --header-height: 68px;
  --max-width: 1320px;
}

/* Force light theme regardless of system dark preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-primary: #0F172A;
    --border: #E2E8F0;
  }
}

/* --- 2. BASE RESETS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-page);
  color: var(--text-primary);
}

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

/* Subtle background glowing gradient waves */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 800px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-decor-fluid-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 780px;
  background-image: url('/static/img/hero_fluid_wave.jpg');
  background-repeat: no-repeat;
  background-position: 50% 10%;
  background-size: cover;
  opacity: 0.38;
  mix-blend-mode: multiply;
  filter: saturate(1.2) contrast(1.05);
  pointer-events: none;
}

.bg-decor-glow-center {
  position: absolute;
  top: 60px;
  left: 20%;
  width: 750px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(37, 99, 235, 0.05) 45%, rgba(255, 255, 255, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
}

.bg-decor-blob-1 {
  position: absolute;
  top: -120px;
  left: 15%;
  width: 650px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(80px);
}

.bg-decor-blob-2 {
  position: absolute;
  top: 100px;
  right: 10%;
  width: 580px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(80px);
}

.main-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- 3. HEADER (PREMIUM TRANSLUCENT) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  height: var(--header-height);
  transition: all 0.2s ease;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.header-brand svg,
.header-brand img,
.header-brand .brand-logo-img {
  flex-shrink: 0;
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-brand:hover img,
.header-brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.footer-brand-col .header-brand img,
.footer-brand-col .header-brand .brand-logo-img {
  width: 28px;
  height: 28px;
}

/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--blue-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link-signin {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.header-link-signin:hover {
  color: var(--blue-primary);
  background: var(--bg-card-subtle);
}

/* Start Transfer header button */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.22);
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  background: var(--gradient-cta-hover);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.32);
  transform: translateY(-1px);
}

/* User Connected Status Capsule */
.auth-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-status-pill.status-connected {
  background: var(--green-light);
  color: var(--green-hover);
  border: 1px solid var(--green-border);
}

.auth-status-pill.status-disconnected {
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.status-dot.disconnected {
  background: var(--text-light);
  box-shadow: none;
}

.btn-disconnect {
  background: transparent;
  border: none;
  color: var(--rose-accent);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 2px 6px;
  margin-left: 4px;
  border-radius: 4px;
}

.btn-disconnect:hover {
  background: var(--rose-light);
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-nav-drawer.open,
.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-drawer a {
  display: block;
  padding: 10px 0;
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-drawer a:last-child {
  border-bottom: none;
}

/* --- 4. HERO & TWO-COLUMN APPLICATION SECTION --- */
.hero-section {
  padding: 24px 0 20px 0;
}

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

/* Left Column: Headline & Visual Flow */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.35rem, 3.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 520px;
}

/* Trust list with checkmarks */
.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}

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

.trust-check-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* Hero CTA group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-primary);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: var(--blue-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: var(--border-strong);
}

/* --- ORGANIC FLUID HERO FLOW (NO BOX, PURE FLUID TOOL AESTHETIC) --- */
.hero-organic-flow {
  margin-top: 14px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  width: 100%;
}

/* Left floating source cards */
.flow-sources-cluster {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.source-bubble {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.source-bubble svg {
  width: 15px;
  height: 15px;
}

.source-bubble:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.16);
  border-color: var(--blue-primary);
}

/* Connecting Waves SVG */
.flow-energy-waves {
  width: 70px;
  height: 85px;
  flex-shrink: 0;
}

/* Central & Destination Nodes */
.flow-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.07);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 102, 255, 0.12);
}

.engine-node {
  min-width: 125px;
}

.drive-node {
  min-width: 120px;
}

.flow-node-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.66rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.badge-any-source {
  background: var(--green-light);
  color: var(--green-hover);
  border: 1px solid var(--green-border);
}

.badge-direct-drive {
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  margin-top: 5px;
  margin-bottom: 2px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.flow-mascot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid #FFFFFF;
  margin-bottom: 4px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-img-circle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flow-card:hover .mascot-img-circle {
  transform: scale(1.08);
}

.flow-node-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flow-node-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Connecting Stream Pulse Arrow */
.flow-stream-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.stream-pulse-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D2FF;
  box-shadow: 0 0 10px #00D2FF;
  animation: streamPulse 2s ease-in-out infinite;
}

@keyframes streamPulse {
  0% { transform: translateX(-16px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(16px); opacity: 0; }
}

/* --- 5. MAIN TRANSFER APPLICATION CARD (RIGHT COLUMN) --- */
.hero-right {
  position: relative;
}

.transfer-app-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.2s ease;
}

.transfer-card-header {
  margin-bottom: 12px;
}

.transfer-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.transfer-card-title svg {
  color: var(--blue-primary);
}

.transfer-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Input with icon & Inspect button */
.input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 4px 6px 4px 12px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.input-field-wrap:focus-within {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.input-icon-svg {
  color: var(--text-light);
  margin-right: 8px;
  flex-shrink: 0;
}

.url-input-control {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text-primary);
  padding: 8px 0;
}

.url-input-control::placeholder {
  color: var(--text-light);
}

.btn-inspect-url {
  background: var(--bg-card-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-inspect-url:hover {
  background: #FFFFFF;
  border-color: var(--border-strong);
  color: var(--blue-primary);
}

/* Quick sample chips */
.sample-links-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.sample-tag-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-right: 2px;
}

.sample-chip {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sample-chip:hover {
  background: var(--blue-light);
  color: var(--blue-primary);
  border-color: var(--blue-border);
}

/* Rich Preview Cards */
.preview-box {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--bg-card-subtle);
}

.preview-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green-hover);
  margin-bottom: 6px;
}

.preview-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 0.82rem;
}

.preview-meta-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
}

/* Video Preview Card */
.video-preview-wrap {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  background: var(--bg-card-subtle);
}

.video-thumb-container {
  position: relative;
  width: 100px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration-tag {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 0.68rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.video-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.video-title-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Destination Folder Section */
.destination-section {
  margin-top: 12px;
}

.dest-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dest-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-dest-action {
  background: transparent;
  border: none;
  color: var(--blue-primary);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-dest-action:hover {
  text-decoration: underline;
}

/* Folder Selector Dropdown / Grid */
.folder-picker-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  max-height: 140px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

/* Custom Scrollbar for Folder Picker Box */
.folder-picker-box::-webkit-scrollbar {
  width: 6px;
}

.folder-picker-box::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.folder-picker-box::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

.folder-picker-box::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.folder-choice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
  user-select: none;
}

.folder-choice-row:last-child {
  border-bottom: none;
}

.folder-choice-row:hover {
  background: var(--bg-card-subtle);
}

.folder-choice-row.active {
  background: #EFF6FF;
}

.folder-left-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 0;
  flex: 1;
  margin-right: 8px;
}

.folder-left-info svg {
  flex-shrink: 0;
}

.folder-left-info span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.folder-left-info input[type="radio"] {
  accent-color: var(--blue-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.custom-folder-input-wrap {
  margin-top: 8px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.custom-folder-input-wrap input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  background: #FFFFFF;
  color: var(--text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.custom-folder-input-wrap input:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Transfer Options Checkboxes */
.transfer-options-block {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.option-checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.option-checkbox-label input[type="checkbox"] {
  accent-color: var(--blue-primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.select-folder-link {
  font-size: 0.78rem;
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.select-folder-link:hover {
  text-decoration: underline;
}

/* Collapsible Advanced Settings */
.advanced-settings-accordion {
  margin-top: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

.advanced-settings-accordion summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.advanced-settings-accordion summary:hover {
  color: var(--text-primary);
}

.advanced-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.adv-field-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 3px;
  display: block;
}

.adv-select, .adv-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-primary);
  background: #FFFFFF;
}

/* Master Transfer Submit Button */
.btn-save-drive-master {
  width: 100%;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.28);
  transition: all 0.2s ease;
}

.btn-save-drive-master:hover {
  background: var(--gradient-cta-hover);
  box-shadow: 0 6px 22px rgba(0, 102, 255, 0.38);
  transform: translateY(-1px);
}

.btn-save-drive-master:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.transfer-trust-subnote {
  margin-top: 8px;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--text-muted);
}

/* --- 6. LIVE MONITOR & SUCCESS CARDS --- */
.monitor-card {
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.monitor-header-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.monitor-header-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.monitor-badges-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1;
}

.monitor-folder-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.monitor-file-info-block {
  width: 100%;
  min-width: 0;
}

.monitor-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}

.badge-connecting { background: var(--amber-light); color: var(--amber-accent); border: 1px solid var(--amber-border); }
.badge-uploading { background: var(--blue-light); color: var(--blue-primary); border: 1px solid var(--blue-border); }
.badge-completed { background: var(--green-light); color: var(--green-hover); border: 1px solid var(--green-border); }
.badge-failed { background: var(--rose-light); color: var(--rose-accent); border: 1px solid var(--rose-border); }

.monitor-file-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.btn-cancel-transfer {
  background: var(--rose-light);
  color: var(--rose-accent);
  border: 1px solid var(--rose-border);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-cancel-transfer:hover {
  background: #FEE2E2;
}

/* --- ACTIVE TRANSFER MOTION FLOW VISUALIZATION --- */
.active-transfer-flow-viz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 100%);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.flow-viz-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  z-index: 2;
}

.flow-viz-icon-pulse {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
  animation: nodePulse 2s ease-in-out infinite;
  color: #2563EB;
}

.flow-viz-icon-pulse.drive-dest-icon {
  border-color: #10B981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.28);
}

.flow-drive-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.flow-viz-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 95px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-viz-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 100px;
}

.flow-stream-track {
  width: 100%;
  height: 4px;
  background: #CBD5E1;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.flow-packet {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(90deg, transparent, #00D2FF, #2563EB, transparent);
  border-radius: 999px;
  box-shadow: 0 0 8px #00D2FF;
  animation: flowPacket 1.8s linear infinite;
}

.flow-packet.p1 { animation-delay: 0s; }
.flow-packet.p2 { animation-delay: 0.45s; }
.flow-packet.p3 { animation-delay: 0.9s; }
.flow-packet.p4 { animation-delay: 1.35s; }

@keyframes flowPacket {
  0% { left: -30px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

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

.flow-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  border: 1px solid #A7F3D0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stream-pulse-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseRing 1.5s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- PROGRESS BAR WITH SURFING CLOUD MASCOT --- */
.progress-section-wrap {
  margin: 16px 0 6px 0;
  position: relative;
}

.progress-outer {
  background: #E2E8F0;
  border-radius: 999px;
  height: 10px;
  position: relative;
  overflow: visible; /* Allows surfing mascot to float above the track */
}

.progress-inner-fill {
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 50%, #10B981 100%);
  background-size: 200% 100%;
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  position: relative;
  animation: progressGradientWave 3s ease infinite;
}

@keyframes progressGradientWave {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.progress-shimmer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  border-radius: 999px;
  animation: shimmerMove 1.8s infinite;
}

@keyframes shimmerMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 3D Surfing Cloud Mascot Runner */
.mascot-runner {
  position: absolute;
  right: -20px;
  bottom: -4px;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mascotSurf 1.6s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 3px 8px rgba(37, 99, 235, 0.35));
}

.mascot-runner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mascot-runner.mascot-turbo {
  animation: mascotTurbo 0.75s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(16, 185, 129, 0.6)) hue-rotate(-10deg);
}

.mascot-runner.mascot-victory {
  animation: mascotVictory 1.2s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(234, 179, 8, 0.55));
}

@keyframes mascotSurf {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(4deg);
  }
}

@keyframes mascotTurbo {
  0%, 100% {
    transform: translateY(0px) rotate(6deg) scale(1.08);
  }
  50% {
    transform: translateY(-5px) rotate(11deg) scale(1.14);
  }
}

@keyframes mascotVictory {
  0%, 100% { transform: translateY(0) scale(1.05); }
  50% { transform: translateY(-7px) scale(1.15) rotate(5deg); }
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
  animation: pulseBeacon 1.4s ease-in-out infinite;
  margin-right: 4px;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Progress Meta Summary Bar */
.progress-meta-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 6px;
  width: 100%;
  box-sizing: border-box;
}

.meta-summary-left {
  flex: 1;
  min-width: 0;
}

.meta-summary-right {
  flex-shrink: 0;
}

.meta-counter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-counter-tag strong {
  color: #1E40AF;
  font-weight: 700;
}

.monitor-batch-pill {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.monitor-file-path-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.progress-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 5px;
  gap: 6px;
  flex-wrap: wrap;
}

.telemetry-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-item {
  text-align: center;
  background: var(--bg-card-subtle);
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.telemetry-item .t-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telemetry-item .t-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telemetry-item .t-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  #transfer-monitor-card,
  .transfer-card {
    padding: 14px 12px !important;
  }

  .active-transfer-flow-viz {
    padding: 8px 10px;
    gap: 6px;
    margin-bottom: 12px;
  }
  .flow-viz-icon-pulse {
    width: 32px;
    height: 32px;
  }
  .flow-viz-icon-pulse svg {
    width: 15px;
    height: 15px;
  }
  .flow-drive-mini {
    width: 24px;
    height: 24px;
  }
  .flow-viz-label {
    max-width: 65px;
    font-size: 0.65rem;
  }
  .flow-viz-stream {
    min-width: 40px;
    gap: 4px;
  }
  .flow-stream-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
  #flow-stream-speed-label {
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  .telemetry-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
  }
  .telemetry-item {
    padding: 7px 5px;
  }
  .telemetry-item .t-label {
    font-size: 0.64rem;
  }
  .telemetry-item .t-val {
    font-size: 0.82rem;
  }
  .telemetry-item .t-sub {
    font-size: 0.64rem;
  }
  .telemetry-item:last-child {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
  }
  .telemetry-item:last-child .t-val {
    margin-top: 0;
  }
  .telemetry-item:last-child .t-sub {
    margin-top: 0;
  }

  .meta-counter-tag {
    font-size: 0.68rem;
    padding: 2px 7px;
    gap: 4px;
  }
  .meta-counter-tag svg {
    width: 11px;
    height: 11px;
  }
  #progress-percent {
    font-size: 0.92rem !important;
  }

  .progress-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 0.75rem;
  }
  #progress-remaining-bytes {
    font-size: 0.74rem !important;
  }
}

@media (max-width: 380px) {
  .telemetry-stats-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .telemetry-item:last-child {
    grid-column: span 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Console logs */
.console-box {
  margin-top: 14px;
  background: #0F172A;
  color: #94A3B8;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  max-height: 90px;
  overflow-y: auto;
}

/* Success Card */
.success-celebrate-card {
  margin-top: 20px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.success-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.success-actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.btn-open-drive-success {
  background: var(--blue-primary);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
}

/* --- 7. RECENT TRANSFERS SECTION --- */
.recent-transfers-section {
  padding: 24px 0 48px 0;
}

.recent-transfers-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.transfers-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.transfers-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.transfers-table-wrap {
  overflow-x: auto;
}

table.transfers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

table.transfers-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.transfers-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

table.transfers-table tr:hover td {
  background: var(--bg-card-subtle);
}

.file-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- 8. REUSABLE SECTION STYLING (MATCHING MOCKUP) --- */
.content-section {
  padding: 64px 0;
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px auto;
}

.section-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.22;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* --- HOW SAVEINDRIVE WORKS (3-STEP SECTION) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.step-number-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- SUPPORTED TRANSFER SOURCES GRID --- */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.source-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.source-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.source-item-card .src-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-item-card .src-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- KEY FEATURES (3x2 GRID) --- */
.features-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

/* --- SECURITY & PRIVACY BY DESIGN (4 CARDS) --- */
.security-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.security-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.security-card:hover {
  transform: translateY(-2px);
}

.sec-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.sec-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.sec-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --- BUILT FOR REAL USERS / USE CASES (4 CARDS) --- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use-case-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uc-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.uc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.uc-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --- TECHNICAL LIMITATIONS (4 CARDS) --- */
.limitations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.limitation-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.lim-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.lim-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- FAQ ACCORDION --- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--blue-border);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-primary);
}

.faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --- FINAL CTA BANNER --- */
.final-cta-section {
  padding: 40px 0 64px 0;
}

/* --- CUTE 3D STEP MASCOTS --- */
.step-mascot-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 60%, rgba(239, 246, 255, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.08);
}

.step-mascot-img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.step-card:hover .step-mascot-img {
  transform: scale(1.1) rotate(3deg);
}

.step-number-pill {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--blue-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* --- CUTE 3D PERSONA AVATARS --- */
.persona-avatar-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 3px solid #FFFFFF;
  background: #FFFFFF;
}

.persona-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.use-case-card:hover .persona-avatar-img {
  transform: scale(1.08);
}

/* --- CUTE 3D FEATURE MASCOTS --- */
.feature-mascot-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-mascot-img {
  transform: scale(1.1);
}

/* --- CTA VISUAL WITH CUTE MASCOTS --- */
.cta-mascot-duo {
  position: relative;
  display: flex;
  align-items: center;
}

.cta-mascot-folder {
  width: 125px;
  height: 125px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: rotate(-6deg);
  border: 3px solid #FFFFFF;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.cta-mascot-cloud {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.15);
  transform: rotate(8deg);
  border: 3px solid #FFFFFF;
  margin-left: -32px;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.final-cta-card:hover .cta-mascot-folder {
  transform: rotate(-10deg) scale(1.05);
}

.final-cta-card:hover .cta-mascot-cloud {
  transform: rotate(12deg) scale(1.05);
}

.cta-speech-bubble {
  position: absolute;
  top: -18px;
  right: -10px;
  background: #FFFFFF;
  border: 1px solid var(--blue-border);
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-primary);
  z-index: 4;
}

.cta-speech-drive-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.final-cta-card {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-2xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.final-cta-content {
  flex: 1;
  text-align: left;
}

.final-cta-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-top: 10px;
}

.final-cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.final-cta-visual {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-graphic-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: block;
}

.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-top: 24px;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.3);
  transition: all 0.2s ease;
}

.final-cta-btn:hover {
  background: var(--gradient-cta-hover);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.4);
  transform: translateY(-2px);
}

.cta-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

/* --- 9. FOOTER (CLEAN, MODERN SAAS DESIGN MATCHING MOCKUP) --- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 48px 0 28px 0;
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 290px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

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

.footer-links-list a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--blue-primary);
}

/* Streamlined Horizontal Inline Nav (Matching Reference Image) */
.footer-inline-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 24px;
  padding: 20px 0;
  margin-top: 36px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-inline-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-inline-nav a:hover {
  color: var(--blue-primary);
}

.footer-bottom-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-links a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-social-links a:hover {
  color: var(--blue-primary);
  transform: translateY(-1px);
}

/* --- 10. MODALS & OVERLAYS --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

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

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

/* Alert banner */
.alert-banner {
  background: var(--amber-light);
  border: 1px solid var(--amber-border);
  color: #92400E;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 500;
}

.alert-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
}

/* --- 11. RESPONSIVE LAYOUTS --- */
@media (max-width: 1200px) {
  .sources-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* TABLET VIEW (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
  }

  .hero-left {
    text-align: left;
    align-items: flex-start;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-trust-list {
    align-items: flex-start;
  }

  .hero-flow-diagram {
    width: 100%;
    max-width: 580px;
    margin: 16px auto 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

  .sources-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* MOBILE VIEW (320px - 767px) */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #F8FAFC !important;
  }

  .main-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Clean, elegant mobile background: replace oversized image blotches with soft ambient gradient */
  .bg-decorations {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 520px !important;
    background: radial-gradient(circle at 50% -10%, #DBEAFE 0%, #EFF6FF 50%, rgba(248, 250, 252, 0) 100%) !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: 0 !important;
  }

  .bg-decor-fluid-wave,
  .bg-decor-glow-center,
  .bg-decor-blob-1,
  .bg-decor-blob-2 {
    display: none !important;
  }

  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .site-header {
    height: 58px;
  }

  .site-header .header-inner {
    padding: 0 4px;
  }

  .site-header .header-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

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

  .hero-section {
    padding: 16px 0 24px 0;
    overflow-x: hidden;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-left {
    display: contents;
  }

  .hero-eyebrow {
    order: 1;
    font-size: 0.78rem;
    padding: 4px 12px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #2563EB;
  }

  .hero-title {
    order: 2;
    font-size: clamp(1.85rem, 7.2vw, 2.25rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 95%;
    margin: 4px auto 2px auto;
  }

  .hero-subtitle {
    order: 3;
    font-size: 0.90rem;
    line-height: 1.5;
    color: var(--text-secondary);
    word-break: break-word;
    text-align: center;
    max-width: 94%;
    margin: 0 auto;
  }

  .hero-trust-list {
    order: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    width: 100%;
    margin: 6px auto 2px auto;
  }

  .trust-item {
    font-size: 0.82rem;
    color: var(--text-secondary);
    gap: 6px;
  }

  .hero-cta-group {
    display: none;
  }

  .hero-right {
    order: 5;
    width: 100%;
    margin-top: 4px;
  }

  /* --- TRANSFER APP CARD MOBILE --- */
  .transfer-app-card {
    padding: 18px 16px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    width: 100%;
    box-sizing: border-box;
  }

  .transfer-card-header {
    margin-bottom: 12px;
  }

  .transfer-card-title {
    font-size: 1.10rem;
    font-weight: 700;
  }

  .transfer-card-subtitle {
    font-size: 0.80rem;
    color: var(--text-secondary);
  }

  .input-field-wrap {
    padding: 5px 6px 5px 10px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1.5px solid var(--border);
  }

  .input-field-wrap:focus-within {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }

  .url-input-control {
    font-size: 0.88rem;
  }

  .btn-inspect-url {
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
  }

  .sample-links-row {
    margin-top: 8px;
    gap: 5px;
    flex-wrap: wrap;
  }

  .sample-chip {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 9999px;
  }

  .destination-section {
    margin-top: 12px;
  }

  .dest-section-title {
    font-size: 0.84rem;
    margin-bottom: 6px;
  }

  .folder-picker-box {
    max-height: 135px;
    border-radius: 10px;
  }

  .folder-choice-row {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .transfer-options-block {
    margin-top: 10px;
    gap: 6px;
  }

  .option-checkbox-row {
    font-size: 0.80rem;
  }

  .btn-save-drive-master {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 12px;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  }

  .transfer-trust-subnote {
    font-size: 0.72rem;
    margin-top: 8px;
    line-height: 1.4;
  }

  /* --- HERO ORGANIC FLOW MOBILE (CLEAN ARCHITECTURE CARD) --- */
  .hero-organic-flow {
    order: 6;
    margin-top: 16px;
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
  }

  .flow-sources-cluster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    flex-shrink: 0;
  }

  .source-bubble {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .source-bubble svg {
    width: 13px;
    height: 13px;
  }

  .flow-energy-waves {
    display: none;
  }

  .flow-card {
    padding: 8px 10px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card-subtle);
  }

  .engine-node {
    min-width: 100px;
    max-width: 115px;
    flex-shrink: 1;
  }

  .drive-node {
    min-width: 95px;
    max-width: 105px;
    flex-shrink: 1;
  }

  .flow-mascot-avatar {
    width: 36px;
    height: 36px;
    margin-bottom: 3px;
  }

  .flow-node-badge {
    padding: 2px 6px;
    font-size: 0.60rem;
    gap: 3px;
    margin-bottom: 3px;
    white-space: nowrap;
  }

  .flow-node-title {
    font-size: 0.74rem;
    line-height: 1.2;
    font-weight: 700;
  }

  .flow-node-subtitle {
    font-size: 0.60rem;
  }

  .flow-stream-arrow {
    flex-shrink: 0;
  }

  .flow-stream-arrow svg {
    width: 18px;
    height: 12px;
  }

  /* --- TRANSFER MONITOR CARD MOBILE --- */
  .monitor-card {
    padding: 14px 12px;
    border-radius: var(--radius-xl);
    width: 100%;
    box-sizing: border-box;
  }

  /* --- RECENT TRANSFERS TABLE MOBILE --- */
  .transfers-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .transfers-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  /* --- HOW IT WORKS (3-STEP) MOBILE --- */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 22px 16px;
  }

  .step-mascot-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }

  .step-mascot-img {
    width: 72px;
    height: 72px;
  }

  .step-title {
    font-size: 1.05rem;
  }

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

  /* --- SOURCES GRID MOBILE --- */
  .sources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .source-item-card {
    padding: 14px 8px;
    gap: 6px;
  }

  .source-item-card .src-name {
    font-size: 0.75rem;
  }

  /* --- FEATURES, SECURITY, USE CASES, LIMITATIONS MOBILE --- */
  .features-grid-3x2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 18px 14px;
  }

  .security-grid-4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .security-card {
    padding: 18px 14px;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .use-case-card {
    padding: 20px 16px;
  }

  .persona-avatar-wrap {
    width: 72px;
    height: 72px;
  }

  .limitations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .limitation-card {
    padding: 18px 16px;
  }

  /* --- FINAL CTA BANNER MOBILE --- */
  .final-cta-card {
    flex-direction: column;
    padding: 28px 18px;
    text-align: center;
    gap: 22px;
  }

  .final-cta-content {
    text-align: center;
    width: 100%;
  }

  .final-cta-card h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .final-cta-card p {
    font-size: 0.92rem;
  }

  .final-cta-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 12px 20px;
  }

  .cta-trust-badges {
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
  }

  .final-cta-visual {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-mascot-folder {
    width: 85px;
    height: 85px;
  }

  .cta-mascot-cloud {
    width: 75px;
    height: 75px;
    margin-left: -20px;
  }

  .cta-speech-bubble {
    position: static;
    margin-top: 12px;
    font-size: 0.72rem;
    padding: 6px 10px;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
  }

  /* --- FOOTER MOBILE (BALANCED 2-COLUMN GRID, CLEAN AND BEAUTIFUL) --- */
  .site-footer {
    padding: 36px 0 24px 0;
    margin-top: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px 14px !important;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    margin-bottom: 6px;
    gap: 10px;
  }

  .footer-desc {
    font-size: 0.84rem;
    max-width: 100%;
  }

  .footer-col-title {
    font-size: 0.74rem;
    margin-bottom: 8px;
  }

  .footer-links-list {
    gap: 7px;
  }

  .footer-links-list a {
    font-size: 0.84rem;
  }

  .footer-inline-nav {
    justify-content: flex-start;
    gap: 10px 14px;
    padding: 14px 0;
    margin-top: 22px;
  }

  .footer-inline-nav a {
    font-size: 0.8rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    margin-top: 18px;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .footer-social-links {
    gap: 14px;
    margin-top: 2px;
  }
}

/* SMALL PHONES (<= 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px !important;
  }

  .hero-title {
    font-size: 1.72rem;
  }

  .hero-organic-flow {
    gap: 2px;
  }

  .source-bubble {
    width: 23px;
    height: 23px;
  }

  .source-bubble svg {
    width: 11px;
    height: 11px;
  }

  .flow-energy-waves {
    width: 24px;
  }

  .engine-node {
    min-width: 88px;
    max-width: 96px;
    padding: 6px 4px;
  }

  .drive-node {
    min-width: 80px;
    max-width: 88px;
    padding: 6px 4px;
  }

  .flow-mascot-avatar {
    width: 32px;
    height: 32px;
  }

  .flow-node-badge {
    font-size: 0.52rem;
    padding: 1px 4px;
  }

  .flow-node-title {
    font-size: 0.68rem;
  }

  .flow-node-subtitle {
    font-size: 0.54rem;
  }

  .flow-stream-arrow svg {
    width: 16px;
    height: 10px;
  }

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

/* =====================================================================
   14. UNIVERSAL SUBPAGE, ARTICLE & COMPARISON STYLES
   Ensures 100% visual consistency across all secondary pages & tables
   ===================================================================== */

/* Legacy and Subpage App Header Compatibility */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.badge-subtle {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
}

/* Universal Button Styles */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #F1F5F9;
  color: var(--text-primary);
  border: 1px solid var(--border);
  cursor: pointer;
}

.btn-secondary:hover {
  background: #E2E8F0;
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Subpage Article Containers */
.article-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px 80px 20px;
}

/* Breadcrumb Navigation */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.article-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-breadcrumb a:hover {
  color: var(--blue-primary);
}

.breadcrumb-separator {
  color: var(--border-strong);
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hub Hero Banner */
.hub-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px auto;
}

.hub-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.hub-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.badge-cloud-transfer {
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
}

/* Master Comparison Table Styles */
.article-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  margin: 32px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.article-table th {
  background: #F8FAFC;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
  letter-spacing: 0.02em;
}

.article-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.article-table tr:hover td {
  background: rgba(248, 250, 252, 0.6);
}

.article-table th.col-highlight {
  background: #EFF6FF !important;
  color: var(--blue-primary);
  border-left: 1px solid var(--blue-border);
  border-right: 1px solid var(--blue-border);
  border-bottom: 2px solid var(--blue-primary) !important;
}

.article-table td.col-highlight {
  background: #F8FAFF !important;
  border-left: 1px solid var(--blue-border);
  border-right: 1px solid var(--blue-border);
}

.winner-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Silo / Secondary Footer Styles */
.footer-silo-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 32px 0;
  border-top: 1px solid var(--border);
}

.footer-silo-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.footer-silo-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-silo-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-silo-links a:hover {
  color: var(--blue-primary);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-disclaimer {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .footer-silo-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .footer-silo-wrap {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   15. FOUNDER, LEADERSHIP & CREATOR PROFILE STYLES
   Akash Kumar Singh | Team Dilwado.com | Ranchi, Jharkhand
   ===================================================================== */
.founder-profile-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.6) 100%);
  border: 1px solid rgba(219, 234, 254, 0.9);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.founder-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
}

.founder-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  border: 3px solid #FFFFFF;
}

.founder-info {
  flex: 1;
}

.founder-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.founder-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.founder-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green-hover);
  border: 1px solid var(--green-border);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.founder-roles {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.founder-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.founder-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.founder-bio-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.founder-ventures-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.founder-venture-link {
  color: var(--blue-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.founder-venture-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .founder-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
  }

  .founder-header-row {
    justify-content: center;
  }

  .founder-meta-tags {
    justify-content: center;
  }

  .founder-ventures-row {
    justify-content: center;
  }
}

