/* Thinputer.com — Design System v2 (AI-Native) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #FAFBFC;
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --accent: #0066FF;
  --accent-hover: #0052CC;
  --accent-light: #E8F0FE;
  --accent-sub: #0D9488;
  --accent-gradient: linear-gradient(135deg, #0066FF, #0D9488);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-card-hover: 0 8px 25px rgba(0,0,0,0.06);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text-primary); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,251,252,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo-img-icon { height: 28px; width: 28px; display: block; border-radius: 6px; border: 1px solid var(--border-light); }
.nav-logo-text { font-size: 15px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.3px; }
.nav-logo-sub { font-size: 10px; color: var(--text-muted); font-weight: 400; letter-spacing: 1px; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { background: var(--accent); color: white !important; padding: 7px 16px; border-radius: 8px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-hover) !important; color: white !important; }
.nav-mobile-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }
@media (max-width: 768px) { .nav-links { display: none; } .nav-mobile-btn { display: block; } }

/* Nav dropdown (2-level menu) */
.nav-item { position: relative; }
.nav-parent {
  display: inline-flex; align-items: center; gap: 3px;
  text-decoration: none; color: var(--text-secondary);
  font-size: 13px; font-weight: 500; transition: color 0.2s; cursor: pointer;
}
.nav-parent:hover { color: var(--text-primary); }
.arrow { transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px; background: white; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 6px; opacity: 0; visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s; z-index: 200; margin-top: 8px;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  display: block; padding: 8px 14px; font-size: 13px;
  color: var(--text-secondary); text-decoration: none;
  border-radius: 6px; transition: all 0.15s; white-space: nowrap;
}
.dropdown a:hover { background: var(--accent-light); color: var(--accent); }
.dropdown-divider {
  padding: 6px 16px 2px; font-size: 10px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px;
  cursor: default; border-top: 1px solid var(--border); margin-top: 4px;
}
.dropdown-divider:first-of-type { border-top: none; margin-top: 0; }
.dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 6px solid white;
}

/* Hero — AI-Native light */
.hero {
  padding-top: 60px; min-height: 88vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 40%, #F0F4FF 100%);
}
.hero::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.04), transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 100px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-light); border: 1px solid rgba(0,102,255,0.12); padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 500; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.3px; }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -2px; margin-bottom: 16px; color: var(--text-primary); }
.hero h1 .highlight { font-style: normal; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 16px; color: var(--text-secondary); line-height: 1.7; max-width: 440px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: white; padding: 12px 24px; font-weight: 600; font-size: 14px; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(0,102,255,0.2); }
.btn-secondary { background: white; border: 1px solid var(--border); color: var(--text-secondary); padding: 12px 24px; font-weight: 500; font-size: 14px; border-radius: 8px; text-decoration: none; transition: all 0.2s; }
.btn-secondary:hover { border-color: var(--text-muted); color: var(--text-primary); }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stat h3 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.hero-stat h3 .accent { color: var(--accent); }
.hero-stat p { font-size: 12px; color: var(--text-muted); }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; }
.hero-ai-badge {
  position: absolute; bottom: -4px; right: 0;
  background: white; border: 1px solid var(--accent-light);
  padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 600; color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,102,255,0.06); z-index: 3;
}

/* AI Node Visual */
.ai-node-canvas {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.node-center {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.3;
  position: relative; z-index: 2;
  box-shadow: 0 8px 32px rgba(0,102,255,0.2);
}
.orbit { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.orbit-item {
  position: absolute; width: 64px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 8px; box-shadow: var(--shadow-card); transition: all 0.2s;
}
.orbit-item:hover { box-shadow: var(--shadow-card-hover); border-color: var(--accent-light); }
.orbit-item .o-icon { font-size: 18px; margin-bottom: 4px; }
.orbit-item .o-label { font-size: 9px; color: var(--text-muted); font-weight: 500; }
.o1 { top: -8px; left: 50%; transform: translateX(-50%); }
.o2 { top: 50%; right: -12px; transform: translateY(-50%); }
.o3 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.o4 { top: 50%; left: -12px; transform: translateY(-50%); }
.connect-line {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 70%; height: 70%; border-radius: 50%;
  border: 1.5px dashed rgba(0,102,255,0.1); pointer-events: none;
}
.connect-line2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 90%; height: 90%; border-radius: 50%;
  border: 1px dashed rgba(6,182,212,0.08); pointer-events: none;
}

/* Section Common */
.section-label { display: block; text-align: center; font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.section-title { font-size: 30px; font-weight: 700; text-align: center; letter-spacing: -1px; margin-bottom: 10px; }
.section-desc { font-size: 15px; color: var(--text-secondary); text-align: center; max-width: 520px; margin: 0 auto 40px; line-height: 1.6; }
section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
section.alt { background: var(--bg-alt); max-width: 100%; padding: 80px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.alt > div { max-width: 1200px; margin: 0 auto; }

/* Intro Grid (About) */
.intro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.intro-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 24px; text-align: center; transition: all 0.2s; }
.intro-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-card-hover); }
.intro-icon { font-size: 28px; margin-bottom: 8px; }
.intro-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.intro-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* AI Products Strip */
.product-strip { display: flex; gap: 16px; }
.product-card {
  flex: 1; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 24px;
  position: relative; transition: all 0.2s;
}
.product-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-card-hover); }
.product-card .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-bottom: 8px;
}
.product-card .dot.cyan { background: var(--accent-sub); }
.product-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.product-card .tags span { font-size: 10px; padding: 2px 8px; border-radius: 100px; background: var(--accent-light); color: var(--accent); }

