/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a10;
  --bg-card: #111118;
  --bg-card-hover: #16161f;
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(0,245,212,0.2);
  --text: #e8e8ef;
  --text-muted: #6b6b80;
  --text-dim: #3a3a50;
  --accent: #00f5d4;
  --accent-dim: rgba(0,245,212,0.12);
  --accent-purple: #a78bfa;
  --accent-purple-dim: rgba(167,139,250,0.12);
  --crm-color: #00f5d4;
  --pkm-color: #a78bfa;
  --font-display: 'Syne', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 7px;
  --container: 1160px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #7dd3fc 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

/* ===== LAYOUT ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,245,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat {}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== HERO GRAPH ===== */
.hero-graph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.graph-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1.47;
}

.graph-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 20px;
}

.graph-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Node base */
.node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem 0.55rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid;
  z-index: 2;
  cursor: default;
}

.node:hover {
  transform: scale(1.08);
  z-index: 10;
}

.node-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.node-crm {
  background: rgba(0,245,212,0.1);
  border-color: rgba(0,245,212,0.25);
  color: var(--crm-color);
}

.node-pkm {
  background: rgba(167,139,250,0.1);
  border-color: rgba(167,139,250,0.25);
  color: var(--accent-purple);
}

.node.active {
  box-shadow: 0 0 20px rgba(0,245,212,0.15), 0 0 40px rgba(0,245,212,0.05);
}

/* CRM node positions */
.node-contact { left: 18%; top: 28%; }
.node-deal { left: 18%; top: 52%; }
.node-company { left: 18%; top: 76%; }

/* PKM node positions */
.node-note { right: 18%; top: 36%; }
.node-research { right: 18%; top: 56%; }
.node-team { right: 18%; top: 76%; }

/* ===== FEATURES ===== */
.features {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.features-header {
  max-width: 640px;
  margin: 0 auto 5rem;
  text-align: center;
}

.features-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.features-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-crm::before { background: linear-gradient(90deg, var(--crm-color), transparent); }
.feature-pkm::before { background: linear-gradient(90deg, var(--accent-purple), transparent); }
.feature-unified::before { background: linear-gradient(90deg, #f59e0b, var(--accent)); }

.feature-card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.feature-card:hover::before { opacity: 1; }

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-crm .feature-icon { background: var(--accent-dim); color: var(--crm-color); }
.feature-pkm .feature-icon { background: var(--accent-purple-dim); color: var(--accent-purple); }
.feature-unified .feature-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
}

/* ===== PARADIGM ===== */
.paradigm {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(0,245,212,0.02) 50%, transparent 100%);
}

.paradigm-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.paradigm-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
  max-width: 500px;
}

.paradigm-copy > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.paradigm-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 520px;
}

.compare-header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.compare-new .compare-item:last-child { border-bottom: none; }

/* ===== NOTES ===== */
.notes-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.notes-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.notes-label h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.notes-label > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.notes-visual { display: flex; flex-direction: column; gap: 1.5rem; }

.memo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.memo-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-purple));
  border-radius: 3px 0 0 3px;
}

.memo-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.memo-body {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.memo-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.memo-link-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-purple);
  background: var(--accent-purple-dim);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(167,139,250,0.2);
}

.note-activity { display: flex; flex-direction: column; gap: 0.75rem; }

.note-activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

.closing h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.closing p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.closing-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links { display: flex; gap: 4rem; }

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-body);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner,
  .notes-inner { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-graph { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { gap: 2rem; }
  .hero { min-height: auto; padding: 4rem 0 3rem; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .stat-divider { display: none; }
  .paradigm-comparison { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.node-contact { animation: float 4s ease-in-out infinite; }
.node-note { animation: float 5s ease-in-out infinite 1s; }
.node-deal { animation: float 4.5s ease-in-out infinite 0.5s; }
.node-research { animation: float 5.5s ease-in-out infinite 1.5s; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,245,212,0.15), 0 0 40px rgba(0,245,212,0.05); }
  50% { box-shadow: 0 0 30px rgba(0,245,212,0.25), 0 0 60px rgba(0,245,212,0.08); }
}

.node.active { animation: pulse-glow 3s ease-in-out infinite; }

/* ===== LANDING CTA BUTTON ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: #00dfc4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,245,212,0.3);
}
