/* Base styles */
:root {
    --primary-color: #3ABAB4;
    --secondary-color: #667EEA;
    --dark-text: #1F2937;
    --light-text: #F9FAFB;
    --background-light: #FFFFFF;
    --background-dark: #111827;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Menu colors */
    --home-color: #0000FF;
    --about-color: #FFA500;
    --team-color: #800080;
    --applications-color: #008080;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

a:hover {
    text-decoration: underline;
}

/* Header styles */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation menu with colored buttons */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 0;
}

nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--dark-text);
    font-weight: 500;
    border: 1px solid;
    margin: 0 2px;
}

nav ul li a[href="index.html"] {
    border-color: var(--home-color);
    color: var(--home-color);
}

nav ul li a[href="about.html"] {
    border-color: var(--about-color);
    color: var(--about-color);
}

nav ul li a[href="team.html"] {
    border-color: var(--team-color);
    color: var(--team-color);
}

nav ul li a[href="applications.html"] {
    border-color: var(--applications-color);
    color: var(--applications-color);
}

nav ul li a.active {
    background-color: rgba(0, 0, 0, 0.05);
}

.theme-toggle {
    cursor: pointer;
}

/* Hero section */
.hero {
    padding: 5rem 0 3rem;
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.subtitle {
    margin-bottom: 2rem;
}

.subtitle p {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.check-icon {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Metrics section */
.metrics {
    padding: 3rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: var(--gray-100);
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
}

.metric-card h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.comparison-note {
    text-align: center;
    color: var(--gray-800);
    font-size: 0.875rem;
}

/* Key features section */
.key-features {
    padding: 4rem 0;
}

.key-features h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    color: var(--light-text);
}

.feature-card.energy {
    background-color: #4ade80;
}

.feature-card.silicon {
    background-color: #a78bfa;
}

.feature-card.execution {
    background-color: #60a5fa;
}

.feature-card.programmability {
    background-color: #f472b6;
}

.feature-icon {
    height: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* About page styles */
.about-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.about-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.about-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-header .subtitle {
    font-size: 1.2rem;
    color: var(--gray-800);
}

.about-header .highlight {
    color: var(--highlight-color);
}

.content-box {
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.diagram {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.diagram img {
    max-width: 100%;
    height: auto;
}

.content-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-box ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.75rem;
}

.stage-0, .stage-1 {
    color: var(--stage-0-color);
    font-weight: 600;
}

.stage-2 {
    color: var(--stage-2-color);
    font-weight: 600;
}

/* Team page styles */
.page-header {
    padding: 3rem 0 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
}

.team-content {
    padding: 2rem 0 4rem;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.9rem;
}

.member-contact {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.member-contact a {
    display: block;
    margin-top: 0.5rem;
}

/* Applications page styles */
.applications-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.applications-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1;
}

.applications-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-top: 0;
    line-height: 1;
}

.applications-header .highlight {
    color: var(--primary-color);
}

.applications-content {
    padding: 2rem 0 4rem;
}

.applications-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.applications-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.applications-background img {
    max-width: 100%;
    height: auto;
    opacity: 0.2;
}

.applications-list {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.application-item {
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.application-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.machine-learning {
    background: linear-gradient(to right, #FF6B6B, #FF8E8E);
}

.digital-signal {
    background: linear-gradient(to right, #4ECDC4, #7BE0D6);
}

.artificial-intelligence {
    background: linear-gradient(to right, #6A7FDB, #9FB1FF);
}

.image-recognition {
    background: linear-gradient(to right, #9B5DE5, #C490FF);
}

.bio-informatics {
    background: linear-gradient(to right, #7FDBDA, #A5F0EF);
}

.automotive {
    background: linear-gradient(to right, #45B69C, #6EDCBF);
}

.blockchain {
    background: linear-gradient(to right, #8675A9, #B19CD9);
}

.cyber-security {
    background: linear-gradient(to right, #3D84A8, #72B8D7);
}


/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

footer nav ul {
    display: flex;
    list-style: none;
}

footer nav ul li {
    margin-left: 2rem;
}

footer nav ul li a {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.875rem;
}

.copyright {
    text-align: center;
    color: var(--gray-800);
    font-size: 0.875rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .metrics-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    footer nav ul {
        margin-top: 1.5rem;
    }
    
    footer nav ul li:first-child {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 0;
        margin-right: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle p {
        font-size: 1.25rem;
    }
    
    .metrics-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
