:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --accent-glow: rgba(99, 102, 241, 0.4);
    --featured-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 40%, #ec4899 70%, #8b5cf6 100%);
    --featured-glow: rgba(245, 158, 11, 0.25);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --card-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.5);
    --card-shadow-hover: 0 20px 40px -8px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}
.gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
}
.gradient-orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-30px, 30px); }
    50% { transform: translate(20px, -20px); }
    75% { transform: translate(-20px, -30px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.2; transform: translate(-50%, -50%) scale(1.1); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}
nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-cta {
    background: var(--accent-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-text {
    max-width: 600px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero h1 .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Section Styles */
section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
    font-weight: 500;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-hover);
}
.expertise-card:hover::before {
    transform: scaleX(1);
}
.expertise-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}
.expertise-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.expertise-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.expertise-card:hover .expertise-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

/* Projects Section */
.projects-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.projects-intro strong {
    color: var(--accent-primary);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}
.project-card:hover::before {
    opacity: 0.05;
}
.project-card > * {
    position: relative;
    z-index: 1;
}
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.project-name {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.project-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-new {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}
.badge-hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    animation: pulse-badge 2s ease-in-out infinite;
}
.badge-v2 {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}
.badge-special {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(253, 185, 49, 0.3);
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}
.project-arrow {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.project-card:hover .project-arrow {
    background: var(--accent-primary);
    color: white;
    transform: translate(4px, -4px);
}
.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.project-tag {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}
.project-card:hover .project-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}
.project-related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 8px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.related-link:hover {
    background: var(--accent-primary);
    color: white;
}
.related-link .fi {
    font-size: 0.9rem;
}

/* Tech Stack Section */
.tech-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.tech-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.tech-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}
.tech-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.tech-category h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tech-category h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 2px;
}
.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tech-item {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.tech-item:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 120px 0;
}
.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent 50%);
    animation: rotate 30s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.cta-card > * {
    position: relative;
    z-index: 1;
}
.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
}
.cta-card p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info {
    padding-right: 40px;
}
.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}
.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}
.contact-item-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-item-text a,
.contact-item-text span {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
}
.contact-item-text a:hover {
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.form-control {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-control::placeholder {
    color: var(--text-muted);
}
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 48px;
}
textarea.form-control {
    resize: vertical;
    min-height: 140px;
}
.submit-button {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-message {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: none;
}
.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}
.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Footer */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-center p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-right {
    display: flex;
    gap: 12px;
}
.footer-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.footer-social:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce-scroll 2s ease-in-out infinite;
    z-index: 10;
}
.scroll-indicator span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
}
@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Ghost button variant */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* ============================================
   FEATURED PROJECT SECTION — Free-LLM.com
   ============================================ */
.featured-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.section-tag-featured {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 28px;
    padding: 48px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--featured-gradient);
}
.featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: var(--featured-gradient);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px -20px rgba(245, 158, 11, 0.15), 0 0 60px -10px rgba(139, 92, 246, 0.1);
    border-color: transparent;
}
.featured-card:hover::after {
    opacity: 0.6;
}

.featured-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: featured-glow-pulse 6s ease-in-out infinite;
}
@keyframes featured-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.featured-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.featured-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}
.featured-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.featured-logo-dot {
    background: var(--featured-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.featured-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--featured-gradient);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}
.featured-tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
}
.featured-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
}
.featured-description strong {
    color: #f59e0b;
}

.featured-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.featured-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.featured-features li svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.featured-tag {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: all 0.3s ease;
}
.featured-card:hover .featured-tag {
    background: rgba(245, 158, 11, 0.18);
}

.featured-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-featured {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
    font-size: 0.95rem;
}
.featured-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--success);
}
.featured-live-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

/* Featured right — stats & providers */
.featured-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.featured-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.featured-stat {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.featured-card:hover .featured-stat {
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.05);
}
.featured-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--featured-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}
.featured-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.featured-providers-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.provider-pill {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.featured-card:hover .provider-pill {
    border-color: rgba(245, 158, 11, 0.15);
}
.provider-pill-more {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    font-weight: 700;
}

/* Badge flagship */
.badge-flagship {
    background: var(--featured-gradient);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

/* Featured project card — stands out in the grid */
.project-card-featured {
    grid-column: 1 / -1;
    border-color: rgba(245, 158, 11, 0.18);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.04) 100%);
    position: relative;
}
.project-card-featured::before {
    background: var(--featured-gradient) !important;
}
.project-card-featured::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.project-card-featured:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 60px -15px rgba(245, 158, 11, 0.12), var(--card-shadow-hover);
}
.project-card-featured .project-arrow {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}
.project-card-featured:hover .project-arrow {
    background: #f59e0b;
    color: #fff;
}
.project-card-featured .project-tag {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.12);
}
.project-card-featured:hover .project-tag {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

/* Mini stats inside featured project card */
.project-mini-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.project-mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 14px;
}
.project-card-featured .project-mini-stat {
    border-color: rgba(245, 158, 11, 0.12);
    background: rgba(245, 158, 11, 0.06);
}
.pms-value {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--featured-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pms-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation */
.expertise-card,
.project-card,
.tech-category,
.featured-stat,
.provider-pill,
.featured-features li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-appear {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Active nav link */
.nav-links a.active {
    color: var(--text-primary);
}
.nav-links a.active::after {
    width: 100%;
}

/* Typing Animation */
.typing-cursor {
    animation: cursor-blink 0.8s step-end infinite;
}
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Loader */
.button-loader {
    display: none;
}
.button-loader svg {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1200px) {
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-visual {
        order: -1;
    }
    .hero-card {
        max-width: 100%;
    }
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        padding-right: 0;
    }
    .featured-card {
        padding: 32px;
    }
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding: 100px 0 60px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .tech-categories {
        grid-template-columns: 1fr;
    }
    .cta-card {
        padding: 48px 24px;
    }
    section {
        padding: 60px 0;
    }
    .featured-card {
        padding: 24px;
    }
    .featured-logo {
        font-size: 1.5rem;
    }
    .featured-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scroll-indicator {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
