/* =====================================================
   FLOWTECK VITRINE — Design System
   Brand Green: #59B200 | Dark: #0A0A0A
   © Neoris Digital — Tous droits réservés
   ===================================================== */

/* === CSS VARIABLES ================================== */
:root {
  --primary:           #59B200;
  --primary-light:     #7ACC00;
  --primary-dark:      #3D7A00;
  --primary-xdark:     #264D00;
  --primary-glow:      rgba(89, 178, 0, 0.18);
  --primary-glow-md:   rgba(89, 178, 0, 0.30);
  --primary-glow-str:  rgba(89, 178, 0, 0.50);

  --bg:                #070707;
  --bg-alt:            #0D0D0D;
  --bg-card:           #111111;
  --bg-card-2:         #161616;
  --bg-card-hover:     #1C1C1C;

  --border:            rgba(255,255,255,0.06);
  --border-md:         rgba(255,255,255,0.10);
  --border-accent:     rgba(89, 178, 0, 0.22);
  --border-accent-md:  rgba(89, 178, 0, 0.40);

  --text:              #EFEFEF;
  --text-secondary:    #AAAAAA;
  --text-muted:        #666666;
  --white:             #FFFFFF;

  --radius-sm:         8px;
  --radius:            12px;
  --radius-lg:         20px;
  --radius-xl:         28px;

  --shadow:            0 4px 24px rgba(0,0,0,0.45);
  --shadow-lg:         0 12px 50px rgba(0,0,0,0.6);
  --shadow-xl:         0 24px 80px rgba(0,0,0,0.7);
  --shadow-glow:       0 0 40px rgba(89, 178, 0, 0.22);
  --shadow-glow-str:   0 0 60px rgba(89, 178, 0, 0.35);

  --transition:        0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font:              'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:             72px;
}

/* === RESET & BASE =================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }

/* === SCROLLBAR ====================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* === TYPOGRAPHY ===================================== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
.display-hero {
  font-size: clamp(1.4rem, 5.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
}
.text-primary-green { color: var(--primary); }
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #7DE000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === UTILITY ======================================== */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.section-sep { border-top: 1px solid var(--border); }
.green-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--primary);
}
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* === BUTTONS ======================================== */
.btn-primary-ft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(89, 178, 0, 0.35);
  white-space: nowrap;
}
.btn-primary-ft:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(89, 178, 0, 0.5);
  color: #000;
}
.btn-primary-ft:active { transform: translateY(0); }

.btn-outline-ft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 27px;
  border-radius: 50px;
  border: 1.5px solid var(--border-md);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline-ft:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: var(--primary-glow);
}

.btn-ghost-ft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.btn-ghost-ft:hover {
  border-bottom-color: var(--primary);
  color: var(--primary-light);
  gap: 10px;
}

/* === NAVIGATION ===================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), border-bottom var(--transition);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #000;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(89, 178, 0, 0.5);
}
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.nav-logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-link.active { color: var(--primary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card-2);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 6px);
}
.dropdown-item-ft {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-item-ft:hover {
  background: var(--primary-glow);
  color: var(--primary-light);
}
.dropdown-item-ft .dd-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: rgba(7,7,7,0.97);
  backdrop-filter: blur(20px);
  padding: 20px 24px 30px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 6px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-mobile-link:hover { color: var(--primary); background: var(--primary-glow); }
.nav-mobile-divider { border-top: 1px solid var(--border); margin: 8px 0; }

/* === HERO =========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 15% 20%, rgba(89,178,0,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 85% 80%, rgba(89,178,0,0.07) 0%, transparent 60%),
              linear-gradient(180deg, #070707 0%, #050505 100%);
  z-index: 0;
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(89,178,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,178,0,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
}

/* Animated blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: blob-float 8s ease-in-out infinite;
  z-index: 0;
}
.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2A7A00, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation-delay: 4s;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particle-rise linear infinite;
  box-shadow: 0 0 6px var(--primary);
}
@keyframes particle-rise {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.8; transform: translateY(-20px) scale(1); }
  90%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-300px) scale(0.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 var(--primary);
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(89,178,0,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(89,178,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(89,178,0,0); }
}

.hero-headline { margin-bottom: 20px; }
.hero-headline span { display: inline; }
.hero-typed-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.hero-typed { color: var(--primary-light); }
.cursor-blink {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--primary);
  margin-left: 4px;
  border-radius: 2px;
  animation: cursor-blink 1s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat-item { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); }

/* === APP MOCKUP (CSS SCREENS) ====================== */
.hero-mockup-wrapper {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.hero-mockup-float {
  position: relative;
  width: 540px;
}

/* Browser frame */
.browser-frame {
  background: #1A1A1A;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(89,178,0,0.1), inset 0 1px 0 rgba(255,255,255,0.06);
}
.browser-bar {
  background: #242424;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: #888;
  font-family: monospace;
}

/* App interface inside browser */
.app-screen {
  display: flex;
  flex-direction: column;
  height: 340px;
  overflow: hidden;
  background: #0C0C0C;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #141414;
  border-bottom: 1px solid rgba(89,178,0,0.15);
  flex-shrink: 0;
}
.app-header-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}
.app-header-logo-icon {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #000;
}
.app-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  color: #888;
}
.app-header-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--primary-light);
  font-weight: 700;
}

