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

:root {
  --bg: #0f0f0f;
  --bg-2: #1a1a1a;
  --bg-3: #222;
  --stroke: rgba(255,255,255,0.06);
  --stroke-2: rgba(255,255,255,0.08);
  --stroke-active: rgba(12,139,226,0.25);
  --white: #ffffff;
  --grey: #828282;
  --grey-2: #5a5a5a;
  --grey-3: #3a3a3a;
  --blue: #0c8be2;
  --blue-2: #2979f0;
  --blue-light: #45a0e0;
  --blue-dark: #05141f;
  --green: #3acb6a;
  --green-bg: rgba(58,203,106,0.12);
  --red: #cb3a3a;
  --red-light: #ff6b6b;
  --red-bg: rgba(203,58,58,0.10);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 999px;
  --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 12px 38px rgba(0,0,0,0.28);
  --glass: rgba(30,30,30,0.6);
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

body::selection {
  background-color: rgba(12,139,226,0.45);
}

.ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

.blob-top {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.blob-bottom {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
}

.top-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo svg {
  color: var(--blue);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: filter 0.2s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-cta:hover {
  filter: brightness(1.15);
}

.nav-cta:active {
  transform: scale(0.97);
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
}

.hero-content {
  max-width: 720px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(12,139,226,0.12);
  border: 1px solid var(--stroke-active);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge svg {
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--grey);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: var(--bg-3);
  color: var(--white);
  border: 1px solid var(--stroke);
}

.btn-secondary:hover {
  background: var(--grey-3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover {
  background: rgba(12,139,226,0.08);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 500;
}

section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey);
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-active);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,139,226,0.1);
  border-radius: 14px;
  color: var(--blue);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.5;
}

.pricing {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(12,139,226,0.03) 50%, var(--bg) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-2);
  border: 1.5px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.price-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.price-card.popular {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(12,139,226,0.08) 0%, var(--bg-2) 100%);
  position: relative;
}

.price-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 8px;
}

.price-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.price-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  background: rgba(12,139,226,0.15);
  color: var(--blue-light);
  border-radius: var(--radius-xl);
  white-space: nowrap;
}

.popular-badge {
  background: var(--blue);
  color: #fff;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--grey-2);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
  padding: 0;
}

.price-features li {
  font-size: 0.85rem;
  color: var(--grey);
  padding: 8px 0;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li svg {
  color: var(--green);
  flex-shrink: 0;
}

.price-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  padding: 20px 32px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-icon {
  color: var(--blue);
  flex-shrink: 0;
}

.pricing-guarantee p {
  font-size: 0.9rem;
  color: var(--grey);
  margin: 0;
}

.trial-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.trial-content {
  max-width: 480px;
}

.trial-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.trial-desc {
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 24px;
  line-height: 1.5;
}

.trial-btn {
  padding: 14px 28px;
}

.trial-visual {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}

.trial-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,139,226,0.2) 0%, transparent 70%);
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

.trial-circle.second {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(69,160,224,0.15) 0%, transparent 70%);
  animation-delay: -3s;
  top: 40px;
  left: 40px;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -20px); }
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.resource-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.resource-card:hover:not(.disabled) {
  border-color: var(--stroke-active);
  transform: translateY(-3px);
}

.resource-card.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.resource-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 16px;
  color: #fff;
}

.resource-icon.telegram { background: #0088cc; }
.resource-icon.appstore { background: #555; }
.resource-icon.playmarket { background: #555; }
.resource-icon.windows { background: #0078d4; }

.resource-icon svg {
  width: 22px;
  height: 22px;
}

.resource-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.resource-desc {
  font-size: 0.85rem;
  color: var(--grey);
  flex: 1;
}

.resource-arrow,
.resource-status {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--blue);
}

.resource-arrow svg {
  width: 16px;
  height: 16px;
}

.resource-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-3);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--grey-2);
}

.support {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.support-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-desc {
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 28px;
  line-height: 1.5;
}

.support-btn {
  padding: 14px 32px;
}

.footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--stroke);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey-2);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.key-modal-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,139,226,0.12);
  border-radius: 50%;
  color: var(--blue);
}

.key-modal-icon svg {
  width: 24px;
  height: 24px;
}

.key-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.key-modal-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}

