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

:root {
    --color-orange: #fb923c;
    --color-sky: #38bdf8;
    --color-purple: #a78bfa;
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-primary: #fafafa;
    --text-secondary: #a3a3a3;
    --text-muted: #6b6b6b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    background: rgba(26, 26, 26, 0.6);
    padding: 3px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn {
    padding: 6px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    padding: 0;
    position: relative;
}

.page-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.03) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.page-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.02) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
    position: relative;
    z-index: 1;
}

.hero-grid {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Left */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 200;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Hero Right - Philosophy Card */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 100%;
}

.philosophy-card {
    padding: 3rem 3.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-sky);
    border-radius: 50%;
    filter: blur(50px);
    top: 60px;
    right: 80px;
    z-index: 0;
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.philosophy-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-orange);
    border-radius: 50%;
    filter: blur(50px);
    bottom: 100px;
    right: 60px;
    z-index: 0;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.philosophy-card:hover::before {
    transform: translate(50px, -50px);
    opacity: 0.8;
}

.philosophy-card:hover::after {
    transform: translate(50px, 70px);
    opacity: 0.7;
}

.card-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 300;
    text-align: left;
    position: relative;
    z-index: 10;
}

/* Portfolio Section */
.portfolio-section {
    padding: 40px 40px 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 240px;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-sky);
    border-radius: 50%;
    filter: blur(50px);
    top: 60px;
    right: 80px;
    z-index: 0;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-orange);
    border-radius: 50%;
    filter: blur(50px);
    bottom: 100px;
    right: 60px;
    z-index: 0;
    opacity: 0.4;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.06);
}

.portfolio-card:hover::before {
    transform: translate(50px, -50px);
    opacity: 0.7;
}

.portfolio-card:hover::after {
    transform: translate(50px, 70px);
    opacity: 0.6;
}

.card-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    opacity: 0.95;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.portfolio-card:hover .card-logo {
    opacity: 1;
    transform: scale(1.05);
}

.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portfolio-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.portfolio-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Footer */
.footer {
    padding: 40px 40px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-weight: 300;
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-sky), var(--color-orange));
    transition: width 0.4s ease;
}

.footer-email:hover {
    color: var(--text-primary);
}

.footer-email:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-grid {
        gap: 40px;
    }
}

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

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-left {
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 24px 30px;
        min-height: auto;
    }

    .portfolio-section {
        padding: 30px 24px 40px;
    }

    .language-toggle {
        top: 24px;
        right: 24px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .philosophy-card {
        padding: 2.5rem 2rem;
    }

    .card-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 30px 24px 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 20px 25px;
    }

    .portfolio-section {
        padding: 25px 20px 35px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

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

    .card-text {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .portfolio-card {
        padding: 1.75rem 1.25rem;
        min-height: 200px;
    }

    .card-logo {
        width: 70px;
        height: 70px;
    }

    .portfolio-card h3 {
        font-size: 1rem;
    }

    .portfolio-card p {
        font-size: 0.8rem;
    }

    .lang-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .footer-email {
        font-size: 0.9rem;
    }

    .footer {
        padding: 25px 20px 35px;
    }
}
