/* ================================================
   LANDING PAGE REDESIGN - PEDRO VOLTARELLI
   Modern SaaS Style with GSAP Animations
   ================================================ */

:root {
    /* Color Palette - Minimalist Soft Dark */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-surface: #0a0a0a;
    --bg-elevated: #0f0f0f;
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.12);
    
    /* Accent Colors - Soft Teal to Blue */
    --accent-primary: #2dd4bf;
    --accent-secondary: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 100%);
    --accent-glow: rgba(45, 212, 191, 0.15);
    --accent-glow-2: rgba(96, 165, 250, 0.1);
    
    /* Semantic Colors */
    --success: #10b981;
    --discord: #5865F2;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: auto;
}

::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background effects removed for solid color */
.bg-mesh, .bg-glow, .noise-overlay {
    display: none !important;
}

/* ================================================
   PRELOADER
   ================================================ */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', monospace;
}

.code-container {
    color: var(--accent-primary);
    font-size: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.5;
    padding: 2rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 90vw;
    font-family: 'Courier New', Courier, monospace;
}

.cursor-blink {
    display: inline-block;
    width: 10px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ================================================
   CUSTOM CURSOR
    ================================================ */

@media (max-width: 768px) {
    .custom-cursor, .cursor-dot {
        display: none;
    }
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
}

.huge-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   LAYOUT
   ================================================ */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

/* ================================================
   NAVBAR
   ================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.logo-icon-sm {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.logo-divider {
    color: var(--text-muted);
    margin: 0 0.25rem;
}

.logo-sub {
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
}

.mobile-cta {
    margin-top: 1rem;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-filled {
    background: #111;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-filled:hover {
    background: #1a1a1a;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-accent);
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    display: none;
}
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-stacks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stack-label-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-stack-icon {
    height: 1.8rem;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: var(--transition-base);
    cursor: default;
}

.hero-stack-icon:hover {
    color: var(--accent-primary);
    transform: translateY(-3px) scale(1.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.profile-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(40px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.profile-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.profile-wrapper:hover .profile-img {
    transform: scale(1.02);
}

.profile-decoration {
    position: absolute;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    pointer-events: none;
}

.profile-dec-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: rotate 30s linear infinite;
}

.profile-dec-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: rotate 25s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-light);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 3px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    left: -1px;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { top: 0; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.about-heading .section-title {
    position: sticky;
    top: 120px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.about-text .lead {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 500;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ================================================
   PROJECTS SECTION
   ================================================ */

.projects {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.link-arrow:hover {
    color: var(--text-primary);
    gap: 0.75rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Project Card */
.project-card {
    display: block;
    text-decoration: none;
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(600px circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.15);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--x) var(--y), rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.project-card:hover::before {
    background: radial-gradient(600px circle at var(--x) var(--y), rgba(139, 92, 246, 0.35) 0%, transparent 60%);
}

.project-card {
    display: block;
    text-decoration: none;
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    --x: 50%;
    --y: 50%;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.project-card-inner {
    padding: 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.meta-icon {
    color: var(--accent-primary);
}

.project-title {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.tech-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
}

.project-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.project-card:hover .project-icon {
    color: var(--accent-primary);
    transform: translate(3px, -3px);
}

/* ================================================
   FUTURE PROJECTS
   ================================================ */

.future-card {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(0.5);
    transition: var(--transition-base);
}

.future-card:hover {
    transform: none;
    opacity: 0.8;
    filter: grayscale(0);
    border-color: var(--accent-primary);
}

.coming-soon-badge {
    background: var(--accent-glow);
    color: var(--accent-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
}

/* ================================================
   ORÇAMENTO SECTION
   ================================================ */

.orcamento {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.orcamento-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.orcamento-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at right, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.orcamento-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.orcamento-content .lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.services-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.service-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.service-tag i {
    color: var(--accent-primary);
}

.orcamento-action {
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .orcamento-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
    .services-list {
        justify-content: center;
    }
}

/* ================================================
   COMMUNITY SECTION
   ================================================ */

.community {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-subtle);
}

.community-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.community-content .lead {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.community-content p:not(.lead) {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.community-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.feature-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    color: var(--accent-primary);
}

/* Discord Card */
.community-cta-box {
    display: flex;
    justify-content: center;
}

.discord-card {
    position: relative;
    background: linear-gradient(145deg, #2C2F33 0%, #1e2124 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.discord-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.discord-card-content {
    position: relative;
    z-index: 1;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.discord-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(88, 101, 242, 0.15);
    border-radius: 16px;
}

.discord-icon {
    font-size: 2rem;
    color: var(--discord);
}

.discord-info h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.discord-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: var(--discord);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: 0 10px 25px -5px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(88, 101, 242, 0.5);
}

.discord-members {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.member-avatars {
    display: flex;
}

.member-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--bg-secondary);
    margin-left: -8px;
}

.member-avatar:first-child {
    margin-left: 0;
}

.member-avatar-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
}

/* ================================================
   EXPERTISE SECTION
   ================================================ */

.expertise {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.expertise-header {
    text-align: center;
    margin-bottom: 3rem;
}

.expertise-header .section-label {
    margin-bottom: 0.5rem;
}

.expertise-header .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-base);
    opacity: 1 !important;
    transform: none !important;
}

.expertise-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.expertise-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.expertise-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: #fff;
    font-size: 1.25rem;
}

.expertise-title {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.expertise-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.expertise-card:hover .expertise-dot {
    box-shadow: 0 0 8px var(--accent-primary);
}

/* ================================================
   STACKS SECTION
   ================================================ */

.stacks {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.stacks-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stacks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.stack-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stack-icon {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    width: 28px;
    display: inline-block;
    color: var(--accent-primary);
}

.stack-text-icon {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.15);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    display: inline-block;
}

.stack-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-emoji {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stack-icon-img {
    width: 24px;
    height: 24px;
    margin-bottom: 0.25rem;
    filter: brightness(0) saturate(100%) invert(42%) sepia(98%) saturate(2472%) hue-rotate(243deg) brightness(101%) contrast(101%);
}

.stack-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stack-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stack-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.stack-level {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stack-bar {
    height: 4px;
    background: var(--bg-primary);
    border-radius: 2px;
    overflow: hidden;
}

.stack-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.6s ease;
}

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

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-subtle);
    padding-bottom: 6rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
}

.contact-main {
    max-width: 600px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.contact-label i {
    color: var(--accent-primary);
}

.contact-link {
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 2.5rem 0;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-container,
    .about-grid,
    .community-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-heading .section-title {
        position: static;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    section {
        padding: var(--section-padding) 0;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .huge-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ================================================
   GSAP ANIMATIONS
   ================================================ */

.gsap-hero-title {
    overflow: hidden;
}

.gsap-hero-title .title-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.gsap-hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
}

.gsap-hero-buttons {
    opacity: 0;
    transform: translateY(20px);
}

.gsap-hero-visual {
    opacity: 0;
    transform: scale(0.9);
}

.gsap-hero-stats {
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Reveal Class */
.solid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: -10;
}

.gsap-reveal {
    opacity: 0;
    transform: translateY(40px);
}

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