/* ═══════════════════════════════════════════
   CLOSEREDGE AI — AI EMPLOYEES SHARED STYLES
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #faf8f5;
  --bg2: #f3efe9;
  --bg3: #ece6de;
  --purple: #7c3aed;
  --purple-light: #8b5cf6;
  --purple-glow: rgba(124,58,237,0.25);
  --blue: #d97706;
  --blue-light: #f59e0b;
  --blue-glow: rgba(217,119,6,0.2);
  --text: #1c1917;
  --text-muted: #292524;
  --border: rgba(0,0,0,0.06);
  --card: #ffffff;
  --success: #10b981;
  --warning: #d97706;
  --danger: #ef4444;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* subtle paper texture */
body::before {
  content:'';
  position:fixed; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events:none; z-index:0; opacity:0.15;
}

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 60px;
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
nav ul { list-style:none; display:flex; gap:36px; }
nav ul a { color: var(--text); text-decoration:none; font-size:0.9rem; font-weight:500; transition:color 0.2s; }
nav ul a:hover { color: var(--purple); }
nav ul a.active { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color:#fff; border:none; padding: 10px 22px; border-radius:8px;
  font-size:0.875rem; font-weight:600; cursor:pointer; transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.nav-cta:hover { opacity:0.9; transform: translateY(-1px); }

/* Mobile nav */
.mobile-menu-btn {
  display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px;
  background:none; border:none;
}
.mobile-menu-btn span {
  display:block; width:24px; height:2px; background:var(--text-muted); transition:0.3s;
}
.mobile-nav {
  display:none; position:fixed; top:68px; left:0; right:0; z-index:99;
  background:rgba(250,248,245,0.98); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border); padding:16px 24px;
  flex-direction:column; gap:12px;
}
.mobile-nav.open { display:flex; }
.mobile-nav a {
  color:var(--text-muted); text-decoration:none; font-size:0.95rem; font-weight:500; padding:8px 0;
  transition:color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color:var(--text); }

/* ── LAYOUT ── */
.page-wrap { position:relative; z-index:1; }
section { padding: 120px 60px; position:relative; }
.glow-divider {
  height:1px; background:linear-gradient(90deg, transparent, var(--purple), var(--blue-light), transparent);
  margin:0; border:none; opacity:0.35;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.025em; line-height: 1.1;
}
h2, section h2, .page-wrap h2 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.accent {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue-light) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.section-label {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--purple-light); font-size:0.75rem; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase; margin-bottom:16px;
}
.section-sub { color:var(--text-muted); font-size:1.05rem; line-height:1.7; max-width:600px; margin-top:12px; }

/* ── HERO ── */
.hero {
  position:relative; min-height:90vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: 140px 40px 100px;
  overflow:hidden;
}
.orb {
  position:absolute; border-radius:50%;
  filter: blur(80px); pointer-events:none;
  will-change: transform;
}
.hero-grid {
  position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(124,58,237,0.15); border:1px solid rgba(124,58,237,0.3);
  color: var(--purple-light); font-size:0.8rem; font-weight:600;
  padding: 6px 16px; border-radius:100px; letter-spacing:0.05em;
  margin-bottom:28px; text-transform:uppercase;
}
.eyebrow::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--purple-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.5); } }

h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 960px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted); max-width: 680px;
  line-height: 1.7; margin-top: 24px;
}
.hero-cta { margin-top: 40px; display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color:#fff; padding: 16px 36px; border-radius:10px; font-size:1rem;
  font-weight:700; text-decoration:none; border:none; cursor:pointer;
  box-shadow: 0 0 40px rgba(124,58,237,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; gap:8px;
}
.btn-primary::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%);
  transform: translateX(-100%); transition: transform 0.4s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(124,58,237,0.6); }

.btn-secondary {
  background: transparent; color:var(--text); padding: 14px 28px; border-radius:10px;
  font-size:0.95rem; font-weight:600; text-decoration:none;
  border: 1.5px solid rgba(0,0,0,0.14);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  cursor:pointer; transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.03);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ── ANIMATED DEMO ── */
.demo-section {
  background: var(--bg);
  padding: 120px 60px;
}
.demo-section-header { text-align:center; margin-bottom: 56px; }

.demo-stage {
  max-width: 720px; margin: 0 auto;
  position: relative;
}
.demo-stage::before {
  content:'';
  position:absolute; inset:-40px -20px;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(124,58,237,0.12), transparent 70%);
  pointer-events:none; z-index:0;
}

