:root {
    --primary: #0071e3;
    /* Classic iOS Blue */
    --accent: #5e5ce6;
    --bg-light: #f5f5f7;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background effects */
.background-radial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, #e0f2fe 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, #fef3c7 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #f3e8ff 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
}

nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

nav ul a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-card {
    max-width: 800px;
    padding: 4rem;
    border-radius: var(--border-radius);
    text-align: center;
    animation: fadeInScale 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn.primary {
    background: var(--primary);
    color: white;
}

.btn.primary:hover {
    transform: scale(1.05);
    background: #007eff;
}

.btn.secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.btn.secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Expertise Section */
section {
    padding: 120px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-card {
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
}

.expertise-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Projects */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-item {
    display: flex;
    padding: 3rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.project-item:hover {
    transform: scale(1.02);
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-tag {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Thought Box */
.thought-box {
    padding: 6rem 4rem;
    border-radius: 40px;
    text-align: center;
}

.thought-box h2 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
}

.thought-box p {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-style: italic;
}

.thought-box cite {
    font-style: normal;
    color: var(--text-muted);
    font-weight: 700;
}

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
}

.footer-content .logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .thought-box p {
        font-size: 1.4rem;
    }

    .hero-card {
        padding: 2rem;
    }
}