/* =============================================
   GURUKRUPA AI AUTOMATION AGENCY — style.css
   Agency-only site | Pure dark glassmorphism
   ============================================= */

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --primary-light: #60A5FA;
  --accent: #8B5CF6;
  --accent-light: #A78BFA;
  --glow-blue: rgba(59, 130, 246, 0.5);
  --glow-purple: rgba(139, 92, 246, 0.35);

  --bg: #020817;
  --bg-card: #0a0f1e;
  --bg-card-hover: #0d1428;
  --bg-alt: #060d1c;
  --bg-glass: rgba(10, 15, 30, 0.7);

  --text: #F0F4FF;
  --text-muted: #8899BB;
  --text-dim: rgba(136, 153, 187, 0.6);

  --border: rgba(59, 130, 246, 0.12);
  --border-hover: rgba(59, 130, 246, 0.3);

  --white: #FFFFFF;
  --success: #10B981;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
  --apple-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--apple-ease);
  --transition-slow: 0.8s var(--apple-ease);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(2, 8, 23, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-mark svg { display: block; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-main {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-light);
}
.brand-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-light);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta-btn {
  padding: 9px 20px;
  background: var(--primary);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition) !important;
  box-shadow: 0 0 24px rgba(59,130,246,0.3);
}
.nav-cta-btn:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 0 32px rgba(59,130,246,0.5) !important;
  transform: translateY(-1px);
}
.nav-cta-btn::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2,8,23,0.97) 40%, rgba(2,8,23,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: revealUp 1s var(--apple-ease) forwards 0.1s;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: revealUp 1.1s var(--apple-ease) forwards 0.25s;
}
.h1-gradient {
  background: linear-gradient(90deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 600px;
  opacity: 0;
  animation: revealUp 1.1s var(--apple-ease) forwards 0.4s;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: revealUp 1.1s var(--apple-ease) forwards 0.55s;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: revealUp 1.1s var(--apple-ease) forwards 0.7s;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: 0.3px;
}
/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: bounce-dot 1.6s ease-in-out infinite;
}
@keyframes bounce-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.4; }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 32px rgba(59,130,246,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 48px rgba(59,130,246,0.5);
}
.btn-glass {
  background: rgba(59,130,246,0.08);
  color: rgba(255,255,255,0.85);
  border-color: rgba(59,130,246,0.2);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px) scale(1.02);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 24px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 17px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
  padding: 20px 0;
  background: rgba(10,15,30,0.9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-divider {
  color: var(--border);
  font-size: 1.2rem;
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin: 14px 0;
  letter-spacing: -1px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}
.section-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(59,130,246,0.1);
  color: var(--primary-light);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(59,130,246,0.2);
}
.section-badge-light {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.2);
}

/* =============================================
   SERVICES
   ============================================= */
.services-section {
  padding: 110px 0;
  background: var(--bg-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card-glow {
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  transition: all 0.6s ease;
  pointer-events: none;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-8px); box-shadow: var(--shadow-card), var(--shadow-glow); background: var(--bg-card-hover); }
.service-card:hover .card-glow { transform: scale(2); opacity: 0.8; }
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.card-tags li {
  padding: 4px 12px;
  background: rgba(59,130,246,0.08);
  color: var(--primary-light);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(59,130,246,0.15);
}

/* =============================================
   PROCESS
   ============================================= */
.process-section {
  padding: 110px 0;
  background: var(--bg);
}
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto 48px;
}
.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}
.step-connector {
  position: absolute;
  left: 27px;
  top: 58px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(to bottom, var(--primary), transparent);
  opacity: 0.3;
}
.process-step:last-child .step-connector { display: none; }
.step-circle {
  width: 56px; height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: rgba(59,130,246,0.1);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-light);
  box-shadow: 0 0 24px rgba(59,130,246,0.2);
}
.step-content {
  flex: 1;
  padding-top: 12px;
}
.step-content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.pricing-note-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 32px;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius);
  max-width: 760px;
  margin: 0 auto;
}
.pricing-note-icon { font-size: 1.8rem; }
.pricing-note-box strong { display: block; font-size: 1rem; color: var(--primary-light); margin-bottom: 6px; }
.pricing-note-box p { font-size: 0.88rem; color: var(--text-muted); }

/* =============================================
   WHY US
   ============================================= */
.why-section {
  padding: 110px 0;
  background: var(--bg-alt);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.why-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.why-icon-wrap {
  font-size: 2.8rem;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   CASE STUDIES
   ============================================= */
.cases-section {
  padding: 110px 0;
  background: var(--bg);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.case-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px 32px 32px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: all var(--transition);
  z-index: 1;
}
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.3) 0%, rgba(2, 8, 23, 0.96) 80%);
  transition: opacity var(--transition);
  z-index: -1;
}
.case-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.case-card:hover::before {
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.15) 0%, rgba(2, 8, 23, 0.98) 75%);
}
.case-card-bg-1 { background-image: url('workshop-bg.png'); }
.case-card-bg-2 { background-image: url('case-reports.png'); }
.case-card-bg-3 { background-image: url('case-approvals.png'); }

