/* ============================================
   Loopra Marketing Website — Light Green Theme
   Clean, modern, professional (eigenai-inspired)
   ============================================ */

:root {
  /* Brand greens — Loopra logo #2E8B57 */
  --brand-50: #E6F4ED;
  --brand-100: #C1E4D3;
  --brand-200: #98D4B6;
  --brand-300: #5EBE8E;
  --brand-400: #3DA872;
  --brand-500: #2E8B57;
  --brand-600: #27774B;
  --brand-700: #1E5C3A;
  --brand-800: #16442B;
  --brand-900: #0E2D1C;
  --brand-950: #091C12;

  /* Standard grays */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --green-500: #22C55E;
  --green-600: #16A34A;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --glow-sm: 0 0 20px rgba(46,139,87,0.15);
  --glow-md: 0 0 30px rgba(46,139,87,0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand-500); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-600); }

/* --- ANIMATIONS --- */

/* 1. Scroll Reveal with Stagger */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* 2. Animated Gradient Mesh Background (hero) */
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-mesh::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46,139,87,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(94,190,142,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(46,139,87,0.06) 0%, transparent 50%);
  animation: mesh-drift 20s ease-in-out infinite;
  will-change: transform;
}
@keyframes mesh-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -20px) rotate(1deg); }
  66% { transform: translate(-20px, 15px) rotate(-1deg); }
}

/* 3. Subtle Grid Pattern (hero background) */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,87,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,87,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* 4. Animated Gradient Card Border (glow-card hover) */
.glow-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(46,139,87,0.4) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glow-card:hover::before {
  opacity: 1;
}
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(46,139,87,0.1);
}

/* 5. Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--brand-500) 50%, var(--brand-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 6. Float / Pulse for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.float-anim { animation: float 6s ease-in-out infinite; }
.glow-pulse-anim { animation: pulse-glow 3s ease-in-out infinite; }

/* 7. Number count-up animation helper */
.stat-number {
  font-size: 48px; font-weight: 800; color: var(--brand-500);
  line-height: 1; margin-bottom: 12px;
}

/* 8. Smooth section transitions */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--gray-50); }

/* --- NAV (light, frosted glass) --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  height: 72px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 36px; width: auto; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--brand-500);
  color: white; font-weight: 800; font-size: 18px;
  border-radius: 8px;
}
.logo-text { font-size: 22px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--gray-600); font-size: 15px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a.active { color: var(--brand-500); font-weight: 600; }
.nav-links a.btn-primary { color: white; }
.nav-links a.btn-primary:hover { color: white; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--gray-700);
  margin: 5px 0; transition: 0.3s;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--brand-500); color: white;
  border: 2px solid transparent;
}
.btn-primary:hover {
  color: white;
  border-color: var(--brand-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46,139,87,0.3), 0 0 0 3px rgba(46,139,87,0.15);
}
.btn-outline {
  background: transparent; color: var(--brand-500);
  border: 2px solid var(--brand-500);
}
.btn-outline:hover {
  background: var(--brand-50);
  border-color: var(--brand-600);
}
.btn-ghost {
  background: transparent; color: var(--gray-600);
  border: 1px solid var(--gray-300);
}
.btn-ghost:hover {
  color: var(--gray-900);
  border-color: var(--gray-400);
  background: var(--gray-50);
}
.btn-white {
  background: white; color: var(--brand-500);
  border: 1px solid var(--gray-200);
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-nav { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius-md); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.link-arrow { font-weight: 600; font-size: 15px; color: var(--brand-500); }
.link-arrow:hover { color: var(--brand-600); }

/* --- HERO --- */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--brand-50) 0%, white 100%);
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 60px; font-weight: 800; line-height: 1.08;
  color: var(--gray-900); letter-spacing: -2px;
  margin-bottom: 24px;
  position: relative;
}
.hero-sub {
  font-size: 20px; line-height: 1.6; color: var(--gray-500);
  max-width: 720px; margin: 0 auto 36px;
  position: relative;
}
.hero-sub strong { color: var(--gray-800); }
.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 32px;
  position: relative;
}
.badge {
  display: inline-flex; align-items: center;
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  background: var(--brand-100);
  color: var(--brand-700);
}
.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* --- SECTIONS --- */
.section-dark {
  background: var(--brand-950);
  color: white;
}
.section-dark h2 { color: white; }
.section-dark .section-intro { color: rgba(255,255,255,0.7); }
.section-dark .section-label { color: var(--brand-300); }

