/* ═══ RESET ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #000000;
  --bg-soft: #0a0a0c;
  --text: #f5f5f7;
  --text-muted: #86868b;
  --accent: #2997ff;
  --green: #30d158;
  --red: #ff453a;
  --gray: #48484a;
  --radius: 50px;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 14px 24px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
nav .logo { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
nav .logo span { color: var(--accent); }
nav .links { display: flex; gap: 28px; align-items: center; }
nav .links a { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: color 0.2s; }
nav .links a:hover { color: var(--text); }
nav .cta {
  background: var(--accent); color: #fff; padding: 7px 16px;
  border-radius: 980px; font-weight: 500; font-size: 13px; text-decoration: none;
  transition: opacity 0.2s;
}
nav .cta:hover { opacity: 0.85; }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  background: radial-gradient(ellipse at 50% 40%, rgba(41,151,255,0.08) 0%, transparent 60%);
}
.hero .eyebrow {
  font-size: 19px; font-weight: 600;
  background: linear-gradient(90deg, var(--accent), #5e9eff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.02;
  max-width: 900px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #fff 0%, #a0a0a5 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub {
  font-size: clamp(19px, 2.5vw, 28px);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 40px;
}
.hero .cta-group { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .btn {
  padding: 16px 36px; border-radius: 980px;
  font-weight: 500; font-size: 17px; text-decoration: none;
  transition: all 0.2s;
}
.hero .btn-primary { background: var(--accent); color: #fff; }
.hero .btn-primary:hover { background: #0077ed; transform: scale(1.02); }
.hero .btn-ghost { color: var(--accent); }
.hero .btn-ghost:hover { color: #5e9eff; }
.hero .scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: 13px;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ═══ IPHONE MOCKUP ═══ */
.iphone {
  width: 300px;
  height: 620px;
  background: #1c1c1e;
  border-radius: 55px;
  border: 3px solid #2c2c2e;
  position: relative;
  box-shadow:
    0 0 0 2px #3a3a3c,
    0 30px 60px rgba(0,0,0,0.5),
    0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}
.iphone .dynamic-island {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 50;
}
.iphone .screen {
  width: 100%; height: 100%;
  border-radius: 52px;
  overflow: hidden;
  position: relative;
}
.iphone .status-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 50px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px 0;
  z-index: 40;
  font-size: 14px; font-weight: 600;
}
.iphone .status-bar .right { display: flex; align-items: center; gap: 5px; }
.iphone .status-bar .bars { display: flex; gap: 2px; align-items: flex-end; }
.iphone .status-bar .bars span {
  width: 3px; background: currentColor; border-radius: 1px;
}
.iphone .status-bar .bars span:nth-child(1) { height: 4px; }
.iphone .status-bar .bars span:nth-child(2) { height: 6px; }
.iphone .status-bar .bars span:nth-child(3) { height: 8px; }
.iphone .status-bar .bars span:nth-child(4) { height: 10px; }
.iphone .battery {
  width: 24px; height: 11px; border: 1px solid currentColor;
  border-radius: 3px; position: relative; padding: 1px;
}
.iphone .battery::after {
  content: ""; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 5px; background: currentColor; border-radius: 0 1px 1px 0;
}
.iphone .battery .fill { height: 100%; background: currentColor; border-radius: 1px; }

/* Screen content container */
.screen-content {
  width: 100%; height: 100%;
  padding-top: 50px;
  position: relative;
  transition: opacity 0.4s ease;
}