.demo-meta {
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin-bottom: 28px;
  position:relative; z-index:1;
}
.demo-meta-avatar {
  width:40px; height:40px; border-radius:50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; box-shadow: 0 0 20px rgba(124,58,237,0.3);
}
.demo-meta-text { text-align:left; }
.demo-meta-name { font-weight:700; font-size:1rem; color:var(--text); }
.demo-meta-status { font-size:0.8rem; color:var(--text-muted); }

.demo-replay {
  position:absolute; top:0; right:0;
  background:none; border:1px solid var(--border); color:var(--text-muted);
  padding:6px 14px; border-radius:6px; font-size:0.8rem; cursor:pointer;
  transition:all 0.2s; font-family:'Inter',sans-serif;
  z-index:2;
}
.demo-replay:hover { border-color:var(--purple-light); color:#fff; }

.demo-chat {
  display:flex; flex-direction:column; gap:18px;
  min-height: 280px;
  position:relative; z-index:1;
  padding: 0 8px;
}

.message-row {
  display:flex; flex-direction:column;
  opacity:0; transform:translateY(12px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.message-row.visible { opacity:1; transform:translateY(0) scale(1); }
.message-row.incoming { align-items:flex-start; }
.message-row.outgoing { align-items:flex-end; }

.message-bubble {
  max-width: 82%;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  position:relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.message-row.incoming .message-bubble {
  background: #e9e9eb;
  color: #000;
  border-bottom-left-radius: 6px;
}
.message-row.outgoing .message-bubble {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border-bottom-right-radius: 6px;
}
.message-time {
  font-size: 0.72rem; color: var(--text-muted);
  margin-top: 6px; letter-spacing:0.02em;
}

/* Typing indicator */
.typing-row {
  display:flex; align-items:flex-start;
  opacity:0; transition:opacity 0.3s;
}
.typing-row.visible { opacity:1; }
.typing-indicator {
  display:flex; align-items:center; gap:5px;
  padding: 18px 20px;
  background: #e9e9eb;
  border-radius: 20px;
  border-bottom-left-radius: 6px;
  width: fit-content;
}
.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #8e8e93;
  animation: typing-pulse 1.6s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-pulse {
  0%, 100% { opacity:0.3; transform: scale(0.8); }
  50% { opacity:1; transform: scale(1.1); }
}

.demo-footer-note {
  text-align:center;
  font-size: 0.85rem; color: var(--text-muted);
  margin-top: 32px;
  position:relative; z-index:1;
}
.demo-footer-note .live-dot {
  display:inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  animation: pulse 2s infinite; margin-right: 8px; vertical-align:middle;
}

/* ── CARDS ── */
.card-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
}
.employee-card {
  background: var(--card); border:1.5px solid rgba(0,0,0,0.12);
  border-radius:16px; padding:32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position:relative; overflow:hidden;
  display:flex; flex-direction:column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.employee-card::before {
  content:''; position:absolute; inset:0; border-radius:16px;
  background: linear-gradient(135deg, var(--purple-glow), transparent 60%);
  opacity:0; transition:opacity 0.3s;
}
.employee-card:hover::before { opacity:1; }
.employee-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 20px 60px rgba(124,58,237,0.15);
}
.card-top {
  display:flex; align-items:center; gap:12px; margin-bottom:12px;
  position:relative; z-index:1;
}
.card-emoji {
  width:48px; height:48px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(59,130,246,0.2));
  border: 1px solid rgba(124,58,237,0.2);
}
.card-top { display:flex; align-items:center; gap:10px; margin-bottom:6px; position:relative; z-index:1; }
.card-name { font-family:'Space Grotesk',sans-serif; font-size:1.6rem; font-weight:700; line-height:1.15; color:var(--text); margin-bottom:12px; position:relative; z-index:1; }
.card-who { font-size:1rem; font-weight:700; font-family:'Space Grotesk',sans-serif; position:relative; z-index:1; background: linear-gradient(135deg, var(--purple-light) 0%, var(--blue-light) 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.card-bullets { list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:20px; position:relative; z-index:1; flex:1; }
.card-bullets li {
  display:flex; align-items:flex-start; gap:8px;
  font-size:0.85rem; color:var(--text-muted); line-height:1.5;
}
.card-bullets li::before { content:'•'; color:var(--purple-light); font-weight:700; flex-shrink:0; }
.card-stat {
  background: rgba(124,58,237,0.08); border:1px solid rgba(124,58,237,0.15);
  border-radius:10px; padding:14px;
  font-size:0.82rem; color:var(--text-muted); line-height:1.55;
  margin-bottom:20px; position:relative; z-index:1;
}
.card-stat strong { color:var(--text); }
.card-cta {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--purple-light); font-size:0.875rem; font-weight:600;
  text-decoration:none; transition:gap 0.2s;
  position:relative; z-index:1;
}
.card-cta:hover { gap:10px; }

/* ── STEPS ── */
.steps-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  max-width:1000px; margin:60px auto 0; position:relative;
}
.steps-grid::before {
  content:''; position:absolute; top:36px; left:calc(16.67% + 20px); right:calc(16.67% + 20px); height:1px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
}
.step-box { text-align:center; padding:0 24px; }
.step-num {
  width:72px; height:72px; border-radius:50%; margin:0 auto 20px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk', sans-serif; font-size:1.4rem; font-weight:800;
  background: linear-gradient(135deg, var(--bg2), var(--bg2));
  border:2px solid;
  position:relative; z-index:1;
}
.step-num-1 { border-color:var(--purple); color:var(--purple-light); box-shadow: 0 0 30px rgba(124,58,237,0.3); }
.step-num-2 { border-color:var(--blue); color:var(--blue-light); box-shadow: 0 0 30px rgba(59,130,246,0.3); }
.step-num-3 { border-color:var(--purple-light); color:var(--text); box-shadow: 0 0 30px rgba(168,85,247,0.2); }
.step-title { font-weight:700; font-size:1.05rem; margin-bottom:10px; }
.step-desc { color:var(--text-muted); font-size:0.875rem; line-height:1.6; }

/* ── TRUST PILLARS ── */
.trust-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
  max-width:1100px; margin:50px auto 0;
}
.trust-pillar {
  background: var(--card); border:1px solid rgba(0,0,0,0.10);
  border-radius:14px; padding:28px 24px;
  text-align:center; transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.trust-pillar:hover {
  border-color:rgba(124,58,237,0.3);
  transform:translateY(-4px);
}
.trust-icon { font-size:2rem; margin-bottom:14px; }
.trust-title { font-weight:700; font-size:0.95rem; margin-bottom:8px; }
.trust-desc { font-size:0.82rem; color:var(--text-muted); line-height:1.5; }

/* ── CTA SECTION ── */
.cta-section {
  text-align:center; padding: 120px 40px;
  background: #ede8df;
}
.cta-section h2 { margin-bottom:12px; }
.cta-section p { color:var(--text-muted); font-size:1.05rem; max-width:520px; margin:0 auto 32px; line-height:1.7; }

/* ── FOOTER ── */
footer {
  padding:48px 60px;
  border-top:1px solid var(--border);
  background:var(--bg);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px;
  position:relative; z-index:1;
}
.footer-logo { display:flex; align-items:center; }
.footer-logo img { height:30px; width:auto; }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; }
.footer-links a { color:var(--text-muted); text-decoration:none; font-size:0.875rem; transition:color 0.2s; }
.footer-links a:hover { color:var(--text); }
.footer-copy { color:var(--text-muted); font-size:0.8rem; }

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity:0; transform:translateY(24px); }
  to { opacity:1; transform:translateY(0); }
}
.reveal { opacity:1; transform:translateY(0); }
.reveal.animate { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.animate.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }

/* ── NICHE PAGE SPECIFIC ── */

/* Badge */
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(124,58,237,0.12); border:1px solid rgba(124,58,237,0.25);
  padding:8px 18px; border-radius:100px;
  font-size:0.8rem; color:var(--purple-light); font-weight:600;
  margin-top:20px;
}
.hero-badge span { opacity:0.5; margin:0 4px; }

/* Pain cards */
.pain-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  max-width:1100px; margin:50px auto 0;
}
.pain-card {
  background: var(--card); border:1px solid var(--border);
  border-radius:16px; padding:28px;
  transition: all 0.3s;
}
.pain-card:hover { border-color:rgba(239,68,68,0.3); }
.pain-emoji { font-size:2rem; margin-bottom:12px; }
.pain-stat {
  font-family:'Space Grotesk',sans-serif; font-size:1.15rem; font-weight:700;
  color:var(--text); line-height:1.35; margin-bottom:10px;
}
.pain-context { font-size:0.875rem; color:var(--text-muted); line-height:1.6; }

/* Day with section */
.day-section { background:var(--bg2); }
.day-story {
  max-width:800px; margin:50px auto 0;
  display:flex; flex-direction:column; gap:28px;
}
.day-block {
  background: var(--card); border:1px solid var(--border);
  border-radius:16px; padding:28px 32px;
  position:relative;
}
.day-block::before {
  content:''; position:absolute; left:0; top:20px; bottom:20px; width:3px;
  background: linear-gradient(to bottom, var(--purple), var(--blue));
  border-radius:0 3px 3px 0;
}
.day-time {
  display:inline-flex; align-items:center; gap:6px;
  font-size:0.75rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--purple-light); margin-bottom:10px;
}
.day-text { font-size:0.95rem; color:var(--text-muted); line-height:1.8; }
.day-text strong { color:var(--text); }