.app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar */
.app-sidebar {
  width: 44px;
  background: #0A0A0A;
  border-right: 1px solid rgba(89,178,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 6px;
  flex-shrink: 0;
}
.app-sidebar-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #555;
  transition: var(--transition);
  cursor: pointer;
}
.app-sidebar-item.active {
  background: var(--primary-glow);
  color: var(--primary);
}
.app-sidebar-item:hover:not(.active) {
  background: rgba(255,255,255,0.05);
  color: #888;
}

/* Content area */
.app-content-area {
  flex: 1;
  padding: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-page-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #DDD;
  margin-bottom: 0;
}
.app-stats-row {
  display: flex;
  gap: 8px;
}
.app-stat-card {
  flex: 1;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 10px;
}
.app-stat-card.green-accent {
  border-color: rgba(89,178,0,0.25);
  background: rgba(89,178,0,0.05);
}
.app-stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.app-stat-lbl {
  font-size: 0.55rem;
  color: #666;
  margin-top: 2px;
}

/* Chart inside app */
.app-chart-area {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.app-chart-label {
  font-size: 0.55rem;
  color: #666;
  font-weight: 600;
}
.app-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}
.app-chart-bar {
  flex: 1;
  background: rgba(89,178,0,0.25);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: var(--transition);
}
.app-chart-bar.highlight { background: var(--primary); }
.app-chart-bar.dimmed { opacity: 0.5; }