.key-modal-value {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  word-break: break-all;
  user-select: all;
  width: 100%;
  text-align: center;
  letter-spacing: 0.5px;
}

.key-modal-copy {
  width: 100%;
}

.key-modal-warning {
  font-size: 0.75rem;
  color: var(--red-light);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.key-modal-warning svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.key-modal-close {
  width: 100%;
  margin-top: 4px;
}

.acc-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 1;
}

.acc-auth {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.acc-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
}

.acc-auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 36px;
}

.acc-auth-brand svg {
  color: var(--blue);
}

.acc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.acc-key-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.acc-key-input::placeholder {
  color: var(--grey-2);
}

.acc-key-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,139,226,0.15);
}

.acc-btn {
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.acc-btn svg {
  flex-shrink: 0;
}

.acc-btn:active {
  transform: scale(0.97);
}

.acc-btn-primary {
  background: var(--blue);
  color: #fff;
}

.acc-btn-primary:hover {
  filter: brightness(1.15);
}

.acc-btn-primary.loading {
  opacity: 0.6;
  pointer-events: none;
}

.acc-btn-secondary {
  background: var(--bg-3);
  color: rgba(255,255,255,0.8);
  border: 1px solid var(--stroke);
}

.acc-btn-secondary:hover {
  background: var(--grey-3);
}

.acc-btn-ghost {
  background: transparent;
  color: var(--grey);
  height: 40px;
  padding: 0 16px;
  font-weight: 500;
  border: 1px solid transparent;
}

.acc-btn-ghost:hover {
  color: var(--red-light);
  border-color: rgba(203,58,58,0.2);
}

.acc-btn-full {
  width: 100%;
}

.acc-auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--grey-2);
  font-size: 13px;
  margin-bottom: 20px;
}

.acc-auth-divider::before,
.acc-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stroke);
}

.acc-auth-note {
  color: var(--grey-2);
  font-size: 12px;
  margin-top: 16px;
  margin-bottom: 0;
}

.acc-dash {
  width: 100%;
  max-width: 560px;
}

.acc-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.acc-dash-user {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.acc-dash-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.acc-dash-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.acc-dash-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-dash-id {
  font-size: 13px;
  color: var(--grey-2);
}

.acc-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
}

.acc-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.acc-card-head svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.acc-key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
}

.acc-key-val {
  flex: 1;
  font-size: 14px;
  color: var(--blue);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  letter-spacing: 0.02em;
  word-break: break-all;
  line-height: 1.4;
}

.acc-key-copy {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: var(--bg-2);
  color: var(--grey-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.acc-key-copy:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.acc-key-copy.copied {
  background: var(--green-bg);
  color: var(--green);
}

.acc-key-warn {
  font-size: 12px;
  color: var(--grey-2);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acc-key-warn svg {
  color: var(--red-light);
  flex-shrink: 0;
}

.acc-sub-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--grey);
  margin-bottom: 12px;
}

.acc-sub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(58,203,106,0.5);
}

.acc-sub-dot.inactive {
  background: var(--grey-2);
  box-shadow: none;
}

.acc-sub-days {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.acc-sub-count {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.acc-sub-label {
  font-size: 16px;
  color: var(--grey);
}

.acc-sub-expire {
  font-size: 14px;
  color: var(--grey-2);
}

.acc-sub-expire b {
  color: var(--white);
  font-weight: 600;
}

.acc-sub-expire.blurred {
  opacity: 0.4;
}

.acc-card-sub {
  position: relative;
  overflow: hidden;
}

.acc-card-sub::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: rgba(12,139,226,0.25);
  filter: blur(70px);
  border-radius: 50%;
  pointer-events: none;
}

.acc-card-sub > * {
  position: relative;
  z-index: 1;
}

.acc-dev-add {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: var(--bg-3);
  color: var(--grey-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.acc-dev-add:hover {
  background: rgba(12,139,226,0.15);
  color: var(--blue);
}

.acc-dev-add:active {
  transform: scale(0.92);
}

.acc-dev-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--grey-2);
}

.acc-dev-empty svg {
  opacity: 0.3;
  margin-bottom: 4px;
}

.acc-dev-empty p {
  font-size: 15px;
  color: var(--grey);
  margin: 0;
}

.acc-dev-empty span {
  font-size: 13px;
  color: var(--grey-2);
}

.acc-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.acc-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.acc-plan:hover {
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}

.acc-plan.active {
  border-color: var(--blue);
  background: rgba(12,139,226,0.1);
  color: var(--white);
}

.acc-plan-val {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.acc-plan-unit {
  font-size: 11px;
  color: inherit;
  opacity: 0.6;
}

.acc-plan-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 2px;
}

.acc-plan.active .acc-plan-price {
  color: var(--blue-light);
}

.acc-pay-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: var(--bg-3);
  border-radius: 12px;
  padding: 4px;
  position: relative;
}

