/* ArkitekAI Marketing Pages — Shared Stylesheet */

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(93, 173, 226, 0.06);
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --accent: #5dade2;
  --accent-secondary: #48c9b0;
  --accent-gradient: linear-gradient(90deg, #5dade2, #48c9b0);
  --border: rgba(93, 173, 226, 0.15);
  --border-hover: rgba(93, 173, 226, 0.3);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: all 0.25s ease;
  --max-width: 1100px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Navigation ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--accent-gradient) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(93, 173, 226, 0.3);
}

/* Hamburger for mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Page Layout ────────────────────────────────────────────── */

.page {
  padding-top: var(--nav-height);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  padding: 100px 0;
  background: rgba(93, 173, 226, 0.02);
  border-top: 1px solid rgba(93, 173, 226, 0.08);
  border-bottom: 1px solid rgba(93, 173, 226, 0.08);
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 120px 40px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ── Gradient Text ──────────────────────────────────────────── */

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.gradient-text-warm {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #FFD700, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #bb8fff, #5dade2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ── Section Titles ─────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Tag / Label ────────────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.tag-blue {
  background: rgba(93, 173, 226, 0.1);
  border: 1px solid rgba(93, 173, 226, 0.2);
  color: var(--accent);
}

.tag-green {
  background: rgba(72, 201, 176, 0.1);
  border: 1px solid rgba(72, 201, 176, 0.2);
  color: var(--accent-secondary);
}

.tag-red {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.tag-gold {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

.tag-purple {
  background: rgba(187, 143, 255, 0.1);
  border: 1px solid rgba(187, 143, 255, 0.2);
  color: #bb8fff;
}

/* ── Cards Grid ─────────────────────────────────────────────── */

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(93, 173, 226, 0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(93, 173, 226, 0.3);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(93, 173, 226, 0.08);
  border-color: var(--accent);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ── Pricing Cards ──────────────────────────────────────────── */

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

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid;
  transition: var(--transition);
  cursor: pointer;
}
.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card .features-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  width: 100%;
  text-align: left;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-card .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  list-style: none;
}

.pricing-card .features-list li::before {
  content: "✓";
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-free {
  background: rgba(93, 173, 226, 0.05);
  border-color: rgba(93, 173, 226, 0.2);
}
.pricing-free:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(93, 173, 226, 0.15);
}
.pricing-free .features-list li::before {
  color: var(--accent);
}

.pricing-pro {
  background: rgba(72, 201, 176, 0.05);
  border-color: rgba(72, 201, 176, 0.2);
}
.pricing-pro:hover {
  border-color: var(--accent-secondary);
  box-shadow: 0 8px 30px rgba(72, 201, 176, 0.15);
}
.pricing-pro .features-list li::before {
  color: var(--accent-secondary);
}

.pricing-premium {
  background: rgba(187, 143, 255, 0.05);
  border-color: rgba(187, 143, 255, 0.2);
}
.pricing-premium:hover {
  border-color: #bb8fff;
  box-shadow: 0 8px 30px rgba(187, 143, 255, 0.15);
}
.pricing-premium .features-list li::before {
  color: #bb8fff;
}

/* ── Steps / Timeline ───────────────────────────────────────── */

.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Comparison Table ───────────────────────────────────────── */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check {
  color: var(--accent-secondary);
  font-weight: 700;
}

.cross {
  color: rgba(255, 255, 255, 0.2);
}

/* ── Blog Cards ─────────────────────────────────────────────── */

.blog-card {
  display: block;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.blog-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  color: var(--text);
}

.blog-card .blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Article / Blog Post ────────────────────────────────────── */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}

.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 16px;
}

.article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.article p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article ul,
.article ol {
  color: var(--text-secondary);
  padding-left: 24px;
  margin-bottom: 20px;
}

.article li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(93, 173, 226, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.article-cta {
  margin-top: 60px;
  padding: 40px;
  background: rgba(93, 173, 226, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.article-cta h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Internal Link Cards ────────────────────────────────────── */

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.link-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
  color: var(--text);
}

.link-card .link-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.link-card .link-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.link-card .link-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.link-card .link-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: var(--transition);
}

.link-card:hover .link-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ── FAQ ────────────────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA Banner ─────────────────────────────────────────────── */

.cta-banner {
  text-align: center;
  padding: 80px 40px;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
  padding: 60px 40px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ── Breadcrumbs ────────────────────────────────────────────── */

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 20px 0 0;
}

.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 80px 20px 60px;
  }
  .section,
  .section-alt {
    padding: 60px 0;
  }
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
  .step {
    flex-direction: column;
    gap: 12px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .comparison-table {
    font-size: 0.85rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }
  .article {
    padding: 40px 20px 60px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 300px;
  }
}
