/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--text-light); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    color: var(--secondary);
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.hero-title {
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    margin: 8px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    margin-bottom: 12px;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-reset {
    align-self: flex-end;
    padding: 12px 24px;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.program-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.program-header {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.program-university {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.program-name {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 8px;
}

.program-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.program-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.program-body {
    padding: 24px;
}

.program-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.program-detail {
    display: flex;
    flex-direction: column;
}

.program-detail-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.program-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.program-spec {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Universities Grid */
.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.university-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

.university-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.university-logo {
    width: 80px;
    height: 80px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
}

.university-name {
    margin-bottom: 8px;
}

.university-location {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.university-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
}

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

.university-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.university-stat-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
}

/* Compare Section */
.compare-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.compare-selectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.compare-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.compare-select:focus {
    outline: none;
    border-color: var(--primary);
}

.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text);
}

.compare-table th:first-child {
    border-radius: var(--radius) 0 0 0;
}

.compare-table th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.compare-table td:first-child {
    font-weight: 600;
    color: var(--text);
}

.compare-table tr:hover td {
    background: var(--bg-alt);
}

/* Specialisations */
.spec-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.spec-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.spec-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.spec-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.spec-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.spec-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.spec-info p {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.spec-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
}

.spec-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.spec-careers {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius);
}

.spec-careers h4 {
    margin-bottom: 16px;
    color: var(--text);
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.career-tag {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text);
    box-shadow: var(--shadow);
}

/* Calculator */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.calc-group {
    margin-bottom: 32px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.calc-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-alt);
    appearance: none;
    cursor: pointer;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.calc-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-result {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.calc-result:last-child {
    border-bottom: none;
}

.calc-result.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    margin-top: 16px;
}

.calc-result.highlight .calc-label,
.calc-result.highlight .calc-amount {
    color: white;
}

.calc-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.calc-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-duration {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* SEO Content Section */
.seo-content {
    background: var(--bg-alt);
}

.seo-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.seo-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--secondary);
}

.seo-wrapper h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--text);
}

.seo-wrapper p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

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

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

.footer-brand p {
    color: var(--text-lighter);
    margin-top: 16px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: var(--text-lighter);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-lighter);
    font-size: 0.875rem;
}

.disclaimer {
    margin-top: 16px;
    font-size: 0.8rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 48px;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .compare-selectors {
        grid-template-columns: 1fr;
    }

    .compare-table {
        font-size: 0.875rem;
    }

    .filters {
        flex-direction: column;
    }

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

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

    .seo-wrapper {
        padding: 32px 24px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .spec-tabs {
        gap: 8px;
    }

    .spec-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

/* ==========================================
   NEW STYLES FOR ADSENSE COMPLIANCE
   ========================================== */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-alt);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-top: 72px;
}

.breadcrumbs a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 12px;
    color: var(--text-lighter);
}

.breadcrumb-current {
    color: var(--text-light);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Contextual Intro */
.contextual-intro {
    background: white;
}

.intro-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-wrapper h2 {
    margin-bottom: 24px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* User Guide Section */
.user-guide {
    background: var(--bg-alt);
}

.guide-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.guide-wrapper h2 {
    margin-bottom: 32px;
    text-align: center;
}

.guide-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text);
}

.guide-content p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.guide-faq {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.guide-faq h3 {
    margin-bottom: 24px;
}

.guide-faq-item {
    margin-bottom: 24px;
}

.guide-faq-item h4 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.guide-faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Latest Articles Section */
.latest-articles {
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.article-category {
    background: white;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 24px;
}

.article-content h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.article-content h3 a {
    color: var(--text);
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-content p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.articles-cta {
    text-align: center;
    margin-top: 40px;
}

/* Content Pages (About, Privacy, Terms) */
.about-content,
.contact-content,
.legal-content {
    background: white;
}

.content-wrapper,
.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2,
.legal-wrapper h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.content-wrapper h2:first-child,
.legal-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3,
.legal-wrapper h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.content-wrapper p,
.legal-wrapper p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-wrapper ul,
.legal-wrapper ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-wrapper li,
.legal-wrapper li {
    margin-bottom: 8px;
    color: var(--text-light);
    line-height: 1.7;
}

.content-wrapper a,
.legal-wrapper a {
    color: var(--primary);
}

.content-wrapper a:hover,
.legal-wrapper a:hover {
    text-decoration: underline;
}

/* CTA Boxes */
.cta-box {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.cta-box.large {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 48px;
}

.cta-box h3 {
    margin-bottom: 12px;
}

.cta-box.large h2,
.cta-box.large h3 {
    color: white;
}

.cta-box p {
    margin-bottom: 20px;
}

.cta-box.large p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-methods {
    margin-top: 32px;
}

.contact-method {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.contact-method h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-method p {
    font-size: 0.95rem;
}

.response-time {
    margin-top: 32px;
    padding: 20px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
}

.response-time h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h2 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-faq {
    background: var(--bg-alt);
}

.faq-simple {
    max-width: 800px;
    margin: 0 auto;
}

.faq-simple-item {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.faq-simple-item h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-simple-item p {
    color: var(--text-light);
}

/* Tools Page */
.tools-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.tools-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tool-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tool-card h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.tool-card h3 {
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
}

.tool-card p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.tool-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.tool-card li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tool-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.tools-guide {
    background: var(--bg-alt);
}

.tools-guide h2 {
    text-align: center;
    margin-bottom: 40px;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    flex: 1;
    box-shadow: var(--shadow);
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
}

.tools-cta {
    background: white;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 140px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.blog-category {
    background: white;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-content h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-card-content h2 a {
    color: var(--text);
}

.blog-card-content h2 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.blog-cta {
    background: var(--bg-alt);
}

/* Blog Article Page */
.blog-article {
    padding: 60px 0;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.article-header .article-category {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-lighter);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-content a {
    color: var(--primary);
}

.article-content a:hover {
    text-decoration: underline;
}

.article-cta {
    max-width: 800px;
    margin: 48px auto 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.article-cta h3 {
    color: white;
    margin-bottom: 12px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary);
}

/* Responsive for New Components */
@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 72px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .guide-wrapper,
    .content-wrapper,
    .legal-wrapper {
        padding: 24px;
    }

    .guide-step {
        flex-direction: column;
    }

    .step-number {
        width: 40px;
        height: 40px;
    }

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

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }
}
