/* Magic Edit Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0A0F1C;
  --bg-surface: #1E293B;
  --bg-inset: #0F172A;
  --accent: #22D3EE;
  --accent-dim: #22D3EE20;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --text-muted: #475569;
  --divider: #1E293B;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

@media (max-width: 1024px) {
  .container { padding: 0 60px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* Header */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
}

@media (max-width: 1024px) {
  .header { padding: 0 60px; }
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header {
    padding: 0 24px;
    flex-wrap: wrap;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 16px;
    position: relative;
  }

  .mobile-menu-btn {
    display: flex;
    order: 3;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid var(--divider);
    z-index: 1000;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    font-size: 18px;
    padding: 8px 0;
  }

  .header-cta {
    display: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--bg-primary);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

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

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--accent-dim);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  padding: 100px 120px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (max-width: 1024px) {
  .hero { padding: 60px 60px 80px; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 24px 60px; gap: 32px; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border-radius: 100px;
}

.badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.badge span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

.hero h1 {
  font-size: 72px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-subtitle { font-size: 16px; }
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: var(--bg-surface);
  border-radius: 40px;
  border: 4px solid rgba(34, 211, 238, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-mockup span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
}

.phone-mockup small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

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

@media (max-width: 1024px) {
  .section { padding: 60px 60px; }
}

@media (max-width: 768px) {
  .section { padding: 40px 24px; }
}

.section-dark {
  background: var(--bg-inset);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 768px) {
  .section-title { font-size: 32px; }
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.feature-card {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--bg-primary);
}

.step-content {
  text-align: center;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 280px;
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .stats-row { gap: 40px; }
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 768px) {
  .stat-number { font-size: 36px; }
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
}

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

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

.testimonial-card {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
}

.author-info span {
  font-size: 14px;
  color: var(--text-tertiary);
}

/* CTA Section */
.cta-section {
  padding: 120px;
}

@media (max-width: 768px) {
  .cta-section { padding: 40px 24px; }
}

.cta-card {
  background: linear-gradient(135deg, var(--accent), #0891B2);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (max-width: 768px) {
  .cta-card { padding: 40px 24px; }
}

.cta-card h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--bg-primary);
}

@media (max-width: 768px) {
  .cta-card h2 { font-size: 32px; }
}

.cta-card p {
  font-size: 20px;
  color: var(--bg-primary);
  opacity: 0.8;
}

.btn-dark {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.btn-dark svg {
  color: var(--accent);
}

.cta-trust {
  font-size: 14px;
  color: var(--bg-primary);
  opacity: 0.6;
}

/* Footer */
.footer {
  background: var(--bg-inset);
  padding: 60px 120px;
}

@media (max-width: 1024px) {
  .footer { padding: 40px 60px; }
}

@media (max-width: 768px) {
  .footer { padding: 40px 24px; }
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .footer-links { gap: 40px; flex-wrap: wrap; }
}

.footer-column h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-divider {
  height: 1px;
  background: var(--divider);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 14px;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--accent-dim);
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

/* Contact Page */
.contact-hero {
  padding: 80px 120px 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-hero { padding: 40px 24px; }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  padding: 60px 120px 100px;
}

@media (max-width: 1024px) {
  .contact-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-content { padding: 40px 24px; }
}

.form-card {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 48px;
}

@media (max-width: 768px) {
  .form-card { padding: 24px; }
}

.form-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-inset);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s;
}

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

.info-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-card {
  background: var(--bg-inset);
  border-radius: 20px;
  padding: 40px;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.info-card > p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.contact-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.contact-value {
  font-size: 16px;
  font-weight: 500;
}

.response-card {
  background: var(--accent-dim);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.response-card svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.response-card h4 {
  font-size: 14px;
  font-weight: 600;
}

.response-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Privacy Policy Page */
.privacy-hero {
  padding: 80px 120px 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .privacy-hero { padding: 40px 24px; }
}

.privacy-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 40px 120px 100px;
}

@media (max-width: 1024px) {
  .privacy-content { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  .privacy-content { padding: 40px 24px; }
}

.sidebar {
  position: sticky;
  top: 40px;
  height: fit-content;
}

.sidebar h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sidebar-divider {
  height: 1px;
  background: var(--divider);
  margin-bottom: 16px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  color: var(--accent);
}

.content-area {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.content-section p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section ul {
  list-style: none;
  padding-left: 24px;
}

.content-section li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
}

.content-section li::before {
  content: '-';
  color: var(--accent);
  position: absolute;
  left: -20px;
}

.contact-card-inline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}

.contact-card-inline svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-card-inline a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

/* Simple footer for inner pages */
.footer-simple {
  border-top: 1px solid var(--divider);
  padding: 32px 0;
}

.footer-simple-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-simple-links a {
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-simple-links a:hover,
.footer-simple-links a.active {
  color: var(--accent);
}

/* Footer variants */
.footer--simple {
  background: var(--bg-inset);
}

.footer--simple .footer-bottom {
  padding: 0 120px;
}

@media (max-width: 1024px) {
  .footer--simple .footer-bottom {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .footer--simple .footer-bottom {
    padding: 0 24px;
  }
}

/* Logo variants */
.logo-icon--small {
  width: 32px;
  height: 32px;
}

.logo-icon--large {
  width: 36px;
  height: 36px;
}

.logo-text--small {
  font-size: 18px;
}

.logo-text--large {
  font-size: 20px;
}

/* Demo Section */
.demo-container {
  display: flex;
  justify-content: center;
}

.demo-placeholder {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  border-radius: 16px;
  border: 2px dashed var(--divider);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.demo-placeholder svg {
  color: var(--text-muted);
}

.demo-placeholder span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
}
