/* ================================
   SENSY IMPROVED DYNAMIC THEME
   ================================ */

:root {
    /* Core Colors - Novo Esquema de Cores */
    --deep-navy: #0B1426;
    --navy-blue: #1A2B4C;
    --navy-light: #2C3E50;
    
    /* Nova Cor Secundária: Azul Elétrico/Ciano */
    --electric-blue: #00D4FF;
    --electric-light: #5FEFFF;
    --electric-dark: #0099CC;
    
    /* Cor Terciária: Verde Tecnológico */
    --tech-green: #00FF88;
    --tech-green-light: #4DFFAA;
    --tech-green-dark: #00CC66;
    
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #7F8C8D;
    --gray-dark: #34495E;
    
    /* Dynamic Gradients Atualizados */
    --gradient-primary: linear-gradient(135deg, var(--deep-navy), var(--navy-blue));
    --gradient-electric: linear-gradient(135deg, var(--electric-blue), var(--electric-light));
    --gradient-tech: linear-gradient(135deg, var(--tech-green), var(--tech-green-light));
    --gradient-dynamic: linear-gradient(45deg, var(--deep-navy), var(--navy-blue), var(--electric-blue), var(--navy-light));
    --gradient-mesh: radial-gradient(ellipse at top left, rgba(11, 20, 38, 0.8), transparent 50%), 
                   radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.3), transparent 50%),
                   radial-gradient(ellipse at bottom left, rgba(26, 43, 76, 0.6), transparent 50%),
                   radial-gradient(ellipse at center, rgba(0, 255, 136, 0.2), transparent 60%);
    
    /* Shadows Atualizados */
    --shadow-soft: 0 4px 20px rgba(11, 20, 38, 0.1);
    --shadow-medium: 0 8px 30px rgba(11, 20, 38, 0.15);
    --shadow-strong: 0 20px 60px rgba(11, 20, 38, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
    --shadow-tech: 0 0 30px rgba(0, 255, 136, 0.2);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: clamp(60px, 8vw, 120px);
    --container-padding: clamp(20px, 5vw, 40px);
}

/* ================================
   RESET & BASE STYLES
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--deep-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ================================
   DYNAMIC BACKGROUNDS MELHORADOS
   ================================ */

.dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Partículas Flutuantes */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float-drift 20s infinite ease-in-out;
    opacity: 0.6;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--electric-blue), transparent);
    top: 10%;
    left: 80%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--navy-blue), transparent);
    top: 60%;
    left: -10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--tech-green), transparent);
    top: 30%;
    left: 30%;
    animation-delay: 14s;
}

/* Novas Orbs para Mais Dinamismo */
.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--electric-light), transparent);
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}

.orb-5 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--tech-green-light), transparent);
    top: 5%;
    left: 5%;
    animation-delay: 10s;
}

@keyframes float-drift {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1) rotate(0deg); 
        opacity: 0.6; 
    }
    25% { 
        transform: translate(-30px, -50px) scale(1.1) rotate(90deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: translate(-60px, -20px) scale(0.9) rotate(180deg); 
        opacity: 0.4; 
    }
    75% { 
        transform: translate(-30px, 30px) scale(1.05) rotate(270deg); 
        opacity: 0.7; 
    }
}

/* Padrão Geométrico Animado */
.geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(0, 212, 255, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(0, 212, 255, 0.1) 87.5%, rgba(0, 212, 255, 0.1)),
        linear-gradient(150deg, rgba(0, 255, 136, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(0, 255, 136, 0.08) 87.5%, rgba(0, 255, 136, 0.08)),
        linear-gradient(30deg, rgba(0, 212, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 212, 255, 0.05) 87.5%, rgba(0, 212, 255, 0.05)),
        linear-gradient(150deg, rgba(0, 255, 136, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 255, 136, 0.05) 87.5%, rgba(0, 255, 136, 0.05));
    background-size: 40px 40px, 60px 60px, 80px 80px, 100px 100px;
    background-position: 0 0, 0 0, 20px 20px, 40px 40px;
    animation: pattern-shift 25s linear infinite, pattern-pulse 8s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes pattern-shift {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(40px) translateY(40px) rotate(360deg); }
}

@keyframes pattern-pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* Gradiente Mesh Melhorado */
.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    animation: mesh-flow 15s ease-in-out infinite;
}

