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

:root {
  --bg: #0a0f1e;
  --bg2: #0f1629;
  --bg3: #141c35;
  --blue: #4a7cff;
  --blue2: #3a6aef;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.04);
  --radius: 12px;
}

html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #93adff;
  outline-offset: 3px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; text-decoration: none; }
.logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-logout { display: inline-flex; }
.nav-logout button { cursor: pointer; font-family: inherit; }

.btn-primary, .btn-outline {
  display: inline-block;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary { border: 1px solid var(--blue); background: var(--blue); color: #fff !important; }
.btn-primary:hover { border-color: var(--blue2); background: var(--blue2); }
.btn-outline { border: 1px solid var(--blue); background: transparent; color: var(--blue) !important; }
.btn-outline:hover { background: var(--blue); color: #fff !important; }
.btn-lg { border-radius: 10px; padding: 16px 36px; font-size: 16px; }

section { padding: 80px 24px; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; }
.section-label { margin-bottom: 16px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.section-title { margin-bottom: 16px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
.section-sub { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.section-center { text-align: center; }

.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 124, 255, 0.15) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  border: 1px solid rgba(74, 124, 255, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  background: rgba(74, 124, 255, 0.15);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.hero h1 { max-width: 820px; margin: 0 auto 24px; font-size: clamp(36px, 6vw, 64px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.hero h1 span { color: var(--blue); }
.hero > p { max-width: 580px; margin: 0 auto 40px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; margin-top: 56px; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.trust-item span { color: #22c55e; font-weight: 800; }

.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 24px; background: var(--bg2); }
.stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.stat-num { color: var(--blue); font-size: 42px; font-weight: 800; letter-spacing: -2px; }
.stat-label { margin-top: 4px; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 56px; }
.step-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; background: var(--card); }
.step-num { width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; }
.step-card h3 { margin-bottom: 10px; font-size: 19px; font-weight: 700; }
.step-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.usecases, .features, .faq { background: var(--bg2); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 56px; }
.case-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg3); transition: border-color 0.2s, transform 0.2s; }
.case-card:hover { transform: translateY(-2px); border-color: rgba(74, 124, 255, 0.4); }
.case-icon { margin-bottom: 16px; font-size: 32px; }
.case-card h3 { margin-bottom: 10px; font-size: 17px; font-weight: 700; }
.case-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.why-text h2 { margin-bottom: 16px; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
.why-text p { margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.check-list li::before { content: "✓"; width: 24px; height: 24px; margin-top: 2px; flex: 0 0 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(74, 124, 255, 0.15); color: var(--blue); font-size: 12px; font-weight: 700; }
.compare-table { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg3); }
.compare-table table { width: 100%; min-width: 510px; border-collapse: collapse; }
.compare-table th { padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-align: left; text-transform: uppercase; }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
.tag-good { color: #22c55e; font-weight: 600; }
.tag-bad { color: #ef4444; font-weight: 600; }
.tag-ok { color: #f59e0b; font-weight: 600; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 56px; }
.feat { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg3); }
.feat-icon { margin-bottom: 14px; font-size: 28px; }
.feat h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.feat p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.pricing-wrap { text-align: center; }
.pricing-wrap .section-sub { margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; text-align: left; }
.pricing-card { position: relative; display: flex; min-width: 0; min-height: 330px; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; padding: 30px 24px 24px; background: var(--bg3); }
.pricing-card--featured { border: 2px solid var(--blue); padding: 29px 23px 23px; box-shadow: 0 18px 44px rgba(16, 31, 72, 0.32); }
.pricing-plan { margin-bottom: 16px; color: #fff; font-size: 18px; font-weight: 750; }
.pricing-badge { position: absolute; top: -13px; right: 16px; display: inline-block; border-radius: 100px; padding: 4px 10px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.price-num { font-size: 48px; font-weight: 800; letter-spacing: -2.5px; line-height: 1.1; }
.price-num span { color: var(--muted); font-size: 24px; font-weight: 400; letter-spacing: 0; }
.price-period { margin: 4px 0 18px; color: var(--muted); font-size: 13px; }
.price-period strong { color: var(--blue); font-weight: 600; }
.pricing-duration { min-height: 48px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; text-align: left; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.price-features li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.pricing-cta { display: block; margin-top: auto; border-radius: 10px; padding: 13px; font-size: 14px; text-align: center; }
.pricing-features-shared { display: grid; max-width: 880px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 32px auto 18px; }
.pricing-payment-note { color: var(--muted); font-size: 13px; }
.bulk-copy { margin-top: 16px; color: var(--muted); font-size: 13px; }
.bulk-copy a { color: var(--blue); text-decoration: none; }

.faq-list { max-width: 720px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 2px; }
.faq-item { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg3); }
.faq-q { width: 100%; border: 0; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; color: var(--text); cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; text-align: left; transition: background 0.2s; }
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }
.faq-q .arrow { flex-shrink: 0; color: var(--blue); font-size: 20px; transition: transform 0.2s; }
.faq-a { overflow: hidden; max-height: 0; padding: 0 24px; color: var(--muted); font-size: 15px; line-height: 1.7; transition: max-height 0.3s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 420px; padding: 0 24px 20px; }
.faq-item.open .arrow { transform: rotate(45deg); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.blog-card { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg3); color: var(--text); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.blog-card:hover { transform: translateY(-2px); border-color: rgba(74, 124, 255, 0.4); }
.blog-cat { margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.blog-card h2, .blog-card h3 { margin: 0 0 10px; color: var(--text); font-size: 17px; font-weight: 700; line-height: 1.4; }
.blog-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.blog-card time { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
.blog-more { margin-top: 32px; text-align: center; }

.cta { padding: 100px 24px; background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(74, 124, 255, 0.2) 0%, transparent 70%); text-align: center; }
.cta h2 { max-width: 700px; margin: 0 auto 20px; font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; }
.cta p { max-width: 500px; margin: 0 auto 40px; color: var(--muted); font-size: 18px; }

.index-main { min-height: 70vh; padding: 60px 24px 80px; }
.page-title { margin-bottom: 16px; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; }
.page-sub { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.index-main .blog-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-top: 40px; }

.article-container { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.article-container h1 { margin: 12px 0 20px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.back:hover { color: #fff; }
.meta-cat { border-radius: 100px; padding: 4px 12px; background: rgba(74, 124, 255, 0.15); color: var(--blue); font-size: 12px; font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 40px; color: var(--muted); font-size: 14px; }
.article-lead { margin-bottom: 8px; color: var(--text); font-size: 18px; }
.article-body { overflow-wrap: anywhere; border-top: 1px solid var(--border); padding-top: 40px; }
.article-body h2 { margin: 40px 0 14px; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.3; }
.article-body h3 { margin: 32px 0 12px; color: #fff; font-size: 20px; font-weight: 700; line-height: 1.35; }
.article-body p { margin-bottom: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body em { color: var(--text); }
.article-body a { color: var(--blue); text-decoration: none; }
.article-body a:hover { text-decoration: underline; }
.article-body .btn-primary:hover { text-decoration: none; }
.article-body table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.article-body th { padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-align: left; text-transform: uppercase; }
.article-body td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); }
.related-section { padding: 0 24px 60px; }
.related-section > .container > h2 { margin-bottom: 24px; font-size: 22px; }
.compact-grid { margin-top: 0; grid-template-columns: repeat(3, 1fr); }

footer { border-top: 1px solid var(--border); padding: 48px 24px 32px; background: var(--bg2); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer-brand p { max-width: 280px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-links h2 { margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { color: var(--muted); font-size: 13px; }
.footer-policy { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.footer-policy p { max-width: 900px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-policy strong { color: #fff; }

.support-button { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: 60px; height: 60px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); text-decoration: none; transition: transform 0.2s, background 0.2s; }
.support-button span { position: relative; width: 23px; height: 18px; border-radius: 50%; background: #fff; }
.support-button span::after { content: ""; position: absolute; right: 2px; bottom: -3px; width: 7px; height: 7px; background: #fff; transform: rotate(35deg); }
.support-button::after { content: ""; position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; border: 3px solid var(--bg2); border-radius: 50%; background: #5ecb71; }
.support-button:hover { transform: translateY(-2px); background: var(--blue2); }

.not-found { min-height: 62vh; padding: 100px 24px; display: grid; place-items: center; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(74, 124, 255, 0.15), transparent 65%); }
.not-found h1 { margin: 16px 0; font-size: clamp(38px, 7vw, 64px); line-height: 1.1; }
.not-found p { max-width: 540px; margin: 0 auto 32px; color: var(--muted); font-size: 18px; }

.auth-main {
  min-height: calc(100vh - 64px);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 124, 255, 0.14) 0%, transparent 70%);
}
.auth-shell { min-height: 680px; padding: 72px 24px 96px; display: grid; place-items: start center; }
.auth-card, .account-card {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  background: rgba(20, 28, 53, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}
.account-card { max-width: 680px; }
.auth-heading { margin-bottom: 28px; }
.auth-heading .section-label { margin-bottom: 10px; }
.auth-heading h1 { margin-bottom: 10px; color: #fff; font-size: clamp(28px, 5vw, 38px); line-height: 1.15; }
.auth-heading p { color: var(--muted); font-size: 15px; }
.form-status, .form-error {
  margin-bottom: 20px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 9px;
  padding: 12px 14px;
  background: rgba(34, 197, 94, 0.09);
  color: #bbf7d0;
  font-size: 14px;
}
.form-error { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.09); color: #fecaca; }
.google-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #172033;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.google-button:hover { background: #eef2ff; transform: translateY(-1px); }
.google-button span { color: #4285f4; font-size: 18px; font-weight: 800; }
.form-divider { margin: 22px 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.form-divider::before, .form-divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.auth-form { display: flex; flex-direction: column; gap: 9px; }
.auth-form label { color: var(--text); font-size: 14px; font-weight: 650; }
.auth-form input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 11px 13px;
  background: rgba(10, 15, 30, 0.72);
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.auth-form input:hover { border-color: rgba(255, 255, 255, 0.25); }
.auth-form input:focus { outline: 3px solid rgba(147, 173, 255, 0.36); border-color: #93adff; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.label-row a { font-size: 13px; text-decoration: none; }
.field-help { margin: -4px 0 8px; color: var(--muted); font-size: 12px; }
.auth-submit { width: 100%; min-height: 48px; margin-top: 8px; border-radius: 9px; cursor: pointer; font-family: inherit; text-align: center; }
.auth-switch { margin-top: 24px; color: var(--muted); font-size: 14px; text-align: center; }
.auth-switch a { text-decoration: none; }
.resend-panel { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 18px; color: var(--muted); font-size: 14px; }
.resend-panel summary { cursor: pointer; color: var(--muted); }
.compact-form { margin-top: 16px; }
.account-details { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.account-details > div { padding: 16px 18px; display: grid; grid-template-columns: minmax(130px, 0.42fr) 1fr; gap: 18px; border-bottom: 1px solid var(--border); }
.account-details > div:last-child { border-bottom: 0; }
.account-details dt { color: var(--muted); font-size: 13px; font-weight: 650; }
.account-details dd { overflow-wrap: anywhere; color: var(--text); font-size: 14px; }
.verified-badge { border-radius: 99px; padding: 4px 9px; background: rgba(34, 197, 94, 0.12); color: #86efac; font-size: 12px; font-weight: 700; }
.profile-row dd { display: flex; align-items: center; }
.profile-row img { border-radius: 50%; object-fit: cover; }
.account-actions { margin-top: 24px; }
.account-actions button { cursor: pointer; font-family: inherit; }

[hidden] { display: none !important; }

.account-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.account-main {
  min-height: calc(100vh - 64px);
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(74, 124, 255, 0.14), transparent 72%);
}
.account-overview, .account-commerce-section { max-width: 1380px; margin: 0 auto; padding: 42px 28px 0; }
.account-overview-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.account-overview-heading h1 { margin: 6px 0 8px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1px; }
.account-overview-heading p { max-width: 720px; color: var(--muted); }
.account-get-phone { flex: 0 0 auto; text-align: center; }
.owned-phone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.owned-phone-card, .account-empty-state, .account-commerce, .controller-unavailable {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(20, 28, 53, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.owned-phone-card { min-width: 0; padding: 22px; }
.owned-phone-card--selected { border-color: rgba(74, 124, 255, 0.72); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(74, 124, 255, 0.25); }
.owned-phone-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.owned-phone-card__heading h2 { margin-top: 2px; color: #fff; font-size: 19px; line-height: 1.3; }
.owned-phone-card__eyebrow { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; }
.account-status { flex: 0 0 auto; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 750; line-height: 1.25; }
.account-status--success { color: #86efac; background: rgba(34, 197, 94, 0.13); }
.account-status--info { color: #bfdbfe; background: rgba(59, 130, 246, 0.15); }
.account-status--warning { color: #fde68a; background: rgba(245, 158, 11, 0.15); }
.account-status--muted { color: #cbd5e1; background: rgba(148, 163, 184, 0.13); }
.owned-phone-details { overflow: hidden; border-top: 1px solid var(--border); }
.owned-phone-details > div { display: grid; grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.owned-phone-details dt { color: var(--muted); font-size: 12px; font-weight: 650; }
.owned-phone-details dd { overflow-wrap: anywhere; color: var(--text); font-size: 13px; text-align: right; }
.owned-phone-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.owned-phone-card__actions .btn-outline, .owned-phone-card__actions .btn-text { min-height: 42px; }
.btn-text { border: 0; padding: 8px 11px; background: transparent; color: #93adff; cursor: pointer; font: inherit; font-weight: 700; }
.btn-text:hover { color: #fff; }
.account-empty-state { padding: 34px; text-align: center; }
.account-empty-state h2 { color: #fff; font-size: 24px; }
.account-empty-state p { max-width: 620px; margin: 8px auto 20px; color: var(--muted); }
.account-commerce-section { scroll-margin-top: 80px; }
.account-commerce { padding: 28px; scroll-margin-top: 80px; }
.account-commerce__intro { max-width: 780px; margin-bottom: 22px; }
.account-commerce__intro h2 { margin: 5px 0 7px; color: #fff; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; }
.account-commerce__intro p { color: var(--muted); }
.checkout-pending { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; border: 1px solid rgba(74, 124, 255, 0.35); border-radius: 12px; padding: 16px 18px; background: rgba(74, 124, 255, 0.11); }
.checkout-pending strong { color: #fff; }
.checkout-pending p { margin-top: 2px; color: #bac7df; font-size: 13px; }
.checkout-pending .btn-primary { flex: 0 0 auto; cursor: pointer; font-family: inherit; }
.commerce-capacity, .commerce-error { border: 1px solid rgba(239, 68, 68, 0.42); border-radius: 10px; padding: 12px 14px; background: rgba(239, 68, 68, 0.1); color: #fecaca; }
.commerce-capacity { margin-bottom: 20px; font-weight: 700; }
.commerce-error { margin-top: 18px; }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.7fr); align-items: start; gap: 24px; }
.plan-selector { min-width: 0; border: 0; }
.plan-selector legend { margin-bottom: 12px; color: #fff; font-size: 15px; font-weight: 750; }
.plan-selector__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan-option { position: relative; min-width: 0; }
.plan-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.plan-option label { position: relative; display: flex; min-height: 160px; height: 100%; flex-direction: column; gap: 6px; border: 1px solid var(--border); border-radius: 13px; padding: 18px 15px; background: rgba(10, 15, 30, 0.65); cursor: pointer; transition: border-color 0.18s, background 0.18s, transform 0.18s; }
.plan-option label:hover { border-color: rgba(74, 124, 255, 0.58); transform: translateY(-1px); }
.plan-option input:checked + label { border-color: #6f95ff; background: rgba(74, 124, 255, 0.15); box-shadow: inset 0 0 0 1px rgba(111, 149, 255, 0.3); }
.plan-option input:focus-visible + label { outline: 3px solid #93adff; outline-offset: 3px; }
.plan-option input:disabled + label { cursor: not-allowed; opacity: 0.58; transform: none; }
.plan-option__label { color: #d7e0f1; font-size: 14px; font-weight: 700; }
.plan-option strong { margin-top: auto; color: #fff; font-size: 27px; letter-spacing: -0.7px; line-height: 1.1; }
.plan-option__billing { color: var(--muted); font-size: 12px; }
.plan-option__badge { position: absolute; top: 10px; right: 9px; border-radius: 999px; padding: 3px 7px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.order-summary { position: sticky; top: 88px; border: 1px solid rgba(74, 124, 255, 0.28); border-radius: 13px; padding: 20px; background: rgba(10, 15, 30, 0.74); }
.order-summary h3 { margin-bottom: 12px; color: #fff; font-size: 18px; }
.order-summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.order-summary dt { color: var(--muted); font-size: 12px; }
.order-summary dd { max-width: 60%; color: var(--text); font-size: 13px; font-weight: 650; text-align: right; }
.order-summary dl .order-summary__total { margin-top: 4px; border-bottom: 0; padding-top: 13px; }
.order-summary__total dt, .order-summary__total dd { color: #fff; font-size: 16px; font-weight: 800; }
.order-summary__wallets { margin: 8px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.commerce-submit { width: 100%; min-height: 48px; cursor: pointer; font-family: inherit; }
.commerce-submit:disabled, .checkout-pending button:disabled { cursor: wait; opacity: 0.58; }
.controller-unavailable { max-width: 1324px; margin: 34px auto 0; padding: 30px; text-align: center; }
.controller-unavailable h2 { color: #fff; font-size: 25px; }
.controller-unavailable p { max-width: 650px; margin: 8px auto 20px; color: var(--muted); }
.controller-unavailable button { cursor: pointer; font-family: inherit; }
.controller-shell { max-width: 1380px; margin: 0 auto; padding: 42px 28px 54px; }
.controller-heading { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.controller-heading h1, .controller-heading h2 { margin: 6px 0 8px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1px; }
.controller-heading p { max-width: 700px; color: var(--muted); }
.controller-status { flex: 0 0 auto; border: 1px solid rgba(74, 124, 255, 0.35); border-radius: 999px; padding: 8px 13px; background: rgba(74, 124, 255, 0.11); color: #c7d5ff !important; font-size: 13px; font-weight: 650; }
.controller-dashboard { display: grid; grid-template-columns: minmax(260px, 290px) minmax(0, 1fr); align-items: start; gap: 24px; }
.device-panel, .controller-workspace, .compact-account-card { border: 1px solid var(--border); background: rgba(20, 28, 53, 0.96); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.device-panel { position: sticky; top: 88px; border-radius: 14px; padding: 22px; }
.panel-heading h2, .panel-heading h3 { margin-bottom: 5px; color: #fff; font-size: 18px; }
.panel-heading p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.device-list { min-height: 110px; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.device-list-empty { padding: 18px 4px; color: var(--muted); font-size: 13px; }
.device-list button, .device-option { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 13px; display: grid; gap: 3px; background: rgba(10, 15, 30, 0.65); color: var(--text); cursor: pointer; font: inherit; text-align: left; }
.device-list button:hover:not(:disabled), .device-option:hover:not(:disabled) { border-color: rgba(74, 124, 255, 0.55); }
.device-list button[aria-pressed="true"], .device-option.selected { border-color: var(--blue); background: rgba(74, 124, 255, 0.13); }
.device-list button:disabled, .device-option:disabled { cursor: not-allowed; opacity: 0.62; }
.device-name { font-size: 14px; font-weight: 700; }
.device-meta, .device-state { color: var(--muted); font-size: 12px; }
.device-actions { display: grid; gap: 10px; }
.device-actions button { width: 100%; min-height: 44px; cursor: pointer; font-family: inherit; }
.device-actions button:disabled { cursor: not-allowed; filter: saturate(0.4); opacity: 0.55; }
.controller-workspace { min-width: 0; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; align-items: center; }
.phone-stage { position: relative; width: min(100%, 342px); height: min(72vh, 760px); min-height: 430px; aspect-ratio: 9 / 20; overflow: hidden; border: 7px solid #050814; border-radius: 30px; background: #000; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48); }
#phone-canvas { width: 100%; height: 100%; display: block; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
#phone-canvas.is-interactive { cursor: crosshair; }
.phone-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 28px; background: rgba(2, 4, 10, 0.76); color: #fff; pointer-events: none; text-align: center; }
.phone-overlay strong { font-size: 17px; }
.phone-overlay span { color: #aab6ca; font-size: 13px; line-height: 1.5; }
.android-toolbar { width: min(100%, 440px); margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.android-toolbar button { min-height: 48px; border: 1px solid var(--border); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: rgba(10, 15, 30, 0.76); color: var(--text); cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; }
.android-toolbar button:hover:not(:disabled) { border-color: var(--blue); background: rgba(74, 124, 255, 0.12); }
.android-toolbar button:disabled { cursor: not-allowed; opacity: 0.45; }
.android-toolbar button span { color: #b9c7f5; font-size: 21px; line-height: 1; }
.controller-error { width: min(100%, 720px); margin-top: 18px; border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 9px; padding: 11px 13px; background: rgba(239, 68, 68, 0.09); color: #fecaca; font-size: 13px; }
.controller-help { width: min(100%, 720px); margin-top: 18px; border-top: 1px solid var(--border); padding-top: 16px; }
.controller-help p { margin-bottom: 7px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.controller-help strong { color: var(--text); }
.account-profile { padding: 0 24px 80px; }
.compact-account-card { max-width: 920px; margin: 0 auto; border-radius: 14px; padding: 28px; }
.compact-account-card .auth-heading { margin-bottom: 20px; }
.compact-account-card .auth-heading h2 { margin-bottom: 6px; color: #fff; font-size: 24px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-overview-heading { align-items: flex-start; flex-direction: column; }
  .commerce-layout { grid-template-columns: 1fr; }
  .plan-selector__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-summary { position: static; }
  .controller-heading { align-items: flex-start; flex-direction: column; }
  .controller-dashboard { grid-template-columns: 1fr; }
  .device-panel { position: static; }
  .phone-stage { height: min(68vh, 700px); }
}

@media (max-width: 768px) {
  section { padding: 64px 18px; }
  .nav-inner { height: auto; min-height: 56px; padding: 10px 16px; flex-wrap: wrap; row-gap: 10px; }
  .logo { font-size: 18px; }
  .nav-links { order: 2; width: 100%; justify-content: center; flex-wrap: wrap; gap: 14px 18px; }
  .nav-links a { font-size: 13px; white-space: nowrap; }
  .btn-primary { padding: 8px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 22px; }
  .index-main { padding: 42px 18px 64px; }
  .index-main .blog-grid { grid-template-columns: 1fr; }
  .article-container { padding: 36px 18px; }
  .article-body { overflow-x: auto; }
  .article-body table { min-width: 560px; }
  .related-section { padding: 0 18px 52px; }
  .compact-grid { grid-template-columns: 1fr; }
  .footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .support-button { right: 16px; bottom: 16px; }
  .auth-shell { min-height: 600px; padding: 40px 16px 64px; }
  .auth-card, .account-card { padding: 28px 22px; }
  .account-details > div { grid-template-columns: 1fr; gap: 4px; }
  .account-overview, .account-commerce-section { padding-right: 18px; padding-left: 18px; }
  .account-commerce { padding: 22px; }
  .checkout-pending { align-items: stretch; flex-direction: column; }
  .checkout-pending .btn-primary { width: 100%; min-height: 44px; }
}

@media (max-width: 430px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .cases-grid, .features-grid, .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-features-shared { grid-template-columns: 1fr; }
  .pricing-card { min-height: 0; }
  .pricing-duration { min-height: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .account-overview, .account-commerce-section { padding-right: 12px; padding-left: 12px; }
  .account-overview { padding-top: 30px; }
  .account-get-phone { width: 100%; }
  .owned-phone-grid { grid-template-columns: 1fr; }
  .owned-phone-card, .account-commerce { padding: 18px 15px; }
  .owned-phone-card__heading { align-items: flex-start; flex-direction: column; }
  .owned-phone-details > div { grid-template-columns: 1fr; gap: 2px; }
  .owned-phone-details dd { text-align: left; }
  .plan-selector__grid { grid-template-columns: 1fr; }
  .plan-option label { min-height: 124px; }
  .controller-shell { padding-right: 12px; padding-left: 12px; }
  .phone-stage { min-height: min(430px, 68vh); }
  .android-toolbar button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
