/* === DESIGN TOKENS === */
:root {
    --primary: #2D1B69;
    --secondary: #6A5ACD;
    --accent: #A78BFA;
    --bg: #F5F5F5;
    --bg-white: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #5A5A7A;
    --border: #E0D9F5;
    --shadow-sm: 0 2px 8px rgba(45, 27, 105, 0.08);
    --shadow-md: 0 8px 24px rgba(45, 27, 105, 0.14);
    --shadow-lg: 0 20px 48px rgba(45, 27, 105, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 96px 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* === TYPOGRAPHY === */
h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

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

/* === DIVIDER === */
.divider {
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0.8rem auto 0.5rem;
}

/* === BUTTON === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(45, 27, 105, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(45, 27, 105, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: var(--transition);
}

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

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    gap: 0.2rem;
}

.nav-links li a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-links li a:hover {
    color: var(--primary);
    background: rgba(167, 139, 250, 0.12);
}

.burger {
    display: none;
    cursor: pointer;
    padding: 4px;
}

.burger div {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(150deg, #EDE8FF 0%, #F5F5F5 55%, #E8F4FF 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 90, 205, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(167, 139, 250, 0.15);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
    letter-spacing: -2px;
    margin-bottom: 1.2rem;
}

.hero-text h1 span {
    color: var(--secondary);
}

.hero-text .tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* === HERO IMAGE PANEL === */
.hero-image-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-img-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.07) 0%, rgba(167, 139, 250, 0.12) 100%);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
    gap: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.hero-img-placeholder i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.hero-img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: calc(var(--radius-lg) - 2px);
}

.hero-img-placeholder:hover {
    border-color: var(--primary);
    background: rgba(45, 27, 105, 0.06);
}

/* === SECTION BACKGROUND VARIANTS === */
.section-white {
    background: var(--bg-white);
}

.section-purple {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.section-purple h2 {
    color: #fff;
}

.section-purple .divider {
    background: linear-gradient(90deg, var(--accent), #fff);
}

.section-purple .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.section-purple p {
    color: rgba(255, 255, 255, 0.8);
}

.section-purple h3 {
    color: #fff;
}

/* === EXECUTIVE SUMMARY === */
.summary-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: center;
}

.summary-img-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.06) 0%, rgba(167, 139, 250, 0.1) 100%);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
    gap: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.summary-img-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
}

.summary-img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 2px);
}

.summary-text h3 {
    font-size: 1.5rem;
}

.mechanism-pills {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pill-primary {
    background: rgba(45, 27, 105, 0.08);
    color: var(--primary);
    border: 1px solid rgba(45, 27, 105, 0.15);
}

.pill-accent {
    background: rgba(167, 139, 250, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.key-specs {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.key-spec {
    text-align: center;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    flex: 1;
}

.key-spec-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.key-spec-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === PROBLEM === */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.04);
}

.stat-ring .stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-ring .stat-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === SOLUTION === */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.1), rgba(167, 139, 250, 0.15));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

/* === DESIGN === */
.design-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.design-img-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.05) 0%, rgba(167, 139, 250, 0.09) 100%);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
    gap: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.design-img-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
}

.design-img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 2px);
}

.design-text .inspiration-quote {
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.06), rgba(167, 139, 250, 0.08));
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.component-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.component-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1.2rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 600;
    transition: var(--transition);
}

.component-list-item:hover {
    border-color: var(--accent);
    background: rgba(167, 139, 250, 0.08);
}

.component-list-item i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

/* === VERSIONS / TIMELINE === */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.tl-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 3rem;
    align-items: center;
}

.tl-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tl-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.tl-card .tl-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.tl-card ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 3px 0 3px 18px;
    position: relative;
}

.tl-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1.2;
}