.section-cta {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: white;
}
.section-cta h2 { color: white; }
.section-cta .section-intro { color: rgba(255,255,255,0.85); }
.section-cta .section-label { color: var(--brand-100); }

.section-label {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--brand-500); margin-bottom: 12px;
}
.section-label-light { color: var(--brand-300); }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-light { color: rgba(255,255,255,0.75) !important; }

h2 {
  font-size: 44px; font-weight: 800; line-height: 1.15;
  color: var(--gray-900); letter-spacing: -0.8px;
  margin-bottom: 16px;
}
h3 {
  color: var(--gray-900);
}
.section-intro {
  font-size: 18px; color: var(--gray-500); line-height: 1.7;
  max-width: 700px; margin-bottom: 48px;
}
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* --- PROBLEM CARDS --- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.problem-card {
  background: var(--white);
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.problem-icon { margin-bottom: 20px; }
.problem-card h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.problem-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* --- SOLUTION CARDS --- */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card {
  padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.solution-number {
  font-size: 14px; font-weight: 800; color: var(--brand-500);
  margin-bottom: 16px;
}
.solution-card h3 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.solution-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

/* --- DMS GRID (stays dark-themed) --- */
.dms-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 48px 0 24px;
}
.dms-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 32px 20px; text-align: center;
  transition: all 0.3s;
}
.dms-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.dms-logo {
  font-size: 26px; font-weight: 800; color: white; margin-bottom: 8px;
}
.dms-status { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }
.dms-note { font-size: 14px; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* --- STATS --- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 40px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-desc { font-size: 15px; color: var(--gray-500); line-height: 1.5; }

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-quote {
  font-size: 16px; line-height: 1.7; color: var(--gray-700);
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author strong { display: block; font-size: 15px; color: var(--gray-900); }
.testimonial-author span { font-size: 13px; color: var(--gray-500); }

/* --- TRUST BADGES --- */
.trust-badges {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 32px;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--gray-600);
}

/* --- FOOTER (dark) --- */
.footer {
  background: var(--gray-900); color: var(--gray-400); padding: 64px 0 32px;
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--gray-400); }
.footer-brand .logo-text { color: white; }
.footer-col h4 {
  color: white; font-size: 14px; font-weight: 700;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col a {
  display: block; color: var(--gray-400); font-size: 14px;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-col-wide { grid-column: span 1; }
.footer-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer-2col a { display: block; color: var(--gray-400); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-2col a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: var(--gray-500);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--gray-500); }
.footer-legal a:hover { color: white; }

/* =======================
   PRODUCT PAGE
   ======================= */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--brand-50) 0%, white 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(46,139,87,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: 48px; font-weight: 800; color: var(--gray-900);
  letter-spacing: -1px; margin-bottom: 16px;
  position: relative;
}
.page-hero p {
  font-size: 19px; color: var(--gray-500); max-width: 600px;
  margin: 0 auto; line-height: 1.7;
  position: relative;
}

/* Product Feature Block */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 80px 0;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-content .section-label { margin-bottom: 8px; }
.feature-content h2 { font-size: 36px; margin-bottom: 16px; }
.feature-content p { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }

.feature-list { list-style: none; padding: 0; margin-bottom: 28px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--gray-600); margin-bottom: 14px; line-height: 1.6;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
  background: var(--brand-500); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

.feature-visual {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 340px;
}
.feature-visual-inner {
  text-align: center;
}
.feature-visual-icon {
  font-size: 64px; margin-bottom: 16px;
}
.feature-visual-label {
  font-size: 15px; color: var(--gray-500); font-weight: 500;
}
.feature-visual-img {
  padding: 0; overflow: hidden; background: transparent; border: none;
}
.feature-visual-img img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: var(--radius-xl);
}

/* More Products Grid */
.more-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.more-product-card {
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.more-product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}
.more-product-icon { font-size: 36px; margin-bottom: 16px; }
.more-product-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.more-product-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* =======================
   AI ADVANTAGE PAGE
   ======================= */
