:root {
    --bg-color: #0d0d0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;
    
    /* PDF Viewer Red Accents */
    --accent-red: #ff3b30;
    --accent-red-glow: rgba(255, 59, 48, 0.3);
    --accent-red-hover: #ff453a;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

/* Background Glow Orbs */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60,60,80,0.15) 0%, rgba(13,13,15,0) 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.glow-orb.red {
    background: radial-gradient(circle, var(--accent-red-glow) 0%, rgba(13,13,15,0) 70%);
    top: 20%;
    right: -200px;
    left: auto;
    width: 500px;
    height: 500px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.highlight {
    color: var(--accent-red);
}

/* Header */
header {
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-red);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 14px var(--accent-red-glow);
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-coffee {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffbd2e;
    color: #000;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 14px rgba(255, 189, 46, 0.3);
}

.btn-coffee:hover {
    background: #ffc84a;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 189, 46, 0.4);
}

.btn-coffee:active {
    transform: translateY(0) scale(0.98);
}

.btn-small {
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-small.outline {
    display: inline-block;
    margin-top: 16px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0 120px;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 59, 48, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.sub-cta {
    font-size: 0.85rem;
    margin-top: 16px;
    opacity: 0.7;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

/* Hero Visual (Mockup) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}

.mockup {
    width: 100%;
    max-width: 400px;
    height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mockup-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.mockup-body h3 {
    font-weight: 500;
    margin-bottom: 8px;
}

.mockup-body p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Origin Section */
.origin-section {
    padding-bottom: 80px;
}

.origin-card {
    padding: 48px;
    text-align: center;
}

.origin-content {
    width: 100%;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding-bottom: 120px;
}

.about-card {
    display: flex;
    align-items: center;
    padding: 48px;
    gap: 48px;
}

.about-content {
    flex: 1.5;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-border);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0077B5;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.linkedin-link:hover {
    opacity: 0.8;
}

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

footer p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-1-5 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .glow-orb.red {
        width: 300px;
        height: 300px;
        right: -150px;
        opacity: 0.5;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        gap: 40px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cta-group a {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }
    
    .about-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 32px 24px;
        gap: 32px;
    }
    
    .about-links {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
    }
}
