/* Nexwa visual refresh. Loaded after page styles on every public route.
   The original page backgrounds and WebGL artwork remain in their own styles. */
:root {
  --surface-outline: color-mix(in srgb, var(--brand-primary) 12%, var(--border-primary));
  --surface-shadow: 0 12px 48px -30px rgba(35, 20, 65, .24);
}
[data-theme="dark"] {
  --surface-shadow: 0 18px 60px -32px rgba(0, 0, 0, .55);
}

/* Shared navigation and controls */
.nav-wordmark { font-size: 1.65rem; text-transform: none; letter-spacing: -.065em; }
.nav-link { font-size: .9rem; font-weight: 500; }
.nav-action-primary { min-height: 40px; padding-inline: 22px; }
.theme-toggle { border-color: transparent; background: transparent; }
.language-switcher-button { font-family: var(--font-body); letter-spacing: .02em; border-color: transparent; }
@media (min-width: 901px) {
  .nav-links { background: transparent; border-color: transparent; gap: 8px; }
  .nav-link { min-height: 42px; padding-inline: 20px; }
  .nav-link.active { background: var(--bg-tertiary); box-shadow: none; color: var(--text-primary); }
}
.btn { min-height: 44px; font-weight: 600; white-space: normal; text-align: center; }
.btn-sm { min-height: 38px; }
.btn-lg { min-height: 54px; padding: 15px 27px; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { box-shadow: 0 8px 24px -12px rgba(var(--brand-rgb), .5); }
.btn-secondary { background: var(--bg-glass); }
.btn-google, .btn-google:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-secondary);
  box-shadow: none;
  border-radius: var(--radius-btn);
  transform: none;
}
.btn-google:hover { background: var(--bg-tertiary); }
.btn-google-icon-wrapper { box-shadow: none; background: transparent; }
.form-label, .form-section-title, .summary-panel-title,
.footer-heading,
.service-meta-item dt, .service-card-tag, .badge {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.form-label { color: var(--text-primary); font-size: .875rem; font-weight: 500; margin-bottom: 9px; }
.input, .select, .textarea { background-color: var(--bg-primary); border-color: transparent; font-weight: 400; }
.input, .select { min-height: 52px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-secondary); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-primary); }
.form-hint { line-height: 1.6; }
.badge { font-size: .72rem; }
.card, .smm-card, .service-card, .modal {
  border-color: var(--surface-outline);
  box-shadow: var(--surface-shadow);
}
.card:hover { transform: none; box-shadow: var(--surface-shadow); }

