/* MyClaw Landing Page — Minimalist Premium */

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

:root {
  --fg: #1a1a1a;
  --bg: #faf9f7;
  --accent: #2d5bff;
  --accent-light: #e8edff;
  --muted: #999;
  --border: #e8e6e3;
  --card: #fff;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   Nav
   ======================================== */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
  border-bottom: 1px solid var(--border);
}

.landing-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  text-decoration: none;
  color: var(--fg);
}

.landing-logo span { color: var(--accent); }

.landing-nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.landing-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-dark {
  background: var(--fg);
  color: #fff;
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.btn-light:hover { border-color: var(--fg); }

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

.btn-blue:hover {
  background: #1d4bef;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45, 91, 255, 0.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Hero — Asymmetric Split
   ======================================== */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 90vh;
  border-bottom: 1px solid var(--border);
}

.hero-left {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.hero-right {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--card);
  position: relative;
  overflow: hidden;
}

.overline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.serif-italic {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

/* ========================================
   Telegram Mockup
   ======================================== */
.telegram-mockup {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
}

.tg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.tg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #00cc88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.tg-name { font-weight: 700; font-size: 15px; }
.tg-status { font-size: 12px; color: #00cc88; }

.tg-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}

.msg-bot {
  background: #fff;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ========================================
   Marquee Bar
   ======================================== */
.marquee-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-size: 14px;
  color: var(--muted);
  padding: 0 40px;
}

.marquee-track span::before {
  content: '\2726  ';
  color: var(--accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 100px 64px;
}

.section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 56px;
  max-width: 520px;
}

/* ========================================
   Bento Feature Grid
   ======================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(45, 91, 255, 0.06);
}

.bento-card.span-2 { grid-column: span 2; }
.bento-card.tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.bento-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.big-stat {
  font-size: 80px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-top: 32px;
  letter-spacing: -4px;
  font-family: 'DM Serif Display', serif;
}

.version-trail {
  font-size: 48px;
  color: var(--accent);
  opacity: 0.15;
  font-family: 'DM Serif Display', serif;
  white-space: nowrap;
}

/* ========================================
   How It Works — Dark Section
   ======================================== */
.how-section {
  background: var(--fg);
  color: #fff;
}

.how-section .overline { color: rgba(255, 255, 255, 0.4); }
.how-section h2 { color: #fff; }
.how-section .section-sub { color: rgba(255, 255, 255, 0.5); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.how-num {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: 16px;
}

.how-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ========================================
   Pricing
   ======================================== */
.pricing-section { text-align: center; }
.pricing-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.p-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s;
}

.p-card:hover { border-color: var(--accent); }

.p-card.pop {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(45, 91, 255, 0.12);
  position: relative;
}

.p-card.pop::after {
  content: 'Recommended';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.p-name {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.p-price {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  letter-spacing: -2px;
}

.p-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.p-specs {
  margin: 20px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

.p-list {
  margin: 20px 0 28px;
}

.p-list div {
  font-size: 13px;
  color: var(--fg);
  padding: 4px 0;
}

.p-list div::before {
  content: '\2192  ';
  color: var(--accent);
}

/* ========================================
   CTA Band
   ======================================== */
.cta-band {
  background: var(--accent);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  padding: 80px 64px;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-top: 12px;
}

.cta-band-right { text-align: right; }

.btn-white {
  background: #fff;
  color: var(--accent);
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Footer
   ======================================== */
.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 64px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.landing-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.landing-footer a:hover { color: var(--fg); }

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

/* ========================================
   Legal Content (Privacy, Terms)
   ======================================== */
.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal-effective {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.legal-content li {
  margin-bottom: 4px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .landing-nav { padding: 16px 24px; }
  .landing-nav-links { gap: 20px; }

  .hero { grid-template-columns: 1fr; }
  .hero-left {
    padding: 48px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-right { padding: 48px 24px; }

  .section { padding: 64px 24px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }

  .how-grid { grid-template-columns: 1fr; gap: 32px; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 380px; }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 48px 24px;
  }
  .cta-band-right { text-align: center; }

  .landing-footer {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .landing-nav-links a:not(.btn) { display: none; }
  .big-stat { font-size: 56px; }
}
