:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #8b5cf6; /* Deep Purple */
    --secondary: #3b82f6; /* Electric Blue */
    --accent: #10b981; /* Neon Green */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(148, 163, 184, 0.1);
    --glow: rgba(139, 92, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    background-color: var(--bg-darker);
    min-height: 100%;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.dark-theme {
    background: radial-gradient(circle at top right, #1e1b4b, transparent),
                radial-gradient(circle at bottom left, #0f172a, transparent);
    background-color: var(--bg-darker);
    background-attachment: fixed;
}

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

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: soft-light;
    opacity: 0.5;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 14px var(--glow);
    transition: transform 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.lang-switch a {
    text-decoration: none;
    color: var(--text-muted);
}

.lang-switch a.active {
    color: var(--primary);
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--glow);
}

.btn-coffee {
    background: var(--glass);
    color: var(--text-main);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
}

.hero-social a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.hero-social a:hover {
    color: var(--primary);
}

.hero-image-container {
    position: relative;
}

.img-frame {
    width: 100%;
    aspect-ratio: 1;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
}

.avatar-placeholder {
    display: none;
}

.frame-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.top-left { top: 20px; left: 20px; }
.top-right { top: 20px; right: 20px; }
.bottom-left { bottom: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }

.tech-stack-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tech-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: float 4s ease-in-out infinite;
}

.tech-item:nth-child(1) { top: -10%; right: 10%; animation-delay: 0s; }
.tech-item:nth-child(2) { bottom: 10%; left: -10%; animation-delay: 1s; }
.tech-item:nth-child(3) { top: 40%; right: -15%; animation-delay: 2s; }
.tech-item:nth-child(4) { bottom: -5%; right: 20%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections */
.section-title {
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    font-weight: 800;
}

.section-title.center {
    text-align: center;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 4rem 0;
}

.about, .journey, .skills, .contact {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card.highlighted {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.highlight-pink { color: #ec4899; }
.highlight-yellow { color: #f59e0b; }

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    margin-bottom: 4rem;
    padding-left: 3rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.timeline-content {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
}

.timeline-date {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
}

.timeline-location {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-group {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 24px;
}

.skill-group h3 {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary);
}

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

.tags span {
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tags span:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Creator Showcase */
.creator-section {
    padding: 4rem 2rem;
}

.creator-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-dark), #1e1b4b);
    border: 1px solid var(--primary);
    border-radius: 32px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.creator-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary), transparent);
    opacity: 0.05;
}

.creator-info {
    position: relative;
    z-index: 1;
}

.label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 800;
}

.project-name {
    font-size: 3rem;
    margin: 1rem 0;
}

.creator-visual {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    text-decoration: none;
    color: var(--text-main);
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.form-status {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
    }
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-actions, .hero-social {
        justify-content: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .creator-card {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary);
    padding: 2rem;
    border-radius: 24px;
    z-index: 9999;
    width: calc(100% - 40px);
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(139, 92, 246, 0.2);
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 80vh;
}

.legal-page h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-main);
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-page a:not(.btn) {
    color: var(--primary);
    text-decoration: none;
}
