:root {
    /* Brand Colors */
    --color-meteorite-dark: #2f1c6a;
    --color-meteorite-dark-2: #1F1346;
    --color-meteorite: #8c85ff;
    --color-meteorite-light: #d5dfff;
    --color-primary-dark: #5025d1;
    --color-primary: #673de6;
    --color-primary-light: #ebe4ff;
    --color-danger: #fc5185;
    --color-dark: #1d1e20;
    --color-gray-dark: #36344d;
    --color-gray: #727586;
    --color-light: #fff;

    /* Fonts */
    --font-primary: 'Raleway', sans-serif;

    /* Spacing */
    --container-width: 1240px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 20px;
}

.flex {
    display: flex;
    align-items: center;
}

.section {
    padding: 80px 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 0;
    backdrop-filter: blur(6px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    color: white;
    transition: color 0.3s ease;
}

.logo strong {
    font-weight: 700;
}

.header.on-white .logo,
.header.on-white .nav-links a,
.header.on-white .mobile-menu-btn {
    color: black;
}

.header.scrolled .logo,
.header.scrolled .nav-links a,
.header.scrolled .mobile-menu-btn {
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 400;
    color: white;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-meteorite);
}

.header.on-white .nav-links a:hover {
    color: var(--color-meteorite);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/upscaled-image-6-mk3JVeKaLOUy7w5G.jpeg');
    /* Fallback image, update path if needed */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content h1 {
    font-size: 80px;
    font-weight: 300;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 strong {
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid white;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn:hover {
    background-color: white;
    color: var(--color-dark);
}

/* Features Section */
.features {
    background-color: white;
    color: var(--color-dark);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.feature-item h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-item p {
    font-size: 18px;
    color: var(--color-gray-dark);
}

/* Models Section */
.models-preview {
    background-color: var(--color-dark);
    padding: 100px 0;
    text-align: center;
}

.models-preview h2 {
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: var(--color-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* Models Page Specifics */
.page-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    background-color: white;
    color: black;
}

.page-title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.page-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-gray-dark);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
    /* Seamless grid as per original */
}

.model-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover .model-overlay {
    opacity: 1;
}

.model-name {
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid white;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn:hover {
    background-color: white;
    color: var(--color-dark);
}

/* Features Section */
.features {
    background-color: white;
    color: var(--color-dark);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.feature-item h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-item p {
    font-size: 18px;
    color: var(--color-gray-dark);
}

/* Models Section */
.models-preview {
    background-color: var(--color-dark);
    padding: 100px 0;
    text-align: center;
}

.models-preview h2 {
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: var(--color-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* Models Page Specifics */
.page-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    background-color: white;
    color: black;
}

.page-title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.page-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-gray-dark);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
    /* Seamless grid as per original */
}

.model-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover .model-overlay {
    opacity: 1;
}

.model-name {
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
    font-weight: 300;
}

.model-info {
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid white;
    padding-bottom: 2px;
}

/* About Page Styles */
.about-content {
    background-color: white;
    color: black;
    padding: 100px 0;
}

.about-story {
    max-width: 900px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-section:last-child {
    margin-bottom: 0;
}

.story-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: black;
}

.story-section p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

.story-section p:last-child {
    margin-bottom: 0;
}

/* Roadmap Timeline Styles */
.roadmap-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-meteorite), var(--color-primary));
}

.roadmap-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 45%;
}

.roadmap-item:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
    transform: translateX(-30px);
}

.roadmap-item:nth-child(even) {
    margin-left: auto;
    padding-left: 60px;
    text-align: left;
    transform: translateX(30px);
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.roadmap-item:nth-child(odd).visible {
    transform: translateX(0);
}

.roadmap-item:nth-child(even).visible {
    transform: translateX(0);
}

.roadmap-dot {
    position: absolute;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--color-primary);
    z-index: 2;
}

.roadmap-item:nth-child(odd) .roadmap-dot {
    right: -10px;
}

.roadmap-item:nth-child(even) .roadmap-dot {
    left: -10px;
}

.roadmap-content {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.roadmap-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: black;
}

.roadmap-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

/* Mobile Responsive for Roadmap */
@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 20px;
        transform: none;
    }
    
    .roadmap-item {
        width: 100%;
        padding-left: 70px !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
        margin-bottom: 60px;
    }
    
    .roadmap-item:nth-child(odd),
    .roadmap-item:nth-child(even) {
        transform: translateX(-30px);
    }
    
    .roadmap-item.visible {
        transform: translateX(0) !important;
    }
    
    .roadmap-dot {
        left: 10px !important;
        right: auto !important;
        width: 18px;
        height: 18px;
    }
    
    .roadmap-content {
        padding: 30px 20px;
    }
    
    .roadmap-content h2 {
        font-size: 24px;
    }
    
    .roadmap-content p {
        font-size: 16px;
    }
}

/* Individual Model Profile - Replica Style (The Clueless) */
body.model-profile-page {
    background-color: #f9f9f7;
    /* Off-white background */
    color: black;
}

.replica-container {
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 100px;
    /* Space for header */
}

/* Big Name Header */
.replica-name {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Strong sans-serif */
    font-size: clamp(60px, 15vw, 200px);
    /* Responsive giant text */
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 40px;
    letter-spacing: -2px;
    color: black;
}

/* Hero Image Centered */
.replica-hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    margin: 0 auto 60px;
    object-fit: contain;
}

/* Bio Text */
.replica-bio {
    max-width: 800px;
    margin: 0 auto 100px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    padding: 0 20px;
    color: #333;
}

/* Stats Row */
.replica-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 20px;
    gap: 40px;
    text-align: center;
}

.replica-stat-item h3 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: black;
}

.replica-stat-item span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    display: block;
}

/* Gallery Grid */
.replica-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 40px 100px;
    max-width: 1800px;
    margin: 0 auto;
}

.replica-gallery img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.replica-gallery img:hover {
    opacity: 0.9;
}

/* Hire Section / Footer Gradient */
.replica-hire {
    text-align: center;
    padding: 60px 0 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffc0cb);
    /* Pink gradient fade */
    position: relative;
}

.replica-hire h2 {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: black;
}

/* Navigation Override for Light Theme */
body.model-profile-page .header {
    background-color: transparent;
}

body.model-profile-page .logo,
body.model-profile-page .nav-links a,
body.model-profile-page .mobile-menu-btn {
    color: black !important;
}