/* styles.css - RankRaasta Premium Theme */
:root {
    --brand-primary: #ff6b00; /* Ahrefs-style Orange */
    --brand-dark: #cc5600;
    --hero-bg: #0B132B; /* Midnight Navy */
    
    --bg-app: #f4f5f9;
    --bg-surface: #ffffff;
    --text-strong: #1e293b;
    --text-base: #334155;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-dark: #cbd5e1;
    
    --c-green: #059669;
    --c-green-bg: #d1fae5;
    --c-red: #dc2626;
    --c-red-bg: #fee2e2;
    --c-yellow: #d97706;
    
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-app); color: var(--text-base); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-green { color: var(--c-green) !important; }
.text-red { color: var(--c-red) !important; }

/* =========================================
   LANDING PAGE (Ahrefs Style)
========================================= */
.landing-wrapper { background: var(--bg-surface); min-height: 100vh; }
.landing-nav { background: var(--hero-bg); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo-large { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: white; letter-spacing: -0.5px; }
.brand-logo-large .logo-icon { background: var(--brand-primary); padding: 6px; border-radius: 8px; display: flex; }
.brand-logo-large span { color: var(--brand-primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.nav-cta { color: white !important; border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 99px; }
.nav-cta:hover { background: rgba(255,255,255,0.1); }

/* Hero Section */
.hero-section { background: var(--hero-bg); color: white; padding: 100px 0 80px; text-align: center; }
.hero-content h1 { font-size: 64px; font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; max-width: 800px; margin-inline: auto; }
.hero-content h1 span { color: var(--brand-primary); }
.hero-content p { font-size: 20px; color: #94a3b8; max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }

/* Massive Hero Search */
.hero-search-box { display: flex; align-items: center; background: white; padding: 8px; border-radius: 99px; max-width: 750px; margin: 0 auto 16px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3); }
.hero-input-group { display: flex; align-items: center; flex-grow: 1; padding: 0 24px; }
.hero-input-group .protocol { color: #94a3b8; font-size: 20px; font-weight: 500; margin-right: 8px; }
.hero-input-group input { border: none; outline: none; font-size: 20px; color: var(--text-strong); width: 100%; padding: 16px 0; font-weight: 500; }
.hero-input-group input::placeholder { color: #cbd5e1; }
.hero-btn { background: var(--brand-primary); color: white; border: none; padding: 16px 40px; border-radius: 99px; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: transform 0.2s, background 0.2s; }
.hero-btn:hover { background: var(--brand-dark); transform: scale(1.02); }
.hero-subtext { font-size: 14px; color: #64748b; }

/* Social Proof */
.social-proof { background: #f8fafc; padding: 40px 0; text-align: center; border-bottom: 1px solid var(--border-light); }
.social-proof p { font-size: 14px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.logo-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; opacity: 0.5; filter: grayscale(100%); }
.fake-logo { font-size: 24px; font-weight: 800; font-family: serif; }

/* Landing Features */
.landing-features { padding: 80px 24px; text-align: center; }
.landing-features h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 48px; color: var(--text-strong); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feat-card { text-align: left; padding: 32px; border: 1px solid var(--border-light); border-radius: 16px; box-shadow: var(--shadow-card); transition: transform 0.2s; }
.feat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.feat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feat-icon i { width: 28px; height: 28px; }
.feat-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-strong); }
.feat-card p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.landing-footer { text-align: center; padding: 40px; border-top: 1px solid var(--border-light); color: var(--text-muted); }

/* =========================================
   DASHBOARD SAAS LAYOUT (Keeping it intact)
========================================= */
.saas-layout { display: flex; height: 100vh; overflow: hidden; }
.saas-sidebar { width: 240px; background: var(--bg-surface); border-right: 1px solid var(--border-light); display: flex; flex-direction: column; flex-shrink: 0; z-index: 100; transition: transform 0.3s ease; }
.sidebar-brand { height: 60px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); }
.brand-logo { background: var(--brand-primary); color: white; padding: 4px; border-radius: 6px; display: flex; }
.sidebar-brand h2 { font-size: 18px; font-weight: 700; color: var(--text-strong); }
.sidebar-brand h2 span { color: var(--brand-primary); }

.sidebar-menu { padding: 20px 12px; flex-grow: 1; overflow-y: auto; }
.menu-label { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; margin: 16px 0 8px 12px; }
.sidebar-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--text-base); text-decoration: none; border-radius: 6px; font-size: 14px; font-weight: 500; transition: 0.15s; margin-bottom: 2px; }
.sidebar-menu a i { width: 18px; height: 18px; color: var(--text-muted); }
.sidebar-menu a:hover, .sidebar-menu a.active { background: #f1f5f9; color: var(--brand-primary); }
.sidebar-menu a.active i { color: var(--brand-primary); }

.sidebar-ad { padding: 16px; border-top: 1px solid var(--border-light); position: relative; }
.ad-badge { position: absolute; top: 10px; left: 20px; background: #cbd5e1; font-size: 9px; padding: 2px 4px; border-radius: 3px; color: white; text-transform: uppercase; }
.ad-placeholder-square { width: 100%; height: 200px; background: #f8fafc; border: 1px dashed var(--border-dark); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 12px; border-radius: 4px; }

.saas-main { flex-grow: 1; display: flex; flex-direction: column; overflow-x: hidden; }
.saas-topbar { height: 60px; background: var(--bg-surface); border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; flex-shrink: 0; }
.mobile-menu-btn, .mobile-close { display: none; background: none; border: none; cursor: pointer; color: var(--text-strong); }

.global-search { display: flex; align-items: center; gap: 12px; max-width: 500px; width: 100%; }
.search-input-wrapper { display: flex; align-items: center; background: var(--bg-app); border: 1px solid var(--border-dark); border-radius: 6px; padding: 0 12px; flex-grow: 1; transition: border-color 0.2s; }
.search-input-wrapper:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1); }
.protocol { color: var(--text-muted); font-size: 14px; border-right: 1px solid var(--border-dark); padding-right: 8px; margin-right: 8px; }
.search-input-wrapper input { border: none; background: transparent; padding: 8px 0; outline: none; font-size: 14px; width: 100%; color: var(--text-strong); }
.btn-primary { background: var(--brand-primary); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 500; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background 0.2s; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: white; border: 1px solid var(--border-dark); padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-strong); }

.user-controls { display: flex; align-items: center; gap: 16px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }

.saas-content { padding: 32px; overflow-y: auto; height: calc(100vh - 60px); }
.domain-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.domain-header h1 { font-size: 24px; font-weight: 700; color: var(--text-strong); }
.meta-tag { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }

/* Dashboard UI Components */
.metric-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.metric-card { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 8px; padding: 20px; box-shadow: var(--shadow-card); }
.metric-header { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; }
.metric-body { display: flex; align-items: baseline; gap: 12px; }
.metric-value, .health-score-mini { font-size: 32px; font-weight: 700; }
.health-trend { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 4px; }

.saas-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border-light); margin-bottom: 24px; overflow-x: auto; white-space: nowrap; }
.tab-btn { background: none; border: none; padding: 12px 0; font-size: 14px; font-weight: 500; color: var(--text-muted); cursor: pointer; position: relative; display: flex; align-items: center; gap: 6px; }
.tab-btn:hover { color: var(--text-strong); }
.tab-btn.active { color: var(--brand-primary); font-weight: 600; }
.tab-btn.active::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--brand-primary); }
.tab-pane { display: none; animation: fadeIn 0.3s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.chart-panel { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 8px; padding: 24px; box-shadow: var(--shadow-card); }
.chart-panel h3 { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.gauge-container { position: relative; height: 220px; display: flex; justify-content: center; }
.gauge-value { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 40px; font-weight: 800; color: var(--text-strong); }
.bar-container { height: 220px; }

.cta-banner { background: #1e293b; border-radius: 8px; padding: 32px; display: flex; align-items: center; justify-content: space-between; color: white; margin-top: 10px; }
.cta-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cta-content p { font-size: 15px; color: #cbd5e1; max-width: 600px; line-height: 1.5; }
.btn-cta { background: var(--brand-primary); color: white; padding: 12px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }

.data-table-container { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 8px; box-shadow: var(--shadow-card); overflow: hidden; }
.saas-table { width: 100%; border-collapse: collapse; text-align: left; }
.saas-table th { background: #f8fafc; padding: 14px 20px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; border-bottom: 1px solid var(--border-light); }
.saas-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.pill-pass { background: var(--c-green-bg); color: var(--c-green); }
.pill-error { background: var(--c-red-bg); color: var(--c-red); }

.ai-report-panel { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 8px; box-shadow: var(--shadow-card); overflow: hidden; }
.ai-panel-header { background: linear-gradient(to right, #fff7ed, #ffffff); padding: 24px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 16px; border-left: 4px solid var(--brand-primary); }
.ai-content-body { padding: 32px; }
.ai-content-body ul { padding-left: 20px; line-height: 1.6; }
.ai-content-body li { margin-bottom: 16px; }

.loading-overlay { display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(100vh - 60px); }
.loader-pulse { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-primary); animation: pulse 1.5s infinite; margin-bottom: 20px; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255, 107, 0, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); } }

/* Mobile */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 48px; }
    .feat-grid { grid-template-columns: 1fr; }
    .charts-grid, .cta-banner { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-search-box { flex-direction: column; background: transparent; box-shadow: none; padding: 0; }
    .hero-input-group { background: white; border-radius: 12px; margin-bottom: 12px; width: 100%; }
    .hero-btn { width: 100%; justify-content: center; border-radius: 12px; }
    
    .saas-sidebar { position: fixed; transform: translateX(-100%); height: 100vh; }
    .saas-sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.2); }
    .mobile-close, .mobile-menu-btn { display: block; }
    .global-search { display: none; } /* Hide search in topbar on mobile to save space */
    .metric-cards-row { grid-template-columns: 1fr; }
    .saas-table, .saas-table tbody, .saas-table tr, .saas-table td { display: block; width: 100%; }
    .saas-table thead { display: none; }
    .saas-table td { text-align: left; }
    .saas-table td::before { content: attr(data-label); font-weight: 600; display: block; margin-bottom: 4px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; }
}

/* --- NEW STYLES: Social Proof Highlight --- */
.highlight-heading { font-size: 28px; font-weight: 700; color: var(--text-strong); }
.highlight-heading .text-brand { color: var(--brand-primary); }
.proof-accent-line { width: 60px; height: 4px; background: var(--brand-primary); margin: 16px auto 0; border-radius: 2px; }
.social-proof { padding: 60px 0; }

/* --- NEW STYLES: SEO Long-form Article --- */
.seo-longform { padding: 60px 24px; max-width: 900px; margin: 0 auto; background: white; border-radius: 12px; border: 1px solid var(--border-light); margin-bottom: 80px; box-shadow: var(--shadow-card); }
.article-block { margin-bottom: 48px; }
.article-block h2 { font-size: 28px; font-weight: 800; color: var(--text-strong); margin-bottom: 24px; letter-spacing: -0.5px; }
.article-block h3 { font-size: 20px; font-weight: 700; color: var(--text-strong); margin: 32px 0 16px; }
.article-block p { font-size: 16px; color: var(--text-base); line-height: 1.8; margin-bottom: 16px; }
.article-block a { color: var(--brand-primary); text-decoration: none; font-weight: 600; }
.article-block a:hover { text-decoration: underline; }

.styled-list { margin-left: 20px; margin-bottom: 24px; }
.styled-list li { margin-bottom: 12px; font-size: 16px; line-height: 1.7; color: var(--text-base); }
.styled-list li strong { color: var(--text-strong); }

.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.example-box { padding: 24px; border-radius: 8px; border: 1px solid var(--border-light); }
.bad-example { background: var(--c-red-bg); border-color: #fca5a5; }
.good-example { background: var(--c-green-bg); border-color: #86efac; }
.example-box h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.bad-example h4 { color: var(--c-red); }
.good-example h4 { color: var(--c-green); }
.example-box p { font-size: 14px; margin-bottom: 12px; line-height: 1.5; color: var(--text-strong); }

.faq-section .faq-item { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.faq-section .faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-section h3 { margin: 0 0 12px 0; font-size: 18px; color: var(--brand-primary); }

.ad-container-wide { text-align: center; margin: 40px 0; position: relative; }
.ad-placeholder-leaderboard { width: 100%; height: 90px; background: #f1f5f9; border: 1px dashed var(--border-dark); display: flex; align-items: center; justify-content: center; color: var(--text-muted); border-radius: 6px; }

/* --- NEW STYLES: Global Professional Footer --- */
.global-footer { background: var(--hero-bg); color: #cbd5e1; padding: 60px 0 20px; border-top: 4px solid var(--brand-primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 20px; }
.footer-tagline { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #94a3b8; max-width: 300px; }
.footer-links h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-primary); }
.footer-bottom { text-align: center; font-size: 13px; color: #64748b; }

@media (max-width: 768px) {
    .seo-longform { padding: 40px 16px; }
    .example-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-tagline { margin: 16px auto 0; }
}

/* --- NEW STYLES: Social Proof Highlight --- */
.highlight-heading { font-size: 28px; font-weight: 700; color: var(--text-strong); }
.highlight-heading .text-brand { color: var(--brand-primary); }
.proof-accent-line { width: 60px; height: 4px; background: var(--brand-primary); margin: 16px auto 0; border-radius: 2px; }
.social-proof { padding: 60px 0; }

/* --- NEW STYLES: SEO Long-form Article --- */
.seo-longform { padding: 60px 24px; max-width: 900px; margin: 0 auto; background: white; border-radius: 12px; border: 1px solid var(--border-light); margin-bottom: 80px; box-shadow: var(--shadow-card); }
.article-block { margin-bottom: 48px; }
.article-block h2 { font-size: 28px; font-weight: 800; color: var(--text-strong); margin-bottom: 24px; letter-spacing: -0.5px; }
.article-block h3 { font-size: 20px; font-weight: 700; color: var(--text-strong); margin: 32px 0 16px; }
.article-block p { font-size: 16px; color: var(--text-base); line-height: 1.8; margin-bottom: 16px; }
.article-block a { color: var(--brand-primary); text-decoration: none; font-weight: 600; }
.article-block a:hover { text-decoration: underline; }

.styled-list { margin-left: 20px; margin-bottom: 24px; }
.styled-list li { margin-bottom: 12px; font-size: 16px; line-height: 1.7; color: var(--text-base); }
.styled-list li strong { color: var(--text-strong); }

.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.example-box { padding: 24px; border-radius: 8px; border: 1px solid var(--border-light); }
.bad-example { background: var(--c-red-bg); border-color: #fca5a5; }
.good-example { background: var(--c-green-bg); border-color: #86efac; }
.example-box h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.bad-example h4 { color: var(--c-red); }
.good-example h4 { color: var(--c-green); }
.example-box p { font-size: 14px; margin-bottom: 12px; line-height: 1.5; color: var(--text-strong); }

.faq-section .faq-item { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.faq-section .faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-section h3 { margin: 0 0 12px 0; font-size: 18px; color: var(--brand-primary); }

.ad-container-wide { text-align: center; margin: 40px 0; position: relative; }
.ad-placeholder-leaderboard { width: 100%; height: 90px; background: #f1f5f9; border: 1px dashed var(--border-dark); display: flex; align-items: center; justify-content: center; color: var(--text-muted); border-radius: 6px; }

/* --- NEW STYLES: Global Professional Footer --- */
.global-footer { background: var(--hero-bg); color: #cbd5e1; padding: 60px 0 20px; border-top: 4px solid var(--brand-primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 20px; }
.footer-tagline { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #94a3b8; max-width: 300px; }
.footer-links h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-primary); }
.footer-bottom { text-align: center; font-size: 13px; color: #64748b; }

@media (max-width: 768px) {
    .seo-longform { padding: 40px 16px; }
    .example-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-tagline { margin: 16px auto 0; }
}
/* --- NEW STYLES: Dashboard Footer Alignment --- */
.dashboard-footer {
    /* Pulls the footer to the very edges of the dashboard container */
    margin: 60px -32px -32px -32px; 
    padding-left: 32px;
    padding-right: 32px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

@media (max-width: 768px) {
    .dashboard-footer {
        /* Adjusts edge-pulling for mobile padding */
        margin: 40px -16px -16px -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* --- Tool Form Utilities --- */
.tool-form { display: flex; gap: 16px; margin-bottom: 32px; max-width: 600px; }
.tool-form input { flex-grow: 1; padding: 12px 16px; border: 1px solid var(--border-dark); border-radius: 8px; outline: none; font-size: 15px; }
.tool-form input:focus { border-color: var(--brand-primary); }
.mt-4 { margin-top: 32px; }

.score-badge { display: inline-block; background: var(--c-green-bg); color: var(--c-green); padding: 8px 16px; border-radius: 99px; font-weight: 800; font-size: 18px; margin: 16px 0; border: 2px solid var(--c-green); }

@media (max-width: 768px) {
    .tool-form { flex-direction: column; }
    .charts-grid { grid-template-columns: 1fr !important; }
}