:root {
    --primary: #3b82f6;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #22d3ee;
    --text-light: #e2e8f0;
    --text-dark: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.lang-switcher a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary);
}

.lang-switcher span {
    color: var(--secondary);
    opacity: 0.5;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 5rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About */
#about {
    background-color: #1e293b;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.about-text {
    max-width: 800px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.team-grid {
    display: grid;
    /* Use auto-fit to be responsive but try to fit 3 in a row */
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.team-member {
    text-align: center;
}

.member-image-container {
    max-width: 100%;
}

.about-image {
    width: 100%;
    /* Taller aspect ratio as requested */
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image:hover {
    transform: scale(1.02);
}

.member-caption {
    margin-top: 1rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Technologies */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Contact */
#contact {
    background-color: #1e293b;
    text-align: center;
}

.contact-info {
    display: flex;
    margin-top: 2rem;
}

/* Business Card */
.business-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin-top: 1.5rem;
}

.contact-primary {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Billing Info */
.billing-title {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.billing-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.billing-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 0.2rem;
}

.billing-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.billing-item .label {
    color: var(--secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.billing-item .value {
    color: var(--text-light);
    font-family: monospace;
    font-size: 0.9rem;
    text-align: right;
    line-height: 1.2;
}



/* Footer */
footer {
    background: #020617;
    padding: 2rem;
    text-align: center;
    color: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu implementation could go here */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
        margin-bottom: 3rem;
    }
}