:root {
  --primary: #2665d6;
  --primary-dark: #1a4fa0;
  --primary-light: #4b83e8;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --text: #1a1a2e;
  --text-light: #666;
  --text-muted: #888;
  --border: #e5e7eb;
  --card-bg: #f9fafb;
  --success: #10b981;
  --success-light: #d1fae5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-xl: 0 8px 24px rgba(0,0,0,0.15);
  --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; }

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 40px; }

/* Header / Nav */
.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); background: rgba(255,255,255,0.95); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a { color: var(--text); font-size: 0.95rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-links .btn-primary { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: var(--radius-sm); }
.nav-links .btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 0; min-width: 220px; box-shadow: var(--shadow-lg); z-index: 50; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 16px; font-size: 0.9rem; color: var(--text); }
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); text-decoration: none; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; padding: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 24px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; border: none; transition: all var(--transition); cursor: pointer; text-decoration: none; line-height: 1.4; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--card-bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #e5e7eb; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.1rem; }
.btn-xl { padding: 16px 44px; font-size: 1.15rem; }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; }

/* Hero */
.hero { text-align: center; padding: 80px 20px 60px; }
.hero-sm { padding: 50px 20px 40px; }
.hero h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.1; letter-spacing: -0.02em; }
.hero h1 .gradient-text { background: linear-gradient(135deg, var(--primary), #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: var(--text-light); max-width: 620px; margin: 0 auto 32px; }
.hero .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .trust { margin-top: 28px; font-size: 0.9rem; color: var(--text-muted); }
.hero .trust span { font-weight: 700; color: var(--text); }

/* Stat strip */
.stat-strip { display: flex; justify-content: center; gap: 48px; padding: 24px 20px; flex-wrap: wrap; }
.stat-strip .stat-item { text-align: center; }
.stat-strip .stat-value { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-strip .stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.feature-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card h3 { margin: 12px 0 8px; font-size: 1.1rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto; }

/* Step sections */
.steps-section { padding: 60px 20px; }
.steps-section h2 { text-align: center; font-size: 2rem; margin-bottom: 12px; }
.steps-section > p { text-align: center; color: var(--text-light); max-width: 600px; margin: 0 auto 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.step-card { text-align: center; padding: 24px; }
.step-number { width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.step-card h4 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }

/* Feature showcase */
.feature-showcase { padding: 80px 20px; }
.feature-showcase .container { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.feature-showcase .showcase-text { flex: 1; min-width: 300px; }
.feature-showcase .showcase-text h2 { font-size: 2rem; margin-bottom: 16px; }
.feature-showcase .showcase-text p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 16px; }
.feature-showcase .showcase-visual { flex: 1; min-width: 300px; }
.showcase-card-visual { background: var(--card-bg); border-radius: var(--radius-lg); padding: 32px; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.showcase-card-visual .mock-ui { width: 100%; max-width: 320px; }
.showcase-card-visual .mock-bar { background: #e5e7eb; height: 12px; border-radius: 6px; margin-bottom: 10px; }
.showcase-card-visual .mock-bar.short { width: 60%; }
.showcase-card-visual .mock-btn-item { background: var(--primary); color: #fff; padding: 14px; border-radius: var(--radius); margin-bottom: 10px; text-align: center; font-weight: 600; font-size: 0.9rem; }

/* Testimonials */
.testimonials { padding: 60px 20px; background: var(--card-bg); }
.testimonials h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.testimonial { background: #fff; padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.testimonial blockquote { font-style: italic; color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }
.testimonial .author { font-weight: 600; font-size: 0.9rem; }
.testimonial .stars { color: var(--warning); margin-bottom: 8px; }

/* Pricing */
.pricing-section { padding: 80px 20px; }
.pricing-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 12px; }
.pricing-section > p { text-align: center; color: var(--text-light); margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); position: relative; }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 4px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; margin: 16px 0; }
.pricing-card .price span { font-size: 0.9rem; font-weight: 400; color: var(--text-light); }
.pricing-card .price-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-card ul { list-style: none; text-align: left; margin: 20px 0; }
.pricing-card ul li { padding: 7px 0; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.pricing-card ul li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; margin-top: 8px; }

/* Templates grid */
.templates-page { padding: 60px 20px; }
.templates-page h2 { text-align: center; font-size: 2rem; margin-bottom: 12px; }
.templates-page > p { text-align: center; color: var(--text-light); margin-bottom: 40px; }

/* FAQ section */
.faq-section { padding: 60px 20px; background: var(--bg-alt); }
.faq-section h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; background: #fff; overflow: hidden; }
.faq-question { width: 100%; padding: 16px 20px; text-align: left; background: none; border: none; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-question:hover { color: var(--primary); }
.faq-question .faq-toggle { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 20px 16px; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* CTA Section */
.cta-section { text-align: center; padding: 80px 20px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 12px; }
.cta-section p { color: #a0aec0; margin-bottom: 28px; font-size: 1.1rem; }

/* Footer */
.site-footer { background: #111827; color: #9ca3af; padding: 48px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; max-width: 1000px; margin: 0 auto 32px; }
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 0.95rem; }
.footer-grid a { color: #9ca3af; font-size: 0.9rem; display: block; padding: 4px 0; transition: color var(--transition); }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-bottom { text-align: center; font-size: 0.85rem; color: #6b7280; border-top: 1px solid #1f2937; padding-top: 24px; max-width: 1000px; margin: 0 auto; }

/* Auth pages */
.auth-page { min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--bg-alt); }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 40px; width: 100%; max-width: 420px; }
.auth-card h2 { text-align: center; margin-bottom: 24px; font-size: 1.5rem; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-top: -16px; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: inherit; transition: border var(--transition), box-shadow var(--transition);
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(38,101,214,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.auth-card .btn { width: 100%; margin-top: 8px; }
.auth-card .footer-link { text-align: center; margin-top: 16px; font-size: 0.9rem; }
.auth-card .demo-hint { background: var(--warning-light); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 16px; color: #92400e; }
.alert { padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.9rem; }
.alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: var(--success-light); color: #065f46; border: 1px solid #bbf7d0; }

/* Dashboard layout */
.dashboard { display: flex; min-height: calc(100vh - 60px); }
.sidebar { width: 260px; background: var(--bg-alt); border-right: 1px solid var(--border); padding: 20px 0; flex-shrink: 0; }
.sidebar-header { padding: 16px 20px; margin-bottom: 8px; }
.sidebar-header .user-name { font-weight: 700; font-size: 0.95rem; }
.sidebar-header .user-email { font-size: 0.8rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: var(--text); font-size: 0.95rem; transition: background var(--transition), color var(--transition); }
.sidebar nav a:hover { background: #e5e7eb; text-decoration: none; }
.sidebar nav a.active { background: #dbeafe; font-weight: 700; color: var(--primary); }
.sidebar nav .nav-section { padding: 12px 20px 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 600; }
.dash-content { flex: 1; padding: 32px; overflow-y: auto; min-height: 100%; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dash-header h1 { font-size: 1.6rem; }

/* Cards & Stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card .label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 4px; }
.stat-card .value { font-size: 1.8rem; font-weight: 800; }
.stat-card .change { font-size: 0.8rem; margin-top: 4px; }
.stat-card .change.up { color: var(--success); }
.stat-card .change.down { color: var(--danger); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.card h3 { margin-bottom: 16px; font-size: 1.1rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-header h3 { margin-bottom: 0; }

/* Link manager */
.link-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--card-bg); border-radius: var(--radius); margin-bottom: 8px; border: 1px solid var(--border); transition: box-shadow var(--transition); }
.link-item:hover { box-shadow: var(--shadow); }
.link-item .link-icon-badge { width: 36px; height: 36px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.link-item .link-info { flex: 1; min-width: 0; }
.link-item .link-title { font-weight: 600; font-size: 0.95rem; }
.link-item .link-url { font-size: 0.85rem; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.link-item .link-clicks { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.link-item .link-actions { display: flex; gap: 6px; }
.drag-handle { cursor: grab; color: var(--text-muted); font-size: 1.2rem; padding: 4px; user-select: none; }
.drag-handle:active { cursor: grabbing; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

/* Analytics chart area */
.chart-container { position: relative; }
.chart-placeholder { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; min-height: 220px; display: flex; align-items: flex-end; gap: 4px; }
.chart-bar { background: var(--primary); border-radius: 4px 4px 0 0; min-width: 8px; flex: 1; transition: height 0.3s, background var(--transition); position: relative; }
.chart-bar:hover { background: var(--primary-dark); }
.chart-bar .chart-tooltip { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; white-space: nowrap; margin-bottom: 4px; }
.chart-bar:hover .chart-tooltip { display: block; }

/* Appearance editor */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.theme-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: border-color var(--transition), transform var(--transition); }
.theme-card:hover { transform: translateY(-2px); }
.theme-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(38,101,214,0.15); }
.theme-card .theme-preview { height: 80px; border-radius: var(--radius-sm); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.theme-card .theme-preview span { padding: 6px 16px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.theme-card h4 { font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.theme-card .premium-badge { background: var(--warning); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; }

/* Public profile page */
.profile-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 40px 20px; }
.profile-avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin-bottom: 16px; box-shadow: var(--shadow-lg); }
.profile-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.profile-bio { color: var(--text-light); font-size: 0.95rem; margin-bottom: 24px; text-align: center; max-width: 400px; }
.profile-links { width: 100%; max-width: 400px; }
.profile-link { display: block; width: 100%; padding: 14px 20px; margin-bottom: 10px; border-radius: var(--radius); font-weight: 600; text-align: center; font-size: 0.95rem; transition: transform 0.1s, opacity 0.15s; cursor: pointer; }
.profile-link:hover { transform: scale(1.02); opacity: 0.9; text-decoration: none; }

/* Table */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { font-weight: 600; color: var(--text-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; backdrop-filter: blur(2px); }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 32px; max-width: 480px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-xl); }
.modal h3 { margin-bottom: 20px; font-size: 1.2rem; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* Toggle / Switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #ccc; border-radius: 24px; transition: background var(--transition); }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform var(--transition); }
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Integration cards */
.integration-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; transition: box-shadow var(--transition); }
.integration-card:hover { box-shadow: var(--shadow); }
.integration-icon { width: 48px; height: 48px; background: var(--bg-alt); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.integration-info { flex: 1; }
.integration-info strong { display: block; margin-bottom: 2px; }
.integration-info .integration-desc { color: var(--text-light); font-size: 0.85rem; }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: var(--success-light); color: #065f46; }
.badge-warning { background: var(--warning-light); color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* Content page with sidebar */
.content-page { padding: 60px 20px; }
.content-page .container { max-width: 900px; }
.content-page h1 { font-size: 2.2rem; margin-bottom: 12px; }
.content-page h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.content-page h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.content-page p { color: var(--text-light); margin-bottom: 12px; line-height: 1.8; }
.content-page ul, .content-page ol { color: var(--text-light); margin: 0 0 16px 24px; }
.content-page li { margin-bottom: 6px; line-height: 1.7; }
.content-page .meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.content-page strong { color: var(--text); }
.content-page .section-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* Admin specific */
.admin-status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 24px; }
.status-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.status-item .status-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.status-item .status-icon.ok { background: var(--success-light); }
.status-item .status-icon.warn { background: var(--warning-light); }
.status-item .status-text strong { display: block; font-size: 0.9rem; }
.status-item .status-text span { font-size: 0.8rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; right: 20px; background: #fff; box-shadow: var(--shadow-lg); padding: 20px; border-radius: var(--radius); min-width: 200px; z-index: 50; }
  .nav-links.open a { padding: 10px 0; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; display: block; }
  .mobile-toggle { display: block; }
  .dashboard { flex-direction: column; }
  .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 10px 0; }
  .sidebar-header { display: none; }
  .sidebar nav { display: flex; overflow-x: auto; padding: 0 10px; gap: 2px; }
  .sidebar nav a { white-space: nowrap; padding: 8px 14px; font-size: 0.85rem; flex-shrink: 0; }
  .sidebar nav .nav-section { display: none; }
  .dash-content { padding: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .feature-showcase .container { flex-direction: column; }
  .stat-strip { gap: 24px; }
  .stat-strip .stat-value { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .link-item .link-url { max-width: 150px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .stat-strip { flex-direction: column; align-items: center; }
}