/* Mini table in app */
.app-mini-table {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
}
.app-table-row {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.app-table-row:last-child { border-bottom: none; }
.app-table-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-green  { background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.status-orange { background: #FF8C00; }
.status-blue   { background: #4A90D9; }
.app-table-text {
  flex: 1;
  font-size: 0.6rem;
  color: #888;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.app-table-badge {
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 50px;
  background: rgba(89,178,0,0.12);
  color: var(--primary);
  border: 1px solid rgba(89,178,0,0.2);
}
.app-table-badge.orange { background: rgba(255,140,0,0.12); color: #FF8C00; border-color: rgba(255,140,0,0.2); }
.app-table-badge.blue   { background: rgba(74,144,217,0.12); color: #4A90D9; border-color: rgba(74,144,217,0.2); }

/* Phone mockup */
.phone-frame {
  width: 160px;
  background: #1A1A1A;
  border-radius: 30px;
  border: 3px solid #2A2A2A;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(89,178,0,0.15);
  position: absolute;
  right: -70px;
  top: 60px;
}
.phone-notch {
  height: 22px;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.phone-notch-bar {
  width: 60px;
  height: 5px;
  background: #2A2A2A;
  border-radius: 3px;
}
.phone-screen {
  background: #0C0C0C;
  padding: 10px 8px;
  min-height: 280px;
}
.phone-app-header {
  text-align: center;
  padding: 8px 0 10px;
  border-bottom: 1px solid rgba(89,178,0,0.15);
  margin-bottom: 10px;
}
.phone-app-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
}
.phone-app-subtitle {
  font-size: 0.5rem;
  color: var(--text-muted);
}
.phone-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}
.phone-card.accent {
  border-color: rgba(89,178,0,0.25);
  background: rgba(89,178,0,0.05);
}
.phone-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.phone-card-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: #DDD;
}
.phone-card-badge {
  font-size: 0.45rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50px;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid var(--border-accent);
}
.phone-card-body {
  font-size: 0.55rem;
  color: #777;
}
.phone-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.phone-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}
.phone-nav-bar {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #111;
  margin: 0 -8px -10px;
}
.phone-nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.6rem;
  color: #666;
}
.phone-nav-icon.active { color: var(--primary); }
.phone-nav-dot {
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
}

/* === OVERVIEW SECTION =============================== */
.overview-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.overview-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(89,178,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.overview-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.overview-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.overview-feature-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.overview-feature-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* === APPS SECTION =================================== */
.apps-section { background: var(--bg); }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow-md), transparent);
  opacity: 0;
  transition: var(--transition);
}
.app-card:hover {
  border-color: var(--border-accent-md);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.app-card:hover::before { opacity: 1; }
.app-card:hover .app-card-icon { transform: scale(1.1); box-shadow: var(--shadow-glow); }

.app-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.icon-manager { background: linear-gradient(135deg, #1A3A00, #2D6300); color: var(--primary); border: 1px solid rgba(89,178,0,0.3); }
.icon-client  { background: linear-gradient(135deg, #001A3A, #003163); color: #4A90D9; border: 1px solid rgba(74,144,217,0.3); }
.icon-mobile  { background: linear-gradient(135deg, #1A1A3A, #2A2A63); color: #9B6AFF; border: 1px solid rgba(155,106,255,0.3); }

.app-card-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 4px;
}
.label-manager { background: rgba(89,178,0,0.1);    color: var(--primary);  border: 1px solid rgba(89,178,0,0.2); }
.label-client  { background: rgba(74,144,217,0.1);  color: #4A90D9;         border: 1px solid rgba(74,144,217,0.2); }
.label-mobile  { background: rgba(155,106,255,0.1); color: #9B6AFF;         border: 1px solid rgba(155,106,255,0.2); }

.app-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.app-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.app-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.app-feature-bullet {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  flex-shrink: 0;
}
.bullet-manager { background: rgba(89,178,0,0.15);    color: var(--primary); }
.bullet-client  { background: rgba(74,144,217,0.15);  color: #4A90D9; }
.bullet-mobile  { background: rgba(155,106,255,0.15); color: #9B6AFF; }

/* Mini screen preview inside card */
.app-card-preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-md);
  background: #0A0A0A;
  margin-top: auto;
}

/* === FEATURES SECTION =============================== */
.features-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover .feature-icon { color: var(--primary-light); transform: scale(1.1) rotate(-5deg); }

.feature-icon {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
  transition: var(--transition);
}
.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === WORKFLOW SECTION =============================== */
.workflow-section { background: var(--bg); }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.workflow-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow-md), var(--primary), var(--primary-glow-md), transparent);
  z-index: 0;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.workflow-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 24px rgba(89,178,0,0.25);
  transition: var(--transition);
}
.workflow-step:hover .workflow-step-number {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 40px rgba(89,178,0,0.5);
}
.workflow-step-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary-light);
}
.workflow-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.workflow-step-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.workflow-step-apps {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.workflow-app-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50px;
}
.tag-manager { background: rgba(89,178,0,0.1);    color: var(--primary);  border: 1px solid rgba(89,178,0,0.2); }
.tag-client  { background: rgba(74,144,217,0.1);  color: #4A90D9;         border: 1px solid rgba(74,144,217,0.2); }
.tag-mobile  { background: rgba(155,106,255,0.1); color: #9B6AFF;         border: 1px solid rgba(155,106,255,0.2); }

/* === SCREENSHOTS SECTION ============================ */
.screenshots-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.screenshots-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.scr-tab {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.scr-tab:hover { border-color: var(--border-md); color: var(--text); }
.scr-tab.active {
  background: var(--primary-glow);
  border-color: var(--border-accent-md);
  color: var(--primary-light);
}

.screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.scr-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.scr-card-preview {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #0A0A0A;
}
.scr-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}
.scr-card:hover .scr-card-overlay { opacity: 1; }
.scr-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
}

.scr-card-info { padding: 16px; }
.scr-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.scr-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

/* Full Screen Preview Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: var(--transition);
}
.modal-overlay.open .modal-content {
  transform: scale(1);
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.modal-body { padding: 24px; }

/* === STATS SECTION ================================== */
.stats-section {
  background: linear-gradient(135deg, var(--bg) 0%, #0A1A00 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(89,178,0,0.08) 0%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-value {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* === GUIDE PREVIEW SECTION ========================= */
.guide-preview-section { background: var(--bg); }
.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.guide-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.guide-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.guide-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.guide-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guide-topic-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* === CONTACT / CTA SECTION ========================= */
.contact-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(89,178,0,0.06) 0%, transparent 70%);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 16px;
}
.form-label-ft {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-input-ft, .form-select-ft, .form-textarea-ft {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input-ft:focus, .form-select-ft:focus, .form-textarea-ft:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-input-ft::placeholder, .form-textarea-ft::placeholder { color: var(--text-muted); }
.form-textarea-ft { resize: vertical; min-height: 100px; }
.form-select-ft { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23888' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; cursor: pointer; }
.form-select-ft option { background: var(--bg-card); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* === FOOTER ========================================= */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
}
.footer-main {
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--primary-glow);
  border-color: var(--border-accent);
  color: var(--primary);
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-link:hover { color: var(--primary); }
.footer-link:hover::before { content: '→'; font-size: 0.75rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-text a {
  color: var(--primary);
  transition: var(--transition);
}
.footer-bottom-text a:hover { color: var(--primary-light); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-bottom-link:hover { color: var(--text-secondary); }

/* === SCROLL TO TOP ================================== */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(89,178,0,0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  border: none;
}
#scrollTop.visible {
  opacity: 1;
  visibility: visible;
}
#scrollTop:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(89,178,0,0.5);
}

/* === ANIMATIONS DU CHARGEMENT ====================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
}
.loader-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  animation: loader-pulse 1s ease-in-out infinite;
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(89,178,0,0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(89,178,0,0); }
}
.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: loader-fill 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loader-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* === AOS CUSTOM OVERRIDES =========================== */
[data-aos] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* === GUIDE PAGE SPECIFIC ============================ */
.guide-hero {
  padding: 120px 0 70px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 20% 50%, rgba(89,178,0,0.08) 0%, transparent 60%);
}

.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.guide-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
}
.guide-nav-section { padding: 8px 0; }
.guide-nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 6px 16px;
}
.guide-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}
.guide-nav-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.guide-nav-link.active {
  background: var(--primary-glow);
  color: var(--primary-light);
}
.guide-nav-link i { width: 16px; text-align: center; font-size: 0.75rem; }

.guide-content-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.guide-section-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.guide-block-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.guide-block-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.guide-block-body { padding: 28px; }

/* Steps */
.guide-steps { display: flex; flex-direction: column; gap: 24px; }
.guide-step {
  display: flex;
  gap: 16px;
}
.guide-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-step-content { flex: 1; }
.guide-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.guide-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Info boxes */
.info-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.info-box.tip    { background: rgba(89,178,0,0.08);    border-left: 3px solid var(--primary); }
.info-box.note   { background: rgba(74,144,217,0.08);  border-left: 3px solid #4A90D9; }
.info-box.warn   { background: rgba(255,140,0,0.08);   border-left: 3px solid #FF8C00; }
.info-box-icon { font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.info-box.tip  .info-box-icon { color: var(--primary); }
.info-box.note .info-box-icon { color: #4A90D9; }
.info-box.warn .info-box-icon { color: #FF8C00; }
.info-box-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.info-box-text strong { color: var(--text); }

/* Feature Table in guide */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.guide-table th {
  text-align: left;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.guide-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.guide-table td:first-child { color: var(--text); font-weight: 600; }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table tr:hover td { background: rgba(255,255,255,0.02); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.faq-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  background: var(--primary-glow);
  color: var(--primary);
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { max-height: 500px; }

/* === RESPONSIVE ===================================== */
@media (max-width: 1200px) {
  .nav-inner { padding: 0 24px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-mockup-wrapper { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 992px) {
  .apps-grid          { grid-template-columns: 1fr; gap: 16px; }
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .screenshots-gallery{ grid-template-columns: repeat(2, 1fr); }
  .workflow-grid      { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .workflow-grid::before { display: none; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .guide-cards-grid   { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .guide-layout       { grid-template-columns: 1fr; }
  .guide-sidebar      { position: static; max-height: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section-pad    { padding: 60px 0; }
  .section-pad-sm { padding: 40px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-inner      { padding: 0 20px; }
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .screenshots-gallery { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form   { padding: 28px 20px; }
  .workflow-grid  { grid-template-columns: 1fr; }
  .hero-stats     { gap: 24px; }
  .display-hero   { font-size: 1rem; }
}

@media (max-width: 576px) {
  .features-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .app-card       { padding: 24px 20px; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
  .screenshots-tabs { flex-direction: row; overflow-x: auto; }
}

/* === NAVBAR HIDE-ON-SCROLL ========================== */
#navbar {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
#navbar.hidden {
  transform: translateY(-100%);
}

/* === SCROLL-TOP BUTTON ============================== */
#scrollTop.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* === GUIDE NAV LINK (used in guide page) ============ */
.guide-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}
.guide-nav-link:hover {
  color: var(--primary);
  background: rgba(89,178,0,0.08);
}
.guide-nav-link i {
  font-size: 0.75rem;
  width: 14px;
  text-align: center;
  color: var(--primary);
}
