/* ═══════════════════════════════════════════
   DeskTalk Landing Page — Matching Real App
   ═══════════════════════════════════════════ */

:root {
  /* Real app dark theme colors */
  --bg: #0A0A0A;
  --surface: #141414;
  --card: #1C1C1E;
  --item-card: #1E1F24;
  --border: #2C2C2E;
  --sidebar: #141414;

  --text: #FAFAFA;
  --text-secondary: #C4C4CC;
  --text-tertiary: #9898A0;

  --accent-cyan: #00D9FF;
  --accent-blue: #5DADE2;
  --accent-mint: #00FF88;
  --accent-red: #FF6B6B;
  --accent-orange: #FFB84D;
  --accent-purple: #8b5cf6;
  --accent-pink: #d946ef;

  --glow-cyan: rgba(0, 217, 255, 0.12);
  --glow-purple: rgba(139, 92, 246, 0.12);
  --glow-pink: rgba(217, 70, 239, 0.1);

  --nav-height: 64px;
  --max-w: 1600px;
}

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

/* ═══ Nav ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 22px; font-weight: 900; color: var(--text); text-decoration: none; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 30px; height: 30px; border-radius: 8px; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: var(--text); }
.nav-btn { padding: 8px 22px; background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); color: #fff !important; border-radius: 8px; font-weight: 700; font-size: 13px; transition: opacity 0.2s; }
.nav-btn:hover { opacity: 0.85; }

/* ═══ Layout ═══ */
main { margin-top: var(--nav-height); }
.section { max-width: var(--max-w); margin: 0 auto; padding: 120px 48px; }
.section-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); max-width: var(--max-w); margin: 0 auto; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-glow {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); color: #fff;
  box-shadow: 0 4px 24px var(--glow-purple), 0 0 48px var(--glow-pink);
}
.btn-glow:hover { transform: translateY(-1px); box-shadow: 0 6px 32px var(--glow-purple), 0 0 60px var(--glow-pink); }
.btn-outline { background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.12); }
.btn-outline:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }

/* ═══ Labels & Tags ═══ */
.feat-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px; padding: 5px 14px; border-radius: 6px;
}
.feat-label.blue { color: var(--accent-blue); background: rgba(93,173,226,0.1); }
.feat-label.purple { color: var(--accent-purple); background: var(--glow-purple); }
.feat-label.pink { color: var(--accent-pink); background: var(--glow-pink); }
.feat-label.cyan { color: var(--accent-cyan); background: var(--glow-cyan); }

.feat-tags { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.feat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.feat-tag .tag-dot { width: 8px; height: 8px; border-radius: 50%; }


/* ═══════════════════════════════════════════
   PAGE 1 — Hero
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

/* Multi-layer glow background */
.hero::before {
  content: ''; position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 1000px;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(139,92,246,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 40%, rgba(217,70,239,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 60%, rgba(93,173,226,0.06) 0%, transparent 50%);
  pointer-events: none; filter: blur(60px);
}
.hero::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero-top::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: -1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Hero top text area */
.hero-top {
  text-align: center; position: relative; z-index: 1;
  margin-bottom: 72px;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 36px; position: relative;
  backdrop-filter: blur(12px);
}
.hero-badge .dot {
  width: 7px; height: 7px; background: var(--accent-cyan); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan); animation: dotPulse 2s infinite;
}
@keyframes dotPulse { 0%,100% { opacity: 1; box-shadow: 0 0 10px var(--accent-cyan); } 50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent-cyan); } }

/* Title — two distinct lines */
.hero-title {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-bottom: 28px; position: relative;
}
.hero-line1 {
  font-size: 28px; font-weight: 700; color: var(--text-secondary);
  letter-spacing: -0.5px; line-height: 1.3;
}
.hero-line2 {
  font-size: 72px; font-weight: 900; line-height: 1.1;
  letter-spacing: -3.5px; color: var(--text);
  white-space: nowrap;
}
.hero-line2 .glow {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Sub copy */
.hero-sub {
  font-size: 17px; color: var(--text-tertiary); line-height: 1.8;
  margin-bottom: 44px; max-width: 520px; margin-left: auto; margin-right: auto;
}

/* Download section */
.hero-dl-section {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.hero-dl-label {
  font-size: 13px; font-weight: 600; color: var(--text-tertiary);
  letter-spacing: 0.5px; text-transform: uppercase;
  position: relative; padding: 0 24px;
}
.hero-dl-label::before, .hero-dl-label::after {
  content: ''; position: absolute; top: 50%; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15));
}
.hero-dl-label::before { right: 100%; }
.hero-dl-label::after { left: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.15), transparent); }

.hero-downloads {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  position: relative;
}
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 600; transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.dl-btn .material-icons-round { font-size: 20px; color: var(--accent-purple); transition: color 0.3s; }
.dl-btn:hover {
  border-color: rgba(139,92,246,0.4); color: var(--text);
  background: rgba(139,92,246,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,0.15);
}
.dl-btn:hover .material-icons-round { color: var(--accent-pink); }

/* ═══ MacBook Hero — big 3D showcase ═══ */
.hero-mockup-area {
  position: relative; z-index: 1;
  width: 100%; max-width: 1100px;
  padding-bottom: 24px;
}
.hero-macbook {
  position: relative;
  transform: perspective(2000px) rotateX(8deg);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.hero-macbook:hover { transform: perspective(2000px) rotateX(3deg); }
.mb-screen {
  background: var(--bg); border: 2px solid #333; border-radius: 14px 14px 0 0;
  padding: 4px 4px 8px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px var(--glow-purple),
    0 0 200px rgba(139,92,246,0.08);
}
.mb-notch { width: 60px; height: 6px; background: #1a1a1a; border-radius: 0 0 4px 4px; margin: 0 auto 2px; }

/* Keyboard (3D hinge) */
.mb-keyboard {
  position: relative; z-index: -1;
  margin-top: -2px;
}
.mb-kb-surface {
  height: 12px;
  background: linear-gradient(180deg, #2a2a2e, #1e1e22);
  border-radius: 0 0 8px 8px / 0 0 6px 6px;
  border: 1px solid #3a3a3e; border-top: none;
}
.mb-kb-front { display: none; }

/* ═══ App Desktop UI (shared between hero & page 5) ═══ */
.app-desktop {
  display: grid; grid-template-columns: 160px 1fr;
  background: var(--bg); border-radius: 8px; overflow: hidden; height: 520px;
}

/* Sidebar */
.app-sidebar {
  background: var(--sidebar); padding: 8px 6px; border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.app-sidebar-topbar {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px 8px;
}
.sb-logo-text { font-size: 13px; font-weight: 900; color: var(--text); letter-spacing: -0.3px; }
.app-sidebar-icons {
  display: flex; gap: 1px; padding: 2px 4px; margin-bottom: 2px; align-items: center;
}
.si-spacer { flex: 1; }
.si-icon {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; cursor: pointer; transition: background 0.2s;
}
.si-icon .material-icons-round { font-size: 17px; color: var(--text-tertiary); }
.si-icon.active { background: rgba(0,217,255,0.1); }
.si-icon.active .material-icons-round { color: var(--accent-cyan); }
.app-sidebar-sep { height: 1px; background: rgba(255,255,255,0.05); margin: 4px 8px; }
.app-sidebar-item {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px; border-radius: 6px; font-size: 12px; font-weight: 500;
  color: var(--text-secondary); margin-bottom: 1px;
}
.app-sidebar-item.active { color: var(--text); }
.sb-drag { font-size: 13px !important; color: rgba(255,255,255,0.2) !important; }
.sb-label { flex: 1; font-size: 11px; }
.sb-vis { font-size: 13px !important; color: var(--text-tertiary) !important; }

/* Main board area */
.app-main { display: flex; flex-direction: column; background: var(--bg); min-height: 0; overflow: hidden; }
.app-boards { display: flex; gap: 12px; padding: 12px; flex: 1; min-height: 0; overflow: hidden; }
.app-board {
  flex: 1; background: var(--surface); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; min-width: 0; min-height: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  overflow: hidden;
}
.app-board.main-board { flex: 1.3; }
.app-board-header {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.board-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.board-title { font-size: 11px; font-weight: 700; color: var(--text); }
.board-count {
  font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 8px;
  background: rgba(0,217,255,0.12); color: var(--accent-cyan);
}
.board-count.blue { background: rgba(93,173,226,0.12); color: var(--accent-blue); }
.board-count.mint { background: rgba(0,255,136,0.12); color: var(--accent-mint); }
.board-spacer { flex: 1; }
.board-icon { font-size: 14px !important; color: var(--text-tertiary); cursor: pointer; }

/* Board items */
.app-board-items { flex: 1; padding: 6px; overflow: hidden; display: flex; flex-direction: column; gap: 5px; }
.board-item {
  background: var(--item-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 10px 12px; transition: border-color 0.2s;
}
.board-item:hover { border-color: rgba(255,255,255,0.1); }

/* Row layout for main desk items */
.bi-row { display: flex; align-items: flex-start; gap: 10px; }
.bi-type-icon { font-size: 18px !important; flex-shrink: 0; margin-top: 1px; }
.bi-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bi-text { font-size: 11px; color: var(--text-secondary); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.bi-meta { font-size: 9px; color: var(--text-tertiary); }
.bi-time { font-size: 9px; color: var(--text-tertiary); flex-shrink: 0; margin-top: 2px; }

/* Image grid in board items (real app style: 2-col thumbnails) */
.bi-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  border-radius: 8px; overflow: hidden; margin-bottom: 4px;
}
.bi-img-grid:has(:only-child) { grid-template-columns: 1fr; }
.bi-img-cell {
  height: 60px; background-size: cover; background-position: center;
  border-radius: 4px;
}
.bi-img-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.bi-img-label { font-size: 10px; color: var(--text-secondary); display: flex; align-items: center; }

/* OG preview inside item */
.bi-og {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
  background: rgba(255,255,255,0.03); border-radius: 8px; padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.bi-og-thumb {
  width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #cc1a1a, #8a0000);
}
.bi-og-info { display: flex; flex-direction: column; gap: 1px; }
.bi-og-title { font-size: 10px; font-weight: 600; color: var(--text-secondary); }
.bi-og-url { font-size: 8px; color: var(--text-tertiary); }

/* Image thumbnail in item */
.bi-img-thumb {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
}

/* Video thumbnail in item */
.bi-vid-thumb {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #2a1a3a, #1a0a2a);
  display: flex; align-items: center; justify-content: center;
}
.bi-vid-thumb .material-icons-round { font-size: 16px !important; color: rgba(255,255,255,0.5); }

/* Text-only item in text board */
.bi-text-only { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* Link card in text board */
.bi-link-card {
  display: flex; align-items: stretch; gap: 10px;
}
.bi-link-accent {
  width: 3px; border-radius: 2px; flex-shrink: 0;
  background: var(--accent-blue);
}
.bi-link-card .bi-text { font-size: 10px; }
.bi-link-card .bi-meta { font-size: 9px; display: block; margin-top: 2px; }

/* Image list in image board (matching real app) */
.img-list { display: flex !important; flex-direction: column !important; gap: 5px !important; }
.img-list-item {
  background: var(--item-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; overflow: hidden;
}
.img-list-thumb { width: 100%; height: 70px; background-size: cover; background-position: center; }
.img-list-info { padding: 6px 10px; display: flex; align-items: center; justify-content: space-between; }
.img-list-name { font-size: 9px; color: var(--text-secondary); }
.img-list-meta { font-size: 8px; color: var(--text-tertiary); }

/* Keep grid for page 5 desktop mockup */
.img-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 5px; flex-direction: unset !important; padding: 6px !important; }
.img-card { border-radius: 8px; aspect-ratio: 1; min-height: 44px; }

.si-mi { font-size: 16px !important; }

/* Board input */
.app-board-input {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.input-attach, .input-send {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; flex-shrink: 0;
}
.input-attach { background: rgba(255,255,255,0.04); }
.input-attach .material-icons-round { font-size: 14px; color: var(--text-tertiary); }
.input-send { background: rgba(0,217,255,0.1); }
.input-send .material-icons-round { font-size: 14px; color: var(--accent-cyan); }
.input-field {
  flex: 1; background: rgba(255,255,255,0.04); border-radius: 6px;
  padding: 5px 10px; font-size: 9px; min-height: 28px; display: flex; align-items: center;
}
.input-typing {
  color: var(--accent-cyan); font-weight: 500;
  overflow: hidden; white-space: nowrap; width: 0;
  animation: typing 2.5s steps(28) 1.5s forwards;
}
.input-placeholder { color: var(--text-tertiary); }
@keyframes typing { to { width: 180px; } }

/* Animated items — loop */
.anim-item {
  opacity: 0; transform: translateY(8px);
  animation: itemSlideIn 0.4s ease forwards;
}
@keyframes itemSlideIn { to { opacity: 1; transform: translateY(0); } }

/* Looping typing caret */
.input-typing-loop {
  color: var(--accent-cyan); font-weight: 500; font-size: 9px;
  display: inline-block; overflow: hidden; white-space: nowrap;
  border-right: 1px solid var(--accent-cyan);
  animation: typeBlink 0.6s step-end infinite;
}
@keyframes typeBlink { 50% { border-color: transparent; } }

/* Image cards with real photos */
.img-card.photo { background-size: cover; background-position: center; }


/* ═══════════════════════════════════════════
   PAGE 2 & 3 — Feature sections
   ═══════════════════════════════════════════ */

.feat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 120px 48px; max-width: var(--max-w); margin: 0 auto;
}
.feat .feat-text { text-align: left; }
.feat.reverse .feat-text { order: 2; text-align: left; }
.feat.reverse .feat-visual { order: 1; }
.feat h2 { font-size: 42px; font-weight: 900; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 18px; }
.feat h2 .hl { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.feat h2 .hl-blue { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.feat-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.8; max-width: 480px; }

.feat-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  padding: 28px 24px; transition: border-color 0.3s, transform 0.2s; position: relative; overflow: hidden;
}
.f-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.f-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink)); opacity: 0; transition: opacity 0.3s; }
.f-card:hover::before { opacity: 1; }
.f-card-icon { font-size: 28px; margin-bottom: 14px; }
.f-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.f-card p { font-size: 13px; color: var(--text-tertiary); line-height: 1.6; }

.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-card { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 28px 24px; transition: border-color 0.3s, transform 0.2s; }
.uc-card:hover { border-color: var(--accent-purple); transform: translateY(-2px); }
.uc-card-emoji { font-size: 32px; margin-bottom: 14px; }
.uc-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.uc-card p { font-size: 13px; color: var(--text-tertiary); line-height: 1.6; }


/* ═══════════════════════════════════════════
   PAGE 4 — Mobile (iPhone mockup)
   ═══════════════════════════════════════════ */

.device-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: 120px 48px;
}
.device-section.reverse .mobile-devices-row,
.device-section.reverse .desktop-mockup { order: 2; }
.device-section.reverse .device-info { order: 1; }
.device-info { text-align: left; }
.device-info h2 { font-size: 42px; font-weight: 900; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 18px; }
.device-info p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }

/* Mobile devices row (phone + iPad side by side) */
.mobile-devices-row {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  overflow: hidden;
}

/* Phone devices wrapper */
/* ═══ Single phone mockup ═══ */
.phone-mockup { flex-shrink: 0; display: flex; justify-content: center; }
.phone-frame {
  width: 260px;
  background: #1c1c1e; border: 2px solid #3a3a3e; border-radius: 44px;
  padding: 8px 6px; position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 40px var(--glow-purple);
}
/* Phone frame inner elements */
.phone-island {
  width: 90px; height: 24px; background: #000; border-radius: 24px;
  margin: 0 auto 6px; position: relative; z-index: 2;
}
.phone-screen {
  background: var(--bg); border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column; height: 540px;
}
.phone-home-bar { width: 100px; height: 4px; background: #555; border-radius: 2px; margin: 8px auto 6px; }

/* Swipeable screens */
.ph-screens-wrapper { flex: 1; overflow: hidden; position: relative; }
.ph-screens-track {
  display: flex; height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-screen { min-width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; }

/* Phone app bar */
.ph-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ph-appbar-left { display: flex; align-items: center; gap: 6px; }
.ph-logo-icon { font-size: 22px !important; color: var(--accent-cyan); }
.ph-logo { font-size: 15px; font-weight: 900; color: var(--text); letter-spacing: -0.3px; }
.ph-appbar-right { display: flex; gap: 4px; }
.ph-appbar-icon { font-size: 20px !important; color: var(--text-tertiary); }

/* Phone items */
.ph-items { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; overflow-x: hidden; }
.ph-item {
  background: var(--item-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; padding: 10px 12px;
  opacity: 0; transform: translateY(10px);
  animation: phItemIn 0.4s ease forwards;
}
.ph-item:nth-child(1) { animation-delay: 0s; }
.ph-item:nth-child(2) { animation-delay: 0.08s; }
.ph-item:nth-child(3) { animation-delay: 0.16s; }
.ph-item:nth-child(4) { animation-delay: 0.24s; }
.ph-item:nth-child(5) { animation-delay: 0.32s; }
@keyframes phItemIn { to { opacity: 1; transform: translateY(0); } }

/* Item internal layout */
.ph-item-header { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.ph-item-type-icon { font-size: 16px !important; flex-shrink: 0; }
.ph-item-title { font-size: 11px; color: var(--text-secondary); font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-item-time { font-size: 8px; color: var(--text-tertiary); flex-shrink: 0; }

/* Text content */
.ph-item-body { font-size: 10px; color: var(--text-tertiary); line-height: 1.5; margin-top: 2px; }

/* Link preview (OG) */
.ph-og {
  display: flex; gap: 8px; align-items: center;
  margin-top: 6px; padding: 8px; background: rgba(255,255,255,0.03);
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.04);
}
.ph-og-thumb {
  width: 42px; height: 42px; border-radius: 6px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.ph-og-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ph-og-title { font-size: 10px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-og-url { font-size: 8px; color: var(--text-tertiary); }

/* Image grid in phone items (2-col thumbnails like real app) */
.ph-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  border-radius: 8px; overflow: hidden; margin-top: 6px;
}
.ph-img-cell {
  height: 56px; background-size: cover; background-position: center;
  border-radius: 3px;
}

/* File row */
.ph-file-row { display: flex; align-items: center; gap: 8px; }
.ph-file-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ph-file-icon .material-icons-round { font-size: 18px !important; }
.ph-file-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ph-file-name { font-size: 10px; color: var(--text-secondary); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-file-size { font-size: 8px; color: var(--text-tertiary); }

/* Video thumb */
.ph-vid-thumb {
  width: 100%; height: 72px; border-radius: 8px; margin-top: 6px;
  background: linear-gradient(135deg, #1a1030, #0d0a1a);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.ph-vid-play {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
}
.ph-vid-play .material-icons-round { font-size: 16px !important; color: rgba(255,255,255,0.7); }

/* Shared board item styles */
.ph-shared-header { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ph-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; flex-shrink: 0;
}
.ph-shared-name { font-size: 9px; color: var(--text-tertiary); font-weight: 500; }

/* Calendar items */
/* Calendar screen (real app style) */
.ph-cal-header {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 0 6px; font-size: 13px; font-weight: 700; color: var(--text);
}
.ph-cal-month { font-size: 13px; }
.ph-cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
  font-size: 9px; color: var(--text-tertiary); padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ph-cal-weekdays span:first-child { color: #EF4444; }
.ph-cal-weekdays span:last-child { color: #3B82F6; }
.ph-cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
  padding: 6px 0; font-size: 11px; color: var(--text-secondary);
}
.ph-cal-days span { padding: 4px 0; border-radius: 50%; }
.ph-cal-days span.today {
  background: var(--accent-cyan); color: #000; font-weight: 700;
  width: 26px; height: 26px; line-height: 26px; margin: 0 auto;
  border-radius: 50%;
}
.ph-cal-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 6px 0; }
.ph-cal-label { font-size: 10px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 6px; }
.ph-cal-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 10px; background: var(--item-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; margin-bottom: 4px;
}
.ph-cal-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.ph-cal-item-body { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.ph-cal-text { font-size: 10px; color: var(--text-secondary); font-weight: 500; }
.ph-cal-time { font-size: 8px; color: var(--text-tertiary); }

/* Favorites star */
.ph-fav-star { font-size: 14px !important; color: #FFD700; flex-shrink: 0; }

/* Phone input bar */
.ph-input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ph-input-icon { font-size: 20px !important; color: var(--text-tertiary); }
.ph-input-field {
  flex: 1; background: rgba(255,255,255,0.04); border-radius: 18px;
  padding: 8px 14px; font-size: 11px; color: var(--text-tertiary);
}
.ph-input-send { font-size: 20px !important; color: var(--accent-cyan); }

/* Phone bottom nav */
.ph-bottom-nav {
  display: flex; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0 4px; flex-shrink: 0;
}
.ph-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  color: var(--text-tertiary); padding: 2px 0; cursor: pointer;
  transition: color 0.2s;
}
.ph-nav-item .material-icons-round { font-size: 20px !important; }
.ph-nav-item.active { color: var(--accent-cyan); }


/* ═══════════════════════════════════════════
   PAGE 5 — Desktop Design (smaller version)
   ═══════════════════════════════════════════ */

.desktop-mockup {
  width: 100%; max-width: 780px;
}
.dm-screen {
  background: var(--bg); border: 2px solid #333; border-radius: 10px 10px 0 0;
  padding: 3px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px var(--glow-purple);
}
.dm-notch { width: 50px; height: 5px; background: #1a1a1a; border-radius: 0 0 3px 3px; margin: 0 auto 2px; }
.dm-base { background: linear-gradient(180deg, #2a2a2e, #1e1e22); height: 12px; border-radius: 0 0 2px 2px; margin: 0 -2px; }
.dm-base-line { width: 70px; height: 3px; background: #333; border-radius: 0 0 3px 3px; margin: 0 auto; }

.dm-ver { height: 400px; }
.dm-ver .app-sidebar { padding: 10px 6px; }
.dm-ver .app-sidebar-logo { font-size: 11px; padding: 2px 8px 8px; }
.dm-ver .app-sidebar-icons { gap: 1px; padding: 1px 2px; }
.dm-ver .si-icon { width: 26px; height: 26px; }
.dm-ver .si-icon .material-icons-round { font-size: 15px; }
.dm-ver .app-sidebar-item { padding: 5px 8px; font-size: 10px; gap: 6px; }
.dm-ver .app-boards { gap: 8px; padding: 8px; }
.dm-ver .board-title { font-size: 10px; }
.dm-ver .board-count { font-size: 8px; }
.dm-ver .bi-text { font-size: 9px; }
.dm-ver .board-item { padding: 6px 8px; }
.dm-ver .app-board-input { padding: 6px 8px; }
.dm-ver .input-field { font-size: 8px; padding: 4px 8px; min-height: 24px; }
.dm-ver .input-attach, .dm-ver .input-send { width: 24px; height: 24px; }
.dm-ver .input-attach .material-icons-round, .dm-ver .input-send .material-icons-round { font-size: 12px; }
.dm-ver .bi-img-grid { gap: 2px; margin-bottom: 2px; }
.dm-ver .bi-img-cell { height: 32px; }
.dm-ver .bi-img-label { font-size: 8px; }
.dm-ver .bi-img-label .material-icons-round { font-size: 10px !important; }
.dm-ver .bi-img-footer .bi-time { font-size: 7px; }


/* ═══ iPad Mockup ═══ */
.ipad-mockup { flex-shrink: 0; }
.ipad-frame {
  width: 340px;
  background: #1c1c1e; border: 2px solid #3a3a3e; border-radius: 18px;
  padding: 10px 8px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 60px var(--glow-purple);
  transition: width 0.6s ease, border-radius 0.6s ease, padding 0.6s ease;
}
.ipad-frame.landscape {
  width: 440px;
}
.ipad-cam {
  width: 8px; height: 8px; background: #111; border-radius: 50%;
  margin: 0 auto 6px; border: 1px solid #333;
}
.ipad-screen {
  background: var(--bg); border-radius: 10px; overflow: hidden;
  height: 440px;
  transition: height 0.6s ease;
}
.ipad-frame.landscape .ipad-screen { height: 290px; }
.ipad-home-bar { width: 80px; height: 4px; background: #555; border-radius: 2px; margin: 8px auto 4px; }

/* iPad internal content */
.ipad-content {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
}
.ipad-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ipad-appbar-left { display: flex; align-items: center; gap: 8px; }
.ipad-logo-icon { font-size: 20px !important; color: var(--accent-cyan); }
.ipad-logo { font-size: 14px; font-weight: 800; color: var(--text); }
.ipad-appbar-right { display: flex; gap: 6px; }
.ipad-appbar-icon { font-size: 18px !important; color: var(--text-tertiary); }

/* iPad board layout (like mini desktop) */
.ipad-boards {
  flex: 1; display: flex; gap: 8px; padding: 8px; overflow: hidden;
}
.ipad-board {
  flex: 1; background: var(--surface); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; min-width: 0;
  overflow: hidden;
}
.ipad-board-header {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ipad-board-title { font-size: 10px; font-weight: 700; color: var(--text); }
.ipad-board-count {
  font-size: 8px; font-weight: 700; padding: 1px 4px; border-radius: 6px;
  background: rgba(0,217,255,0.12); color: var(--accent-cyan);
}
.ipad-board-items { flex: 1; padding: 6px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.ipad-item {
  background: var(--item-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 7px 9px; font-size: 9px; color: var(--text-secondary);
  opacity: 0; transform: translateY(6px);
  animation: phItemIn 0.4s ease forwards;
}
.ipad-item:nth-child(1) { animation-delay: 0s; }
.ipad-item:nth-child(2) { animation-delay: 0.06s; }
.ipad-item:nth-child(3) { animation-delay: 0.12s; }
.ipad-item:nth-child(4) { animation-delay: 0.18s; }

.ipad-item-header { display: flex; align-items: center; gap: 5px; margin-bottom: 2px; }
.ipad-item-icon { font-size: 13px !important; flex-shrink: 0; }
.ipad-item-title { font-size: 9px; color: var(--text-secondary); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ipad-item-time { font-size: 7px; color: var(--text-tertiary); flex-shrink: 0; }
.ipad-item-body { font-size: 8px; color: var(--text-tertiary); line-height: 1.4; }

.ipad-input-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ipad-input-field {
  flex: 1; background: rgba(255,255,255,0.04); border-radius: 14px;
  padding: 6px 12px; font-size: 9px; color: var(--text-tertiary);
}
.ipad-input-icon { font-size: 16px !important; color: var(--text-tertiary); }
.ipad-input-send { font-size: 16px !important; color: var(--accent-cyan); }

.ipad-bottom-nav {
  display: flex; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 6px 0 3px; flex-shrink: 0;
}
.ipad-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  color: var(--text-tertiary); font-size: 7px;
}
.ipad-nav-item .material-icons-round { font-size: 16px !important; }
.ipad-nav-item.active { color: var(--accent-cyan); }


/* ═══════════════════════════════════════════
   PAGE 6 — Core Features
   ═══════════════════════════════════════════ */

.core-section { max-width: var(--max-w); margin: 0 auto; padding: 120px 48px; text-align: center; }
.core-section h2 { font-size: 42px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 14px; }
.core-section > .reveal > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 80px; }
.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.core-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  padding: 36px 20px; text-align: center; transition: border-color 0.3s, transform 0.2s;
}
.core-card:hover { border-color: var(--accent-purple); transform: translateY(-3px); }
.core-card-icon { font-size: 36px; margin-bottom: 16px; }
.core-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; white-space: nowrap; }
.core-card p { font-size: 13px; color: var(--text-tertiary); line-height: 1.5; }


/* ═══════════════════════════════════════════
   PAGE 7 — Platforms
   ═══════════════════════════════════════════ */

.platforms-section { text-align: center; padding: 120px 48px; max-width: var(--max-w); margin: 0 auto; }
.platforms-section h2 { font-size: 42px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; }
.platforms-section > .reveal > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 88px; }
.plat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.plat-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  padding: 40px 16px; text-align: center; transition: border-color 0.3s, transform 0.2s;
}
.plat-card:hover { border-color: var(--accent-purple); transform: translateY(-3px); }
.plat-icon { margin-bottom: 16px; }
.plat-icon .material-icons-round { font-size: 44px !important; color: var(--accent-purple); }
.plat-card h3 { font-size: 15px; font-weight: 700; }
.plat-card span { font-size: 12px; color: var(--text-tertiary); display: block; margin-top: 4px; }


/* ═══════════════════════════════════════════
   PAGE 8 — CTA
   ═══════════════════════════════════════════ */

.cta { text-align: center; padding: 140px 48px; max-width: var(--max-w); margin: 0 auto; position: relative; }
.cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, var(--glow-purple) 0%, var(--glow-pink) 50%, transparent 70%);
  pointer-events: none; filter: blur(40px);
}
.cta h2 { font-size: 48px; font-weight: 900; letter-spacing: -2px; margin-bottom: 18px; position: relative; }
.cta p { font-size: 17px; color: var(--text-secondary); margin-bottom: 44px; position: relative; line-height: 1.7; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }


/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */

.site-footer { border-top: 1px solid rgba(255,255,255,0.06); background: var(--surface); }
.footer-main {
  max-width: var(--max-w); margin: 0 auto; padding: 48px 48px 40px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
}
.footer-company h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.footer-logo-img { width: 26px; height: 26px; border-radius: 6px; }
.footer-company .info-line { font-size: 12px; color: var(--text-tertiary); line-height: 1.9; }
.footer-company .info-line span { color: var(--text-secondary); font-weight: 500; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-tertiary); text-decoration: none; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 20px 48px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; font-size: 12px; color: var(--text-tertiary); }


/* ═══ Animations ═══ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ═══ Responsive ═══ */

/* Tablet landscape */
@media (max-width: 1100px) {
  .core-grid { grid-template-columns: repeat(3, 1fr); }
  .plat-grid { grid-template-columns: repeat(3, 1fr); }
  .desktop-mockup { max-width: 580px; }
  .device-section { gap: 48px; }
  .ipad-frame { width: 300px; }
  .ipad-frame.landscape { width: 430px; }
  .hero-macbook .app-desktop { grid-template-columns: 130px 1fr; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .section { padding: 80px 32px; }
  .feat { grid-template-columns: 1fr; gap: 40px; padding: 80px 32px; }
  .feat .feat-text, .feat.reverse .feat-text { text-align: center; order: 1; margin-left: 0; }
  .feat.reverse .feat-visual { order: 2; }
  .feat h2 { font-size: 34px; }

  .device-section, .device-section.reverse {
    grid-template-columns: 1fr; gap: 40px;
    padding: 80px 32px;
  }
  .device-section.reverse .device-info,
  .device-section:not(.reverse) .device-info { order: 2; }
  .device-section.reverse .mobile-devices-row,
  .device-section.reverse .desktop-mockup,
  .device-section:not(.reverse) .mobile-devices-row,
  .device-section:not(.reverse) .desktop-mockup { order: 1; }
  .device-info { max-width: 100%; text-align: center !important; margin-left: 0 !important; margin-right: 0 !important; }
  .device-info h2 { font-size: 34px; }
  .device-info .feat-tags { justify-content: center !important; }

  .desktop-mockup { width: 100%; max-width: 600px; }

  .hero { min-height: auto; padding: 80px 32px 48px; }
  .hero-top { margin-bottom: 44px; }
  .hero-line1 { font-size: 22px; }
  .hero-line2 { font-size: 48px; letter-spacing: -2px; }
  .hero-sub { font-size: 15px; }
  .hero-macbook .app-sidebar { display: none; }
  .hero-macbook .app-desktop { grid-template-columns: 1fr; }

  .core-section { padding: 80px 32px; }
  .core-section h2 { font-size: 34px; }
  .core-section > .reveal > p { margin-bottom: 48px; }
  .core-grid { grid-template-columns: repeat(3, 1fr); }

  .platforms-section { padding: 80px 32px; }
  .platforms-section h2 { font-size: 34px; }
  .platforms-section > .reveal > p { margin-bottom: 48px; }
  .plat-grid { grid-template-columns: repeat(3, 1fr); }

  .cta { padding: 80px 32px; }
  .cta h2 { font-size: 36px; }

  .nav-menu { gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 40px 32px; }

  .phone-frame { width: 260px; }
  .phone-screen { height: 500px; }

  .mobile-devices-row { flex-direction: column; gap: 32px; }
  .ipad-frame { width: 300px; }
  .ipad-frame.landscape { width: 420px; }
  .ipad-screen { height: 380px; }
  .ipad-frame.landscape .ipad-screen { height: 260px; }
}

/* Mobile */
@media (max-width: 600px) {
  .section { padding: 60px 20px; }
  .nav-inner { padding: 0 16px; }
  .nav-menu a:not(.nav-btn) { display: none; }
  .nav-menu { gap: 12px; }

  /* Hero */
  .hero { min-height: auto; padding: 48px 20px 36px; }
  .hero-top { margin-bottom: 28px; }
  .hero-line1 { font-size: 18px; }
  .hero-line2 { font-size: 34px; letter-spacing: -1.5px; white-space: normal; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { font-size: 13px; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
  .hero-dl-label { font-size: 11px; }
  .hero-downloads { gap: 6px; }
  .dl-btn { padding: 8px 14px; font-size: 11px; gap: 4px; }
  .dl-btn .material-icons-round { font-size: 16px; }
  .hero-macbook .app-board-items { max-height: 180px; }
  .hero-macbook .app-boards { flex-direction: column; }
  .hero-macbook .app-board.main-board { flex: none; }
  .hero-macbook .app-board:not(.main-board) { display: none; }

  /* Features */
  .feat { padding: 60px 20px; gap: 32px; }
  .feat h2 { font-size: 26px; letter-spacing: -1px; }
  .feat-desc { font-size: 14px; }
  .feat-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .f-card { padding: 20px 18px; }
  .usecase-grid { grid-template-columns: 1fr; gap: 12px; }
  .uc-card { padding: 20px 18px; }

  /* Device sections */
  .device-section, .device-section.reverse {
    padding: 60px 20px; gap: 32px;
  }
  .device-info h2 { font-size: 26px; letter-spacing: -1px; }
  .device-info p { font-size: 14px; margin-bottom: 16px; }

  /* Phone mockup compact on mobile */
  .phone-frame { width: 240px; border-radius: 36px; }
  .phone-island { width: 72px; height: 20px; }
  .phone-screen { height: 440px; border-radius: 28px; }
  .phone-home-bar { width: 80px; }
  .ph-appbar { padding: 8px 12px; }
  .ph-logo { font-size: 13px; }
  .ph-logo-icon { font-size: 18px !important; }
  .ph-appbar-icon { font-size: 18px !important; }
  .ph-items { padding: 8px 10px; gap: 5px; }

  /* iPad compact on mobile */
  .mobile-devices-row { flex-direction: column; gap: 24px; }
  .ipad-frame { width: 280px; }
  .ipad-frame.landscape { width: 380px; }
  .ipad-screen { height: 340px; }
  .ipad-frame.landscape .ipad-screen { height: 240px; }
  .ph-item { padding: 8px 10px; border-radius: 10px; }
  .ph-item-title { font-size: 10px; }
  .ph-img-cell { height: 44px; }
  .ph-input-bar { padding: 6px 10px; }
  .ph-input-field { padding: 6px 12px; font-size: 10px; }
  .ph-nav-item .material-icons-round { font-size: 16px !important; }

  /* Desktop mockup — compact on mobile */
  .desktop-mockup { width: 100%; max-width: 380px; }
  .dm-ver { height: 280px; }
  .dm-ver .app-sidebar { display: none; }
  .dm-ver .app-desktop { grid-template-columns: 1fr; }
  .dm-ver .app-boards { flex-direction: column; }
  .dm-ver .app-board:nth-child(n+3) { display: none; }

  /* Core features */
  .core-section { padding: 60px 20px; }
  .core-section h2 { font-size: 26px; }
  .core-section > .reveal > p { font-size: 14px; margin-bottom: 32px; }
  .core-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .core-card { padding: 24px 14px; }
  .core-card-icon { font-size: 28px; margin-bottom: 10px; }
  .core-card h4 { font-size: 13px; }
  .core-card p { font-size: 11px; }

  /* Platforms */
  .platforms-section { padding: 60px 20px; }
  .platforms-section h2 { font-size: 26px; }
  .platforms-section > .reveal > p { font-size: 14px; margin-bottom: 32px; }
  .plat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .plat-card { padding: 24px 10px; }
  .plat-icon .material-icons-round { font-size: 32px !important; }
  .plat-card h3 { font-size: 13px; }
  .plat-card span { font-size: 10px; }

  /* CTA */
  .cta { padding: 60px 20px; }
  .cta h2 { font-size: 28px; letter-spacing: -1px; }
  .cta p { font-size: 14px; margin-bottom: 32px; }
  .cta-buttons { gap: 10px; }
  .cta-buttons .btn { padding: 12px 20px; font-size: 13px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
  .footer-bottom { padding: 16px 20px; }
  .footer-company .info-line { font-size: 11px; }

  /* Section divider */
  .section-divider { margin-left: 20px; margin-right: 20px; }
}