/* How It Works cards */
.hiw-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  max-width: 1200px; margin: 0 auto;
}
.hiw-card {
  position: relative; text-align: center;
  padding: 48px 32px 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hiw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(46,139,87,0.1);
  z-index: 2;
}
.hiw-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s ease, color 0.3s ease;
}
.hiw-card:hover .hiw-icon {
  background: var(--brand-500); color: white;
}
.hiw-icon-final {
  background: var(--brand-500); color: white;
}
.hiw-card:hover .hiw-icon-final {
  background: var(--brand-600);
}
.hiw-num {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--brand-400); letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.hiw-card h3 {
  font-size: 22px; font-weight: 700; color: var(--gray-900);
  margin-bottom: 12px;
}
.hiw-card p {
  font-size: 15px; color: var(--gray-500); line-height: 1.7;
}
.hiw-arrow { display: none; }
@media (max-width: 768px) {
  .hiw-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hiw-arrow { display: none; }
  .hiw-card { margin: 0; gap: 16px; }
}
@media (max-width: 480px) {
  .hiw-grid { grid-template-columns: 1fr; }
}

/* Legacy ai-flow (used on ai-advantage page) */
.ai-flow {
  display: flex; flex-direction: column; gap: 0; position: relative;
  max-width: 800px; margin: 0 auto;
}
.ai-step {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 36px 0; position: relative;
}
.ai-step-marker {
  flex-shrink: 0; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: white;
  background: var(--brand-500);
  position: relative; z-index: 2;
  box-shadow: 0 4px 12px rgba(46,139,87,0.2);
}
.ai-step:not(:last-child) .ai-step-marker::after {
  content: ''; position: absolute; top: 56px; left: 50%; transform: translateX(-50%);
  width: 2px; height: calc(100% + 16px);
  background: linear-gradient(180deg, var(--brand-500), var(--brand-100));
  z-index: 1;
}
.ai-step-content h3 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.ai-step-content p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

.ai-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ai-benefit-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-benefit-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.ai-benefit-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: rgba(46,139,87,0.12); color: var(--brand-400);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s ease, color 0.3s ease;
}
.ai-benefit-card:hover .ai-benefit-icon {
  background: var(--brand-500); color: white;
}
.ai-benefit-card h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.ai-benefit-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* =======================
   PRICING PAGE
   ======================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  padding: 40px 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 8px 30px rgba(46,139,87,0.12);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-500); color: white; padding: 4px 20px;
  border-radius: 100px; font-size: 13px; font-weight: 600;
}
.pricing-tier {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-500); margin-bottom: 8px;
}
.pricing-card h3 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price .amount { font-size: 48px; font-weight: 800; color: var(--gray-900); }
.pricing-price .period { font-size: 16px; color: var(--gray-500); }
.pricing-features { list-style: none; padding: 0; text-align: left; margin-bottom: 32px; }
.pricing-features li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 15px; color: var(--gray-600);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px;
  background: var(--brand-500); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ROI Calculator */
.roi-calculator {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 48px;
  box-shadow: var(--shadow-lg);
}
.roi-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.roi-field label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--gray-700); margin-bottom: 8px;
}
.roi-field input, .roi-field select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 16px; font-family: inherit;
  color: var(--gray-800); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.roi-field input:focus, .roi-field select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(46,139,87,0.1);
}
.roi-field input::placeholder { color: var(--gray-400); }
.roi-result {
  text-align: center; padding: 40px;
  background: var(--brand-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-100);
}
.roi-result-label { font-size: 16px; color: var(--gray-600); margin-bottom: 8px; }
.roi-result-amount {
  font-size: 56px; font-weight: 800; color: var(--brand-500);
}
.roi-result-note { font-size: 14px; color: var(--gray-500); margin-top: 8px; }

/* =======================
   ABOUT PAGE
   ======================= */
