/* ============================================
   lonly – landing page styles
   design system: #0A0A0F bg, DM Mono, lowercase
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0F;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-border: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.05);

  --text: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.44);
  --text-subtle: rgba(255, 255, 255, 0.31);

  --purple: #9B5DE5;
  --pink: #F15BB5;
  --blue: #00BBF9;
  --orange: #FF6B35;
  --teal: #00F5D4;
  --red: #FF6B6B;

  --gradient: linear-gradient(135deg, #9B5DE5, #F15BB5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  font-family: 'DM Mono', monospace;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  text-transform: lowercase;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font-family: inherit;
  text-transform: lowercase;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}

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

.nav-link {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta-btn {
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 10px 20px;
  background: var(--gradient);
  border-radius: 100px;
  color: white;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-top: 1px solid var(--surface-border);
  margin-top: 16px;
}

.nav-mobile.open {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(155, 93, 229, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(241, 91, 181, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(155, 93, 229, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(155, 93, 229, 0); }
}

.hero-title {
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: 0.5px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* --- Form / Input Group --- */
.hero-form, .cta-form {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.input-group {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  padding: 4px;
  transition: border-color 0.3s;
}

.input-group:focus-within {
  border-color: rgba(155, 93, 229, 0.4);
}

.hero-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  min-width: 0;
}

.hero-input::placeholder {
  color: var(--text-subtle);
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  border: none;
  border-radius: 100px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform 0.2s;
}

.hero-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.hero-hint {
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 1px;
  margin-top: 12px;
}

@media (max-width: 520px) {
  .input-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    gap: 4px;
  }
  .hero-btn {
    justify-content: center;
    border-radius: var(--radius-md);
  }
  .hero-input {
    text-align: center;
  }
}

/* --- Hero Stats --- */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--surface-border);
}

@media (max-width: 520px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-stat-divider {
    width: 32px;
    height: 1px;
  }
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: rgba(255, 255, 255, 0.01);
}

.section-tag {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 56px;
}

/* --- Steps Grid --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.step-card:hover {
  border-color: rgba(155, 93, 229, 0.2);
  transform: translateY(-2px);
}

.step-number {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.step-icon {
  color: var(--purple);
  margin-bottom: 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* --- Channels Grid --- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .channels-grid { grid-template-columns: 1fr; }
}

.channel-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.channel-card:hover {
  border-color: color-mix(in srgb, var(--channel-color) 30%, transparent);
  transform: translateY(-2px);
}

.channel-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--channel-color) 10%, transparent);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.channel-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Privacy Grid --- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .privacy-grid { grid-template-columns: 1fr; }
}

.privacy-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.privacy-card:hover {
  border-color: rgba(155, 93, 229, 0.15);
}

.privacy-icon {
  color: var(--purple);
  margin-bottom: 14px;
}

.privacy-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.privacy-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Plus Section --- */
.plus-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(155, 93, 229, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.plus-price-wrap {
  margin-bottom: 32px;
}

.plus-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(155, 93, 229, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.plus-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.plus-amount {
  font-size: 48px;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plus-price-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plus-currency {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.plus-period {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.plus-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.plus-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.plus-note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-border);
}

/* --- CTA Section --- */
.section-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(155, 93, 229, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  position: relative;
}

.cta-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.trust-item svg {
  color: var(--purple);
  flex-shrink: 0;
}

/* --- Success Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #12121a;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-icon {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.modal-btn {
  background: var(--gradient);
  border: none;
  border-radius: 100px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 14px 32px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-btn:hover {
  opacity: 0.9;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 60px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 40px; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-links-grid {
  display: flex;
  gap: 56px;
}

@media (max-width: 520px) {
  .footer-links-grid { flex-direction: column; gap: 32px; }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.5px;
}

.footer-age {
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.5px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
::selection {
  background: rgba(155, 93, 229, 0.3);
  color: white;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Loading state for button --- */
.hero-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.hero-btn.loading .btn-text {
  visibility: hidden;
}

.hero-btn.loading .btn-arrow {
  visibility: hidden;
}

.hero-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-btn {
  position: relative;
}
