:root {
    /* New Light Theme Colors */
    --primary: #2563eb; /* Blue 600 */
    --primary-hover: #1d4ed8; /* Blue 700 */
    --primary-light: #eff6ff; /* Blue 50 */
    --primary-border: #bfdbfe; /* Blue 200 */
    
    --bg-main: #f8fafc; /* Slate 50 */
    --bg-card: #ffffff;
    
    --text-dark: #0f172a; /* Slate 900 */
    --text-body: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    
    --border-color: #e2e8f0; /* Slate 200 */
    --border-focus: #93c5fd; /* Blue 300 */
    
    /* Layout */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --transition-fast: 0.2s ease;
}

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

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Header / Hero */
.header {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-main) 100%);
    padding: 4rem 0 3rem 0;
}

.text-center {
    text-align: center;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-body);
}

/* Main Content Layout */
.main-content {
    padding-bottom: 4rem;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 900px) {
    .layout-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #fcfcfc;
}

.card-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.card-body {
    padding: 2rem;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .full-width {
        grid-column: 1 / -1;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
}

input[type="number"], select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

input[type="number"]:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Custom Radios */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Button */
.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* Result Box */
.result-box {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--primary-light);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: opacity 0.5s ease;
}

.result-box.hidden {
    display: none;
    opacity: 0;
}

.result-box h4 {
    color: var(--text-dark);
    font-size: 1.125rem;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.alert-box {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    text-align: left;
    line-height: 1.5;
}

/* Sidebar */
.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.info-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.resource-list {
    list-style: none;
    margin-left: 0 !important;
}

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.resource-list a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.highlight {
    font-weight: 600;
    color: var(--primary);
}

.highlight-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    border: none;
}

.highlight-card h3 {
    color: white;
}

/* SEO Content */
.seo-content {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.seo-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.seo-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
}

.seo-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: #cbd5e1;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-legal p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}