/* Home: large opening statement with a working account panel. */
.hero {
  min-height: 0;
  padding: clamp(56px, 7vw, 100px) 0 64px;
}
.hero-container { grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); }
.hero h1 {
  font-size: clamp(3rem, 5.15vw, 4.6rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 26px;
}
.hero h1 .accent {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(100deg, var(--brand-primary) 10%, var(--ember) 48%, var(--violet-700) 72%, var(--brand-primary) 95%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: title-light 8s linear infinite;
}
[data-theme="dark"] .hero h1 .accent { background-image: linear-gradient(100deg, var(--violet-300) 10%, var(--ember) 48%, var(--violet-500) 72%, var(--violet-300) 95%); }
.hero-subtitle { max-width: 48ch; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.85; margin-bottom: 28px; }
.hero-stats { gap: 0; padding: 24px 0; margin-bottom: 22px; border: 0; }
.stat-item { flex: 1; gap: 8px; padding-inline: 18px; }
.stat-item:first-child { padding-left: 0; }
.stat-item + .stat-item { border: 0; }
.stat-item strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 650; }
.stat-item span { font-family: var(--font-body); font-size: .73rem; text-transform: none; letter-spacing: 0; color: var(--text-secondary); }
.hero-actions { gap: 12px; }
.hero-visual { width: 100%; min-height: 0; max-width: none; }
.hero-orb { z-index: -1; }
.hero-orb-one { top: -8%; right: -8%; width: 80%; opacity: .65; }
.hero-orb-two { bottom: -4%; left: -5%; width: 60%; opacity: .35; }
.auth-card.home-login-card {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--surface-outline);
  background: var(--bg-elevated);
  border-radius: 28px;
  box-shadow: 0 0 80px -28px rgba(var(--brand-rgb), .3), var(--surface-shadow);
}
.home-login-card h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.035em; margin-bottom: 26px; }
.home-login-card .form-group { margin-bottom: 18px; }
.home-login-card .btn-primary { background: var(--text-primary); color: var(--bg-primary); }
.home-login-card .btn-primary:hover { background: var(--brand-primary); color: #fff; }
.auth-divider { text-transform: none; font-weight: 400; letter-spacing: 0; margin: 18px 0; }
.auth-footer { text-align: center; margin-top: 24px; font-size: .82rem; line-height: 1.75; }
.auth-footer a { font-weight: 600; color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.otp-section { display: none; }
.otp-section.active { display: block; }
/* Centered section introductions, platform tiles, payment band and FAQ. */
.section { padding: clamp(60px, 7vw, 100px) 0; }
.section-header { max-width: 740px; margin: 0 auto 42px; text-align: center; }
.section-header h2 { text-transform: none; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.18; letter-spacing: -.045em; }
.section-header p { margin-inline: auto; font-size: 1rem; line-height: 1.8; }
.section-header .kicker { display: none; }
.trust-strip { padding: 36px 0 42px; }
.trust-label { font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--text-secondary); margin-bottom: 24px; }
.trust-platforms { gap: 10px; }
.trust-marquee-group { padding-right: 10px; }
.trust-platforms li { padding: 12px 18px; border: 1px solid var(--border-primary); border-radius: 12px; background: var(--bg-elevated); font-size: .85rem; font-weight: 500; opacity: 1; }
.smm-card { padding: 30px; gap: 26px; border-radius: 24px; }
.smm-card-header h3 { text-transform: none; font-size: 1.35rem; font-weight: 650; }
.smm-features li { line-height: 1.8; }
.smm-card-footer { padding-top: 22px; border-top: 1px solid var(--border-primary); }
.smm-card .price { font-size: 1.8rem; }
.smm-card:hover { transform: translateY(-3px); box-shadow: var(--surface-shadow); }
.pay-band { background: var(--bg-elevated); border-color: var(--surface-outline); border-radius: 24px; align-items: center; }
.pay-methods { align-content: center; gap: 12px; }
.pay-methods li { padding: 14px 18px; font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: -.02em; text-transform: none; border-radius: 12px; background: var(--bg-primary); }
.pay-assurances li { align-items: center; line-height: 1.65; }
.step { background: var(--bg-elevated); border: 1px solid var(--surface-outline); border-radius: 24px; padding: 30px; }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--brand-primary-soft); font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; letter-spacing: -.04em; margin-bottom: 26px; }
.step-number::before, .step-number::after { content: none; }
.step h3, .why-item h3 { text-transform: none; font-weight: 600; line-height: 1.4; }
.step h3 { font-size: 1.2rem; }
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; background: none; border: 0; border-radius: 0; overflow: visible; }
.why-item { border: 1px solid var(--surface-outline); border-radius: 24px; background: var(--bg-elevated); padding: 26px; overflow: hidden; }
.why-item::after { display: none; }
.why-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--brand-primary-soft); color: var(--brand-primary); filter: none; }
.why-icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.08rem; }
.faq-list { gap: 12px; max-width: 850px; margin-inline: auto; border: 0; }
.faq-item { border: 1px solid var(--surface-outline); border-radius: 16px; background: var(--bg-elevated); overflow: hidden; }
.faq-item.open { border-color: rgba(var(--brand-rgb), .35); }
.faq-question, .faq-question:hover { padding: 22px 24px; font-size: 1rem; font-weight: 550; line-height: 1.5; }
.faq-chevron { border: 0; background: var(--bg-primary); }
.faq-answer-content { padding: 0 24px 24px; line-height: 1.85; }
.cta-banner { border-radius: 30px; padding-block: 68px; }
.cta-banner h2 { text-transform: none; font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 650; }
.cta-banner p { font-size: 1rem; line-height: 1.8; }