.about-story { max-width: 740px; }
.about-story p { font-size: 17px; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-50); color: var(--brand-500);
  font-size: 24px; margin-bottom: 16px;
}
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* =======================
   RESOURCES PAGE
   ======================= */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
  transform: translateY(-4px);
}
.resource-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.resource-thumb.blue { background: var(--brand-50); }
.resource-thumb.amber { background: #FEF3C7; }
.resource-thumb.purple { background: #EDE9FE; }
.resource-thumb.green { background: #DCFCE7; }
.resource-thumb.red { background: #FEE2E2; }
.resource-thumb.gray { background: var(--gray-100); }
.resource-body { padding: 24px; }
.resource-tag {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--brand-500); margin-bottom: 8px;
}
.resource-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; line-height: 1.4; }
.resource-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* =======================
   CONTACT PAGE
   ======================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  color: var(--gray-800); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(46,139,87,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group select option {
  background: var(--white);
  color: var(--gray-800);
}
.contact-info-item { margin-bottom: 32px; }
.contact-info-item h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.contact-info-item p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* =======================
   LEGAL PAGES (Privacy, Terms)
   ======================= */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.legal-content h2 {
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 12px;
  color: var(--gray-900);
}
.legal-content h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--gray-900);
}
.legal-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-content li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--brand-500);
}
.legal-content a:hover {
  color: var(--brand-600);
  text-decoration: underline;
}
.legal-content strong {
  color: var(--gray-800);
}

/* =======================
   COMPARISON GRID (Why Loopra)
   ======================= */
.compare-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}
.compare-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px 1fr;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.compare-row:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.compare-category {
  padding: 24px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-old {
  padding: 20px 24px;
}
.compare-label-old {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.compare-old p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin: 0;
}
.compare-arrow {
  font-size: 22px;
  color: var(--brand-500);
  text-align: center;
  font-weight: 700;
}
.compare-new {
  padding: 20px 24px;
  background: var(--brand-50);
  border-left: 3px solid var(--brand-400);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compare-label-new {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-500);
  margin-bottom: 6px;
}
.compare-new p {
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 768px) {
  .compare-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .compare-category {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 20px;
    justify-content: flex-start;
  }
  .compare-arrow { padding: 4px 0; font-size: 18px; transform: rotate(90deg); }
  .compare-new { border-left: none; border-top: 3px solid var(--brand-400); }
}

/* =======================
   AGENT CARDS (Product Grid)
   ======================= */
.agent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.agent-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.agent-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.agent-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-500);
  font-size: 24px;
  margin-bottom: 20px;
}
.agent-card h3 {
  font-size: 20px; font-weight: 700; color: var(--gray-900);
  margin-bottom: 10px;
}
.agent-card p {
  font-size: 14px; color: var(--gray-600); line-height: 1.7;
}

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    border-bottom: 1px solid var(--gray-200); gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero { padding: 130px 0 70px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 17px; }
  h2 { font-size: 28px; }
  .section { padding: 64px 0; }
  .problem-grid, .solution-grid, .testimonial-grid,
  .more-products-grid, .ai-benefits-grid, .values-grid, .resource-grid,
  .agent-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dms-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-badges { flex-direction: column; align-items: center; }
  .trust-badges { flex-direction: column; align-items: center; }
  .roi-form { grid-template-columns: 1fr; }
  .roi-result-amount { font-size: 40px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  h2 { font-size: 24px; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dms-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 32px; }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
}

/* =======================
   CONSENT BANNER (dark overlay)
   ======================= */
#loopra-consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(17,24,39,0.97); color: #e5e7eb;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000; padding: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  font-size: 14px; line-height: 1.6;
}
.consent-inner { max-width: 1200px; margin: 0 auto; }
.consent-text strong { display: block; font-size: 16px; color: white; margin-bottom: 8px; }
.consent-text p { margin-bottom: 8px; color: #d1d5db; }
.consent-links a { color: var(--brand-300); text-decoration: underline; }
.consent-links a:hover { color: var(--brand-200); }
.consent-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.consent-btn {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 10px 24px; border-radius: var(--radius-sm);
  cursor: pointer; border: none; transition: all 0.2s;
}
.consent-btn-primary { background: var(--brand-500); color: white; }
.consent-btn-primary:hover { background: var(--brand-400); }
.consent-btn-secondary { background: #374151; color: white; }
.consent-btn-secondary:hover { background: #4B5563; }
.consent-btn-link { background: none; color: #9CA3AF; padding: 10px 12px; text-decoration: underline; }
.consent-btn-link:hover { color: white; }
.consent-details {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #374151;
}
.consent-toggle {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; cursor: pointer; color: #d1d5db;
}
.consent-toggle input { margin-top: 4px; accent-color: var(--brand-500); }
.consent-toggle strong { color: white; }
@media (max-width: 768px) {
  #loopra-consent-banner { padding: 16px; }
  .consent-actions { flex-direction: column; }
  .consent-btn { width: 100%; text-align: center; }
}
