:root {
    /* Colors */
    --bg-color: #000000;
    --surface-color: rgba(29, 29, 31, 0.6);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #06c;
    --accent-glow: rgba(0, 102, 204, 0.4);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Background Effects */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}
.glow-blob.top-left {
    top: -10vw;
    left: -10vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
}
.glow-blob.bottom-right {
    bottom: -10vw;
    right: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.1) 0%, transparent 70%);
}

/* Typography Utilities */
.accent { color: #4facfe; }
.text-white { color: white; }

h1, h2, h3 { letter-spacing: -0.03em; font-weight: 700; }

/* Dashboard Layout */
.dashboard-wrapper {
    padding: 3rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.bento-card {
    background: var(--surface-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--surface-border);
    border-radius: 32px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0, 0.3);
}

.card-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.card-title i {
    font-size: 0.9rem;
}

/* Grid Spans */
.intro-card { grid-column: span 2; grid-row: span 1; }
.image-card { grid-column: span 2; grid-row: span 3; position: relative; overflow: hidden; }
.timeline-card { grid-column: span 1; grid-row: span 2; }
.social-card { grid-column: span 1; grid-row: span 1; }
.focus-card { grid-column: span 1; grid-row: span 1; }
.project-card { grid-column: span 2; grid-row: span 1; }

.bento-anim { opacity: 0; visibility: hidden; }

/* Hero Component */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}
.image-card:hover .hero-bg {
    transform: scale(1.05);
}
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: auto; /* Push down the rest of the text */
}
.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-secondary);
    border: 1px solid var(--surface-border);
    overflow: hidden;
}
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(40, 200, 64, 0.1);
    color: #34d642;
    font-size: 0.85rem;
    font-weight: 600;
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #34d642;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d642;
}

/* Lang Switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    cursor: pointer;
    user-select: none;
}
.lang-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}
.lang-label.active {
    color: var(--text-primary);
}
.switch-track {
    width: 32px;
    height: 18px;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.switch-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* For DE active state we could toggle a class on the wrapper to move thumb */
.lang-switch.de-active .switch-thumb {
    transform: translateX(14px);
}
.lang-switch.de-active .lang-label:first-child {
    color: var(--text-secondary);
}
.lang-switch.de-active .lang-label:last-child {
    color: var(--text-primary);
}

.hero-body h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}
.hero-body h2 {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.hero-social-stats {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}
.instagram-stat {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.1), rgba(230, 104, 60, 0.1), rgba(220, 39, 67, 0.1), rgba(204, 35, 102, 0.1), rgba(188, 24, 136, 0.1));
    border: 1px solid rgba(220, 39, 67, 0.3);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.4);
}
.instagram-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(220, 39, 67, 0.7);
}
.instagram-stat i {
    font-size: 1.8rem;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-details {
    display: flex;
    flex-direction: column;
}
.stat-details .handle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.counters {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.counters strong {
    color: var(--text-primary);
}
.hero-body p {
    color: #b0b0b5;
    font-size: 1.1rem;
}

/* Timeline Component */
.compact-timeline {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}
.compact-timeline::before {
    content: '';
    position: absolute;
    left: 4px; top: 8px; bottom: 8px;
    width: 2px; background: rgba(255,255,255,0.05);
}
.c-timeline-item {
    position: relative;
    padding-left: 24px;
}
.c-timeline-item::before {
    content: '';
    position: absolute;
    left: 1px; top: 6px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
}
.c-timeline-item.highlight::before {
    background: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
}
.c-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}
.c-desc {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ddd;
}

/* Socials & Focus */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    flex-grow: 1;
}
.s-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    color: var(--text-primary);
    aspect-ratio: 1;
    transition: all 0.2s ease;
}
.s-icon svg {
    width: 38px;
    height: 38px;
    transition: transform 0.2s ease;
}
.s-icon:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: scale(1.05);
}

.focus-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.focus-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #ccc;
}

/* Project Cards */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-monogram {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: #fff;
}
.brand-icon.accent {
    background: rgba(0, 102, 204, 0.15);
}
.brand-icon.accent .brand-monogram {
    color: #4facfe;
}
.brand h3 {
    font-size: 1.4rem;
    line-height: 1.2;
}
.brand span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--surface-border);
}
.accent-badge {
    background: rgba(0, 102, 204, 0.15);
    color: #4facfe;
    border-color: rgba(0, 102, 204, 0.3);
}
.speax-card h3.accent,
.speax-card span.badge.accent-badge {
    color: #fff;
}
.speax-card .brand span,
.speax-card p {
    color: rgba(255,255,255,0.9) !important;
}
.project-card p {
    color: #b0b0b5;
    font-size: 1rem;
}

/* Speax Card Highlight Effect */
.speax-card {
    background: linear-gradient(145deg, rgba(30, 30, 34, 0.8), rgba(20, 20, 24, 0.9));
}
.speax-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Inner Card Actions */
.card-action {
    margin-top: auto;
    padding-top: 1.5rem;
}
.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.visit-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
.visit-btn.accent-btn {
    background: rgba(0, 102, 204, 0.2);
    color: #4facfe;
}
.visit-btn.accent-btn:hover {
    background: rgba(0, 102, 204, 0.35);
}

/* PR & Publications */
.pr-card {
    grid-column: span 4;
    grid-row: span 1;
}
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.card-header-flex .m-0 {
    margin: 0;
}
.subtitle-small {
    font-size: 0.9rem;
    font-weight: 500;
}
.pr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.pr-card-rich {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pr-card-rich:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
}
.pr-image {
    width: 140px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.pr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pr-card-rich:hover .pr-image img {
    transform: scale(1.05);
}
.pr-content {
    display: flex;
    flex-direction: column;
}
.pr-source {
    font-size: 0.75rem;
    color: #4facfe;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.pr-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.pr-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .intro-card { grid-column: span 2; }
    .image-card { grid-column: span 2; grid-row: span 1; min-height: 400px; }
    .timeline-card { grid-column: span 1; grid-row: span 1; }
    .social-card { grid-column: span 1; }
    .focus-card { grid-column: span 1; }
    .project-card { grid-column: span 2; }
    .pr-card { grid-column: span 2; }
    .pr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pr-card-rich {
        flex-direction: column;
        align-items: stretch;
    }
    .pr-image {
        width: 100%;
        height: 160px;
    }
    .dashboard-wrapper {
        padding: 1.5rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .bento-card {
        padding: 1.8rem;
        border-radius: 24px;
    }
    .image-card {
        min-height: 350px;
    }
}
