/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ALCATEIA TECNOLOGIA
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-dark-accent: #0f131a;
    --bg-card: rgba(18, 22, 32, 0.65);
    --bg-card-hover: rgba(28, 34, 48, 0.8);
    
    --primary: #00d2ff;
    --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    --accent: #7000ff;
    --accent-gradient: linear-gradient(135deg, #00d2ff 0%, #7000ff 100%);
    --gradient-text: linear-gradient(135deg, #fff 30%, #00d2ff 100%);
    
    --text-white: #ffffff;
    --text-main: #f5f7fa;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(0, 210, 255, 0.5);
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glow-primary: 0 0 20px rgba(0, 210, 255, 0.25);
    --glow-accent: 0 0 25px rgba(112, 0, 255, 0.2);
    
    /* Glassmorphism */
    --glass-bg: rgba(7, 9, 14, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(12px);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1c2430;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: #2a3648;
}

/* Particle Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-white);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.45), 0 0 15px rgba(112, 0, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-nav:hover {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: var(--glow-primary);
    transform: translateY(-1px);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    height: 70px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-svg {
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
    transition: var(--transition-smooth);
}

.logo:hover .logo-svg {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.logo-text .highlight {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

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

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.8s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

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

.tech-sphere-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: rgba(112, 0, 255, 0.25);
    top: -20px;
    left: -20px;
    animation: floatAnimation 8s infinite alternate;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(0, 210, 255, 0.2);
    bottom: -10px;
    right: -10px;
    animation: floatAnimation 12s infinite alternate-reverse;
}

.tech-sphere {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid rgba(0, 210, 255, 0.3);
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.15);
    display: flex;
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: floatAnimation 6s ease-in-out infinite alternate;
    transition: var(--transition-smooth);
}

.tech-sphere:hover {
    border-color: rgba(112, 0, 255, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(112, 0, 255, 0.35);
}

.tech-sphere-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.tech-sphere:hover .tech-sphere-img {
    transform: scale(1.06);
}

.tech-sphere-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 9, 14, 0.85) 0%, rgba(7, 9, 14, 0.2) 60%, rgba(7, 9, 14, 0) 100%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.tech-sphere:hover .tech-sphere-overlay {
    background: linear-gradient(to top, rgba(7, 9, 14, 0.75) 0%, rgba(7, 9, 14, 0.1) 60%, rgba(7, 9, 14, 0) 100%);
}

/* Visual Cards overlay inside Tech Sphere */
.visual-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.visual-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.3);
}

.card-code {
    width: 260px;
    top: 50px;
    left: -30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    z-index: 4;
}

.card-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.card-dots span:nth-child(1) { background: #ff5f56; }
.card-dots span:nth-child(2) { background: #ffbd2e; }
.card-dots span:nth-child(3) { background: #27c93f; }

.code-kw { color: #f92672; }
.code-str { color: #e6db74; }
.code-bool { color: #ae81ff; }

.card-chart {
    width: 200px;
    bottom: 50px;
    right: -20px;
    z-index: 5;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.chart-value {
    color: var(--primary);
    font-weight: 700;
}

.chart-bar-container {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 60px;
    padding-top: 10px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: height 1.5s ease;
}

.bar-1 { height: 40%; background: var(--border-color); }
.bar-2 { height: 60%; background: rgba(112, 0, 255, 0.6); }
.bar-3 { height: 95%; background: var(--primary-gradient); }

.card-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    top: 200px;
    left: 80px;
    width: 180px;
    z-index: 6;
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
}

.badge-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ==========================================================================
   DIFERENCIAIS (STATS/FEATURES BAND)
   ========================================================================== */
.diferenciais {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 19, 26, 0.3) 100%);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diferencial-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.diferencial-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 210, 255, 0.1);
    transform: translateY(-3px);
}

.dif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.1);
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.diferencial-item:hover .dif-icon {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: var(--glow-primary);
}

.dif-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.dif-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.servicos {
    padding: 120px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    overflow: hidden;
    transition: var(--transition-smooth);
    outline: none;
}

.service-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 210, 255, 0) 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.service-card:hover .service-glow {
    transform: scale(1.8);
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(112, 0, 255, 0.15) 50%, rgba(0, 210, 255, 0) 75%);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 210, 255, 0.05);
}

.service-card:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--border-focus);
}

.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--primary);
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.25);
    color: var(--text-white);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.service-list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list-items li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list-items li span {
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contato {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 19, 26, 0.4) 100%);
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-text p, .info-text a {
    font-size: 1.05rem;
    color: var(--text-white);
    font-weight: 500;
}

