/* Reset & Base Variables */
:root {
  --bg-obsidian: #08080a;
  --card-bg: #111115;
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #f5f5f7;
  --text-muted: #8e8e93;
  --blue-apple: #007aff;
  --blue-hover: #006ee6;
  --whatsapp-green: #25d366;
  --imessage-received: #26262a;
  --robot-bg: #151624;
  --robot-border: rgba(90, 120, 255, 0.25);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Radial Glow in Background */
.ambient-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.12) 0%, rgba(112, 0, 255, 0.04) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.max-w-xl { max-width: 38rem; }
.max-w-2xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.border-t { border-top: 1px solid; }
.border-glass { border-color: var(--card-border); }
.bg-glass-subtle { background: rgba(255, 255, 255, 0.015); }
.text-blue { color: var(--blue-apple); text-decoration: none; }

/* Navigation */
.nav-header {
  border-bottom: 1px solid var(--card-border);
  background: rgba(8, 8, 10, 0.75);
  backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo-icon-wrap {
  font-size: 1.35rem;
  background: #18181f;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
}
.logo-text { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.logo-sub { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 14px; font-size: 1rem; }
.btn-blue { background: var(--blue-apple); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-green { background: var(--whatsapp-green); color: #000; font-weight: 700; }
.btn-green:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border); color: var(--text-main); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.shadow-blue { box-shadow: 0 8px 24px rgba(0, 122, 255, 0.35); }
.shadow-green { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25); }
.icon { width: 20px; height: 20px; }

/* Hero */
.hero-section { padding: 50px 0 30px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 122, 255, 0.1);
  color: #5ac8fa;
  border: 1px solid rgba(0, 122, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  cursor: pointer;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #5ac8fa;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #007aff 0%, #5ac8fa 50%, #af52de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.trust-metrics {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 45px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bullet { color: #48484a; }

/* ============================================== */
/* iPhone 16 Pro Hardware Simulator */
/* ============================================== */
.iphone-chassis {
  max-width: 440px;
  margin: 0 auto;
  border-radius: 54px;
  padding: 10px;
  background: #1e1e24;
  box-shadow: 
    0 0 0 2px #383842,
    0 0 0 8px #141418,
    0 25px 70px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(0, 122, 255, 0.12);
  position: relative;
}

.iphone-screen {
  background: #000;
  border-radius: 46px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 755px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 29px;
  background: #000;
  border-radius: 20px;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111422;
  border: 1px solid #1c223a;
}
.island-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d1a10;
}

/* Status Bar */
.ios-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 6px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 72;
  position: relative;
}
.status-icons { display: flex; align-items: center; gap: 6px; }
.status-svg { width: 15px; height: 15px; }
.status-5g { font-size: 0.75rem; font-weight: 700; margin-left: 2px; }
.status-battery {
  width: 22px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  padding: 1px;
  position: relative;
}
.status-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 1px 1px 0;
}
.battery-level { width: 85%; height: 100%; background: #34c759; border-radius: 1px; }

/* Messages Header */
.ios-messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #1c1c1e;
  background: rgba(18, 18, 20, 0.7);
  backdrop-filter: blur(15px);
  z-index: 20;
}
.header-back { display: flex; align-items: center; color: var(--blue-apple); font-size: 0.95rem; font-weight: 500; cursor: pointer; }
.icon-back { width: 22px; height: 22px; margin-left: -4px; }
.header-group-info { display: flex; flex-direction: column; align-items: center; }
.avatar-stack { display: flex; margin-bottom: 2px; }
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2c2c2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid #000;
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.group-title-row { display: flex; align-items: center; gap: 3px; }
.group-title { font-size: 0.85rem; font-weight: 600; }
.chevron-down { width: 12px; height: 12px; color: var(--text-muted); }
.header-icon { width: 22px; height: 22px; color: var(--blue-apple); }

/* Scenario Filter Bar */
.scenario-selector {
  display: flex;
  background: #111115;
  border-bottom: 1px solid #1c1c20;
  padding: 6px 8px;
  overflow-x: auto;
  gap: 4px;
  white-space: nowrap;
}
.scenario-selector::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 7px 11px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.tab-btn.active {
  background: #24242a;
  color: #fff;
}
.tab-btn:hover:not(.active) {
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================== */
/* Authentic iOS iMessage Chat Stream */
/* ============================================== */
.ios-chat-stream {
  flex: 1;
  padding: 12px 14px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #000;
  gap: 3px;
  text-align: left;
}
.ios-chat-stream::-webkit-scrollbar { width: 3px; }
.ios-chat-stream::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }

.msg-timestamp {
  align-self: center;
  font-size: 11px;
  color: #8e8e93;
  margin: 4px 0 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
}

.msg-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 3px;
  position: relative;
  max-width: 84%;
  text-align: left;
}
.msg-group.sent {
  align-self: flex-end;
  align-items: flex-end;
  text-align: left;
}
.msg-group.received {
  align-self: flex-start;
  align-items: flex-start;
  text-align: left;
}

.msg-sender {
  font-size: 11px;
  font-weight: 600;
  color: #8e8e93;
  margin-bottom: 2px;
  margin-left: 12px;
  letter-spacing: -0.01em;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sender-dave { color: #ff9f0a; }
.sender-chris { color: #bf5af2; }
.sender-mike { color: #30d158; }
.sender-dan { color: #64d2ff; }
.sender-sam { color: #ffd60a; }
.sender-robot { color: #0a84ff; font-weight: 700; }

.msg-bubble {
  position: relative;
  padding: 7px 12px;
  font-size: 13.5px;
  line-height: 1.34;
  word-wrap: break-word;
  color: #ffffff;
  border-radius: 18px;
  text-align: left;
  letter-spacing: -0.015em;
  animation: bubblePop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bubblePop { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Authentic iOS Thought / Reasoning Drawer */
.thought-box {
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  overflow: hidden;
  text-align: left;
  transition: all 0.2s ease;
}
.thought-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px;
  font-size: 11px;
  color: #98989f;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  text-align: left;
  transition: color 0.15s ease, background 0.15s ease;
}
.thought-header:hover {
  color: #f2f2f7;
  background: rgba(255, 255, 255, 0.05);
}
.thought-icon { font-size: 11px; margin-right: 2px; }
.thought-summary {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  letter-spacing: -0.01em;
  text-align: left;
}
.thought-chevron {
  font-size: 10px;
  color: #71717a;
  transition: transform 0.2s ease;
}
.thought-box.expanded .thought-chevron {
  transform: rotate(180deg);
}
.thought-steps {
  display: none;
  padding: 4px 9px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px;
  color: #8e8e93;
  line-height: 1.4;
  text-align: left;
  background: rgba(0, 0, 0, 0.25);
}
.thought-box.expanded .thought-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.thought-step {
  color: #8e8e93;
  text-align: left;
}

/* Sent message (iMessage Blue) */
.msg-group.sent .msg-bubble {
  background-color: #0b84fe;
  color: #ffffff;
  border-bottom-right-radius: 18px;
  text-align: left;
}
.msg-group.sent .msg-bubble.has-tail {
  border-bottom-right-radius: 18px;
}
.msg-group.sent .msg-bubble.has-tail::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -7px;
  height: 18px;
  width: 18px;
  background-color: #0b84fe;
  border-bottom-left-radius: 14px 12px;
}
.msg-group.sent .msg-bubble.has-tail::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -20px;
  height: 18px;
  width: 20px;
  background-color: #000;
  border-bottom-left-radius: 10px;
}

/* Received message (iMessage Dark Mode Grey - Mike, Dave, Robot, everyone) */
.msg-group.received .msg-bubble {
  background-color: #26262a;
  color: #ffffff;
  border-bottom-left-radius: 18px;
  text-align: left;
}
.msg-group.received .msg-bubble.has-tail {
  border-bottom-left-radius: 18px;
}
.msg-group.received .msg-bubble.has-tail::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -7px;
  height: 18px;
  width: 18px;
  background-color: #26262a;
  border-bottom-right-radius: 14px 12px;
}
.msg-group.received .msg-bubble.has-tail::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  height: 18px;
  width: 20px;
  background-color: #000;
  border-bottom-right-radius: 10px;
}

/* Tapback Reaction Badge */
.tapback {
  position: absolute;
  top: -11px;
  right: 12px;
  background: #2c2c2e;
  border: 2px solid #000;
  border-radius: 14px;
  padding: 1px 5px;
  font-size: 13px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 5;
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.citation-inline {
  color: #8e8e93;
  font-size: 12.5px;
  margin-left: 4px;
}

/* iOS Typing Indicator Bubble */
.typing-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 7px;
}
.typing-bubble {
  position: relative;
  background: #26262a;
  border-radius: 18px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}
.typing-bubble.has-tail::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -7px;
  height: 18px;
  width: 18px;
  background-color: #26262a;
  border-bottom-right-radius: 14px 12px;
}
.typing-bubble.has-tail::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  height: 18px;
  width: 20px;
  background-color: #000;
  border-bottom-right-radius: 10px;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background: #8e8e93;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Input Bar */
.ios-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #121215;
  border-top: 1px solid #1c1c20;
}
.input-plus-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #24242a;
  color: var(--blue-apple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 300;
  cursor: pointer;
}
.input-form { flex: 1; display: flex; align-items: center; position: relative; }
.ios-text-field {
  width: 100%;
  background: #1c1c22;
  border: 1px solid #2e2e38;
  border-radius: 20px;
  padding: 8px 36px 8px 14px;
  color: #fff;
  font-size: 0.85rem;
}
.ios-text-field:focus { outline: none; border-color: var(--blue-apple); }
.ios-send-btn {
  position: absolute;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-apple);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.ios-send-btn svg { width: 14px; height: 14px; margin-left: 1px; }
.ios-send-btn:active { transform: scale(0.9); }

/* Quick Prompt Chips */
.prompt-chips {
  display: flex;
  gap: 6px;
  padding: 8px 12px 14px;
  background: #0d0d10;
  overflow-x: auto;
  border-top: 1px solid #17171c;
}
.prompt-chips::-webkit-scrollbar { display: none; }
.chip {
  background: #1a1a22;
  border: 1px solid #292934;
  color: #a0a0b0;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.725rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.chip:hover { background: #262634; color: #fff; border-color: var(--blue-apple); }

/* ============================================== */
/* Sections & Cards */
/* ============================================== */
.section-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.5; }

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

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(0, 122, 255, 0.3); }
.step-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue-apple);
  background: rgba(0, 122, 255, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 14px;
}
.step-icon { font-size: 2.2rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================== */
/* Comprehensive Features & Tools Grid */
/* ============================================== */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-tag-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 122, 255, 0.1);
  color: #5ac8fa;
  border: 1px solid rgba(0, 122, 255, 0.25);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 122, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tool-icon {
  font-size: 2rem;
  line-height: 1;
}
.tool-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-blue { background: rgba(0, 122, 255, 0.15); color: #5ac8fa; border: 1px solid rgba(0, 122, 255, 0.25); }
.badge-teal { background: rgba(48, 209, 88, 0.15); color: #30d158; border: 1px solid rgba(48, 209, 88, 0.25); }
.badge-purple { background: rgba(191, 90, 242, 0.15); color: #bf5af2; border: 1px solid rgba(191, 90, 242, 0.25); }
.badge-orange { background: rgba(255, 159, 10, 0.15); color: #ff9f0a; border: 1px solid rgba(255, 159, 10, 0.25); }
.badge-red { background: rgba(255, 69, 58, 0.15); color: #ff453a; border: 1px solid rgba(255, 69, 58, 0.25); }
.badge-green { background: rgba(52, 199, 89, 0.15); color: #34c759; border: 1px solid rgba(52, 199, 89, 0.25); }
.badge-yellow { background: rgba(255, 214, 10, 0.15); color: #ffd60a; border: 1px solid rgba(255, 214, 10, 0.25); }
.badge-pink { background: rgba(255, 55, 95, 0.15); color: #ff375f; border: 1px solid rgba(255, 55, 95, 0.25); }

.tool-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  text-align: left;
}
.tool-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
  text-align: left;
}
.tool-example {
  background: #0f0f14;
  border: 1px solid #23232c;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.example-label {
  font-size: 0.68rem;
  color: #71717a;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
}
.tool-example code {
  color: #5ac8fa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.35;
  word-break: break-word;
  text-align: left;
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
}
.comparison-table th { background: #16161c; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.comparison-table .highlight-col { background: rgba(0, 122, 255, 0.08); font-weight: 600; color: #fff; }

/* Pricing Card */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: #121217;
  border: 1px solid rgba(0, 122, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 0 50px rgba(0, 122, 255, 0.15);
}
.pricing-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-apple);
  background: rgba(0, 122, 255, 0.12);
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.pricing-price { font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.pricing-price span { font-size: 1.05rem; font-weight: 500; color: var(--text-muted); }
.pricing-sub { font-size: 0.95rem; color: var(--text-muted); margin-top: 8px; }
.pricing-divider { height: 1px; background: var(--card-border); margin: 26px 0; }
.pricing-checklist { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.pricing-checklist li { font-size: 0.95rem; color: #d0d0d8; }
.pricing-foot { font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item[open] { border-color: rgba(0, 122, 255, 0.4); }
.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after { content: '−'; color: var(--blue-apple); }
.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 16px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: #16161c;
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
  transform: translateY(12px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}
.modal-title { font-size: 1.4rem; font-weight: 700; margin: 8px 0 6px; }
.modal-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 22px; }
.form-group { margin-bottom: 18px; text-align: left; }
.form-group label { display: block; font-size: 0.825rem; font-weight: 600; color: #b4b4be; margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: #0e0e12;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
}
.form-input:focus { outline: none; border-color: var(--blue-apple); }
.platform-select { display: flex; gap: 10px; }
.radio-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111116;
  border: 1px solid var(--card-border);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
}
.vip-box {
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.vip-checkbox-label { display: flex; gap: 10px; cursor: pointer; text-align: left; }
.vip-title { font-size: 0.875rem; font-weight: 700; color: #5ac8fa; display: block; }
.vip-desc { font-size: 0.775rem; color: #a0a0b8; margin-top: 3px; line-height: 1.4; }
.success-icon { font-size: 3.2rem; margin-bottom: 8px; }

/* ============================================== */
/* Interactive iMessage Navigation & Sheets */
/* ============================================== */

/* Image attachments in chat */
.msg-bubble.has-image {
  padding: 4px;
  max-width: 250px;
}
.msg-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.msg-image-wrap:hover {
  opacity: 0.95;
  transform: scale(1.01);
}
.msg-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  display: block;
}
.image-tap-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.msg-bubble.has-image .bubble-text {
  padding: 6px 8px 4px;
}

/* Full-Screen Photo Viewer */
.ios-photo-viewer {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  border-radius: inherit;
}
.ios-photo-viewer.open {
  opacity: 1;
  pointer-events: auto;
}
.photo-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 46px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}
.photo-back-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--blue-apple);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.photo-sender-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photo-sender-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.photo-timestamp {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.photo-header-space { width: 44px; }
.photo-viewer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.photo-viewer-content img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
.photo-caption-bar {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #d1d1d6;
  text-align: center;
  max-width: 300px;
}
.photo-viewer-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px 20px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  color: var(--blue-apple);
}
.photo-viewer-footer svg {
  cursor: pointer;
  transition: transform 0.15s ease;
}
.photo-viewer-footer svg:active {
  transform: scale(0.85);
}

/* Group Details Sheet ("Who's in the chat") */
.ios-details-sheet {
  position: absolute;
  inset: 0;
  padding-top: 46px;
  background: #141418;
  z-index: 55;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border-radius: inherit;
}
.ios-details-sheet.open {
  transform: translateY(0);
}
.sheet-grabber-bar {
  display: flex;
  justify-content: center;
  padding: 6px 0 4px;
  background: #18181e;
}
.sheet-grabber {
  width: 36px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 10px;
  border-bottom: 1px solid #222228;
  background: #18181e;
}
.details-header-spacer {
  width: 44px;
}
.details-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.details-done-btn {
  min-width: 44px;
  text-align: right;
  background: transparent;
  border: none;
  color: var(--blue-apple);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.details-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.details-body::-webkit-scrollbar { width: 3px; }
.details-body::-webkit-scrollbar-thumb { background: #2c2c34; border-radius: 3px; }

.details-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2px 0 8px;
}
.details-avatar-stack {
  display: flex;
  margin-bottom: 8px;
}
.details-avatar-stack .avatar {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  margin-left: -14px;
}
.details-avatar-stack .avatar:first-child { margin-left: 0; }
.details-group-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.details-group-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.details-change-photo {
  font-size: 0.78rem;
  color: var(--blue-apple);
  font-weight: 600;
  margin-top: 4px;
  cursor: pointer;
}

.details-actions-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  width: 100%;
}
.details-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex: 1;
  max-width: 74px;
}
.action-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #24242c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.15s ease;
}
.details-action-btn:hover .action-circle { background: #32323e; }
.details-action-btn span {
  font-size: 0.7rem;
  color: var(--blue-apple);
  font-weight: 600;
  text-transform: capitalize;
}

.details-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8e8e93;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  margin-left: 8px;
}
.details-card {
  background: #1c1c22;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #282832;
}

.member-row {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  gap: 12px;
  border-bottom: 1px solid #262630;
}
.member-row:last-child { border-bottom: none; }
.member-row.member-highlight {
  background: rgba(10, 132, 255, 0.08);
}
.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.bg-blue { background: #0b84fe; color: #fff; }
.bg-robot { background: #0a84ff; color: #fff; }
.bg-orange { background: #ff9f0a; color: #fff; }
.bg-purple { background: #bf5af2; color: #fff; }
.bg-yellow { background: #ffd60a; color: #000; }
.bg-green { background: #30d158; color: #fff; }
.bg-teal { background: #64d2ff; color: #000; }

.member-info { flex: 1; text-align: left; }
.member-name { font-size: 0.85rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 6px; }
.member-sub { font-size: 0.72rem; color: #8e8e93; margin-top: 1px; }
.robot-verified-badge {
  font-size: 0.65rem;
  background: rgba(10, 132, 255, 0.2);
  color: #5ac8fa;
  border: 1px solid rgba(10, 132, 255, 0.35);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}
.member-tag {
  font-size: 0.68rem;
  color: #8e8e93;
  font-weight: 600;
}
.member-tag-bot {
  color: #5ac8fa;
  background: rgba(0, 122, 255, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
}

.photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
}
.details-photo-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #32323e;
}
.details-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.15s ease;
}
.details-photo-thumb:hover img { transform: scale(1.04); }
.photo-thumb-label {
  position: absolute;
  bottom: 4px;
  left: 6px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 0.65rem;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
}

.details-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #fff;
  border-bottom: 1px solid #262630;
}
.details-toggle-row:last-child { border-bottom: none; }

/* iOS Switch */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.ios-switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #39393d;
  border-radius: 22px;
  transition: 0.2s;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s;
}
.ios-switch input:checked + .switch-slider { background-color: #34c759; }
.ios-switch input:checked + .switch-slider:before { transform: translateX(16px); }

/* Messages Thread List View (`< 12` Back Navigation) */
.ios-thread-list {
  position: absolute;
  inset: 0;
  padding-top: 46px;
  background: #000;
  z-index: 55;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border-radius: inherit;
}
.ios-thread-list.open {
  transform: translateX(0);
}
.thread-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #1c1c20;
}
.thread-edit-btn {
  background: transparent;
  border: none;
  color: var(--blue-apple);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}
.thread-header-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.thread-compose-btn {
  background: transparent;
  border: none;
  color: var(--blue-apple);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.thread-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 14px 10px;
  padding: 7px 12px;
  background: #1c1c20;
  border-radius: 10px;
  color: #8e8e93;
  font-size: 0.85rem;
  border: 1px solid #2c2c34;
}
.thread-items-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.thread-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 12px;
  border-bottom: 1px solid #1a1a20;
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
}
.thread-item:hover, .thread-item.active { background: #14141a; }
.thread-unread-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-apple);
  border-radius: 50%;
  margin-right: -4px;
}
.thread-avatar {
  margin-right: 2px;
}
.thread-avatar-single {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.thread-content { flex: 1; min-width: 0; }
.thread-top-row { display: flex; justify-content: space-between; align-items: baseline; }
.thread-name { font-size: 0.88rem; font-weight: 600; color: #fff; }
.thread-time { font-size: 0.72rem; color: #8e8e93; }
.thread-preview-text {
  font-size: 0.78rem;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.thread-chevron { color: #555560; font-size: 1.1rem; font-weight: 300; }

/* Plus Palette Menu */
.ios-plus-palette {
  position: absolute;
  bottom: 54px;
  left: 12px;
  background: rgba(28, 28, 34, 0.96);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 38;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
  min-width: 140px;
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.plus-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.15s ease;
}
.plus-item:hover { background: rgba(255, 255, 255, 0.08); }
.plus-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Call Alert Modal */
.ios-alert-modal {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ios-alert-card {
  background: rgba(36, 36, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  width: 100%;
  max-width: 280px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.alert-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  padding: 16px 14px 4px;
}
.alert-desc {
  font-size: 0.78rem;
  color: #a0a0ab;
  padding: 0 14px 14px;
  line-height: 1.4;
}
.alert-actions {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.alert-btn {
  flex: 1;
  padding: 11px 8px;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.alert-primary { color: var(--blue-apple); border-right: 1px solid rgba(255, 255, 255, 0.1); }
.alert-cancel { color: #ff453a; }
.alert-btn:hover { background: rgba(255, 255, 255, 0.06); }

/* Responsive Adjustments */
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .iphone-chassis { max-width: 100%; border-radius: 42px; padding: 6px; }
  .iphone-screen { border-radius: 36px; height: 660px; }
  .hero-title { font-size: 2.3rem; }
  .cta-group .btn { width: 100%; }
}
