@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #FF0066; /* Vibrant TMobilles Magenta */
    --primary-hover: #CC0052;
    --bg-color: #FFFFFF;
    --bg-offwhite: #F9FAFB;
    --text-main: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --radius: 20px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1100px; /* Slightly narrower for reading focus */
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Nav --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 15px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 15px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 8px 20px rgba(255, 0, 102, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-offwhite) 0%, var(--bg-color) 100%);
    border-bottom: 1px solid var(--border);
}

.hero .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 0, 102, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-main);
    max-width: 900px;
    margin-inline: auto;
}

.hero p {
    font-size: 21px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-img {
    margin-top: 60px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-width: 900px;
    margin-inline: auto;
}

.hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Content Sections --- */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Academic Card */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(255, 0, 102, 0.2);
}

.card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--bg-offwhite);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card .icon-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    gap: 10px;
}

/* Page Headers for Subpages */
.page-header {
    background: var(--bg-offwhite);
    padding: 100px 0 60px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-muted);
}

/* Article Styles */
.article-content {
    max-width: 800px;
    margin: 60px auto;
    font-size: 18px;
    color: #374151; /* Darker grey for reading */
}

.article-content h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 60px 0 24px;
    color: var(--text-main);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul {
    list-style: none; /* We will use custom bullets */
    margin-bottom: 30px;
}

.article-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

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

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-offwhite);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,0,102,0.1);
}

/* Footer */
footer {
    background: var(--bg-offwhite);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 300px;
    font-size: 15px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Cookie */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 150%);
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    width: 90%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show { transform: translate(-50%, 0); }

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 30px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 48px; }
    .page-header h1 { font-size: 40px; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px;}
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 20px;}
}