.info-text a:hover {
    color: var(--primary);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.social-icon:hover {
    color: var(--text-white);
    background: rgba(0, 210, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input::placeholder {
    color: #4a5568;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Error messages styling */
.error-msg {
    color: #ff5c5c;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-input.invalid {
    border-color: #ff5c5c;
    box-shadow: 0 0 10px rgba(255, 92, 92, 0.1);
}

.form-input.invalid:focus {
    box-shadow: 0 0 10px rgba(255, 92, 92, 0.25);
    border-color: #ff5c5c;
}

/* Submit button within form */
.btn-submit {
    width: 100%;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit-icon {
    transition: transform var(--transition-fast);
}

.btn-submit:hover .btn-submit-icon {
    transform: translate(3px, -2px);
}

/* Feedback banners */
.form-feedback {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-feedback.success {
    background: rgba(39, 201, 63, 0.08);
    border: 1px solid rgba(39, 201, 63, 0.2);
    color: #4ade80;
}

.form-feedback.error {
    background: rgba(255, 92, 92, 0.08);
    border: 1px solid rgba(255, 92, 92, 0.2);
    color: #fca5a5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-footer {
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-links-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        top: 6px;
    }
    15% {
        opacity: 1;
    }
    50% {
        opacity: 0;
        top: 24px;
    }
    100% {
        opacity: 0;
        top: 6px;
    }
}

/* Intersection Observer Elements Reveal */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers for stagger animation inside sections */
.fade-in-element:nth-child(1) { transition-delay: 0.1s; }
.fade-in-element:nth-child(2) { transition-delay: 0.2s; }
.fade-in-element:nth-child(3) { transition-delay: 0.3s; }
.fade-in-element:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
        padding-bottom: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Implementation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-dark);
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        z-index: 1000;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .btn-nav {
        margin-top: 20px;
        width: 100%;
    }
    
    /* Toggle active animation (Hamburger to X) */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Hero scaling */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .tech-sphere-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .card-code {
        width: 200px;
        left: -10px;
        top: 30px;
    }
    
    .card-chart {
        width: 150px;
        bottom: 30px;
        right: -10px;
    }
    
    .card-badge {
        left: 40px;
        top: 150px;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .tech-sphere-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .card-code, .card-chart, .card-badge {
        display: none; /* Hide visual cards on tiny screens for better view */
    }
    
    .tech-sphere {
        border-radius: 50%;
    }
}

/* ==========================================================================
   QUEM SOMOS PAGE SPECIFIC STYLES
   ========================================================================== */
.quemsomos-page, .servicos-page, .contato-page {
    padding-top: var(--header-height);
}

.quemsomos-banner {
    padding: 80px 0 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.banner-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.quemsomos-intro {
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.intro-text-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-text-column p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.intro-text-column .highlight-p {
    font-size: 1.25rem;
    color: var(--text-white);
    font-weight: 500;
    line-height: 1.5;
}

.intro-text-column .final-tag {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 10px;
}

/* Intro Visual Box */
.about-visual-box {
    position: relative;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    overflow: hidden;
    animation: floatAnimation 6s ease-in-out infinite alternate;
}

.visual-badge-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition-smooth);
}

.badge-card:hover {
    transform: translateX(5px);
    border-color: rgba(0, 210, 255, 0.25);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.05);
}

.badge-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products Showcase */
.products-showcase {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(15, 19, 26, 0.4) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, rgba(112, 0, 255, 0) 70%);
    top: -125px;
    right: -125px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.product-card:hover .product-glow {
    transform: scale(1.6);
    background: radial-gradient(circle, rgba(112, 0, 255, 0.22) 0%, rgba(0, 210, 255, 0.12) 50%, rgba(112, 0, 255, 0) 75%);
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(112, 0, 255, 0.3);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(112, 0, 255, 0.03);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.product-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(112, 0, 255, 0.05);
    border: 1px solid rgba(112, 0, 255, 0.15);
    color: var(--primary);
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon-wrapper {
    background: rgba(112, 0, 255, 0.15);
    border-color: rgba(112, 0, 255, 0.3);
    color: var(--text-white);
    transform: scale(1.05);
}

.product-title {
    font-size: 1.5rem;
}

.product-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-features span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.product-card:hover .product-features span {
    border-color: rgba(112, 0, 255, 0.2);
    color: var(--text-white);
}

/* Valores Section */
.valores {
    padding: 120px 0;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-color);
    transform: translateY(-5px);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.04);
    border: 1px solid rgba(0, 210, 255, 0.1);
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.value-item:hover .value-icon {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: var(--glow-primary);
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsiveness for Quem Somos Page */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .intro-visual-column {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 32px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   MISSÃO, VISÃO E COMPROMISSO SPECIFIC STYLES
   ========================================================================== */
.missao-visao {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 19, 26, 0.2) 100%);
}

.missao-visao-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mv-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 210, 255, 0.03);
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.mv-card:hover .mv-icon {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: var(--glow-primary);
}

.mv-card h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.compromisso {
    padding: 100px 0 120px 0;
    border-top: 1px solid var(--border-color);
}

.compromisso-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.compromisso-text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compromisso-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.compromisso-highlight {
    font-size: 1.3rem !important;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .missao-visao-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mv-card {
        padding: 32px;
    }
    
    .compromisso-box {
        padding: 40px 24px;
    }
    
    .compromisso-highlight {
        font-size: 1.15rem !important;
    }
}

/* ==========================================================================
   MANIFESTO SPECIFIC STYLES
   ========================================================================== */
.manifesto-section {
    padding: 80px 0 20px 0;
    position: relative;
    z-index: 10;
}

.manifesto-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.manifesto-box:hover {
    border-color: rgba(0, 210, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-md);
}

.manifesto-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.manifesto-text strong {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .manifesto-section {
        padding: 60px 0 10px 0;
    }
    
    .manifesto-box {
        padding: 24px 16px;
    }
    
    .manifesto-text {
        font-size: 1.05rem;
    }
}