.acc-pay-bg {
  display: none;
}

.acc-pay-opt {
  flex: 1;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--grey-2);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.acc-pay-opt.active {
  background: rgba(12,139,226,0.15);
  color: var(--blue);
}

.acc-pay-opt:hover:not(.active) {
  color: var(--grey);
}

.device-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke);
  cursor: pointer;
  transition: opacity 0.2s;
}

.device-item:last-child {
  border-bottom: none;
}

.device-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--grey);
}

.device-item-icon svg {
  width: 18px;
  height: 18px;
}

.device-item-info {
  flex: 1;
  min-width: 0;
}

.device-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-item-sub {
  font-size: 12px;
  color: var(--grey-2);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-item-chev {
  color: var(--grey-2);
  transition: transform 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.device-item-chev svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.device-item.expanded .device-item-chev {
  transform: rotate(90deg);
}

.device-item.expanded {
  border-color: var(--stroke-active);
}

.device-settings-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-item.expanded + .device-settings-panel,
.device-settings-panel.expanded {
  max-height: 200px;
  opacity: 1;
  padding: 12px 0;
}

.device-settings-row {
  display: flex;
  gap: 8px;
}

.device-name-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: var(--white);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  min-width: 0;
}

.device-name-input:focus {
  border-color: var(--blue);
}

.device-name-save {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: rgba(12,139,226,0.12);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.device-name-save:hover {
  background: rgba(12,139,226,0.22);
}

.device-name-save.saved {
  background: var(--green-bg);
  color: var(--green);
}

.device-delete-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(203,58,58,0.2);
  background: transparent;
  color: var(--red-light);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.device-delete-btn:hover {
  background: var(--red-bg);
}

.device-confirm-box {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-confirm-box.show {
  max-height: 50px;
  opacity: 1;
}

.device-confirm-text {
  font-size: 13px;
  color: var(--grey);
  flex: 1;
}

.device-confirm-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.device-confirm-cancel {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--grey);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
}

.device-confirm-ok {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: none;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
}

.device-confirm-ok:hover {
  filter: brightness(1.1);
}

.acc-card.hidden,
.acc-dash.hidden,
.acc-auth.hidden,
.acc-dev-empty.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid,
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-nav {
    top: 12px;
    width: 96vw;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
    margin-top: 8px;
    background: var(--blue);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    gap: 32px;
  }

  section {
    padding: 64px 20px;
  }

  .features-grid,
  .pricing-grid,
  .resources-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .trial-banner {
    flex-direction: column;
    text-align: center;
    padding: 48px 28px;
  }

  .trial-visual {
    order: -1;
    width: 160px;
    height: 160px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .acc-page {
    padding: 100px 16px 40px;
  }

  .acc-auth-card {
    padding: 32px 24px;
  }

  .acc-card {
    padding: 16px;
  }

  .acc-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .acc-dash-name {
    font-size: 15px;
  }

  .acc-sub-count {
    font-size: 30px;
  }

  .acc-key-input {
    height: 48px;
    font-size: 14px;
  }

  .acc-btn {
    height: 48px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .price-value {
    font-size: 2rem;
  }

  .trial-title {
    font-size: 1.4rem;
  }

  .acc-auth-card {
    padding: 24px 16px;
  }

  .acc-plan-grid {
    gap: 6px;
  }

  .acc-plan {
    padding: 10px 6px;
  }

  .acc-plan-val {
    font-size: 18px;
  }

  .pricing-guarantee {
    padding: 16px 20px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .modal-content {
    padding: 24px 20px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .price-card {
    padding: 24px 16px;
  }

  .trial-banner {
    padding: 36px 20px;
  }

  .acc-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}