/* ============================================
   ARTENERD - CLEAN LANDING PAGE CSS
   ============================================ */

/* Custom Fonts */
@font-face {
    font-family: 'Solomon Sans';
    src: url('Solomon_Sans/Solomon Sans Book.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Solomon Sans';
    src: url('Solomon_Sans/Solomon Sans SemiBold.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'Solomon Sans';
    src: url('Solomon_Sans/Solomon Sans Black.otf') format('opentype');
    font-weight: 900;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-text: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-accent: #00ff88;
    --color-accent-secondary: #00ccff;
    --color-accent-tertiary: #667eea;

    /* Premium Effects */
    --glow-accent: rgba(0, 255, 136, 0.5);
    --glow-secondary: rgba(0, 204, 255, 0.5);
    --glow-tertiary: rgba(102, 126, 234, 0.5);

    /* Timing */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    --transition-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Solomon Sans', sans-serif;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: baseline;
    /* Alinha todos na mesma linha de base */
    letter-spacing: -0.05em;
    cursor: pointer;
    position: relative;
}

.logo-text .arte {
    font-weight: 400;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .nerd {
    font-weight: 600;
    background: linear-gradient(135deg, #00ccff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .net {
    font-weight: 900;
    font-size: 0.5em;
    background: linear-gradient(135deg, #667eea, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-accent);
}

/* ============================================
   WHATSAPP BUTTON - ALWAYS VISIBLE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* ============================================
   BUTTONS - PREMIUM GLOWING
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-slow) var(--transition-premium);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #000;
    box-shadow:
        0 4px 15px rgba(0, 255, 136, 0.3),
        0 0 40px rgba(0, 255, 136, 0.1);
}

/* Glow pseudo-element */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary), var(--color-accent-tertiary));
    border-radius: 14px;
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(0, 255, 136, 0.5),
        0 0 60px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover::before {
    opacity: 0.7;
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: #000;
    box-shadow:
        0 0 30px rgba(0, 255, 136, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(0.98);
}

/* ============================================
   HERO - PREMIUM CINEMATOGRÁFICO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    /* Aurora Mesh Gradient */
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 255, 136, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 204, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(102, 126, 234, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 60%, rgba(0, 255, 136, 0.06) 0%, transparent 70%),
        var(--color-bg);
}

/* Aurora Animation Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(0, 204, 255, 0.08) 0%, transparent 40%);
    animation: auroraFlow 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraFlow {

    0%,
    100% {
        transform: translate(0%, 0%) rotate(0deg);
    }

    25% {
        transform: translate(10%, -10%) rotate(90deg);
    }

    50% {
        transform: translate(0%, 10%) rotate(180deg);
    }

    75% {
        transform: translate(-10%, -5%) rotate(270deg);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Floating Particles Effect */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatParticle 20s ease-in-out infinite;
}

.hero-bg::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-accent), transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-bg::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-secondary), transparent 70%);
    bottom: 20%;
    right: 15%;
    animation-delay: 10s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    33% {
        transform: translate(50px, -30px) scale(1.1);
        opacity: 0.6;
    }

    66% {
        transform: translate(-30px, 50px) scale(0.9);
        opacity: 0.3;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* .hero-logo,
.hero-title,
.hero-subtitle,
.hero-ctas,
.scroll-indicator {
    opacity: 1; 
    visibility: visible;
} */

.hero-logo {
    width: 280px;
    margin-bottom: 2rem;
    /* Filter e animation controlados pelo GSAP agora */
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

/* ============================================
   SECTION TITLES
   ============================================ */
/* ============================================
   SECTION TITLES - FIXED CENTER
   ============================================ */
/* Utility to center content in sections */
section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    /* Removed left/transform hack which caused offset issues */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--color-bg-secondary);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.separator {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    margin: 2rem auto;
}

/* ============================================
   SERVICES - PREMIUM GLASSMORPHISM
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-slow) var(--transition-premium);
    position: relative;
    overflow: hidden;
}

/* Gradient border effect */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(0, 255, 136, 0) 0%,
            rgba(0, 255, 136, 0.3) 50%,
            rgba(0, 204, 255, 0) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

/* Glow effect */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 255, 136, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
    transition: transform var(--transition-slow);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.5));
}

.service-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.service-card:hover li {
    color: var(--color-text);
}

.service-card li:hover::before {
    transform: translateX(4px);
}

