/* 
    ProKod Yazılım Design System 
    Inspired by 21st.dev / Magic UI 
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
    --bg-dark: #030712;
    --bg-card: rgba(17, 24, 39, 0.4);
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --border-glass: rgba(255, 255, 255, 0.15);
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Mesh */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.15), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.15), transparent 40%),
        radial-gradient(circle at 50% 50%, #030712, #000);
    animation: mesh-move 20s ease-in-out infinite alternate;
}

@keyframes mesh-move {
    0% { transform: scale(1); }
    100% { transform: scale(1.1) rotate(1deg); }
}

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

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-premium);
}

.nav-links a:hover {
    color: white;
}

/* Animated Logo (From txt) */
.logo-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.bracket-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px var(--primary-color)); }
    50% { filter: drop-shadow(0 0 20px var(--primary-color)); }
}

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

@keyframes typing {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.cursor-blink {
    animation: typing 1s ease-in-out infinite;
}

.logo-text { font-family: 'Space Grotesk', sans-serif; }
.tagline-text { font-family: 'JetBrains Mono', monospace; }

/* Home Branding Section */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

/* Buttons */
.btn-magic {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-premium);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.btn-magic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.6);
}

/* Bento Cards (Magic Component Style) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    margin-top: 4rem;
}

.magic-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-premium);
}

.magic-card:hover {
    border-color: var(--accent-primary);
    background: rgba(31, 41, 55, 0.8);
    transform: translateY(-5px);
}

.magic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--x) var(--y), rgba(99, 102, 241, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.magic-card:hover::after {
    opacity: 1;
}

.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.row-2 { grid-row: span 2; }

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-premium);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* MVVM Section */
.mvvm-section {
    padding: 100px 0;
}

.mvvm-tag {
    color: var(--accent-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

/* Version Timeline */
.timeline {
    max-width: 800px;
    margin: 4rem auto;
}

.timeline-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(0, 0, 0, 0.8));
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.timeline-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-card ul {
    list-style: none;
}

.timeline-card li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.timeline-card li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

.timeline-card strong {
    color: white;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-brand {
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-4, .span-8 { grid-column: span 2; }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .span-4, .span-8 { grid-column: span 1; }
    .nav-links { display: none; }
}