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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 48px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-brand a {
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 48px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta {
    padding: 10px 24px;
    background: #ffffff;
    color: #000000 !important;
    border-radius: 6px;
    font-weight: 500;
}

.nav-links a.active {
    color: #ffffff;
}
.nav-links a[href*="portfolio.html"] {
    color: #ffffff;
}
.nav-links a[href*="portfolio.html"]:hover {
    color: #ffffff;
}
.nav-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000000 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-text .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    padding: 16px 32px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 48px;
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    max-width: 480px;
}

.visual-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Services Preview */
.services-preview {
    padding: 80px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: #000000;
    padding: 48px 32px;
    transition: all 0.3s ease;
    border: none;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 48px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    font-weight: 600;
}

.team-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio Page Specific Styles */
.portfolio-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 48px 80px;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.portfolio-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    padding: 40px 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.portfolio-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}
.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-content {
    padding: 32px;
}

.portfolio-item h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

.portfolio-category {
    display: inline-block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.portfolio-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.portfolio-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
    padding: 120px 48px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.cta-section h2 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
}

.contact-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    padding: 40px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-text h1 {
        font-size: 56px;
    }

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

    .portfolio-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 20px 24px;
    }

    .nav-links {
        gap: 24px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .services-preview {
        padding: 60px 24px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .cta-section {
        padding: 80px 24px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .contact-info {
        gap: 32px;
    }

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

    .portfolio-hero {
        padding: 140px 24px 60px;
    }

    .portfolio-hero h1 {
        font-size: 42px;
    }

    .portfolio-grid {
        padding: 40px 24px 60px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

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

    .portfolio-items {
        grid-template-columns: 1fr;
    }

    .portfolio-hero h1 {
        font-size: 32px;
    }
}