@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&display=swap');

:root {
    --bg-dark: #0f111a;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #818cf8;
    --accent-hover: #6366f1;
    --accent-glow: rgba(129, 140, 248, 0.3);
    --danger: #ef4444;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 4rem;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.05) 0%, transparent 70%);
    animation-delay: -10s;
}

/* Animations */
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    text-align: center;
    animation: fadeInDown 0.8s ease-out forwards;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@media (min-width: 900px) {
    .main-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Bio Content */
.bio-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bio-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: #fff;
    font-weight: 500;
}

/* Social & Meta */
.meta-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-btn.instagram:hover { border-color: #E1306C; color: #E1306C; }
.social-btn.youtube:hover { border-color: #FF0000; color: #FF0000; }
.social-btn.tiktok:hover { border-color: #69C9D0; color: #69C9D0; }

.social-btn svg, .social-btn span.icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Experience & Certs */
.certs-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.certs-list {
    list-style: none;
}

.certs-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.certs-list li:last-child {
    border-bottom: none;
}

.year-badge {
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

/* Call to Action Grid */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.cta-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.cta-arrow {
    margin-top: 1.5rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.cta-card:hover .cta-arrow {
    gap: 0.75rem;
}

/* WCAG Widget Base Styles (reused) */
.wcag-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}
.wcag-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}
.wcag-btn:hover { border-color: var(--text-secondary); transform: scale(1.05); }
.wcag-menu {
    position: absolute;
    bottom: 4rem;
    right: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 200px;
}
.wcag-menu.hidden { display: none; }
.wcag-option {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
}
.wcag-option:hover { background: rgba(255,255,255,0.05); }

/* Global WCAG Classes */
body.wcag-high-contrast {
    --bg-dark: #000000;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --bg-panel: #000000;
    --border-light: #ffffff;
    --accent: #ffffff;
}
body.wcag-high-contrast .glass-panel,
body.wcag-high-contrast .cta-card { backdrop-filter: none; background: #000; border: 2px solid #fff; }

body.wcag-large-text { font-size: 130%; }
body.wcag-large-text .hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); }

body.wcag-show-focus *:focus {
    outline: 4px solid #ef4444 !important;
    outline-offset: 4px !important;
}
