/* =============================================
   UTS SMF — Student Managed Fund
   Contemporary Australian University Theme
   ============================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #000d4d;
    --secondary: #2962ff;
    --accent: #00e5ff;
    --bg-white: #ffffff;
    --bg-off: #f0f2f5;
    --bg-dark: #0d1117;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #c9d1d9;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --container: 1180px;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0, 13, 77, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 13, 77, 0.12);
    --glow: 0 0 30px rgba(0, 229, 255, 0.15);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* ---------- UTILITY ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--bg-dark);
}

/* Section Headers */
.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(41, 98, 255, 0.08);
}

.section__tag--light {
    color: var(--accent);
    background: rgba(0, 229, 255, 0.1);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.section__title--light {
    color: var(--bg-white);
}

.section__sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.section__sub--light {
    color: var(--text-light);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 28px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn svg,
.btn i {
    width: 18px;
    height: 18px;
}

.btn--primary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(41, 98, 255, 0.3);
}

.btn--primary:hover {
    background: #1b4fd4;
    box-shadow: 0 6px 24px rgba(41, 98, 255, 0.45);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--glow);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 13, 77, 0.06);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-uts {
    color: #fff;
    transition: color var(--transition);
}

.scrolled .logo-uts {
    color: var(--primary);
}

.logo-smf {
    color: var(--accent);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.scrolled .nav-link {
    color: var(--text-muted);
}

.scrolled .nav-link:hover,
.scrolled .nav-link.active {
    color: var(--secondary);
}

.scrolled .nav-link:hover::after,
.scrolled .nav-link.active::after {
    background: var(--secondary);
}

.navbar__cta {
    padding: 10px 24px;
}

.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1010;
    padding: 4px;
}

.navbar__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.scrolled .navbar__burger span {
    background: var(--primary);
}

.navbar__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__burger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.mobile-menu.open .mobile-menu__inner {
    transform: translateY(0);
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__cta {
    margin-top: 16px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, var(--primary) 0%, #001060 40%, #0d1117 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.hero__shape--1 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    top: -200px;
    right: -100px;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}

.hero__shape--3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    right: 20%;
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 720px;
    margin-bottom: 64px;
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 8px 20px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero__sub {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: var(--glow);
}

.stat-card__prefix {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-60px);
}

.stat-card__value {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-card__suffix {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-card__icon {
    width: 42px;
    height: 42px;
    color: var(--accent);
    margin: 0 auto 8px;
}

.stat-card__label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    letter-spacing: 0.5px;
}

/* Hero Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2s infinite;
}

.hero__scroll-indicator svg {
    width: 20px;
    height: 20px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- ABOUT ---------- */
.about {
    background: var(--bg-off);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.1), rgba(0, 229, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-card__icon svg {
    width: 24px;
    height: 24px;
}

.about-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.about-card__text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- PORTFOLIO ---------- */
.portfolio__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}

/* Donut Chart */
.portfolio__chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.donut-chart {
    position: relative;
    width: 260px;
    height: 260px;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 24;
}

.donut-segment {
    fill: none;
    stroke-width: 24;
    stroke-linecap: butt;
    transition: stroke-dasharray 1s ease;
}

.donut-segment--aus { stroke: var(--secondary); }
.donut-segment--intl { stroke: var(--accent); }
.donut-segment--fi { stroke: #7c4dff; }
.donut-segment--cash { stroke: #64748b; }

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-center__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.donut-center__label {
    font-size: 0.78rem;
    color: var(--text-light);
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-dot--aus { background: var(--secondary); }
.legend-dot--intl { background: var(--accent); }
.legend-dot--fi { background: #7c4dff; }
.legend-dot--cash { background: #64748b; }

.legend-label { flex: 1; }

.legend-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

/* Holdings Bars */
.portfolio__holdings {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.portfolio__holdings-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.holding-bar__header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.holding-bar__header span:last-child {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
}

.holding-bar__track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.holding-bar__fill {
    height: 100%;
    width: var(--fill-width);
    border-radius: 100px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Performance Chart */
.portfolio__performance {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.portfolio__perf-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.perf-chart {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.perf-chart__area {
    flex: 1;
    position: relative;
}

.perf-svg {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.perf-chart__y-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    padding-right: 8px;
    margin-bottom: 4px;
}

.perf-chart__x-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-heading);
    margin-top: 8px;
}

.perf-chart__legend {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.perf-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.perf-legend-line {
    width: 24px;
    height: 3px;
    border-radius: 2px;
}

.perf-legend-line--fund { background: var(--secondary); }
.perf-legend-line--bench { background: var(--accent); }

/* ---------- RESEARCH ---------- */
.research {
    background: var(--bg-off);
}

.research__pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.pillar-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(41, 98, 255, 0.06);
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
}

.pillar-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.1), rgba(0, 229, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 20px;
}

.pillar-card__icon svg {
    width: 22px;
    height: 22px;
}

.pillar-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.pillar-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Research Process Flow */
.research__flow {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    box-shadow: var(--shadow);
}

.research__flow-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
    color: var(--text);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.flow-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform var(--transition);
}

.flow-step:hover .flow-step__icon {
    transform: scale(1.1);
}

.flow-step__icon svg {
    width: 24px;
    height: 24px;
}

.flow-step__label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.flow-step__arrow {
    color: var(--text-muted);
    opacity: 0.35;
    display: flex;
    align-items: center;
    margin-top: -22px;
}

.flow-step__arrow svg {
    width: 20px;
    height: 20px;
}

/* ---------- TEAM ---------- */
.team__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 36px 20px;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.team-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
}

.team-card__avatar svg {
    width: 30px;
    height: 30px;
}

.team-card__role {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.team-card__desc {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ---------- JOIN ---------- */
.join {
    background: var(--bg-white);
}

/* Application Timeline */
.join__timeline {
    max-width: 680px;
    margin: 0 auto 64px;
    position: relative;
}

.join__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 23px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    border-radius: 2px;
}

.timeline-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step__marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(41, 98, 255, 0.25);
}

.timeline-step__content {
    padding-top: 8px;
}

.timeline-step__content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-step__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Contact Form */
.join__form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-off);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.join__form-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.join__form-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.join__form-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.join__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.join__detail svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
}

.join__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text);
    font-size: 0.92rem;
    transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--primary);
    padding: 64px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 320px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__social:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer__col a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom strong {
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- TOAST ---------- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 900;
    box-shadow: 0 4px 16px rgba(41, 98, 255, 0.35);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet Large */
@media (max-width: 1100px) {
    .about__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .research__pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .join__form-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 36px;
    }
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .navbar__links,
    .navbar__cta {
        display: none;
    }

    .navbar__burger {
        display: flex;
    }

    .hero__title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-card__value {
        font-size: 1.8rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .research__pillars {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        gap: 12px;
    }

    .flow-step__arrow {
        margin-top: 0;
        transform: rotate(90deg);
    }

    .team__grid {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .portfolio__performance {
        padding: 24px 16px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero__ctas {
        flex-direction: column;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 0.92rem;
        justify-content: center;
    }

    .join__form-wrapper {
        padding: 24px 20px;
    }

    .join__timeline::before {
        left: 19px;
    }

    .timeline-step__marker {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .section__title {
        font-size: 1.7rem;
    }
}
