/* ==================== VARIABLES ==================== */
:root {
    /* Colors - Vermelho Tech/LED inspirado na logo */
    --primary-red: #FF3333;
    --primary-dark: #CC0000;
    --primary-light: #FF6666;
    --accent-red: #FF0000;
    
    /* Neutrals */
    --black: #464242;
    --dark-gray: #313030;
    --medium-gray: #2A2A2A;
    --light-gray: #3A3A3A;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    
    /* Functional */
    --text-primary: #474747;
    --text-secondary: #666666;
    --text-light: #FFFFFF;
    --border: rgba(255, 51, 51, 0.1);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-red: 0 8px 32px rgba(255, 51, 51, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==================== CONTAINERS ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--medium-gray);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 51, 51, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: rgba(255, 51, 51, 0.12);
    color: var(--text-light);
    border-color: rgba(255, 51, 51, 0.5);
    transform: translateY(-2px);
}

.nav-cta.active {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.88), rgba(255, 51, 51, 0.35));
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    color: var(--text-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.88);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.hero-metrics {
    display: flex;
    gap: 60px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 4px;
    animation: scrollDown 2s infinite;
}

/* ==================== SECTIONS ==================== */
.solutions,
.technology,
.projects,
.about,
.contact {
    padding: var(--section-padding) 0;
}

.section-intro,
.section-intro.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 51, 51, 0.1);
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
}

.white-title {
    color: var(--white) !important;
}

.section-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== SOLUTIONS SECTION ==================== */
.solutions {
    background: var(--off-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.solution-card {
    position: relative;
    background: var(--white);
    padding: 48px 32px;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-red);
}

.solution-card.featured {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.featured-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 16px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-icon i {
    font-size: 36px;
    color: var(--white);
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.solution-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.solution-features i {
    color: var(--primary-red);
    font-size: 14px;
}

/* ==================== TECHNOLOGY SECTION ==================== */
.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.tech-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-stat {
    display: flex;
    gap: 20px;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 51, 51, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 28px;
    color: var(--primary-red);
}

.stat-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.stat-info p {
    color: var(--text-secondary);
}

.tech-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.tech-image-wrapper img {
    width: 100%;
    border-radius: 24px;
}

.tech-floating-card {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 24px;
    color: var(--white);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    background: var(--off-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.project-category {
    padding: 8px 20px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.project-info {
    padding: 32px;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.project-info > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.project-results {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-results span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
}

.project-results i {
    font-size: 16px;
}

/* ==================== ABOUT SECTION ==================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.value-item {
    display: flex;
    gap: 20px;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 51, 51, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-red);
}

.value-text h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.value-text p {
    color: var(--text-secondary);
}

.about-image-stack {
    position: relative;
    height: 600px;
}

.stack-image {
    position: absolute;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.stack-image.main {
    width: 70%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 2;
    object-fit: cover;
}

.stack-image.secondary {
    width: 60%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 1;
    border: 8px solid var(--white);
    object-fit: cover;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--dark-gray);
    color: var(--text-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

.method-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 51, 51, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 24px;
    color: var(--primary-red);
}

.method-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.method-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-info a,
.method-info span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

.method-info a:hover {
    color: var(--primary-red);
}

.contact-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 51, 51, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-4px);
}

.social-link i {
    font-size: 20px;
    color: var(--text-light);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-gray);
    color: var(--white);
    padding: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 16px;
    font-size: 12px;
    color: var(--primary-red);
    background: var(--dark-gray);
    padding: 0 8px;
    z-index: 2;
}

/* Tratamento especial para select com valor selecionado */
.form-group select:not([value=""]) + label,
.form-group select:valid + label {
    top: -10px;
    left: 16px;
    font-size: 12px;
    color: var(--primary-red);
    background: var(--dark-gray);
    padding: 0 8px;
    z-index: 2;
}

.btn-full {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 18px 32px;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.faq-section .section-header {
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 51, 51, 0.02);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--primary-red);
    font-size: 1.25rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================== CERTIFICATIONS SECTION ==================== */
.certifications-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.certifications-section .section-header {
    margin-bottom: 3rem;
}

.cert-category {
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cert-category:last-child {
    margin-bottom: 0;
}

.cert-category > h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: var(--transition);
    min-height: 120px;
}

.partner-logo:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.partner-logo span {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: var(--transition);
}

.cert-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cert-item-img {
    height: 3rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cert-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--text-light);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Work Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-red);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-red);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    40%, 80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .tech-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-stack {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 80px);
        background: var(--black);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        align-items: flex-start;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 32px;
    }
    
    .solutions-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-image-stack .stack-image.main,
    .about-image-stack .stack-image.secondary {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logo span {
        font-size: 1rem;
    }
}