.case-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.case-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.case-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.case-card h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.case-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.case-metrics {
  margin-top: 8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-highlight {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-light);
}
.metric-detail {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-stack span {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-light);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.cases-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-style: italic;
  padding: 16px 24px;
  background: rgba(59, 130, 246, 0.04);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* =============================================
   INQUIRY FORM
   ============================================= */
.inquiry-section {
  padding: 110px 0;
  background: linear-gradient(135deg, #030a1e 0%, #0a1535 100%);
}
.inquiry-section .section-header h2,
.inquiry-section .section-header p { color: white; }
.inquiry-section .section-header p { color: rgba(255,255,255,0.65); }
.form-card {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(59,130,246,0.15);
  border-top: 3px solid var(--primary-light);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group:not(.form-row .form-group) { margin-bottom: 20px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: white;
  background: rgba(255,255,255,0.05);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select option { background: #0a0f1e; color: white; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea { resize: vertical; }

.success-msg { text-align: center; padding: 52px 24px; }
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.success-msg h3 { font-size: 1.6rem; color: var(--primary-light); margin-bottom: 12px; }
.success-msg p { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.success-msg a { color: var(--primary-light); }

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  padding: 110px 0;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -1px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.c-icon {
  font-size: 1.2rem;
  width: 44px; height: 44px;
  background: rgba(59,130,246,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(59,130,246,0.15);
}
.contact-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.contact-item p, .contact-item a { font-size: 0.92rem; color: var(--text); }
.contact-item a:hover { color: var(--primary-light); }

.promise-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
}
.promise-box h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 24px; }
.promise-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.promise-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.promise-check { font-size: 1rem; flex-shrink: 0; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #010410;
  border-top: 1px solid rgba(59,130,246,0.08);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-mark { font-size: 22px; }
.footer-brand-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
}
.footer-brand-sub {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-copy { font-size: 0.74rem; color: rgba(255,255,255,0.3); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.65);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-float-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(0,0,0,0.82);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   INTERACTIVE DEMO (AI SIMULATOR)
   ============================================= */
.demo-section {
  padding: 110px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('agency-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.demo-section .container {
  position: relative;
  z-index: 1;
}
.demo-selector {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.demo-btn {
  padding: 12px 24px;
  background: rgba(59, 130, 246, 0.08);
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  color: var(--text-muted);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition);
  outline: none;
}
.demo-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #fff;
}
.demo-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}
.demo-simulator-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Phone Simulator */
.phone-simulator {
  width: 100%;
  height: 500px;
  background: rgba(10, 15, 30, 0.85);
  border: 4px solid #1e293b;
  border-radius: 36px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(59, 130, 246, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(10px);
}
.phone-header {
  background: rgba(15, 23, 42, 0.9);
  padding: 24px 16px 12px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  position: relative;
}
.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #334155;
  border-radius: 10px;
}
.phone-bot-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-bot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.phone-bot-info div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.phone-bot-info strong {
  font-size: 0.85rem;
  color: white;
}
.phone-bot-status {
  font-size: 0.68rem;
  color: var(--success);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.phone-bot-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.phone-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

/* Chat Bubbles */
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  word-wrap: break-word;
  animation: messageReveal 0.3s var(--apple-ease) forwards;
}
@keyframes messageReveal {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-msg.bot {
  background: #1e293b;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.chat-msg.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.system-event {
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-light);
  align-self: center;
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 50px;
  max-width: 90%;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.15);
  font-weight: 600;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #1e293b;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.phone-input-bar {
  background: rgba(15, 23, 42, 0.9);
  padding: 12px 16px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.phone-input-placeholder {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.phone-send-btn {
  background: none;
  border: none;
  color: var(--primary-light);
  cursor: not-allowed;
  opacity: 0.5;
}

/* Flow Visualizer */
.flow-visualizer {
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.flow-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 20px 0 32px;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}
.flow-node .node-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: all var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.flow-node .node-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: color var(--transition);
}
.flow-node .node-desc {
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.2;
}

/* Active Node State */
.flow-node.active .node-icon {
  border-color: var(--primary-light);
  background: rgba(59, 130, 246, 0.15);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  transform: scale(1.1);
}
.flow-node.active .node-label {
  color: white;
}

/* Flow Connector Line */
.flow-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  position: relative;
  margin-bottom: 44px; /* Align with node icon centers */
  z-index: 1;
}
.flow-connector .pulse-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.flow-connector.active .pulse-line {
  transform: scaleX(1);
  animation: gradientMove 1.5s infinite linear;
}
@keyframes gradientMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.flow-explanation-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.explanation-icon {
  font-size: 1.1rem;
  color: var(--primary-light);
  flex-shrink: 0;
}
.flow-explanation-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.flow-actions {
  display: flex;
  justify-content: flex-end;
}

/* =============================================
   BLOG SECTION
   ============================================= */
.blogs-section {
  padding: 110px 0;
  background: var(--bg-alt);
}
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.blog-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.4);
}
.blog-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-light);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.blog-title {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.blog-read-more-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.blog-read-more-btn:hover {
  color: white;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(2,8,23,0.97);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta-btn { width: 100%; text-align: center; justify-content: center; }

  .hero { padding: 90px 0 60px; }
  .hero-stats { gap: 24px; }

  .trust-strip .container { flex-direction: column; align-items: flex-start; }

  /* Demo Simulator Mobile */
  .demo-simulator-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .flow-diagram {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 20px 0;
  }
  .flow-node {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 16px;
    max-width: 280px;
  }
  .flow-node .node-icon {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .flow-connector {
    width: 2px;
    height: 24px;
    margin-bottom: 0;
    margin-left: 23px; /* Center aligned with node icon centers */
  }
  .flow-connector .pulse-line {
    background: linear-gradient(180deg, transparent, var(--primary-light), transparent);
    background-size: 100% 200%;
    transform-origin: top;
    transform: scaleY(0);
  }
  .flow-connector.active .pulse-line {
    transform: scaleY(1);
    animation: gradientMoveVert 1.5s infinite linear;
  }
  @keyframes gradientMoveVert {
    0% { background-position: 0 200%; }
    100% { background-position: 0 -200%; }
  }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-step { flex-direction: column; }
  .step-connector { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.7rem; }
}

