/* --- Design Tokens & Color Strategy --- */
:root[data-theme="dark"] {
    --bg-base: #0c0f17;
    --bg-surface: rgba(20, 25, 40, 0.6);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-glass: rgba(0, 0, 0, 0.4);
    
    --maroon: #800020;
    --blue-glow: #1e40af;
    --yellow-neon: #facc15;
}

:root[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.6);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-glass: rgba(0, 0, 0, 0.08);
    --shadow-glass: rgba(15, 23, 42, 0.08);
    
    --maroon: #b91c1c;
    --blue-glow: #3b82f6;
    --yellow-neon: #eab308;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--maroon);
    filter: blur(150px);
    top: -100px;
    left: -100px;
    z-index: -1;
    opacity: 0.5;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--blue-glow);
    filter: blur(150px);
    bottom: -100px;
    right: -100px;
    z-index: -1;
    opacity: 0.4;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.accent-text {
    color: var(--yellow-neon);
}

#theme-toggle {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.6rem 0.9rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

/* --- Hero Layout --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(128, 0, 32, 0.15);
    border: 1px solid var(--maroon);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-content h2 {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* --- Dropdowns --- */
.skills-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.glass-dropdown {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 1.2rem;
    cursor: pointer;
}

.glass-dropdown:hover {
    border-color: var(--blue-glow);
    transform: translateY(-2px);
}

.highlighting-agency {
    border-left: 3px solid var(--yellow-neon);
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-header h3 i {
    color: var(--yellow-neon);
}

.toggle-icon {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
}

.glass-dropdown.active .dropdown-content {
    max-height: 500px;
    margin-top: 1rem;
}

.glass-dropdown.active .toggle-icon {
    transform: rotate(180deg);
}

.dropdown-content ul {
    list-style: none;
}

.dropdown-content ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}

.dropdown-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--maroon);
}

.agency-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.team-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.team-tag {
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid var(--yellow-neon);
    color: var(--text-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- UI Buttons & Links --- */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--yellow-neon);
    color: #0c0f17;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.btn-secondary {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-right: 1.2rem;
}

.social-links a:hover {
    color: var(--yellow-neon);
}

/* --- Image Card --- */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 120px;
}

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 var(--shadow-glass);
    border-radius: 24px;
    padding: 1rem;
    width: 100%;
    max-width: 380px;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* --- Responsiveness --- */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-image-wrapper {
        position: relative;
        top: 0;
        order: -1;
    }
    .skills-accordion-grid {
        grid-template-columns: 1fr;
    }
}