@keyframes mesh-flow {
    0%, 100% { 
        background: radial-gradient(ellipse at top left, rgba(11, 20, 38, 0.8), transparent 50%), 
                   radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.3), transparent 50%),
                   radial-gradient(ellipse at bottom left, rgba(26, 43, 76, 0.6), transparent 50%),
                   radial-gradient(ellipse at center, rgba(0, 255, 136, 0.2), transparent 60%);
    }
    25% { 
        background: radial-gradient(ellipse at top center, rgba(11, 20, 38, 0.9), transparent 60%), 
                   radial-gradient(ellipse at bottom right, rgba(0, 212, 255, 0.4), transparent 40%),
                   radial-gradient(ellipse at center left, rgba(26, 43, 76, 0.7), transparent 50%),
                   radial-gradient(ellipse at bottom center, rgba(0, 255, 136, 0.3), transparent 70%);
    }
    50% { 
        background: radial-gradient(ellipse at bottom center, rgba(11, 20, 38, 0.7), transparent 50%), 
                   radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.5), transparent 50%),
                   radial-gradient(ellipse at center right, rgba(26, 43, 76, 0.5), transparent 60%),
                   radial-gradient(ellipse at top right, rgba(0, 255, 136, 0.25), transparent 65%);
    }
    75% { 
        background: radial-gradient(ellipse at center right, rgba(11, 20, 38, 0.8), transparent 55%), 
                   radial-gradient(ellipse at bottom left, rgba(0, 212, 255, 0.35), transparent 45%),
                   radial-gradient(ellipse at top center, rgba(26, 43, 76, 0.6), transparent 55%),
                   radial-gradient(ellipse at center left, rgba(0, 255, 136, 0.2), transparent 60%);
    }
}

/* Efeito de Matriz Digital */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: digital-flow 20s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes digital-flow {
    0% { 
        transform: translateY(0) translateX(0); 
        opacity: 0.1; 
    }
    50% { 
        transform: translateY(-50px) translateX(25px); 
        opacity: 0.3; 
    }
    100% { 
        transform: translateY(-100px) translateX(50px); 
        opacity: 0.1; 
    }
}

/* ================================
   HEADER
   ================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 20, 38, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.3));
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.5));
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    padding-top: 80px;
}

.hero .dynamic-bg {
    background: transparent;
}

/* Ondas de Energia */
@keyframes energy-wave {
    0% { 
        transform: translateX(-100%) scaleY(1); 
        opacity: 0; 
    }
    50% { 
        transform: translateX(0%) scaleY(1.2); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateX(100%) scaleY(1); 
        opacity: 0; 
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--electric-blue), var(--tech-green), transparent);
    animation: energy-wave 4s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--tech-green), var(--electric-blue), transparent);
    animation: energy-wave 4s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--electric-light);
}

.brand-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); 
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); 
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .accent {
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-electric);
    border-radius: 2px;
    animation: underline-expand 3s ease-in-out infinite;
}

@keyframes underline-expand {
    0%, 100% { width: 60%; opacity: 0.7; }
    50% { width: 100%; opacity: 1; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-electric);
    color: var(--deep-navy);
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-glow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    color: var(--white);
    padding: 18px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 212, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--electric-blue);
    color: var(--electric-light);
}

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

.ai-brain {
    width: clamp(300px, 40vw, 500px);
    height: clamp(300px, 40vw, 500px);
    position: relative;
}

.brain-container {
    position: relative;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.3));
}

.brain-svg {
    width: 100%;
    height: 100%;
}

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--tech-green), transparent);
    animation: neural-pulse 3s ease-in-out infinite;
}

.connection-line:nth-child(1) {
    top: 35%;
    left: 20%;
    width: 60%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 50%;
    left: 25%;
    width: 50%;
    transform: rotate(-10deg);
    animation-delay: 1s;
}

.connection-line:nth-child(3) {
    top: 65%;
    left: 30%;
    width: 40%;
    transform: rotate(25deg);
    animation-delay: 2s;
}

@keyframes neural-pulse {
    0%, 100% { 
        opacity: 0; 
        transform: scale(0.8) rotate(var(--rotation, 0deg)); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1) rotate(var(--rotation, 0deg)); 
    }
}

/* ================================
   FEATURES SECTION ATUALIZADA
   ================================ */

.features {
    padding: var(--section-padding) 0;
    position: relative;
    background: linear-gradient(135deg, var(--gray-light) 0%, rgba(248, 249, 250, 0.5) 100%);
}

