/* AgentNode.pro - Enterprise AI Agent Governance Platform
   Classic Business Design System
   Warm Cream + Navy Blue + Copper
   ============================================= */

:root {
  --cream: #FAF8F5;
  --cream-dark: #F0EDE8;
  --cream-medium: #F5F2ED;
  --navy: #1E3A5F;
  --navy-dark: #152942;
  --navy-light: #2B4A73;
  --copper: #B87333;
  --copper-dark: #9A5F28;
  --copper-light: #D4955A;
  --charcoal: #2C3E50;
  --slate: #5D6D7E;
  --text-dark: #1C2833;
  --text-muted: #6E7B8B;
  --text-light: #8D9AAD;
  --white: #FFFFFF;
  --border: rgba(30, 58, 95, 0.1);
  --border-dark: rgba(30, 58, 95, 0.15);
  --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.08);
  --shadow-md: 0 4px 12px rgba(30, 58, 95, 0.1);
  --shadow-lg: 0 8px 30px rgba(30, 58, 95, 0.12);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--cream); color: var(--text-dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 500; }
p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
.text-copper { color: var(--copper); }
.text-navy { color: var(--navy); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250, 248, 245, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 18px 24px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon { width: 42px; height: 42px; background: var(--navy); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text span:first-child { font-weight: 600; font-size: 1.125rem; color: var(--navy); }
.logo-text .badge { font-size: 0.625rem; font-weight: 600; color: var(--copper); text-transform: uppercase; letter-spacing: 0.1em; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 18px; color: var(--text-muted); font-weight: 500; font-size: 0.9375rem; border-radius: var(--radius); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--cream-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-weight: 600; font-size: 0.9375rem; border-radius: var(--radius); border: none; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-md); }
.btn-copper { background: var(--copper); color: var(--white); }
.btn-copper:hover { background: var(--copper-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--border-dark); }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { padding: 160px 0 100px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 100px; font-size: 0.8125rem; font-weight: 500; color: var(--text-muted); margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.hero-label .dot { width: 8px; height: 8px; background: var(--copper); border-radius: 50%; }
.hero h1 { margin-bottom: 28px; }
.hero p { font-size: 1.1875rem; margin-bottom: 40px; max-width: 520px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero Visual */
.hero-visual { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.visual-header { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--navy); }
.visual-dot { width: 10px; height: 10px; border-radius: 50%; }
.visual-dot.r { background: #E74C3C; } .visual-dot.y { background: #F39C12; } .visual-dot.g { background: #27AE60; }
.visual-title { margin-left: 10px; font-size: 0.75rem; color: rgba(255,255,255,0.7); font-family: 'IBM Plex Mono', monospace; }
.visual-body { padding: 24px; }
.visual-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.v-stat { padding: 18px; background: var(--cream); border-radius: var(--radius); }
.v-stat-label { font-size: 0.6875rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.v-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.v-stat-value.copper { color: var(--copper); }
.visual-list { background: var(--cream); border-radius: var(--radius); padding: 16px; }
.visual-list-title { font-size: 0.6875rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.v-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; color: var(--text-muted); }
.v-item:last-child { border-bottom: none; }
.v-item-dot { width: 8px; height: 8px; border-radius: 50%; }
.v-item-dot.success { background: #27AE60; } .v-item-dot.warning { background: #F39C12; } .v-item-dot.info { background: #3498DB; }
.v-item-time { margin-left: auto; font-size: 0.75rem; color: var(--text-light); font-family: 'IBM Plex Mono', monospace; }

/* Stats */
.stats-bar { background: var(--navy); padding: 56px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.stat-number .accent { color: var(--copper-light); }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* Sections */
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(184, 115, 51, 0.1); border-radius: var(--radius); font-size: 0.75rem; font-weight: 600; color: var(--copper); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.section-navy .section-label { background: rgba(255,255,255,0.1); color: var(--copper-light); }
.section-header h2 { margin-bottom: 16px; }
.section-navy .section-header h2 { color: var(--white); }
.section-navy .section-header p { color: rgba(255,255,255,0.7); }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-dark); }
.feature-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feature-icon svg { width: 24px; height: 24px; color: var(--white); }
.feature-card h3 { margin-bottom: 12px; }

/* Capability List */
.capability-list { display: flex; flex-direction: column; gap: 16px; }
.capability-item { display: flex; align-items: center; gap: 24px; padding: 28px 32px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--transition); }
.capability-item:hover { border-color: var(--copper); }
.capability-icon { width: 56px; height: 56px; background: var(--cream); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.capability-content { flex: 1; }
.capability-content h4 { margin-bottom: 6px; color: var(--navy); }
.capability-content p { margin: 0; font-size: 0.9375rem; }
.capability-tag { padding: 8px 16px; background: var(--cream); border-radius: var(--radius); font-size: 0.75rem; font-weight: 600; color: var(--copper); text-transform: uppercase; letter-spacing: 0.03em; }

/* Numbered Steps */
.numbered-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.step-item { display: flex; gap: 24px; }
.step-number { font-size: 4rem; font-weight: 700; color: var(--copper); opacity: 0.3; line-height: 1; flex-shrink: 0; width: 80px; }
.step-content { padding-top: 8px; }
.step-content h4 { font-size: 1.25rem; margin-bottom: 10px; color: var(--navy); }
.step-content p { font-size: 0.9375rem; margin: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; position: relative; }
.pricing-card.featured { border-color: var(--copper); box-shadow: var(--shadow-lg); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 6px 18px; background: var(--copper); border-radius: 100px; font-size: 0.6875rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-tier { font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 0.9375rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 18px; height: 18px; color: var(--copper); flex-shrink: 0; margin-top: 2px; }

/* Code Block */
.code-block { background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; }
.code-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--navy-dark); }
.code-dots { display: flex; gap: 8px; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.r { background: #E74C3C; } .code-dot.y { background: #F39C12; } .code-dot.g { background: #27AE60; }
.code-title { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-family: 'IBM Plex Mono', monospace; }
.code-content { padding: 24px; font-family: 'IBM Plex Mono', monospace; font-size: 0.8125rem; line-height: 1.9; color: rgba(255,255,255,0.8); overflow-x: auto; }
.code-content .comment { color: rgba(255,255,255,0.4); }
.code-content .keyword { color: var(--copper-light); }
.code-content .string { color: #27AE60; }
.code-content .function { color: #5DADE2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h3 { margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; background: var(--cream-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; color: var(--navy); }
.contact-text h4 { margin-bottom: 4px; color: var(--navy); }
.contact-text p { margin: 0; font-size: 0.9375rem; }
.contact-text a { color: var(--copper); }
.contact-text a:hover { color: var(--copper-dark); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-size: 0.875rem; font-weight: 500; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-dark); font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--copper); background: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.footer { background: var(--navy); color: var(--white); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { margin: 18px 0; color: rgba(255,255,255,0.6); font-size: 0.9375rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-social a:hover { background: var(--copper); color: var(--white); }
.footer-col h4 { margin-bottom: 24px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-badges { display: flex; gap: 12px; }
.footer-badge { padding: 8px 16px; background: rgba(255,255,255,0.08); border-radius: var(--radius); font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.6); }
.footer-badge .accent { color: var(--copper-light); }

/* Mobile Nav */
.mobile-nav { position: fixed; inset: 0; background: var(--cream); z-index: 999; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 1.375rem; font-weight: 600; color: var(--navy); }
.mobile-nav a:hover { color: var(--copper); }
.mobile-nav-close { position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; background: var(--cream-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }

/* Page Header */
.page-header { padding: 160px 0 72px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%); border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 14px; }
.page-header p { max-width: 560px; }

/* Doc Section */
.doc-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.doc-section:last-child { border-bottom: none; }
.doc-section h2 { font-size: 1.5rem; margin-bottom: 20px; }
.doc-section h3 { font-size: 1.125rem; margin: 28px 0 14px; }
.doc-section p { margin-bottom: 14px; }
.doc-section ul { margin-left: 20px; margin-bottom: 14px; }
.doc-section ul li { color: var(--text-muted); margin-bottom: 8px; padding-left: 12px; position: relative; }
.doc-section ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background: var(--copper); border-radius: 50%; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .numbered-steps { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 140px 0 80px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .capability-item { flex-direction: column; align-items: flex-start; gap: 16px; }
  .capability-tag { align-self: flex-start; }
  .step-number { font-size: 3rem; width: 60px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .stats-row { grid-template-columns: 1fr; }
  .visual-stats { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }
