/* VariantBase.com Enhanced Stylesheet */

:root {
  --bg: #0f172a;         /* slate-900 */
  --panel: #111826;      /* slightly lighter panel */
  --text: #e5e7eb;       /* gray-200 */
  --muted: #94a3b8;      /* slate-400 */
  --brand: #60a5fa;      /* sky-400 */
  --brand-2: #3b82f6;    /* blue-500 */
  --ok: #22c55e;         /* green-500 */
  --danger: #ef4444;     /* red-500 */
  --warning: #f59e0b;    /* amber-500 */
  --code: #0b1220;       /* darker code background */
  --border: #1f2937;     /* gray-800 border */
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font: 500 18px/1.55 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

/* Typography */
h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 4px 0 6px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--text);
}

h3 {
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--text);
}

h4 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--brand);
}

p {
  margin: 0 0 16px;
  line-height: 1.6;
}

ul, ol {
  margin: 0 0 16px 20px;
  line-height: 1.6;
}

li {
  margin-bottom: 6px;
}

/* Brand Header */
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.lead {
  color: #cbd5e1;
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.demo-notice {
  color: var(--warning);
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Utility Classes */
.muted {
  color: var(--muted);
}

.success {
  color: var(--ok);
}

.error {
  color: var(--danger);
}

.warning {
  color: var(--warning);
}

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: var(--brand-2);
  color: var(--brand-2);
}

.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Form Elements */
.input {
  flex: 1;
  min-width: 280px;
  background: var(--code);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.input::placeholder {
  color: var(--muted);
}

/* Code and Pre */
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  background: var(--code);
  color: #e2e8f0;
  border: 1px solid var(--border);
  border-radius: 8px;
}

code {
  padding: 3px 6px;
  font-size: 0.9em;
}

pre {
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
  line-height: 1.5;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
}

/* Hero Features Section */
.hero-features {
  margin: 32px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--brand);
}

.feature-item p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Demo Section */
.demo-section {
  background: linear-gradient(135deg, var(--panel) 0%, #0c1220 100%);
  border: 1px solid var(--brand);
}

.demo-header h2 {
  margin-bottom: 8px;
}

.demo-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.demo-interface {
  margin: 24px 0;
}

.search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 16px;
}

.demo-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.example-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.example-btn {
  background: var(--code);
  border: 1px solid var(--border);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-family: monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}

.example-btn:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.status-message {
  font-size: 15px;
  margin-top: 12px;
  padding: 8px 0;
  min-height: 32px;
}

.status-message.searching {
  color: var(--warning);
}

.status-message.success {
  color: var(--ok);
}

.status-message.error {
  color: var(--danger);
}

.api-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}

/* Applications Section */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.app-category {
  background: linear-gradient(135deg, var(--code) 0%, #0a0f1a 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.app-category h3 {
  color: var(--brand);
  margin-bottom: 16px;
  font-size: 18px;
}

.app-category ul {
  margin: 0;
  list-style-type: none;
  padding: 0;
}

.app-category li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--muted);
  font-size: 17px;
}

.app-category li:last-child {
  border-bottom: none;
}

/* Technical Section */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tech-item {
  padding: 16px;
  background: rgba(96, 165, 250, 0.05);
  border-radius: 10px;
  border-left: 3px solid var(--brand);
}

.tech-item h4 {
  margin-bottom: 8px;
}

.tech-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Acquisition Section */
.acquisition-section {
  background: linear-gradient(135deg, var(--panel) 0%, #0d1421 100%);
  border: 2px solid var(--brand);
}

.acquisition-content h2 {
  color: var(--brand);
  margin-bottom: 16px;
}

.acquisition-description {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text);
}

.market-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
  padding: 20px;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.domain-benefits {
  margin: 24px 0;
}

.domain-benefits h3 {
  color: var(--brand);
  margin-bottom: 16px;
}

.domain-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.domain-benefits li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 15px;
  line-height: 1.5;
}

.domain-benefits li:last-child {
  border-bottom: none;
}

.domain-benefits strong {
  color: var(--brand);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
}

.disclaimer {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  color: #fecaca;
  font-size: 15px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--brand);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Contact Form Styles */
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.form-input,
.form-textarea {
  background: var(--code);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .wrap {
    padding: 20px 16px 40px;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-actions {
    width: 100%;
  }

  .btn-small,
  .btn,
  .btn-large {
    width: 100%;
  }

  .search-row {
    flex-direction: column;
  }

  .input {
    min-width: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .market-stats {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .brand-icon {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 24px;
  }

  .lead {
    font-size: 16px;
  }

  .card {
    padding: 18px;
  }

  .demo-examples {
    justify-content: center;
  }

  .example-btn {
    font-size: 12px;
    padding: 5px 8px;
  }
}