.tl-dot {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 4px rgba(45, 27, 105, 0.2);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tl-item:nth-child(even) .tl-card:first-child {
    grid-column: 3;
}

.tl-empty {
    opacity: 0;
    pointer-events: none;
}

/* Arrange items side-by-side */
.tl-item.left .tl-card {
    grid-column: 1;
}

.tl-item.left .tl-dot {
    grid-column: 2;
}

.tl-item.left .tl-empty {
    grid-column: 3;
}

.tl-item.right .tl-empty {
    grid-column: 1;
}

.tl-item.right .tl-dot {
    grid-column: 2;
}

.tl-item.right .tl-card {
    grid-column: 3;
}

/* Uniqueness tags */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tag i {
    color: var(--accent);
}

.tag:hover i {
    color: #fff;
}

/* === IMPACT === */
.impact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.impact-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impact-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.impact-stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.impact-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.impact-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    font-weight: 600;
}

.impact-quote-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.quote-card:hover {
    background: rgba(255, 255, 255, 0.17);
}

.quote-card .quote-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.quote-card blockquote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

.quote-card .quote-att {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 1rem;
}

/* === FEASIBILITY === */
.feasibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.cost-breakdown {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cost-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.5rem 2rem;
    color: #fff;
}

.cost-header h4 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.cost-total {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.cost-body {
    padding: 1.5rem 2rem;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

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

.cost-row span:last-child {
    color: var(--primary);
    font-size: 1.05rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.tech-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* === PERFORMANCE === */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.perf-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.perf-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.perf-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.perf-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.perf-val {
    font-size: 0.85rem;
    color: #10B981;
    font-weight: 700;
}

/* === SUSTAINABILITY === */
.sustain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sustain-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.sustain-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.sustain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* === PROJECT GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px dashed var(--accent);
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.05), rgba(167, 139, 250, 0.08));
    aspect-ratio: 3/2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
    gap: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.gallery-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(45, 27, 105, 0.85), transparent);
    color: #fff;
    padding: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
}

/* === TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.08), rgba(167, 139, 250, 0.14));
    border-bottom: 2px dashed var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 600;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.team-avatar i {
    font-size: 3.5rem;
    opacity: 0.4;
}

.team-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-roll {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.team-info p {
    font-size: 0.85rem;
}

/* === MENTOR CARD === */
.mentor-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.mentor-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 620px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.mentor-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 600;
    gap: 6px;
}

.mentor-avatar i {
    font-size: 2rem;
}

.mentor-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.mentor-info h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.mentor-info .mentor-title {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.mentor-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

/* === REFERENCES === */
.ref-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ref-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 1.2rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    font-weight: 500;
}

.ref-item:hover {
    border-color: var(--accent);
    transform: translateX(6px);
}

.ref-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === FOOTER === */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 1.8rem;
    color: #fff;
}

.footer-brand .logo span {
    color: var(--accent);
}