/* Account access and all transactional / legal states. */
.auth-page { padding: 64px 24px; min-height: calc(100svh - var(--nav-height)); }
.auth-card, .callback-card, .success-card, .legal-card {
  border: 1px solid var(--surface-outline);
  border-radius: 28px;
  box-shadow: var(--surface-shadow);
}
.auth-card.glass-card-premium, .callback-card.glass-card-premium, .success-card.glass-card-premium {
  background: color-mix(in srgb, var(--bg-elevated) 93%, transparent);
  border-color: var(--surface-outline);
  box-shadow: var(--surface-shadow);
}
.auth-card { padding: 38px; background: color-mix(in srgb, var(--bg-elevated) 93%, transparent); }
.auth-card h1, .legal-card h1, .success-card h1, .callback-title { text-transform: none; line-height: 1.2; letter-spacing: -.04em; }
.auth-card h1 { font-size: 1.9rem; text-align: left; margin-bottom: 14px; }
.auth-card .auth-subtitle { text-align: left; line-height: 1.75; margin-bottom: 28px; }
.auth-card .input { background: var(--bg-primary); }
.callback-card, .success-card { background: var(--bg-elevated); }
.legal-page { padding: 64px 0; }
.legal-card { max-width: 900px; background: var(--bg-elevated); padding: clamp(24px, 5vw, 64px); }
.legal-card h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-card h2 { font-size: 1.35rem; line-height: 1.4; }
.legal-card .updated { padding-bottom: 26px; }
.legal-card p, .legal-card li { line-height: 1.9; }
.success-card { width: 100%; max-width: 560px; }
.order-number-display { border-radius: 14px; overflow-wrap: anywhere; max-width: 100%; }
.not-found-glass-card { border-radius: 30px; }
.not-found-title { text-transform: none; }
.not-found-btn { border-radius: var(--radius-btn); }

/* Checkout and the complete signed-in workspace. */
.checkout-container { padding-top: 42px; }
.checkout-page-header { margin-bottom: 30px; }
.checkout-page-header h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.checkout-page .service-card, .form-section, .summary-panel { border: 1px solid var(--surface-outline); border-radius: 24px; padding: 26px; box-shadow: var(--surface-shadow); }
.checkout-page .form-label { font-size: .875rem; }
.checkout-page .input { border-color: var(--border-primary); border-radius: 14px; }
.payment-card-body { border-radius: 16px; }
.qty-preset { border-radius: 10px; }
.summary-panel-title { font-size: 1rem; }
.account-page { padding-top: 44px; }
.account-header { padding-bottom: 28px; border-bottom: 1px solid var(--border-primary); }
.account-header h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
.account-sidebar { padding: 24px 16px; border-radius: 24px; background: var(--bg-elevated); border-color: var(--surface-outline); }
.account-nav a { border-radius: 12px; font-size: .85rem; }
.account-nav a.active { font-weight: 600; }
.account-section .card { border-radius: 24px; border-color: var(--surface-outline); box-shadow: var(--surface-shadow); padding: 26px; }
.account-section .card h3 { font-weight: 600; }
.account-eyebrow, .card-kicker { font-family: var(--font-body); letter-spacing: .05em; font-size: .7rem; }
.section-heading h2 { font-weight: 650; line-height: 1.25; }
.section-heading p:not(.account-eyebrow) { line-height: 1.7; }
.section-tag { border-radius: 10px; }
.orders-table th { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: .75rem; }
.support-layout, .support-create { border-radius: 22px; border-color: var(--surface-outline); }
.support-ticket { border-radius: 14px; }
.support-conversation { background: var(--bg-elevated); }
.support-create .form-input, .support-reply .form-input { border-radius: 14px; }
.developer-steps a, .toggle-switch { border-radius: 16px; }

