/* Aptitude Interest Alignment - Custom Styles */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.assessment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.assessment-panel, .results-panel {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.assessment-panel h2, .results-panel h2 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.panel-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-item label {
    font-size: 0.9rem;
    font-weight: 500;
}

.rating-item select {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 1rem;
    cursor: pointer;
}

.rating-item select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.primary-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 0.5rem;
}

.primary-button:hover {
    background: var(--primary-dark);
}

.secondary-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 0.5rem;
}

.secondary-button:hover {
    background: #475569;
}

.results-content {
    min-height: 100px;
}

.alignment-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.skill-combo {
    background: var(--background);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.skill-combo h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-combo .score-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.skill-combo .score-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.pathway-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pathway-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--success);
}

.pathway-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pathway-card ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.pathway-card li {
    margin-bottom: 0.25rem;
}

.support-content, .about-content {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.support-content h3, .about-content h3 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.support-content h3:first-child, .about-content h3:first-child {
    margin-top: 0;
}

.support-content p, .about-content p {
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.ecosystem-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .assessment-container {
        grid-template-columns: 1fr;
    }
    
    nav {
        padding: 1rem;
    }
    
    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 1rem;
    }
    
    .rating-grid {
        grid-template-columns: 1fr;
    }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