/* Integrations */
.integrations-grid {
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
  max-width:900px; margin:40px auto 0;
}
.integration-pill {
  background:var(--card); border:1.5px solid rgba(0,0,0,0.12);
  padding:10px 20px; border-radius:100px; font-size:0.875rem;
  color:var(--text); font-weight:500; transition:all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.integration-pill:hover { border-color:rgba(139,92,246,0.4); color:var(--text); background:rgba(139,92,246,0.06); }

/* Pricing */
.pricing-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  max-width:1100px; margin:50px auto 0;
  align-items:start;
}
.price-card {
  background: var(--card); border:1px solid var(--border);
  border-radius:16px; padding:32px 28px;
  transition: all 0.3s;
  position:relative;
  display:flex; flex-direction:column;
}
.price-card:hover { transform:translateY(-4px); }
.price-card.featured {
  border-color: var(--purple);
  box-shadow: 0 0 40px rgba(124,58,237,0.15);
  background: rgba(124,58,237,0.04);
}
.price-tag {
  display:inline-block;
  font-size:0.68rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  padding:4px 12px; border-radius:100px; margin-bottom:16px; width:fit-content;
}
.price-tag.core { background:rgba(59,130,246,0.12); color:var(--blue-light); }
.price-tag.popular { background:rgba(168,85,247,0.15); color:var(--purple-light); }
.price-tag.elite { background:rgba(239,68,68,0.1); color:#f87171; }
.price-name { font-family:'Space Grotesk',sans-serif; font-size:1.3rem; font-weight:700; margin-bottom:4px; }
.price-amount {
  font-family:'Space Grotesk',sans-serif; font-size:2rem; font-weight:800;
  background:linear-gradient(135deg,var(--purple-light),var(--blue-light));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  margin-bottom:4px;
}
.price-amount small { font-size:0.8rem; font-weight:500; color:var(--text-muted); -webkit-text-fill-color:var(--text-muted); }
.price-note {
  font-size:0.8rem; color:var(--text-muted); margin-bottom:20px;
}
.price-features { list-style:none; display:flex; flex-direction:column; gap:10px; flex:1; }
.price-features li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:0.85rem; color:var(--text-muted); line-height:1.5;
}
.price-features li::before { content:'✓'; color:var(--success); font-weight:700; flex-shrink:0; }

.pricing-footer {
  text-align:center; margin-top:40px;
  font-size:0.85rem; color:var(--text-muted);
}

/* ═══════════════════════════════════════════
   iPHONE FRAME — iPhone 15 Pro, iOS Light Mode
   ═══════════════════════════════════════════ */

.iphone-frame {
  width: 300px;
  max-width: 90vw;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 0 0 1.5px #2a2a2e,
    0 32px 100px rgba(0,0,0,0.35),
    0 0 60px rgba(124,58,237,0.1);
  position: relative;
}
.iphone-frame::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}
/* Dynamic Island pill */
.iphone-frame::after {
  content: '';
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 11;
}
.iphone-screen {
  background: #fff;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  height: 580px;
  display: flex;
  flex-direction: column;
}

/* Status bar — light mode */
.iphone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #000;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}
.iphone-status-bar .status-time { font-variant-numeric: tabular-nums; }
.iphone-status-bar .status-icons {
  display: flex; align-items: center; gap: 4px;
}
.iphone-status-bar .status-icons svg { width: 14px; height: 10px; }

/* Messages app header — light mode */
.iphone-messages-header {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 16px 10px;
  position: relative;
  z-index: 5;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.iphone-messages-header .back-arrow {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #007aff; font-size: 1.3rem; font-weight: 400;
}
.iphone-messages-header .contact-info {
  text-align: center;
}
.iphone-messages-header .contact-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; margin: 0 auto 3px;
}
.iphone-messages-header .contact-name {
  font-size: 0.8rem; font-weight: 600; color: #000;
}