.footer-brand p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h5 {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* === SCROLL REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */

/* ── Tablet ── */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }

    /* Hero: stack text only, hide image panel */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-panel {
        display: none;
    }

    .hero-text .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-badge {
        display: inline-flex;
    }

    /* Grids → single column */
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .summary-img-placeholder {
        aspect-ratio: 16/9;
    }

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

    .design-layout {
        grid-template-columns: 1fr;
    }

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

    .perf-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Navbar */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        padding: 1.2rem 1.5rem;
        gap: 0.4rem;
        z-index: 998;
        box-shadow: 0 8px 24px rgba(45, 27, 105, 0.12);
    }

    .nav-links li a {
        display: block;
        padding: 0.7rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .nav-links li a:hover {
        background: rgba(167, 139, 250, 0.12);
    }

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

    .burger {
        display: block;
    }

    /* Hero */
    .hero {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
        letter-spacing: -1px;
    }

    .hero-text .tagline {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-actions .btn,
    .hero-actions .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 !important;
        justify-content: center;
        border-top: 1px solid var(--border);
        padding-top: 1.5rem;
        margin-top: 2rem;
    }

    .hero-stats>div {
        flex: 1;
        min-width: 90px;
        padding: 0.5rem;
        text-align: center;
    }

    .hero-stat-num {
        font-size: 1.4rem;
    }

    /* Mechanism pills */
    .mechanism-pills {
        flex-direction: column;
        gap: 0.6rem;
    }

    .pill {
        width: 100%;
        justify-content: center;
    }

    /* Key specs */
    .key-specs {
        flex-direction: row;
        gap: 0.5rem;
    }

    .key-spec {
        padding: 0.75rem 0.5rem;
    }

    .key-spec-val {
        font-size: 1.15rem;
    }

    /* Solution */
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* Timeline: single column */
    .timeline::before {
        left: 18px;
    }

    .tl-item {
        display: block;
        padding-left: 46px;
        position: relative;
        margin-bottom: 2rem;
    }

    .tl-dot {
        position: absolute;
        left: 10px;
        top: 24px;
        width: 16px;
        height: 16px;
    }

    .tl-empty {
        display: none;
    }

    .tl-item.left .tl-card,
    .tl-item.right .tl-card {
        display: block;
    }

    .tl-card {
        padding: 1.5rem;
    }

    /* Uniqueness tags */
    .tag-row {
        gap: 0.6rem;
    }

    .tag {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    /* Impact */
    .impact-layout {
        grid-template-columns: 1fr;
    }

    .impact-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .impact-stat-card {
        padding: 1.5rem 1rem;
    }

    .impact-num {
        font-size: 2.2rem;
    }

    /* Feasibility */
    .feasibility-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        padding: 0.85rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Performance */
    .perf-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .perf-card {
        padding: 1.4rem 0.75rem;
    }

    /* Sustainability */
    .sustain-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mentor-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 3.5rem 0 1.5rem;
    }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
    section {
        padding: 48px 0;
    }

    h2 {
        font-size: 1.55rem;
    }

    /* Hero */
    .hero-stats>div {
        min-width: 75px;
    }

    .hero-stat-num {
        font-size: 1.25rem;
    }

    /* Grids → full width */
    .team-grid {
        grid-template-columns: 1fr;
    }

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

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

    .impact-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .key-specs {
        flex-direction: column;
    }

    /* Problem stat ring */
    .stat-ring {
        width: 130px;
        height: 130px;
    }

    .stat-ring .stat-number {
        font-size: 2rem;
    }

    /* Cost breakdown */
    .cost-row {
        font-size: 0.88rem;
    }

    .cost-total {
        font-size: 2rem;
    }

    /* Quote */
    .quote-card blockquote {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-top {
        gap: 1.5rem;
    }
}

/* === BURGER TOGGLE === */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 5, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* === CAROUSEL === */
.carousel-section {
    background: linear-gradient(135deg, #EDE8FF 0%, #F5F5F5 100%);
    padding: 48px 0;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    flex: 1;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    background: rgba(45, 27, 105, 0.06);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(45, 27, 105, 0.85), transparent);
    color: #fff;
    padding: 1.5rem 2rem 1.2rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .carousel-caption {
        font-size: 0.85rem;
        padding: 1rem 1.2rem 0.9rem;
    }
}

/* === TEAM CONTACT === */
.team-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.contact-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.contact-link.linkedin {
    background: rgba(0, 119, 181, 0.08);
    border-color: rgba(0, 119, 181, 0.25);
    color: #0077B5;
}

.contact-link.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.contact-link i {
    font-size: 0.82rem;
}

/* Mentor contact links */
.contact-link-light {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.contact-link-light:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.contact-link-light.linkedin {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.contact-link-light.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.mentor-contact {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: flex-start;
}

/* Fix team card consistency */
.team-card {
    border: 1.5px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
}

.team-card:hover {
    border-color: var(--accent) !important;
}

.team-info {
    padding: 1.2rem 1rem 1.4rem;
}

.team-info p {
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* Responsive: stack on very small screens */
@media (max-width: 480px) {
    .team-contact {
        flex-direction: column;
        align-items: center;
    }
}