/* Footer, feedback and small screens. */
.footer { margin-top: 32px; padding-top: 60px; }
.footer-heading { font-size: .875rem; font-weight: 600; color: var(--text-primary); }
.footer-links a { font-size: .85rem; }
.footer-brand-logo { width: 70px; }
.footer-bottom { font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.cookie-banner { border-radius: 18px; padding: 18px 20px; }
.modal { border-radius: 24px; }
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 32px; }
  .hero h1 { font-size: clamp(2.7rem, 5vw, 3.6rem); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { padding-top: 48px; padding-bottom: 36px; }
  .hero-container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-content { max-width: 680px; margin-inline: auto; width: 100%; }
  .hero h1 { font-size: clamp(2.8rem, 7.5vw, 4rem); }
  .hero-visual { max-width: 680px; min-height: 0; margin-inline: auto; }
  .hero-actions .btn { flex: 0 1 auto; }
  .section { padding-block: 60px; }
  .account-sidebar { padding: 16px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.4rem, 10.2vw, 3.5rem); letter-spacing: -.055em; }
  .hero-subtitle { font-size: .98rem; line-height: 1.8; }
  .hero-stats { padding-block: 20px; }
  .stat-item { padding-inline: 12px; }
  .stat-item span { font-size: .67rem; }
  .hero-actions .btn { flex: 1 1 0; padding-inline: 12px; font-size: .9rem; }
  .auth-card.home-login-card { padding: 24px; border-radius: 22px; }
  .home-login-card h2 { font-size: 1.4rem; }
  .trust-platforms { gap: 8px; }
  .trust-platforms li { padding: 10px 12px; font-size: .78rem; }
  .section-header { margin-bottom: 30px; }
  .section-header h2 { text-transform: none; font-size: 1.9rem; }
  .section-header p { font-size: .92rem; }
  .smm-card, .step, .why-item { padding: 26px; border-radius: 20px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pay-band { padding: 24px; gap: 26px; }
  .pay-methods { gap: 8px; }
  .pay-methods li { padding: 11px 14px; font-size: .78rem; }
  .faq-question, .faq-question:hover { padding: 18px; font-size: .92rem; }
  .faq-answer-content { padding: 0 18px 20px; }
  .cta-banner { padding: 42px 24px; border-radius: 24px; }
  .auth-page { padding: 36px 20px; }
  .auth-card { padding: 26px; border-radius: 24px; }
  .auth-card h1 { font-size: 1.65rem; }
  .legal-page { padding-block: 36px; }
  .legal-card { border-radius: 22px; }
  .success-page, .callback-page { padding: 24px 20px; }
  .success-card, .callback-card { padding: 32px 24px; }
  .checkout-page .service-card, .form-section, .summary-panel { padding: 20px; border-radius: 20px; }
  .checkout-container { padding-top: 30px; }
  .account-page { padding-top: 28px; }
  .account-section .card { padding: 22px; border-radius: 20px; }
  .account-header { padding-bottom: 22px; }
  .footer { margin-top: 20px; padding-top: 44px; }
  .footer-grid { gap: 32px; }
}

/* Shared footer: product, account, documentation, support and legal navigation. */
.footer-grid-updated { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-8) var(--space-5); }
.footer-grid-updated > * { min-width:0; }
.footer-grid-updated .footer-brand { grid-column:1/-1; }
.footer-grid-updated .footer-group--legal { grid-column:1/-1; }
.footer-grid-updated .footer-brand p { max-width:30ch; }
.footer-grid-updated .footer-links { gap:0; }
.footer-grid-updated .footer-links a { display:inline-flex; align-items:center; min-height:var(--space-12); max-width:100%; padding-block:var(--space-1); line-height:var(--leading-normal); overflow-wrap:anywhere; }
.footer-grid-updated .footer-heading { margin-bottom:var(--space-4); line-height:var(--leading-normal); overflow-wrap:anywhere; }
.footer-grid-updated .footer-links a:focus-visible { outline:2px solid var(--brand-primary); outline-offset:var(--space-1); border-radius:var(--radius-sm); }
@media(min-width:768px) {
  .footer-grid-updated { grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--space-8); }
  .footer-grid-updated .footer-group--legal { grid-column:auto; }
}
@media(min-width:1101px) {
  .footer-grid-updated { grid-template-columns:minmax(0,1.4fr) repeat(5,minmax(0,1fr)); }
  .footer-grid-updated .footer-brand { grid-column:auto; }
}
