:root {
    /* Colors - Dark Premium Theme */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);

    /* Gradients / Accents */
    --accent: #00f2fe;
    /* Bright cyan */
    --accent-alt: #4facfe;
    /* Deep blueish cyan */

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --nav-height: 80px;
    --container-max: 1200px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: auto;
    /* Handled by JS for better offset */
}

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

/* Background Effects */
.glow-bg {
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, rgba(5, 5, 5, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Utils */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Icons Global Style */
.skill-icon,
[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 2px;
    fill: none;
    vertical-align: middle;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: #000;
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

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

.btn-outline:hover {
    border-color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    height: 70px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Menu Button Icons Fix */
.menu-btn i,
.menu-btn [data-lucide="menu"] {
    width: 28px !important;
    height: 28px !important;
    stroke: white !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 80px);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.greeting {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero .title {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero .description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

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

.image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.image-border {
    position: absolute;
    inset: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    animation: morph 8s ease-in-out infinite;
    opacity: 0.3;
    filter: blur(20px);
}

.profile-pic {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    border: 2px solid var(--border-color);
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Sections Global */
.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
}

.line {
    height: 1px;
    flex-grow: 1;
    background: var(--border-color);
    max-width: 300px;
}

/* About */
.about-content {
    max-width: 800px;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 500;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-links {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.project-card:hover .project-links {
    opacity: 1;
    transform: translateY(0);
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition);
}

.icon-link:hover {
    background: var(--accent);
    color: #000;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 48px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--accent);
}

/* Skills Box/Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.skill-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-box:hover {
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.03);
    transform: translateY(-2px);
}

/* Footer & Contact */
.footer {
    border-top: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.footer-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    min-width: 140px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-card i,
.contact-card [data-lucide],
.contact-card svg {
    width: 32px !important;
    height: 32px !important;
    stroke: var(--accent);
}

.contact-card span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

/* WhatsApp Specific Hover */
.contact-card[aria-label="WhatsApp"]:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.contact-card[aria-label="WhatsApp"]:hover svg {
    stroke: #25D366;
    fill: rgba(37, 211, 102, 0.05);
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
}

.social-links a:hover {
    color: var(--accent);
    background: rgba(0, 242, 254, 0.1);
    transform: translateY(-2px);
}

.copyright {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations (Scroll Reveal) */
.reveal,
.reveal-up,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal {
    transform: scale(0.95);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal.visible,
.reveal-up.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        grid-row: 1;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;
    }

    .section-header {
        justify-content: center;
    }

    .line {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .navbar .btn-outline {
        display: none;
        /* simple mobile version */
    }

    .menu-btn {
        display: block;
    }

    .section {
        padding: 80px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
    }
}


.icon-link i {
    color: #00f2fe;
    /* A cor verde/ciano da sua setinha */
    width: 24px;
    /* Ajuste o tamanho conforme necessário */
    height: 24px;
    stroke-width: 2px;
    /* Deixa o ícone um pouco mais espesso e visível */
}

/* Efeito de hover opcional para dar vida ao link */
.icon-link:hover {
    transform: scale(1.1);
    /* Dá um leve zoom ao passar o mouse */
    filter: drop-shadow(0 0 5px #00f2fe);
    /* Adiciona um brilho sutil */
}