/* Solutions Grid */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solution-card { border: 1px solid var(--border); border-radius: 10px; padding: 20px; background: white; transition: all 0.2s; }
.solution-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-card-hover); }
.solution-card .emoji { font-size: 22px; margin-bottom: 8px; }
.solution-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.solution-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* CTA Section */
.cta-section { background: var(--accent-gradient); max-width: 100%; padding: 56px 24px; text-align: center; }
.cta-section-inner { max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: 26px; font-weight: 700; color: white; margin-bottom: 8px; letter-spacing: -0.5px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 24px; }
.cta-section .btn-primary { display: inline-flex; align-items: center; gap: 6px; background: white; color: var(--accent); padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; }
.cta-section .btn-primary:hover { background: var(--accent-light); }
.cta-section .btn-secondary { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); padding: 10px 22px; border-radius: 8px; font-size: 14px; text-decoration: none; margin-left: 8px; transition: all 0.2s; }
.cta-section .btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* Footer */
.footer { max-width: 100%; padding: 44px 24px 20px; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 6px; }
.footer-logo-img-icon { height: 22px; width: 22px; border-radius: 4px; display: block; border: 1px solid var(--border-light); }
.footer-logo-text { font-size: 14px; font-weight: 600; }
.footer-brand p { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-top: 8px; max-width: 240px; }
.footer-col h5 { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.footer-col a { display: block; font-size: 12px; color: var(--text-muted); text-decoration: none; margin-bottom: 5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 11px; color: var(--text-muted); }

/* Article content */
.article-page { max-width: 720px; margin: 0 auto; padding: 100px 24px 60px; }
.article-back { margin-bottom: 24px; }
.article-back-link { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 500; }
.article-back-link:hover { opacity: 0.7; }
.article-title { font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; margin-bottom: 14px; color: var(--text-primary); }
.article-meta { display: flex; gap: 12px; color: var(--text-muted); font-size: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.meta-category { padding: 2px 10px; border-radius: 100px; background: var(--accent-light); color: var(--accent); font-weight: 500; font-size: 11px; }
article { font-size: 16px; line-height: 1.8; color: var(--text-primary); }
article p { margin-bottom: 1.5em; }
article img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5em auto; display: block; box-shadow: var(--shadow-card); background: var(--bg-alt); }
article h2 { font-size: 22px; font-weight: 700; margin-top: 1.8em; margin-bottom: 0.6em; color: var(--text-primary); }
article h3 { font-size: 18px; font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; }
article ul, article ol { padding-left: 1.5em; margin-bottom: 1.5em; }
article li { margin-bottom: 0.4em; }
article blockquote { border-left: 3px solid var(--accent); padding: 14px 18px; margin: 1.2em 0; background: var(--accent-light); border-radius: 0 8px 8px 0; color: var(--text-secondary); }
article pre { background: #1e1e2e; color: #cdd6f4; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 13px; line-height: 1.5; margin: 1.2em 0; }
article code { font-family: 'JetBrains Mono', 'Fira Code', monospace; }
article p code { background: var(--accent-light); color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }
article table { width: 100%; border-collapse: collapse; margin: 1.2em 0; border-radius: 8px; overflow: hidden; }
article th, article td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; font-size: 14px; }
article th { background: var(--bg-alt); font-weight: 600; }
article td { color: var(--text-secondary); }
article tr:nth-child(even) { background: var(--bg-alt); }
article a { color: var(--accent); }
article hr { border: none; height: 1px; background: var(--border); margin: 2em 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero h1 { font-size: 40px; } .hero-subtitle { margin: 0 auto 28px; }
  .hero-stats, .hero-actions { justify-content: center; }
  .intro-grid, .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .product-strip { flex-direction: column; }
  .ai-node-canvas { max-width: 340px; }
}
@media (max-width: 768px) {
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px 24px; gap: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
  .nav-item { width: 100%; }
  .nav-parent { width: 100%; justify-content: space-between; padding: 10px 0; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; margin: 0; display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 8px 0; white-space: normal; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; letter-spacing: -1px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .intro-grid, .solutions-grid { grid-template-columns: 1fr; }
  section { padding: 48px 16px; }
  .section-title { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-page { padding: 80px 16px 40px; }
  .article-title { font-size: 26px; }
}
