/* ==================================================================
   LOGISENT LANDING PAGE — MODERN AGENTIC AI THEME
   ================================================================== */

:root {
  /* Modern Light Theme Palette */
  --bg-main: #ffffff;
  --bg-offset: #f8fafc; /* Slate 50 */
  
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  
  --brand-primary: #4f46e5; /* Indigo */
  --brand-secondary: #8b5cf6; /* Violet */
  --brand-accent: #06b6d4; /* Cyan */
  
  --gradient-text: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-bg: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); /* Soft pastel gradient */
  
  --card-bg: rgba(255, 255, 255, 0.8);
  --border-light: rgba(148, 163, 184, 0.2);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);

  --font-main: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-main);
  font-family: var(--font-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.5;
}

/* BACKGROUND MESH EFFECT */
.glow-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: 
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.15), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.15), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.1), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* 1. NAVBAR */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border-light);
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--brand-primary); }

.btn-login { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 14px; margin-right: 15px; }
.btn-cta {
  background: var(--brand-primary); color: white;
  padding: 10px 24px; border-radius: 99px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-cta:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

/* 2. HERO SECTION */
.hero-section {
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Modern Gradient Text */
.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

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

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; }

.btn-hero-primary {
  background: var(--brand-primary); color: white;
  padding: 16px 36px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s;
}
.btn-hero-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.btn-hero-secondary {
  background: white; color: var(--text-main);
  padding: 16px 36px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.btn-hero-secondary:hover { 
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: #f8fafc;
}

/* 3. AGENT PORTFOLIO GRID */
.portfolio-section { padding: 80px 40px; max-width: 1280px; margin: 0 auto; }
.section-label { 
  text-align: center; 
  color: var(--brand-primary); 
  font-size: 14px; 
  font-weight: 700;
  letter-spacing: 1.5px; 
  text-transform: uppercase; 
  margin-bottom: 50px; 
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.agent-card {
  background: white;
  border: 1px solid white;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; justify-content: flex-start;
  height: 260px;
  box-shadow: var(--shadow-sm);
}

/* Colorful Hover Effect */
.agent-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 92, 246, 0.3);
}

/* Soft gradient blob in card bg */
.agent-card::before {
  content: ""; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
  background: var(--gradient-text);
  filter: blur(60px); opacity: 0.1;
  transition: opacity 0.3s;
}
.agent-card:hover::before { opacity: 0.2; }

.card-content { position: relative; z-index: 2; margin-top: auto; }
.agent-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.agent-desc { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

/* Status Badges - Modern */
.status-badge {
  position: absolute; top: 24px; right: 24px;
  padding: 6px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  z-index: 2; letter-spacing: 0.5px;
}
.status-live { 
  background: #dcfce7; color: #15803d; /* Green-100 to Green-700 */
}
.status-soon { 
  background: #f1f5f9; color: #64748b; /* Slate-100 to Slate-500 */
}

/* 4. PRICING */
.pricing-section { padding: 100px 20px; background: var(--bg-offset); border-top: 1px solid var(--border-light); }
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-header h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; color: var(--text-main); letter-spacing: -0.02em; }

.pricing-card {
  background: white; border: 1px solid transparent;
  border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.pricing-card.featured {
  border: 2px solid var(--brand-primary);
  background: white;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  position: relative;
}
/* Popular Badge */
.pricing-card.featured::after {
  content: "RECOMMENDED";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-primary); color: white;
  padding: 4px 12px; border-radius: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
}

.plan-name { font-size: 14px; color: var(--brand-primary); text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
.plan-price { font-size: 48px; font-weight: 800; margin: 15px 0 25px; color: var(--text-main); }
.plan-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }

.features-list { list-style: none; margin-bottom: 40px; }
.features-list li { margin-bottom: 16px; font-size: 15px; color: var(--text-muted); display: flex; gap: 12px; align-items: center; }
.check { 
  color: white; background: var(--brand-primary); 
  width: 20px; height: 20px; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; 
  font-size: 12px; flex-shrink: 0;
}

.btn-plan {
  margin-top: auto;
  padding: 16px; border-radius: 12px;
  text-align: center; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border-light); color: var(--text-main);
  transition: all 0.2s;
  background: white;
}
.btn-plan:hover { border-color: var(--text-main); background: #f8fafc; }

.btn-plan.primary { 
  background: var(--brand-primary); 
  border-color: var(--brand-primary); 
  color: white; 
  box-shadow: var(--shadow-glow);
}
.btn-plan.primary:hover { background: var(--brand-secondary); border-color: var(--brand-secondary); }

/* 5. FOOTER */
footer { padding: 60px 40px; text-align: center; color: var(--text-muted); font-size: 13px; background: white; border-top: 1px solid var(--border-light); }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-primary); }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title { font-size: 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; margin: 20px 0; }
  .navbar { padding: 20px; }
  .nav-links { display: none; /* In a real app, add a hamburger menu */ }
}
