:root {
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent: #94a3b8;
    --text-main: #f8fafc;
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}
.background-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    z-index: -1;
}

header {
    padding: 2rem 10%;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; }

nav a {
    color: var(--accent);
    text-decoration: none;
    margin-right: 2rem;
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
}

nav a:hover { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.hero-section {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    animation: fadeIn 1.5s ease;
}

h1 span { color: var(--accent); }

.tech-stack {
    margin: 1.5rem 0;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 3px;
}

.main-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.main-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
a {
    color: var(--accent);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}
a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    right: 0; 
    background-color: white;
    transition: width 0.3s ease;
}

a:hover {
    color: white;
    cursor: pointer;
}

a:hover::after {
    width: 100%;
}
textarea, input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}
textarea:focus, input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
::placeholder {
    color: var(--accent);
    opacity: 0.5;
    text-align: right;
}
/* Bee */
.bee-container {
    position: fixed;
    top: 30%;
    right: 5%; 
    width: 100px;
    height: 100px;
    perspective: 1000px;
    z-index: 200;
    pointer-events: none;
}


.bee-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: flyLoop 6s infinite ease-in-out;
}

.bee-part {
    position: absolute;
    transform-style: preserve-3d;
}

.body-segment {
    width: 30px;
    height: 20px;
    background: #FFC107;
    border-radius: 50%;
    top: 40px;
    left: 35px;
}

.body-segment::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a 20%, transparent 20%, transparent 40%, #1a1a1a 40%, #1a1a1a 60%, transparent 60%, transparent 80%, #1a1a1a 80%);
    border-radius: 50%;
    transform: translateZ(1px);
}
.wing {
    width: 50px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% 50% 0 50%;
    top: 25px;
    transform-origin: bottom; 
}

.wing.left {
    left: 15px;
    animation: flap 0.1s infinite alternate ease-in-out; 
}

.wing.right {
    left: 45px;
    animation: flap 0.1s infinite alternate-reverse ease-in-out;
}

.eye {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    top: 42px;
}

.eye.left { left: 38px; transform: translateZ(15px); }
.eye.right { left: 63px; transform: translateZ(15px); }
@keyframes flap {
    0% { transform: rotateX(60deg); }
    100% { transform: rotateX(-60deg); }
}
@keyframes flyLoop {
    0%, 100% { transform: translate(0, 0) rotateY(0deg) rotateX(10deg); }
    25% { transform: translate(15px, -15px) rotateY(20deg) rotateX(0deg); }
    50% { transform: translate(-10px, 10px) rotateY(-20deg) rotateX(-10deg); }
    75% { transform: translate(10px, -5px) rotateY(10deg) rotateX(0deg); }
}
.code-showcase {
    display: flex;
    gap: 20px;
    padding: 40px 10%;
    justify-content: center;
    flex-wrap: wrap;
}

.code-box {
    padding: 0 !important; 
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    text-align: left;
    direction: ltr;   
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.lang-label {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--accent);
    font-family: monospace;
}

pre {
    padding: 20px;
    margin: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

code {
    color: #94a3b8;
}

pre code {
    display: block;
}