/* MR KING Tools — Website Styles */
/* Unique: asymmetric grid, corner bracket accents, stacked hero, numbered tool list */

:root {
  --mkt-teal-deep: #002B24;
  --mkt-teal: #004D40;
  --mkt-amber: #FFB300;
  --mkt-amber-light: #FFCA28;
  --mkt-surface: #0A1F1C;
  --mkt-card: #122A26;
  --mkt-text: #E0F2F1;
  --mkt-text-dim: #80CBC4;
  --mkt-divider: #1B3B35;
  --mkt-radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--mkt-surface);
  color: var(--mkt-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- NAV ---- */
.mkt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 31, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mkt-divider);
}

.mkt-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

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

.mkt-logo-icon {
  border-radius: 10px;
}

.mkt-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mkt-amber);
  letter-spacing: 0.5px;
}

.mkt-nav-links {
  display: flex;
  gap: 28px;
}

.mkt-nav-links a {
  color: var(--mkt-text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.25s;
}

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

/* ---- HERO ---- */
.mkt-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 90vh;
}

.mkt-hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--mkt-text);
}

.mkt-accent {
  color: var(--mkt-amber);
}

.mkt-hero-subtitle {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--mkt-text-dim);
  max-width: 440px;
  line-height: 1.7;
}

.mkt-hero-badges {
  margin-top: 32px;
}

.mkt-badge-link {
  text-decoration: none;
}

.mkt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mkt-amber);
  color: var(--mkt-teal-deep);
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mkt-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.25);
}

/* Phone mockup */
.mkt-hero-visual {
  display: flex;
  justify-content: center;
}

.mkt-phone-mockup {
  width: 260px;
  height: 480px;
  background: var(--mkt-teal-deep);
  border-radius: 32px;
  border: 3px solid var(--mkt-divider);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.mkt-phone-screen {
  display: flex;
  height: 100%;
}

.mkt-mock-rail {
  width: 48px;
  background: rgba(0, 43, 36, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  gap: 28px;
  border-right: 1px solid var(--mkt-divider);
}

.mkt-mock-rail-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--mkt-text-dim);
  opacity: 0.4;
}

.mkt-mock-rail-item.active {
  opacity: 1;
  color: var(--mkt-amber);
  background: rgba(255, 179, 0, 0.12);
}

.mkt-mock-content {
  flex: 1;
  padding: 60px 16px 16px;
}

.mkt-mock-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mkt-amber);
  margin-bottom: 12px;
}

.mkt-mock-chip-row {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.mkt-mock-chip {
  font-size: 0.6rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--mkt-divider);
  color: var(--mkt-text-dim);
}

.mkt-mock-chip.active {
  background: rgba(255, 179, 0, 0.2);
  color: var(--mkt-amber);
  font-weight: 600;
}

.mkt-mock-field {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-divider);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--mkt-text);
  margin-bottom: 8px;
}

.mkt-mock-swap {
  text-align: center;
  font-size: 1.4rem;
  color: var(--mkt-amber);
  margin: 4px 0;
}

.mkt-mock-result {
  background: rgba(255, 179, 0, 0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--mkt-amber);
}

/* ---- FEATURES ---- */
.mkt-section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--mkt-text);
}

.mkt-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.mkt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.mkt-feature-card {
  background: var(--mkt-card);
  border: 1px solid var(--mkt-divider);
  border-radius: var(--mkt-radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.2s;
}

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

.mkt-feature-icon {
  color: var(--mkt-amber);
  margin-bottom: 16px;
}

.mkt-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--mkt-text);
}

.mkt-feature-card p {
  font-size: 0.88rem;
  color: var(--mkt-text-dim);
  line-height: 1.6;
}

/* ---- TOOLS SECTION ---- */
.mkt-tools-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.mkt-tools-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mkt-tool-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--mkt-card);
  border: 1px solid var(--mkt-divider);
  border-radius: var(--mkt-radius);
  padding: 32px;
  transition: border-color 0.3s;
}

.mkt-tool-item:hover {
  border-color: var(--mkt-amber);
}

.mkt-tool-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--mkt-amber);
  opacity: 0.3;
  line-height: 1;
  min-width: 64px;
}

.mkt-tool-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mkt-tool-info p {
  font-size: 0.9rem;
  color: var(--mkt-text-dim);
  line-height: 1.6;
}

/* ---- ABOUT ---- */
.mkt-about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.mkt-about-card {
  background: var(--mkt-card);
  border: 1px solid var(--mkt-divider);
  border-radius: var(--mkt-radius);
  padding: 40px;
  position: relative;
}

.mkt-about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--mkt-amber);
  border-radius: 2px;
  margin: 40px 0 0 40px;
  top: -2px;
  left: -2px;
}

.mkt-about-company h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mkt-amber);
  margin-bottom: 12px;
}

.mkt-about-company p {
  font-size: 0.95rem;
  color: var(--mkt-text-dim);
  margin-bottom: 6px;
}

.mkt-about-company a {
  color: var(--mkt-amber);
  text-decoration: none;
}

.mkt-about-company a:hover {
  text-decoration: underline;
}

/* ---- FOOTER ---- */
.mkt-footer {
  border-top: 1px solid var(--mkt-divider);
  padding: 24px;
}

.mkt-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--mkt-text-dim);
}

.mkt-footer-inner a {
  color: var(--mkt-text-dim);
  text-decoration: none;
}

.mkt-footer-inner a:hover {
  color: var(--mkt-amber);
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .mkt-hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 40px;
    min-height: auto;
  }

  .mkt-hero-title {
    font-size: 2rem;
  }

  .mkt-hero-visual {
    order: -1;
  }

  .mkt-phone-mockup {
    width: 220px;
    height: 400px;
  }

  .mkt-nav-links {
    gap: 16px;
  }

  .mkt-nav-links a {
    font-size: 0.8rem;
  }

  .mkt-tool-item {
    flex-direction: column;
    gap: 12px;
  }

  .mkt-tool-number {
    font-size: 1.8rem;
  }

  .mkt-footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