/* Messages area — light mode */
.iphone-messages {
  background: #fff;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.iphone-messages::-webkit-scrollbar { display: none; }

.iphone-msg-date {
  text-align: center;
  font-size: 0.6rem;
  color: #8e8e93;
  margin: 6px 0 4px;
  letter-spacing: 0.02em;
}

.iphone-msg-row {
  display: flex; flex-direction: column;
  max-width: 78%;
  opacity: 0; transform: translateY(6px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.iphone-msg-row.visible { opacity: 1; transform: translateY(0) scale(1); }
.iphone-msg-row.incoming { align-self: flex-start; align-items: flex-start; }
.iphone-msg-row.outgoing { align-self: flex-end; align-items: flex-end; }

.iphone-msg-bubble {
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 0.8rem;
  line-height: 1.4;
  word-wrap: break-word;
  letter-spacing: -0.01em;
}
.iphone-msg-row.incoming .iphone-msg-bubble {
  background: #e9e9eb;
  color: #000;
  border-bottom-left-radius: 4px;
}
.iphone-msg-row.outgoing .iphone-msg-bubble {
  background: #007aff;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.iphone-msg-meta {
  display: flex; align-items: center;
  margin-top: 2px;
  font-size: 0.55rem;
  color: #8e8e93;
}

/* Typing in iPhone — light mode */
.iphone-typing {
  display: flex; align-items: flex-start;
  align-self: flex-start;
  opacity: 0; transition: opacity 0.3s;
}
.iphone-typing.visible { opacity: 1; }
.iphone-typing-indicator {
  display: flex; align-items: center; gap: 3px;
  padding: 11px 14px;
  background: #e9e9eb;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
}
.iphone-typing-indicator span {
  width: 5px; height: 5px; border-radius: 50%;
  background: #8e8e93;
  animation: typing-pulse 1.6s infinite ease-in-out both;
}
.iphone-typing-indicator span:nth-child(1) { animation-delay: 0s; }
.iphone-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.iphone-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* Bottom input bar — light mode */
.iphone-input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 24px;
  border-top: 0.5px solid rgba(0,0,0,0.08);
  background: #fff;
  flex-shrink: 0;
}
.iphone-input-bar .input-camera {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid #c7c7cc;
  display: flex; align-items: center; justify-content: center;
  color: #8e8e93; font-size: 0.7rem; flex-shrink: 0;
}
.iphone-input-bar .input-field {
  flex: 1;
  background: #f2f2f7;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #8e8e93;
}
.iphone-input-bar .input-send {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #007aff;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem; flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   TELEGRAM SKIN — scoped to #demoPhone (.tg-phone) only.
   Frame sizing + animation transitions left intact; callSim untouched.
   ═══════════════════════════════════════════ */
.tg-phone .iphone-frame,
.tg-phone { /* frame keeps global sizing */ }
/* single clean black pill notch — kill the lighter gray bridge */
.tg-phone.iphone-frame::before { display: none; }
.tg-phone.iphone-frame::after {
  top: 16px; width: 76px; height: 21px; border-radius: 11px; background: #000;
}
.tg-phone .tg-screen-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(165deg,#c2d4ac 0%,#aac791 40%,#94b27c 100%);
}
.tg-phone .tg-screen-doodles { position: absolute; inset: 0; z-index: 0; opacity: 0.20; }
.tg-phone .iphone-status-bar {
  color: #1c2417; font-weight: 700; z-index: 3; padding: 14px 24px 5px;
}
.tg-phone .iphone-status-bar .sysicons { display: inline-flex; align-items: center; gap: 4px; }
.tg-phone .iphone-status-bar .sysicons svg { width: auto; height: auto; display: block; }
.tg-phone .iphone-messages-header {
  justify-content: space-between;
  border-bottom: none; z-index: 3; padding: 3px 11px 9px;
}
.tg-phone .iphone-messages-header .back-arrow {
  position: static; transform: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.78);
  display: flex; align-items: center; justify-content: center;
  color: #3e7d3a; font-size: 1.1rem; font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}
.tg-phone .iphone-messages-header .contact-info {
  background: rgba(255,255,255,0.78); border-radius: 15px;
  padding: 4px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}
.tg-phone .iphone-messages-header .contact-name {
  font-size: 0.78rem; font-weight: 700; color: #101a10; line-height: 1.05;
}
.tg-phone .iphone-messages-header .contact-sub {
  font-size: 0.62rem; color: #4f8a44; margin-top: 1px;
}
.tg-phone .iphone-messages-header .contact-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light, #a855f7));
  color: #fff; font-weight: 700; font-size: 0.78rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.tg-phone .iphone-messages {
  background: transparent; z-index: 3; gap: 5px; padding: 6px 10px 12px;
}
.tg-phone .iphone-msg-row { max-width: 82%; }
.tg-phone .iphone-msg-bubble {
  padding: 6px 10px; border-radius: 16px; font-size: 0.78rem; line-height: 1.35;
  text-align: left; box-shadow: 0 1px 1.5px rgba(0,0,0,0.12);
}
.tg-phone .iphone-msg-row.incoming .iphone-msg-bubble {
  background: #ffffff; color: #0f140d; border-bottom-left-radius: 5px;
}
.tg-phone .iphone-msg-row.outgoing .iphone-msg-bubble {
  background: #eaffd4; color: #0f140d; border-bottom-right-radius: 5px;
}
.tg-phone .iphone-msg-bubble .tg-inmeta {
  display: inline-flex; align-items: center; gap: 2px;
  float: right; margin: 4px 0 -1px 8px;
  font-size: 0.52rem; line-height: 1; color: #93a088; white-space: nowrap;
  position: relative; top: 3px;
}
.tg-phone .iphone-msg-row.outgoing .iphone-msg-bubble .tg-inmeta { color: #5a8f4a; }
.tg-phone .iphone-msg-bubble .tg-inmeta .ck { margin-left: 1px; letter-spacing: -3px; font-size: 0.6rem; }
.tg-phone .iphone-msg-meta { display: none; }
.tg-phone .iphone-typing { z-index: 3; }
.tg-phone .iphone-typing-indicator {
  background: #ffffff; border-radius: 16px; border-bottom-left-radius: 5px;
  box-shadow: 0 1px 1.5px rgba(0,0,0,0.12);
}
.tg-phone .iphone-typing-indicator span { background: #93a088; }
.tg-phone .iphone-input-bar {
  border-top: none; background: transparent; z-index: 3; gap: 7px; padding: 7px 10px 20px;
}
.tg-phone .tg-menu {
  display: flex; align-items: center; gap: 5px;
  background: #46a4e8; color: #fff; border-radius: 15px;
  padding: 7px 11px; font-size: 0.72rem; font-weight: 600; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.tg-phone .tg-menu .bars { display: inline-flex; flex-direction: column; gap: 2.5px; }
.tg-phone .tg-menu .bars i { width: 12px; height: 2px; background: #fff; border-radius: 2px; display: block; }
.tg-phone .iphone-input-bar .input-field {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.88); border-radius: 17px;
  padding: 6px 12px; font-size: 0.78rem; color: #8a8f86; text-align: left;
}
.tg-phone .iphone-input-bar .input-field.typing { color: #0f140d; }
.tg-phone .iphone-input-bar .input-field .tg-fieldtext { flex: 1; text-align: left; }
.tg-phone .tg-ic { width: 20px; height: 20px; flex-shrink: 0; color: #8b958a; display: block; }

/* ═══════════════════════════════════════════
   CAROUSEL — Visual Feature Slides
   ═══════════════════════════════════════════ */

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-slide {
  min-width: 100%;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  user-select: none;
}
.carousel-slide h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.carousel-slide p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
}

/* Carousel dots */
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 16px 0 20px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none; cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--purple-light);
  width: 24px;
  border-radius: 4px;
}

/* Carousel nav arrows */
.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 5;
}
.carousel-arrow:hover {
  background: rgba(139,92,246,0.1);
  border-color: var(--purple-light);
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* ═══════════════════════════════════════════
   MOCKUP COMPONENTS — CSS-only visuals
   ═══════════════════════════════════════════ */

/* Calendar mockup */
.mockup-calendar {
  width: 260px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 0.5px solid rgba(0,0,0,0.06);
}
.mockup-cal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.mockup-cal-month { font-size: 0.75rem; font-weight: 700; color: #000; }
.mockup-cal-nav { display: flex; gap: 8px; color: #8e8e93; font-size: 0.65rem; }
.mockup-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.mockup-cal-day-label {
  text-align: center; font-size: 0.55rem; color: #8e8e93;
  padding: 4px 0;
}
.mockup-cal-day {
  text-align: center; font-size: 0.6rem; color: #000;
  padding: 6px 0; border-radius: 50%;
}
.mockup-cal-day.today {
  background: var(--purple);
  font-weight: 700;
}
.mockup-cal-day.event {
  position: relative;
}
.mockup-cal-day.event::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: var(--success);
}
.mockup-cal-event-card {
  margin-top: 10px;
  background: rgba(124,58,237,0.15);
  border-left: 2px solid var(--purple);
  border-radius: 6px;
  padding: 8px 10px;
}
.mockup-cal-event-card .evt-time { font-size: 0.6rem; color: var(--purple-light); font-weight: 600; }
.mockup-cal-event-card .evt-title { font-size: 0.7rem; color: #000; font-weight: 600; margin-top: 2px; }
.mockup-cal-event-card .evt-loc { font-size: 0.55rem; color: var(--text-muted); margin-top: 1px; }

/* Notification mockup */
.mockup-notification {
  width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
  border: 0.5px solid rgba(0,0,0,0.06);
}
.mockup-notif-app {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.mockup-notif-icon {
  width: 20px; height: 20px; border-radius: 5px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
}
.mockup-notif-app-name { font-size: 0.6rem; color: var(--text-muted); font-weight: 600; }
.mockup-notif-title { font-size: 0.72rem; color: #000; font-weight: 700; margin-bottom: 2px; }
.mockup-notif-body { font-size: 0.65rem; color: var(--text-muted); line-height: 1.4; }
.mockup-notif-time { font-size: 0.55rem; color: #8e8e93; margin-top: 4px; }

/* Social post mockup */
.mockup-social {
  width: 240px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mockup-social-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px;
}
.mockup-social-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}
.mockup-social-user { font-size: 0.65rem; color: #000; font-weight: 600; }
.mockup-social-handle { font-size: 0.55rem; color: var(--text-muted); }
.mockup-social-image {
  width: 100%; height: 140px;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(59,130,246,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.mockup-social-caption {
  padding: 10px;
  font-size: 0.65rem; color: #000; line-height: 1.5;
}
.mockup-social-actions {
  display: flex; gap: 12px;
  padding: 0 10px 10px;
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════
   SECTION RESTYLING — Trimmer layout
   ═══════════════════════════════════════════ */

.pain-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 40px auto 0;
}
.pain-card-compact {
  background: var(--card);
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pain-card-compact:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-3px);
}
.pain-card-compact .pain-emoji { font-size: 1.8rem; margin-bottom: 10px; }
.pain-card-compact .pain-stat {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.integrations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 32px auto 0;
}

/* FAQ */
.faq-list {
  max-width:900px; margin:40px auto 0;
  display:flex; flex-direction:column; gap:12px;
}
.faq-item {
  background: var(--card); border:2px solid rgba(0,0,0,0.15);
  border-radius:12px; overflow:hidden;
  transition:border-color 0.2s;
}
.faq-item:hover { border-color:rgba(124,58,237,0.2); }
.faq-q {
  width:100%; background:none; border:none; color:var(--text);
  font-family:'Inter',sans-serif; font-size:0.95rem; font-weight:600;
  padding:18px 24px; text-align:left; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.faq-q::after {
  content:'+'; font-size:1.2rem; color:var(--purple-light); flex-shrink:0;
  transition:transform 0.3s;
}
.faq-item.open .faq-q::after { transform:rotate(45deg); }
.faq-a {
  max-height:0; overflow:hidden;
  transition:max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
  max-height:400px; padding:0 24px 20px;
}
.faq-a p { font-size:0.875rem; color:var(--text-muted); line-height:1.7; }

/* ═══════════════════════════════════════════
   NEW SECTIONS + PREMIUM ELEVATION
   ═══════════════════════════════════════════ */

/* ── OpenClaw vs Hermes ── */
.engines-section {
  background: var(--bg2);
}
.engines-section h2 {
  max-width: 700px;
  margin: 0 auto;
}
.engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 60px auto 0;
  align-items: start;
}
.engine-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.engine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.engine-card--featured {
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 4px 24px rgba(139,92,246,0.08);
}
.engine-card--featured:hover {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 20px 50px rgba(139,92,246,0.12);
}
.engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}
.engine-badge--popular {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(217,119,6,0.1));
  color: var(--purple-light);
  border: 1px solid rgba(139,92,246,0.25);
}
.engine-badge--self {
  background: rgba(16,185,129,0.1);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.2);
}
.engine-header { margin-bottom: 16px; }
.engine-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.engine-byline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.engine-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.engine-stat {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding: 8px 12px;
  background: rgba(139,92,246,0.06);
  border-radius: 8px;
  width: fit-content;
}
.engine-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.engine-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.engine-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
}
.engine-bestfor {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.engine-bestfor strong { color: var(--text); }

.engines-footer {
  max-width: 800px;
  margin: 48px auto 0;
  text-align: center;
}
.engines-quote {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
}
.hosting-callouts {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hosting-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.hosting-item:hover {
  border-color: rgba(139,92,246,0.3);
  transform: translateY(-2px);
}
.engines-compliance {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   ENGINEERING PHILOSOPHY — Premium Light
   ════════════════════════════════════════ */
.philosophy-section {
  position: relative;
  overflow: hidden;
  background: #f5f0e8;
  padding: 140px 24px;
}

/* ── Atmospheric mesh — whisper of color ── */
.phil-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.phil-mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  will-change: transform;
}
.phil-mesh-blob-1 {
  width: 800px; height: 600px;
  top: -30%; right: -20%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.04) 0%, transparent 70%);
  animation: mesh-drift-1 30s ease-in-out infinite;
}
.phil-mesh-blob-2 {
  width: 600px; height: 500px;
  bottom: -20%; left: -15%;
  background: radial-gradient(ellipse, rgba(217,119,6,0.03) 0%, transparent 70%);
  animation: mesh-drift-2 25s ease-in-out infinite;
}
@keyframes mesh-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}
@keyframes mesh-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -15px) scale(1.05); }
}

/* ── Subtle paper grain ── */
.phil-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Content ── */
.philosophy-body {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
}
.philosophy-header {
  text-align: center;
  margin-bottom: 56px;
}
.philosophy-header .section-label {
  color: #a8a29e;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.philosophy-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #000;
  max-width: 520px;
  margin: 0 auto;
}
.phil-accent-line {
  width: 40px;
  height: 1px;
  background: #d6d3d1;
  margin: 0 auto 40px;
}
.philosophy-body p {
  font-size: 1.05rem;
  color: #000;
  line-height: 1.85;
  margin-bottom: 22px;
  font-weight: 400;
}
.philosophy-body p:last-child {
  margin-bottom: 0;
  color: #000;
  font-weight: 500;
  font-size: 1.06rem;
}

@media (max-width: 640px) {
  .philosophy-section { padding: 90px 20px; }
  .philosophy-header { margin-bottom: 40px; }
  .philosophy-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
  .philosophy-body p { font-size: 0.98rem; line-height: 1.75; }
}

/* ── Hyper-personalization ── */
.personalization-section {
  background: var(--bg2);
}
.personalization-section h2 {
  max-width: 700px;
  margin: 0 auto;
}
.personalization-body {
  max-width: 720px;
  margin: 40px auto 0;
}
.personalization-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.personalization-body p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ── Call Your Agent ── */
.call-section {
  background: var(--bg);
  position: relative;
}
.call-section h2 {
  max-width: 700px;
  margin: 0 auto;
}
.call-body {
  max-width: 640px;
  margin: 40px auto 0;
}
.call-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.call-body p:last-of-type {
  margin-bottom: 0;
}
.call-footer {
  text-align: center;
  margin-top: 40px;
}
.call-personas {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.call-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
}

/* ── How It Begins ── */
.begins-section {
  background: var(--bg);
  position: relative;
  text-align: left;
}
.begins-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.begins-section h2 {
  max-width: 700px;
  margin: 0;
  text-align: left;
}
.begins-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
  position: relative;
  z-index: 1;
}
.begins-card {
  background: var(--card);
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.begins-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.begins-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.begins-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--purple-light);
}
.begins-time {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg2);
  padding: 4px 10px;
  border-radius: 100px;
}
.begins-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.begins-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.begins-cta {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.begins-cta .btn-primary {
  padding: 18px 40px;
  font-size: 1.05rem;
}
.begins-cta-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ── Premium spacing elevations ── */
#employees {
  padding: 120px 60px;
  background: #ede8df;
}
#how-it-works {
  padding: 120px 60px;
  background: #ede8df;
}
#trust {
  padding: 120px 60px;
  background: #ede8df;
}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .engine-grid { grid-template-columns: 1fr 1fr; }
  .begins-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width:900px) {
  nav { padding:16px 24px; }
  nav ul { display:none; }
  .mobile-menu-btn { display:flex; }
  section { padding:80px 24px; }
  .demo-section { padding:80px 24px; }
  .card-grid { grid-template-columns:1fr; }
  .steps-grid { grid-template-columns:1fr; gap:40px; }
  .steps-grid::before { display:none; }
  .trust-grid { grid-template-columns:1fr; }
  .pain-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .day-block { padding:22px 20px; }
  footer { flex-direction:column; text-align:center; padding:32px 24px; }
  .iphone-frame { max-width: 320px; }
  .carousel-slide { padding: 32px 20px; }
  .carousel-arrow { display: none; }
  .pain-grid-compact { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr; }
  .begins-grid { grid-template-columns: 1fr; }
  .hosting-callouts { flex-direction: column; align-items: center; }
  /* Stack the two-column "Built Different" grid on mobile */
  section > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 0 8px;
  }
  .philosophy-body, .personalization-body, .call-body {
    padding: 0 8px;
  }
  .engines-section h2,
  .philosophy-section h2,
  .personalization-section h2,
  .call-section h2,
  .begins-section h2 {
    padding: 0 8px;
  }
}
