/* ============================================================
   Gilsoftware - Modern & Elegant CSS
   ============================================================ */

/* Reset & Base Styles */
:root {
    --primary-color: #388e3c;
    --primary-dark: #236326;
    --accent-color: #66bb6a;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.navbar-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo img {
    height: 225px;
    /* Increased 20% from 187px */
    width: auto;
    object-fit: contain;
}

.menu {
    flex: 1;
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    /* Centers the menu in the middle space */
    align-items: center;
    margin: 0;
}

.menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.menu a:hover,
.menu a.active {
    color: var(--primary-color);
}

.menu a.active::after,
.menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

@keyframes slideIn {
    from {
        left: 100%;
        right: -100%;
    }

    to {
        left: 0;
        right: 0;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0;
    z-index: 1001;
}

.mobile-social-icons {
    display: none;
}

.header-icons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-end;
}

.header-icons a {
    color: var(--text-dark);
    font-size: 1.4rem;
    transition: var(--transition);
}

.header-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ensure icons hide on small screens handled by menu-toggle if needed */

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    background: linear-gradient(135deg, rgba(35, 99, 38, 0.9) 0%, rgba(56, 142, 60, 0.8) 100%), var(--hero-bg, url('images/hero-bg.png'));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 7rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0, 168, 232, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Futurist & Elegant Hero Styles */
.hero-futurist h1 {
    text-transform: none;
    /* Less aggressive */
    letter-spacing: 1px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    /* Slightly smaller */
    background: linear-gradient(to right, #fff 20%, var(--accent-color) 40%, var(--accent-color) 60%, #fff 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    /* Slower, smoother */
    text-shadow: 0 0 15px rgba(0, 201, 215, 0.2);
    font-weight: 700;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-futurist p {
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    /* Softer size */
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 1.2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.hero-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 201, 215, 0.05) 50%);
    background-size: 100% 4px;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), #0088b8);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main-content {
    padding: 4rem 2rem;
    min-height: calc(100vh - 80px);
}

.section {
    animation: fadeInUp 0.6s ease;
}

.section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 82, 204, 0.1), transparent);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    top: 0;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-dark);
    /* Icons are darker green as requested */
    margin-bottom: 1rem;
    display: inline-block;
    animation: fadeInDown 0.6s ease;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-content {
    margin-top: 2rem;
}

.about-content>p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.detail-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    padding: 2rem;
    background: linear-gradient(135deg, var(--white), var(--bg-light));
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-card i {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================================
   ABOUT SECTION - HISTORY
   ============================================================ */

.history-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 158, 162, 0.05), rgba(0, 201, 215, 0.05));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.history-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.history-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================================
   SYSTEMS SECTION
   ============================================================ */

.systems-content {
    margin-top: 2rem;
}

.system-description {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.system-description h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.system-description p {
    color: var(--text-light);
    line-height: 1.8;
}

.segments-section {
    margin-top: 2rem;
}

.segments-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.segment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.segment-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    background: var(--bg-light);
}

.segment-item i {
    color: var(--primary-color);
    font-weight: bold;
}

.segment-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */

.portfolio-section {
    margin: 2rem 0;
}

.portfolio-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.portfolio-item {
    animation: fadeInUp 0.6s ease;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white), var(--bg-light));
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.portfolio-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.portfolio-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    background: #f0f0f0;
    position: relative;
    border: 1px solid #eee;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.05);
}

.portfolio-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    flex-grow: 1;
}

.portfolio-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-portfolio {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-portfolio:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-portfolio i {
    margin-left: 0.5rem;
    font-size: 0.85rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-content {
    margin-top: 2rem;
}

.services-content>p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    padding: 2rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================================
   WEB SECTION
   ============================================================ */

.web-content {
    margin-top: 2rem;
}

.web-content>p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.web-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.web-feature {
    padding: 2rem;
    text-align: center;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.web-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.web-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.web-feature h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.web-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

/* ============================================================
   LGPD SECTION
   ============================================================ */

.lgpd-content {
    margin-top: 2rem;
}

.lgpd-section {
    max-width: 900px;
    margin: 0 auto;
}

.lgpd-section>h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
}

.lgpd-article {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.lgpd-article:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.lgpd-article h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lgpd-article p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.lgpd-article ul {
    list-style: none;
    margin-left: 0;
}

.lgpd-article li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.lgpd-article li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.method:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.method strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.method p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.dpo-contact {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    margin: 1rem 0;
}

.dpo-contact p {
    margin: 0.75rem 0;
    color: var(--text-dark);
}

.dpo-contact strong {
    color: var(--primary-color);
}

.lgpd-footer {
    background: linear-gradient(135deg, rgba(0, 158, 162, 0.1), rgba(0, 201, 215, 0.1));
    border-left: 4px solid var(--accent-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.lgpd-footer p {
    margin: 0;
}

.footer {
    background: linear-gradient(135deg, #236326 0%, #388e3c 100%);
    color: var(--white);
    padding: 8rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Efeito Tecnológico no Rodapé (Substituindo Ondas) */
.footer-tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.binary-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(102, 187, 106, 0.1) 0%, transparent 70%);
}

.binary-flow::before {
    content: '1010011010101101010110010101101010110101010101101010110101010101101010110101010101101010110101010';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-family: monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    animation: tech-scroll 15s linear infinite;
    text-align: center;
}

@keyframes tech-scroll {
    from {
        transform: translate(-50%, -100%);
    }

    to {
        transform: translate(-50%, 100%);
    }
}




.footer::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 12s ease-in-out infinite reverse;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* additional helpers for dynamic images */
.page-image {
    text-align: center;
    margin-bottom: 2rem;
}

.page-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet & iPad */
@media (max-width: 1024px) {
    .logo img {
        height: 203px;
        /* Increased 30% from 156px */
    }

    .header-icons a {
        font-size: 1.1rem;
    }

    .logo span {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section h1 {
        font-size: 2.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile - Medium screens */
@media (max-width: 768px) {
    .logo img {
        height: 163px;
        /* Increased 30% from 125px */
    }

    .header-icons {
        margin-left: auto;
        /* Push icons to right when menu is hidden */
    }

    .header-icons:not(.mobile-social-icons .header-icons) {
        display: none;
    }

    .mobile-social-icons {
        display: block;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 0.5rem;
    }

    .mobile-social-icons .header-icons {
        justify-content: center;
        gap: 2rem;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--white);
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 0.5rem;
        max-height: none;
        overflow-y: auto;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        text-align: right;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        font-size: 1.2rem;
        width: 100%;
        padding: 0.75rem 0;
    }

    .menu a.active::after,
    .menu a:hover::after {
        left: auto;
        right: 0;
        width: 40px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section h1 {
        font-size: 1.8rem;
    }

    .features-grid,
    .products-grid,
    .about-details,
    .services-list,
    .web-features,
    .segments-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .lgpd-article {
        padding: 1.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .history-section,
    .system-description {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo img {
        height: 122px;
        /* Increased 30% from 94px */
    }

    .logo span {
        font-size: 1.4rem;
    }

    .menu {
        gap: 0.5rem;
    }

    .menu a {
        padding: 0.75rem 0;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {

    .header,
    .footer,
    .menu-toggle {
        display: none;
    }

    body {
        background: var(--white);
    }
}