.service-highlight {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 0.9rem;
    color: var(--color-accent-secondary);
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ============================================
   MUSICAL DIFFERENTIAL
   ============================================ */
.musical-diff {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03), rgba(0, 204, 255, 0.03));
}

.musical-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.musical-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.musical-content h2 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* ============================================
   TECH
   ============================================ */
.tech {
    background: var(--color-bg-secondary);
}

.tech-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tech-note {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

/* ============================================
   PRODUCT
   ============================================ */
.product-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--color-accent);
    text-align: center;
}

.product-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-card h2 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 255, 136, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.feature-icon {
    font-size: 1.3rem;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    background: var(--color-bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail {
    display: block;
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 136, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.5);
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 8px 40px rgba(0, 255, 136, 0.8);
}

.portfolio-info {
    padding: 1rem;
}

.portfolio-category {
    display: inline-block;
    background: var(--color-accent);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-category-ai {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.ai-featured {
    border: 2px solid #667eea;
}

.ai-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.instagram-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.instagram-content {
    text-align: center;
    padding: 2rem;
}

.instagram-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.instagram-icon svg {
    width: 40px;
    height: 40px;
}

.instagram-handle {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.instagram-description {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

/* ============================================
   SOCIAL
   ============================================ */
.social-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.social-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg-secondary);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-link:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link span {
    font-weight: 600;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--color-bg-secondary);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-subtitle {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.contact-method:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info {
    text-align: left;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-text {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-update {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE & MOBILE
   ============================================ */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger-btn span {
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .mobile-nav-link {
        font-size: 1.8rem;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-menu-close {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2rem;
        cursor: pointer;
        padding: 10px;
    }

    /* Adjustments for mobile to reduce scroll and font sizes */
    .hero {
        min-height: 85vh;
        /* Less than full height to show content below */
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-logo {
        width: 180px;
        /* Smaller logo */
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        /* Smaller fluid font */
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        /* Readability but compact */
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        /* Smaller section titles */
        margin-bottom: 2rem;
        /* Ensure centering */
        display: block;
        text-align: center;
        width: 100%;
    }

    section {
        padding: 3rem 0;
        /* Less padding between sections */
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        /* Tighter gap */
    }

    .service-card {
        padding: 1.5rem;
        /* More compact cards */
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        /* Limit width */
        margin: 0 auto;
        /* Center buttons */
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem;
        /* Slightly thinner buttons */
        font-size: 0.95rem;
    }
}



@media (min-width: 769px) {

    .hamburger-btn,
    .mobile-menu-overlay {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero::before,
    .hero-bg::before,
    .hero-bg::after,
    .btn::before {
        animation: none !important;
        opacity: 1 !important;
        /* Ensure visible */
    }

    .reveal-card,
    .reveal-text,
    .reveal-line {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* ============================================
   FIX: TEXT ALIGNMENT & PARTICLES & CONTACT
   ============================================ */
.about-text,
.tech-text,
.section-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon-wrapper.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-icon-wrapper.email {
    background: rgba(0, 204, 255, 0.1);
    color: #00ccff;
}

.contact-icon-wrapper.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.contact-icon-wrapper.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--color-text);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FIX: CENTERED GRIDS (Services & Portfolio)
   ============================================ */
.services-grid,
.portfolio-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.5rem;
}

.service-card,
.portfolio-item {
    flex: 1 1 300px;
    /* Base width of 300px, but can grow */
    max-width: 350px;
    /* Don't stretch too wide */
    width: 100%;
}

/* ============================================
   FIX: COMPACT & HORIZONTAL LAYOUT
   ============================================ */
section {
    padding: 2.5rem 0 !important;
    /* Reduce vertical space drastically */
}

.section-title {
    margin-bottom: 1.5rem !important;
}

/* BrasilGC: 4 in one line on Desktop */
.product-features {
    display: flex !important;
    justify-content: space-between;
    gap: 1rem;
}

.feature-item {
    padding: 0.8rem !important;
    font-size: 0.9rem;
}

/* Services: 3 columns Layout (2 rows of 3) */
@media (min-width: 1024px) {
    .services-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 1rem) !important;
        /* 3 cards per row */
        min-width: 300px !important;
        /* Ensure readable width */
        padding: 1.5rem 1.2rem !important;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card ul li {
        font-size: 0.9rem;
    }
}

/* Mobile Reset */
@media (max-width: 1099px) {
    .product-features {
        flex-wrap: wrap !important;
    }

    .feature-item {
        flex: 1 1 45%;
    }

    /* Services will naturally stack via previous flex rules */
}

/* ============================================
   FIX: SUPER COMPACT SERVICES V2 (Auto-Layout)
   ============================================ */
.service-card {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    /* Header, List, Footer */
    align-items: center;
    text-align: left !important;
    gap: 0.5rem 1rem;
    /* Row Gap, Col Gap */
    padding: 1.2rem !important;
}

.service-icon {
    grid-column: 1;
    grid-row: 1;
    font-size: 2rem !important;
    margin: 0 !important;
    line-height: 1;
}

.service-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    min-height: 0 !important;
    /* Rremove fixed height */
    text-align: left !important;
    justify-content: flex-start !important;
    font-size: 1.1rem !important;
    line-height: 1.2;
}

.service-card ul {
    grid-column: 1 / -1;
    /* Full width */
    grid-row: 2;
    margin: 0.8rem 0 !important;
    padding-left: 0 !important;
}

/* FIX: Arrow Overlap */
.service-card ul li {
    padding: 0.2rem 0 0.2rem 1.5rem !important;
    /* Left padding for arrow */
    position: relative;
    text-align: left;
}

.service-card li::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* Center arrow vertically */
}

/* Hover effect on arrow needs reset transform with translateY */
.service-card li:hover::before {
    transform: translateY(-50%) translateX(4px) !important;
}

.service-highlight {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: auto !important;
    padding-top: 0.8rem !important;
    text-align: left !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   FIX: INSTAGRAM ICONS & PREMIUM EFFECTS
   ============================================ */

/* 1. Fix Instagram Gradient (Both Personal and Brand) */
.contact-icon-wrapper.instagram,
.contact-icon-wrapper.instagram-personal {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

/* 2. Premium Morphing Glass Effect on Cards */
.reveal-card,
.service-card,
.contact-card,
.portfolio-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* Soft base shadow */
    position: relative;
    overflow: hidden;
}

/* Glow gradient sweep on hover */
.reveal-card::before,
.service-card::before,
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.reveal-card:hover::before,
.service-card:hover::before,
.contact-card:hover::before {
    left: 100%;
    transition: left 0.6s ease;
}

.reveal-card:hover,
.service-card:hover,
.contact-card:hover,
.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-accent);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(0, 255, 136, 0.15);
    /* Green glow */
    background: rgba(255, 255, 255, 0.06);
    /* Lighter bg */
}

/* ============================================
   FIX: TECH SECTION CLEAN (No Card)
   ============================================ */
.tech-text {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}

/* Remover efeito de hover no tech-text se ele tiver a classe reveal-card */
.tech-text:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ============================================
   FIX: HERO WIDER TEXT & 2-LINE TITLE
   ============================================ */
.hero-content {
    max-width: 1400px !important;
    /* Allow layout to breathe */
    padding: 0 5% !important;
}

.hero-title {
    /* Reduzindo drasticamente para garantir layout de 2 linhas mesmo em telas menores */
    font-size: clamp(1.5rem, 2.5vw, 2.8rem) !important;
    line-height: 1.2 !important;
    max-width: 100%;
}

/* Ensure no breaks inside important phrases if possible */
.hero-title span {
    white-space: normal;
    /* Permitir quebra se necessário mobile, mas desktop tenta segurar */
}

/* Desktop: Tenta forçar linha unica antes do BR */
/* Desktop: Tenta forçar linha unica antes do BR */
@media (min-width: 1024px) {
    .hero-title {
        white-space: nowrap;
        /* Força respeitar o texto corrido até o <br> */
    }
}

/* ============================================
   FIX: HERO BIO (Moved from About)
   ============================================ */
.hero-bio {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 4rem;
}

.hero-bio strong {
    color: var(--color-accent);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-bio {
        margin-top: 2rem;
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
}

/* ============================================
   FIX: HEADER SCROLL PROGRESS & SPACING
   ============================================ */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00ccff, #667eea);
    width: 0%;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transition: width 0.1s linear;
    /* Smooth if JS fails or for jerky scroll */
}

/* Increase Hero spacing from Header */
.hero-content {
    padding-top: 8rem !important;
    /* Pushes content down away from header */
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 6rem !important;
    }
}

.hero-subtitle {
    font-size: 1.1rem !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Mobile: Remove force break */
@media (max-width: 768px) {
    .hero-title br {
        display: none;
    }
}