.features .dynamic-bg {
    opacity: 0.6;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(50px, 8vw, 80px);
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-electric);
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(30px, 5vw, 50px);
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: clamp(30px, 5vw, 50px);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-electric);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--gradient-tech);
    transition: left 0.4s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover::after {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    font-size: 28px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-electric);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon::before {
    opacity: 0.3;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ================================
   STATS SECTION ATUALIZADA
   ================================ */

.stats {
    padding: var(--section-padding) 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats .dynamic-bg {
    opacity: 0.4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(30px, 5vw, 50px);
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 30px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--electric-blue);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ================================
   CTA SECTION ATUALIZADA
   ================================ */

.cta {
    padding: var(--section-padding) 0;
    background: var(--white);
    text-align: center;
    position: relative;
}

.cta .dynamic-bg {
    opacity: 0.3;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: clamp(50px, 8vw, 80px) 0 30px;
    position: relative;
    overflow: hidden;
}

.footer .dynamic-bg {
    opacity: 0.2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: clamp(30px, 5vw, 50px);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    align-items: start;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    padding: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.3));
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.5));
    opacity: 1;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    max-width: 400px;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--electric-blue);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.footer-section a:hover::before {
    width: 10px;
}

.footer-section a:hover {
    color: var(--electric-blue);
    transform: translateX(15px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    position: relative;
    z-index: 2;
}

/* ================================
   ANIMAÇÕES & INTERAÇÕES
   ================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo {
        order: -1;
        padding: 10px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .floating-orb {
        filter: blur(30px);
        opacity: 0.4;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .digital-rain {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
        --section-padding: 40px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-orb {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   MOBILE REFINEMENTS 2025‑06‑11
   ================================ */

/* Unify text centering and padding on small screens */
@media (max-width: 768px) {
    /* Center hero text block */
    .hero-text,
    .hero-title,
    .hero-subtitle {
        text-align: center;
    }

    /* Center brand badge */
    .brand-badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce side padding for brand badge */
    .brand-badge {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Harmonize section paddings */
    .features,
    .stats,
    .cta {
        padding-left: calc(var(--container-padding) / 2);
        padding-right: calc(var(--container-padding) / 2);
    }

    /* Ensure feature cards stretch full width */
    .feature-card {
        width: 100%;
    }

    /* Center footer content */
    .footer-content {
        align-items: center;
    }
}

/* Extra‑small devices (≤480px) */
@media (max-width: 480px) {

    /* Reduce top spacing so content fits without overflow */
    .hero {
        padding-top: 60px;
    }

    /* Tighter brand-badge on very small screens */
    .brand-badge {
        font-size: 12px;
        gap: 8px;
    }

    /* Allow long words to wrap gracefully */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
}


/* ================================
   MOBILE REFINEMENTS 2025‑06‑11 v2
   ================================ */
@media (max-width: 768px) {

    /* Improve spacing between CTA buttons */
    .cta-group {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        gap: 24px 24px; /* row-gap col-gap */
    }

    /* Let buttons size consistently and avoid touching edges */
    .cta-group .btn-primary,
    .cta-group .btn-secondary {
        flex: 1 1 auto;
        max-width: 320px;
        width: 100%;
    }

    /* Universal title/subtitle centering safeguard */
    h1, h2, h3, h4, h5, h6,
    .section-title,
    .section-subtitle,
    .stats-title,
    .stats-subtitle,
    .feature-heading {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Ensure brand badge is perfectly centered */
    .brand-badge {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Extra-small tweaks */
@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
    }
}


/* ================================
   MOBILE REFINEMENTS v3 – 2025‑06‑11
   – Hero spacing + footer text alignment
   ================================ */
@media (max-width: 768px) {

    /* Extra respiro entre CTA e seção seguinte */
    .hero {
        padding-bottom: 100px; /* aumenta a faixa azul */
    }

    /* Se ainda ficar apertado, ajude a separação */
    .cta-group {
        margin-bottom: 32px;  /* espaço adicional sob os botões */
        gap: 24px;            /* consistente com gap acima */
    }

    /* Garantir alinhamento central real do texto no footer */
    .footer-content {
        justify-items: center;
        text-align: center;
    }
    .footer-brand p {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Telas muito pequenas: ajuste proporcional */
@media (max-width: 480px) {
    .hero {
        padding-bottom: 80px;
    }
}


/* ================================
   MOBILE REFINEMENTS v4 – 2025‑06‑11
   – Button text full centering
   ================================ */
.btn-primary,
.btn-secondary {
    display: flex !important;     /* full‑width flex container */
    align-items: center !important;   /* vertical centering */
    justify-content: center !important; /* horizontal centering */
    line-height: 1.2 !important;  /* avoid extra top padding visual */
}
