:root {
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #1e293b; /* Slate 800 - Very dark but not black */
    --text-secondary: #64748b; /* Slate 500 */
    --brand-primary: #125464; /* PlagPrevent Teal */
    --brand-dark: #0f172a; /* Slate 900 */
    --brand-light: #e0f2fe; /* Sky 100 */
    --border-color: #e2e8f0; /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--text-primary); letter-spacing: -0.02em; }
p { color: var(--text-secondary); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top Bar */
.top-bar {
    background-color: var(--brand-dark);
    color: white;
    text-align: center;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
}
.top-bar a { color: #38bdf8; text-decoration: none; margin-left: 8px; font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-family: 'Outfit'; font-weight: 700; font-size: 1.25rem; color: var(--text-primary); }

.nav-links { display: flex; gap: 32px; height: 100%; align-items: center; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-item > a:hover { color: var(--brand-primary); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 24px; color: var(--text-primary); text-decoration: none; font-size: 0.95rem; }
.dropdown a:hover { background-color: var(--bg-main); color: var(--brand-primary); }

.nav-actions { display: flex; gap: 16px; align-items: center; }
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.2s ease; cursor: pointer; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-primary { background-color: var(--brand-primary); color: white; border: 1px solid var(--brand-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: #0d4250; border-color: #0d4250; }
.btn-secondary { background-color: white; color: var(--text-primary); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background-color: var(--bg-main); }
.btn-text { color: var(--text-secondary); background: transparent; padding: 10px; }
.btn-text:hover { color: var(--text-primary); }

/* Hero Section */
.hero { padding: 80px 0 100px; background: white; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 24px; color: var(--brand-dark); }
.hero-text h1 span { color: var(--brand-primary); }
.hero-desc { font-size: 1.2rem; margin-bottom: 40px; max-width: 90%; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; }

/* UI Mockup */
.ui-mockup { background: white; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 550px; margin-left: auto; }
.ui-header { display: flex; align-items: center; background: #f1f5f9; border-bottom: 1px solid var(--border-color); padding: 0 16px; height: 48px; gap: 16px; }
.ui-dots { display: flex; gap: 6px; }
.ui-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.ui-tab { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); padding: 6px 16px; border-radius: 6px; }
.ui-tab.active { background: white; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.ui-body { display: flex; height: 350px; }
.ui-sidebar { width: 160px; border-right: 1px solid var(--border-color); padding: 24px 16px; background: #fafafa; }
.score-widget { text-align: center; margin-bottom: 24px; }
.score-circle { width: 60px; height: 60px; border-radius: 50%; border: 4px solid #ef4444; color: #ef4444; display: flex; justify-content: center; align-items: center; font-weight: 700; font-size: 1.25rem; margin: 0 auto 8px; font-family: 'Outfit'; }
.ai-circle { border-color: #8b5cf6; color: #8b5cf6; }
.score-label { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; }
.filter-lines .f-line { height: 8px; background: #e2e8f0; border-radius: 4px; margin-bottom: 12px; }
.filter-lines .w-half { width: 50%; }
.ui-content { flex: 1; padding: 32px 24px; position: relative; }
.ui-content h2 { font-size: 1.1rem; margin-bottom: 16px; }
.ui-p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.highlight-plag { background: #fee2e2; border-bottom: 2px solid #ef4444; color: #991b1b; }
.highlight-ai { background: #ede9fe; border-bottom: 2px solid #8b5cf6; color: #5b21b6; }
.ui-tooltip { position: absolute; bottom: 24px; right: 24px; background: var(--text-primary); color: white; padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; box-shadow: var(--shadow-md); }

/* Trusted Logos */
.trusted-section { padding: 40px 0; background: var(--bg-main); border-bottom: 1px solid var(--border-color); text-align: center; }
.trusted-label { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; color: #94a3b8; }
.logos-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.partner-logo { font-family: 'Outfit'; font-weight: 700; font-size: 1.25rem; color: #cbd5e1; }

/* Pillars (3 Columns) */
.pillars-section { padding: 120px 0; background: white; }
.section-title { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--brand-dark); }
.section-title p { font-size: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar-card { padding: 0 20px; }
.pillar-icon { width: 48px; height: 48px; background: var(--brand-light); color: var(--brand-primary); border-radius: 12px; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; }
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 16px; }

/* Split Features */
.features-split { padding: 80px 0; background: var(--bg-main); }
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 60px 0; }
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.tag { font-size: 0.85rem; font-weight: 700; color: var(--brand-primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.split-content h2 { font-size: 2.25rem; margin-bottom: 24px; line-height: 1.2; }
.split-content p { font-size: 1.1rem; margin-bottom: 32px; }
.feature-list { list-style: none; }
.feature-list li { position: relative; padding-left: 28px; margin-bottom: 16px; font-weight: 500; color: var(--text-primary); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-primary); font-weight: bold; }

/* Abstract Visuals */
.visual-box { width: 100%; height: 400px; background: white; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.db-node { position: absolute; background: white; border: 2px solid var(--border-color); padding: 16px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; z-index: 2; box-shadow: var(--shadow-sm); }
.center-node { background: var(--brand-primary); color: white; border-color: var(--brand-primary); text-align: center; padding: 20px 32px; }
.node-1 { top: 15%; left: 15%; }
.node-2 { top: 25%; right: 15%; }
.node-3 { bottom: 15%; left: 40%; }
.db-lines { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; }

.ai-chat-mockup { width: 80%; background: #f8fafc; border-radius: 12px; padding: 24px; border: 1px solid var(--border-color); }
.ai-msg { background: white; padding: 16px; border-radius: 12px 12px 12px 0; border: 1px solid var(--border-color); margin-bottom: 16px; font-size: 0.9rem; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.user-msg { background: var(--brand-primary); color: white; padding: 16px; border-radius: 12px 12px 0 12px; margin-bottom: 16px; font-size: 0.9rem; margin-left: 40px; }

/* Community Section */
.community-section { padding: 120px 0; background: white; }
.community-card { background: var(--brand-dark); border-radius: 24px; padding: 60px; display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; color: white; }
.community-text h2 { color: white; font-size: 2.5rem; margin-bottom: 24px; }
.community-text p { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 40px; }
.avatars-group { display: flex; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--brand-dark); margin-left: -16px; box-shadow: var(--shadow-lg); }
.avatar:first-child { margin-left: 0; }

/* Footer */
.site-footer { background: white; padding: 80px 0 0; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .f-logo { display: flex; align-items: center; gap: 12px; font-family: 'Outfit'; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 0.95rem; }
.footer-links h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; color: var(--text-primary); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-primary); }
.footer-legal { border-top: 1px solid var(--border-color); padding: 32px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #94a3b8; }
.legal-links { display: flex; gap: 24px; }
.legal-links a { color: #94a3b8; text-decoration: none; }
.legal-links a:hover { color: var(--text-primary); }