/* ── Screen: Lock Screen ── */
.screen-lock {
  background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 100%);
  display: flex; flex-direction: column;
  align-items: center; padding-top: 60px;
  color: #fff;
}
.screen-lock .clock {
  font-size: 72px; font-weight: 200;
  letter-spacing: -2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.screen-lock .date {
  font-size: 16px; color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.screen-lock .notif-stack {
  margin-top: 30px; width: 88%;
  display: flex; flex-direction: column; gap: 8px;
}
.screen-lock .notif {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.screen-lock .notif .ico {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--green); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.screen-lock .notif .body { flex: 1; }
.screen-lock .notif .title { font-size: 12px; font-weight: 600; }
.screen-lock .notif .text { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.screen-lock .notif .time { font-size: 10px; color: rgba(255,255,255,0.4); }

/* ── Screen: Messages ── */
.screen-messages {
  background: #000;
  display: flex; flex-direction: column;
}
.screen-messages .chat-header {
  padding: 8px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.screen-messages .chat-header .name { font-size: 16px; font-weight: 600; color: #fff; }
.screen-messages .chat-header .info { font-size: 11px; color: var(--text-muted); }
.screen-messages .bubbles {
  flex: 1; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.screen-messages .bubble {
  max-width: 75%;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.35;
  animation: bubbleIn 0.4s ease forwards;
}
.screen-messages .bubble.in {
  background: #2c2c2e;
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.screen-messages .bubble.out {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.screen-messages .bubble .time {
  font-size: 9px; color: rgba(255,255,255,0.4);
  margin-top: 2px; text-align: right;
}
.screen-messages .bubble.in .time { text-align: left; }
.screen-messages .input-bar {
  padding: 8px 14px 20px;
  display: flex; gap: 8px; align-items: center;
}
.screen-messages .input-bar .field {
  flex: 1; height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
}
.screen-messages .input-bar .send {
  width: 28px; height: 28px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Screen: Call ── */
.screen-call {
  background: linear-gradient(180deg, #1a1a2e 0%, #0a0a14 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 80px 0 40px;
  color: #fff;
}
.screen-call .avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5e9eff, #2997ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 300;
}
.screen-call .call-info { text-align: center; }
.screen-call .call-info .name { font-size: 26px; font-weight: 500; }
.screen-call .call-info .status { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.screen-call .call-buttons {
  display: flex; gap: 30px;
}
.screen-call .call-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.screen-call .call-btn.end { background: var(--red); }
.screen-call .call-btn.mute { background: rgba(255,255,255,0.15); }

/* ── Screen: Recents ── */
.screen-recents {
  background: #000;
  display: flex; flex-direction: column;
}
.screen-recents .header {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 17px; font-weight: 600;
}
.screen-recents .list { flex: 1; padding: 8px 0; overflow: hidden; }
.screen-recents .row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
}
.screen-recents .row .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; flex-shrink: 0;
}
.screen-recents .row .info { flex: 1; }
.screen-recents .row .name { font-size: 15px; font-weight: 500; }
.screen-recents .row .meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 6px; align-items: center; }
.screen-recents .row .meta .type { color: var(--green); }
.screen-recents .row.missed .name { color: var(--red); }

/* ── Screen: Maps ── */
.screen-maps {
  background: #1a1a2e;
  position: relative;
}
.screen-maps .map-bg {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, #1a2a3a 0%, #0a1a2a 100%);
  position: relative;
}
.screen-maps .map-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px),
    repeating-linear-gradient(90deg, transparent 0, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
}
.screen-maps .pin {
  position: absolute; top: 40%; left: 45%;
  width: 24px; height: 24px;
  background: var(--red); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(255,69,58,0.4);
  animation: pinPulse 2s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.15); }
}

/* ═══ SCROLL SECTIONS ═══ */
.scroll-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
}
.scroll-section .text-side {
  max-width: 480px;
  padding: 0 40px;
}
.scroll-section .phone-side {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.scroll-section .layout {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
}
.scroll-section.reverse .layout { flex-direction: row-reverse; }
.scroll-section .eyebrow {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}
.scroll-section h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.scroll-section p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.scroll-section .features-list {
  list-style: none;
  margin-top: 20px;
}
.scroll-section .features-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; color: var(--text);
  margin-bottom: 12px;
}
.scroll-section .features-list li::before {
  content: "✓"; color: var(--green); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* ═══ STICKY PHONE SECTION ═══ */
.sticky-phone-wrap {
  position: relative;
}
.sticky-phone {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  display: flex; justify-content: center;
}
.sticky-phone .iphone {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══ FEATURE SHOWCASE ═══ */
.showcase {
  position: relative;
  background: var(--bg);
}
.showcase-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}
.showcase .phone-column {
  width: 340px;
  flex-shrink: 0;
  display: flex; justify-content: center;
  position: sticky;
  top: 0;
  height: 100vh;
  align-items: center;
}
.showcase .content-column {
  flex: 1;
}
.showcase .feature-block {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px 60px;
}
.showcase .feature-block .num {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.showcase .feature-block h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.showcase .feature-block p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 500px;
}
.showcase .feature-block .detail-list {
  list-style: none;
}
.showcase .feature-block .detail-list li {
  font-size: 15px; color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between;
}
.showcase .feature-block .detail-list li span:last-child {
  color: var(--text-muted);
}

/* ═══ PRICING ═══ */
.pricing-section {
  padding: 120px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.pricing-section .sub {
  font-size: 21px; color: var(--text-muted);
  margin-bottom: 50px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}
.price-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px;
}
.price-card.featured { border-color: var(--accent); }
.price-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.price-card .price { font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.price-card .per { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card ul li {
  padding: 9px 0; font-size: 14px; color: var(--text);
  display: flex; gap: 10px;
}
.price-card ul li::before { content: "✓"; color: var(--green); flex-shrink: 0; }
.price-card .btn {
  display: block; text-align: center;
  padding: 12px; border-radius: 980px;
  font-weight: 500; font-size: 15px; text-decoration: none;
}
.price-card .btn-fill { background: var(--accent); color: #fff; }
.price-card .btn-line { border: 1px solid rgba(255,255,255,0.15); color: var(--text); }

/* ═══ CTA ═══ */
.cta-final {
  text-align: center;
  padding: 120px 24px;
}
.cta-final h2 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 21px; color: var(--text-muted);
  margin-bottom: 36px;
}
.cta-final .btn {
  display: inline-block;
  padding: 16px 40px; border-radius: 980px;
  background: var(--accent); color: #fff;
  font-weight: 500; font-size: 17px; text-decoration: none;
  transition: background 0.2s;
}
.cta-final .btn:hover { background: #0077ed; }

/* ═══ FOOTER ═══ */
footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
footer .brand { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
footer .brand span { color: var(--accent); }
footer .links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; }
footer .links a { color: var(--text-muted); font-size: 13px; text-decoration: none; }
footer .copy { color: var(--text-muted); font-size: 12px; line-height: 1.6; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .showcase-inner { flex-direction: column; }
  .showcase .phone-column {
    position: relative; height: auto; width: 100%;
    padding: 40px 0;
  }
  .showcase .content-column { width: 100%; }
  .showcase .feature-block { min-height: auto; padding: 40px 24px; }
  .scroll-section .layout { flex-direction: column; gap: 40px; }
  .scroll-section.reverse .layout { flex-direction: column; }
  .scroll-section .text-side { padding: 0; text-align: center; }
  .pricing-cards { grid-template-columns: 1fr; }
  .iphone { transform: scale(0.85); }
}