:root {
    --color-primary-dark: #044659;
    --color-primary-teal: #019AA0;
    --color-accent-light: #A1ECC0;
    --color-accent-bright: #5BFA9D;
    --color-white: #FFFFFF;
    --color-text-dark: #1a202c;
    --color-text-light: #4a5568;
    --color-bg-light: #f7fafc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.highlight {
    color: var(--color-primary-teal);
}

.highlight-green {
    color: var(--color-accent-bright);
}

.highlight-white {
    color: var(--color-white);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    /* For absolute positioning context */
}

.section {
    padding: 80px 0;
}

.center {
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary-teal);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-accent-bright);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(91, 250, 157, 0.4);
}

.btn-accent:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 250, 157, 0.6);
}

/* Header */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.nav-links a:hover {
    color: var(--color-primary-teal);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    color: var(--color-primary-dark);
}

.hero-image img {
    border-radius: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Features SVG Section */
.features-svg {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Company/Problems Section */
.company {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 70px;
    padding: 0 10px;
}

.documentos {
    font-size: 3rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 35px;
    letter-spacing: -0.02em;
}

.text-wrapper-12 {
    color: #1a202c;
}

.text-wrapper-3 {
    color: var(--color-primary-teal);
    font-weight: 800;
}

.escrit-rios-de {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a5568;
    max-width: 950px;
    margin: 0 auto;
    font-weight: 400;
}

.text-wrapper-13 {
    color: #4a5568;
}

.text-wrapper-14 {
    color: var(--color-accent-bright);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Green Rectangle */
.green-rectangle {
    grid-column: 1 / -1;
    background-color: rgba(2, 154, 158, 1);
    border-radius: 15px;
    padding: 50px 40px;
    margin: 60px 0;
    box-shadow: 0 8px 24px rgba(2, 154, 158, 0.2);
}

.green-rectangle-text {
    color: var(--color-white);
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* Features Three Columns */
.features-three-columns {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0 0;
}

.feature-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item-svg:hover {
    transform: translateY(-10px);
}

/* Overview Section */
.overview-section {
    padding: 40px 0;
    background-color: var(--color-white);
}

.main-overview-img {
    border-radius: 20px;
    width: 100%;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--color-accent-bright);
    margin-right: 15px;
    font-size: 1.4rem;
}

.features-alt .image-content img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Dashboards Section */
.dashboards {
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    opacity: 0.1;
    pointer-events: none;
}

.dashboards h2 {
    color: var(--color-white);
}

.dashboards p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

.dashboard-image {
    margin: 40px 0;
}

.dashboard-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-grid.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.feature-item h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--color-primary-teal);
}

/* Footer */
footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 20px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon {
    color: #dc2626;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.problem-text {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .content-grid,
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        order: -1;
    }

    .image-content {
        order: -1;
    }

    .features-grid.three-col {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid.three-col .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .features-grid.three-col .feature-item img {
        margin: 0 auto;
    }

    .features-grid-4 {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
    }

    .subscribe-form {
        margin: 30px auto 0;
    }

    .check-list li {
        justify-content: center;
    }

    /* Problems section responsive */
    .features-svg {
        gap: 25px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .company {
        margin-bottom: 50px;
    }

    .documentos {
        font-size: 2.2rem;
    }

    .escrit-rios-de {
        font-size: 1.05rem;
    }

    .element,
    .group-27,
    .group-29,
    .group-30 {
        padding: 30px 25px;
        min-height: 150px;
    }

    /* Green Rectangle responsive */
    .green-rectangle {
        padding: 40px 30px;
        margin: 50px auto;
    }

    .green-rectangle-text {
        font-size: 1.1rem;
    }

    /* Features Three Columns responsive */
    .features-three-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-grid-4 {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    /* Problems section mobile */
    .features-svg {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .company {
        margin-bottom: 40px;
    }

    .documentos {
        font-size: 1.9rem;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .escrit-rios-de {
        font-size: 1rem;
        line-height: 1.7;
    }

    .text-wrapper-14 {
        font-size: 1.1rem;
    }

    .element,
    .group-27,
    .group-29,
    .group-30 {
        padding: 28px 22px;
        min-height: 140px;
        border-radius: 15px;
    }

    .rectangle-11,
    .rectangle-13,
    .rectangle-14,
    .rectangle-15 {
        border-radius: 15px;
    }

    .uso-de-arquivos,
    .text-wrapper-27,
    .text-wrapper-28,
    .perda-de-hist-rico-e {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .rectangle-12 {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .text-wrapper-26 {
        font-size: 1.2rem;
    }

    .div-2 {
        background-color: #fee2e2;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
}

.problem-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    color: #dc2626;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.problem-text {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .content-grid,
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        order: -1;
    }

    .image-content {
        order: -1;
    }

    .features-grid.three-col {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid.three-col .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .features-grid.three-col .feature-item img {
        margin: 0 auto;
    }

    .features-grid-4 {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
    }

    .subscribe-form {
        margin: 30px auto 0;
    }

    .check-list li {
        justify-content: center;
    }

    /* Problems section responsive */
    .features-svg {
        gap: 25px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .company {
        margin-bottom: 50px;
    }

    .documentos {
        font-size: 2.2rem;
    }

    .escrit-rios-de {
        font-size: 1.05rem;
    }

    .element,
    .group-27,
    .group-29,
    .group-30 {
        padding: 30px 25px;
        min-height: 150px;
    }

    /* Green Rectangle responsive */
    .green-rectangle {
        padding: 40px 30px;
        margin: 50px auto;
    }

    .green-rectangle-text {
        font-size: 1.1rem;
    }

    /* Features Three Columns responsive */
    .features-three-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-grid-4 {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    /* Problems section mobile */
    .features-svg {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .company {
        margin-bottom: 40px;
    }

    .documentos {
        font-size: 1.9rem;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .escrit-rios-de {
        font-size: 1rem;
        line-height: 1.7;
    }

    .text-wrapper-14 {
        font-size: 1.1rem;
    }

    .element,
    .group-27,
    .group-29,
    .group-30 {
        padding: 28px 22px;
        min-height: 140px;
        border-radius: 15px;
    }

    .rectangle-11,
    .rectangle-13,
    .rectangle-14,
    .rectangle-15 {
        border-radius: 15px;
    }

    .uso-de-arquivos,
    .text-wrapper-27,
    .text-wrapper-28,
    .perda-de-hist-rico-e {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .rectangle-12 {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .text-wrapper-26 {
        font-size: 1.2rem;
    }

    .div-2,
    .group-28 {
        top: 12px;
        left: 12px;
    }

    /* Green Rectangle mobile */
    .green-rectangle {
        padding: 35px 25px;
        margin: 40px auto;
        border-radius: 12px;
    }

    .green-rectangle-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Features Three Columns mobile */
    .features-three-columns {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px auto 0;
    }
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.copyright p {
    font-size: 0.9rem;
    color: white !important;
    margin: 0;
}

/* Real-Time Analysis Section */
.analysis-section {
    background-color: var(--color-white);
}

.highlight-teal {
    color: var(--color-primary-teal);
}

.analysis-list {
    margin-top: 30px;
}

.analysis-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.analysis-list .check-icon {
    background-color: #00d37f;
    /* Bright Green */
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    /* Rounded square/star shape */
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 211, 127, 0.3);
}

.analysis-list .check-icon i {
    transform: rotate(-45deg);
}

/* Product Card Section */
.product-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
}