/* Reyield.fi - Shared Styles */

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

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #1e293b;
    --accent: #06b6d4;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

button, input, textarea, select {
    font-family: inherit;
}

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

/* Navigation */
.navbar {
    background: transparent;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    pointer-events: auto;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.logo-text small {
    font-size: 0.52rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.58em;
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    position: relative;
    z-index: 2001;
    pointer-events: auto;
}

.nav-links a {
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2002;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Compact hero variant (used on Palkkatiedot) */
.hero.hero-compact {
    padding: 96px 0 32px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.hero.hero-compact::before,
.hero.hero-compact::after {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 80px;
    flex-wrap: wrap;
}

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

.hero-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Employment Statistics Section */
.stats-section {
    padding: 100px 0;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.stat-card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.6;
}

.stat-card-trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.trend-up {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.trend-down {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Chart Visualization */
.chart-container {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.primary {
    background: var(--primary);
}

.legend-dot.accent {
    background: var(--accent);
}

/* Bar Chart CSS */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding-top: 20px;
    gap: 16px;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 8px;
}

.bar-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 160px;
}

.bar {
    width: 24px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
    position: relative;
}

.bar.primary {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

.bar.accent {
    background: linear-gradient(180deg, var(--accent), #0891b2);
}

.bar:hover {
    opacity: 0.8;
}

.bar.single {
    width: 40px;
}

.bar::before {
    content: attr(data-value);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.bar-change {
    font-size: 0.65rem;
    font-weight: 600;
    color: #22c55e;
    margin-top: 2px;
}

/* Salary Columns Section */
.salary-section {
    padding: 100px 0;
    background: var(--background);
}

.salary-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.salary-column {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.salary-column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.salary-column-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-tech {
    background: rgba(14, 165, 233, 0.1);
}

.icon-health {
    background: rgba(16, 185, 129, 0.1);
}

.icon-finance {
    background: rgba(245, 158, 11, 0.1);
}

.salary-column-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.salary-list {
    list-style: none;
}

.salary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.salary-item:last-child {
    border-bottom: none;
}

.salary-job {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
}

.salary-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

/* Info Section - Understanding Salary Data */
.info-section {
    padding: 100px 0;
    background: #ffffff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.info-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.info-comparison {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 24px;
}

.comparison-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comparison-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.comparison-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-divider span {
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.info-visual {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.distribution-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 100px;
    margin-bottom: 12px;
}

.distribution-bar {
    width: 28px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
}

.distribution-bar.highlight {
    opacity: 1;
    background: linear-gradient(180deg, var(--accent), #0891b2);
}

.distribution-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.median-marker {
    color: var(--accent);
    font-weight: 600;
}

.formula-box {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.formula-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.formula-fraction {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.numerator {
    font-weight: 600;
    color: var(--primary);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--secondary);
}

.denominator {
    font-weight: 600;
    color: var(--accent);
    padding-top: 4px;
}

.info-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.info-stat {
    background: white;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.info-stat.accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
}

.info-stat.accent .info-stat-value,
.info-stat.accent .info-stat-label {
    color: white;
}

.info-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.info-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

/* Sources Section */
.sources-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 48px;
}

.sources-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 32px;
}

.sources-main {
    /* Main sources column - 3/4 width */
}

.sources-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.sources-intro {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.sources-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.source-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.source-row:last-child {
    border-bottom: none;
}

.source-row .source-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.source-row .source-content {
    flex: 1;
}

.source-row h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
    display: inline;
}

.source-row p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: inline;
    margin-left: 4px;
}

.source-row .source-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.source-tag {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.source-row .source-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.source-row .source-link:hover {
    text-decoration: underline;
}

/* News Column Styles */
.news-column {
    /* News sidebar - 1/4 width */
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background: white;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.news-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-date {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.news-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-text span {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text small {
    color: var(--text-muted);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

/* Contact Page Specific Styles */
.contact-hero-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 40px 0;
}

.contact-hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.contact-hero-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-hero-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

.contact-hero-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-hero-card a:hover {
    text-decoration: underline;
}

/* Data Page Specific Styles */
.data-page-section {
    padding: 40px 0 80px;
    background: var(--background);
}

.data-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.data-page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.data-page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
}

.chart-card-header {
    margin-bottom: 20px;
}

.chart-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
}

.salary-bars-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.salary-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.salary-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 48px;
}

.salary-bar-track {
    flex: 1;
    height: 24px;
    background: var(--background);
    border-radius: 4px;
    overflow: hidden;
}

.salary-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.salary-bar-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.salary-bar-change {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    min-width: 48px;
    text-align: right;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.history-item:last-child {
    border-bottom: none;
}

.history-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
}

.history-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Overview Section */
.overview-section {
    padding: 80px 0;
    background: var(--surface);
}

.overview-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 32px;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-stat {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.overview-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.overview-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.overview-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.overview-text p {
    margin-bottom: 16px;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
}

.data-table td {
    padding: 16px 20px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.data-table tr td:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.data-table tr td:last-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sources-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sources-main {
        order: 1;
    }

    .news-column {
        order: 2;
    }
    
    .sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
    }

    .news-item {
        min-width: 260px;
        flex-shrink: 0;
    }

    .salary-columns {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .data-page-grid {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Understanding Salary Data section responsive */
    .info-section {
        padding: 60px 0;
    }

    .info-grid {
        gap: 24px;
        margin-bottom: 40px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .info-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-comparison {
        flex-direction: column;
        gap: 16px;
    }

    .comparison-item {
        padding: 16px;
    }

    .comparison-value {
        font-size: 1.5rem;
    }

    .comparison-label {
        font-size: 0.75rem;
    }

    .comparison-desc {
        font-size: 0.8rem;
    }
    
    .comparison-divider {
        padding: 8px 0;
    }

    .formula {
        font-size: 0.9rem;
    }

    .formula-box {
        padding: 16px;
        overflow-x: auto;
        max-width: 100%;
    }

    .info-visual {
        padding: 16px;
        max-width: 100%;
    }

    .distribution-chart {
        gap: 6px;
        justify-content: space-between;
    }

    .distribution-bar {
        width: 18px;
    }

    .distribution-labels {
        font-size: 0.7rem;
    }
    
    .info-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-stat {
        padding: 12px;
    }

    .info-stat-value {
        font-size: 1.25rem;
    }

    .info-note {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .sources-section {
        padding: 32px 20px;
    }

    .source-row {
        padding: 16px 0;
    }

    .source-row h4 {
        display: block;
        margin-bottom: 8px;
    }

    .source-row p {
        display: block;
        margin-left: 0;
    }

    .source-meta {
        margin-top: 12px;
    }

    .news-list {
        flex-direction: column;
    }

    .news-item {
        min-width: 100%;
    }

    .sources-title,
    .news-title {
        font-size: 1.25rem;
    }

    .sources-intro {
        font-size: 0.9rem;
    }

    /* Bar chart responsive - stack vertically */
    .bar-chart {
        flex-direction: column;
        height: auto;
        gap: 16px;
        align-items: stretch;
    }

    .bar-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .bar-group:last-child {
        border-bottom: none;
    }

    .bar-wrapper {
        height: auto;
        flex: 1;
        max-width: 60%;
    }

    .bar.single {
        width: 100%;
        height: 24px !important;
        border-radius: 4px;
    }

    .bar::before {
        position: static;
        transform: none;
        display: inline-block;
        margin-left: 8px;
        box-shadow: none;
        background: transparent;
        padding: 0;
        font-size: 0.85rem;
    }

    .bar-label {
        font-size: 0.85rem;
        font-weight: 600;
        order: -1;
        min-width: 50px;
    }

    .bar-change {
        font-size: 0.75rem;
        min-width: 50px;
        text-align: right;
    }

    .chart-container {
        padding: 20px;
    }

    .chart-title {
        font-size: 1rem;
    }

    /* Navigation mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 2001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: white;
        -webkit-text-fill-color: white;
        background: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .bar-chart {
        gap: 8px;
    }

    .bar {
        width: 16px;
    }

    .data-page-title {
        font-size: 1.75rem;
    }

    .overview-title {
        font-size: 1.5rem;
    }

    .overview-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .overview-stat {
        flex: 1;
        min-width: 140px;
    }
}

/* Contact Page - Hero Grid */
.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}

.contact-hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.contact-hero-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-hero-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.contact-hero-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-hero-card a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 16px;
}

.map-container iframe {
    border-radius: 8px;
}

/* Palk Data Page - Two Column Layout */
.data-two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.chart-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.data-info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Salary Bars for Palk Data */
.salary-bar-wrapper {
    flex: 1;
    height: 24px;
    background: var(--background);
    border-radius: 4px;
    overflow: hidden;
}

.salary-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
}

.salary-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 70px;
    text-align: right;
}

/* Info List for Palk Data */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-check {
    color: var(--success);
    font-weight: 600;
}

.info-list-label {
    font-weight: 500;
    color: var(--text-primary);
}

.info-list-value {
    font-weight: 600;
    color: var(--primary);
}

/* Responsive for Contact and Palk Data */
@media (max-width: 1024px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .data-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero-card {
        padding: 24px;
    }

    .contact-hero-card h3 {
        font-size: 1.25rem;
    }

    .salary-bar-row {
        flex-wrap: wrap;
    }

    .salary-value {
        min-width: 60px;
        font-size: 0.8rem;
    }
}