:root {
    --bg-white: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.7);
    --accent: #007aff;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --radius-section: 30px;
    --radius-item: 20px;
}

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

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Apple Dynamic Background */
.apple-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #fff, #f5f5f7);
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.b1 {
    background: #e0f2ff;
    top: -100px;
    left: -100px;
}

.b2 {
    background: #fff0f0;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.b3 {
    background: #f0f0ff;
    top: 30%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 60px;
}

.nav-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(245, 245, 247, 0.7);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.nav-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 1rem;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit';
}

.lang-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.lang-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* Main Content */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

@media (max-width: 640px) {
    .content-wrapper {
        padding: 1.5rem 1rem;
    }
}

.hero {
    padding: 4rem 0;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Outfit';
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-3 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .col-2,
    .col-3 {
        grid-column: span 1;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .profile-card {
        height: 300px;
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-section);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.05);
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

/* Component Specific Styles */
.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit';
    margin-bottom: 1.5rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.item h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.item .sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.item .extra {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.profile-card {
    padding: 0;
    overflow: hidden;
}

.img-container {
    width: 100%;
    height: 100%;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.profile-card:hover img {
    transform: scale(1.05);
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    padding: 0.5rem 1.25rem;
    background: #fff;
    border-radius: 99px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 0.5px solid rgba(0, 0, 0, 0.05);
}

.highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(230, 242, 255, 0.4));
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.accent-icon {
    color: var(--accent);
}

.badge {
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    align-self: center;
}

@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

.apple-btn {
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.apple-btn.primary {
    background: var(--text-primary);
    color: #fff;
}

.apple-btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 3rem;
    height: 3rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: var(--bg-white);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    margin-top: 5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-bottom: 2rem;
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) both;
}

.animate-down {
    animation: fadeInDown 1s cubic-bezier(0.2, 1, 0.3, 1) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
}