:root {
    --bg-dark: #050a12;
    --text-white: #FFFFFF;
    --accent-cian: #00A8C5;
    --gray-light: #f4f4f4;
    --gray-muted: #888888;
    --container-width: 1100px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --section-padding: 160px;
    --card-bg: #0d141d;
    --card-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 72px;
    /* Prevent header overlap */
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

h1 span {
    color: var(--accent-cian);
}

p {
    font-size: 1.25rem;
    color: var(--gray-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

/* Header */
header {
    height: 72px;
    /* Fixed height */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(5, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

@media (max-width: 768px) {
    header {
        height: 64px;
    }
}

header.scrolled {
    background-color: rgba(5, 10, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* No height change on scroll to ensure stability */

/* Removed individual logo scale on scroll to keep stability */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Ensure full width layout */
}

.logo {
    display: flex;
    align-items: center;
    padding: 0;
    /* Clear any restrictive padding */
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-logo {
    height: 56px;
    /* Vector impact - High visibility */
    width: auto;
    display: block;
    transition: none;
    /* Stable brand appearance */
}

@media (max-width: 768px) {
    .brand-logo {
        height: 38px;
    }
}

@media (max-width: 600px) {
    .brand-logo {
        height: 30px;
    }

    .brand-logo text[font-size="13.5"],
    .logo-text-sub {
        display: none !important;
    }
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link-secondary {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link-secondary:hover {
    color: var(--accent-cian);
}

.btn-header {
    min-width: auto;
    padding: 10px 18px;
    font-size: 14px;
    white-space: nowrap;
    /* Prevent text wrapping */
}

@media (max-width: 600px) {
    .btn-header {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-nav-links .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-cian);
    color: var(--bg-dark);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
    background-color: var(--accent-cian);
    color: var(--bg-dark);
    border: 2px solid var(--accent-cian);
    box-shadow: 0 10px 30px rgba(0, 168, 197, 0.2);
}

.btn-large:hover {
    background-color: transparent;
    color: var(--accent-cian);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 168, 197, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 168, 197, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Platforms Bar */
.platforms-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.platforms-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.platforms-section h2 {
    font-size: 2rem;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.platform-category h4 {
    color: var(--accent-cian);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-weight: 700;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.platform-item {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-white);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-item::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--accent-cian);
    border-radius: 50%;
}

/* Segmentation Section */
.segmentation {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-intro::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-cian);
    margin: 30px auto;
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.segment-visual {
    max-width: 900px;
    margin: 80px auto 0;
    text-align: center;
}

.segment-visual img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 168, 197, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-caption {
    margin: 20px auto 0;
    font-size: 0.9rem;
    color: var(--accent-cian);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    max-width: none;
}

.highlight-bar {
    padding: 80px 0;
    background: linear-gradient(90deg, #050a12 0%, #0d141d 50%, #050a12 100%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-bar p {
    font-size: 2.2rem;
    color: var(--text-white);
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
    letter-spacing: -1px;
}

.segment-card {
    background-color: var(--card-bg);
    padding: 48px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.card-visual {
    margin-bottom: 30px;
}

.level-icon {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 168, 197, 0.1);
    line-height: 1;
}

.segment-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cian);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header .level {
    color: var(--accent-cian);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.card-body p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-body .challenge {
    color: var(--gray-muted);
}

.card-body .next-step {
    color: var(--text-white);
}

.card-footer .result {
    color: var(--accent-cian);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Differentiation Section */
.differentiation {
    padding: 120px 0;
    background-color: #060d17;
}

.differentiation h2 span {
    color: var(--accent-cian);
}

.diff-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.diff-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 168, 197, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.diff-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.diff-item {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.diff-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    height: 30px;
    width: 2px;
    background-color: var(--accent-cian);
}

.diff-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.convencional {
    color: var(--gray-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}

.rodman-value {
    color: var(--text-white);
    font-size: 1.15rem;
}

.rodman-value strong {
    color: var(--accent-cian);
}

.diff-footer {
    text-align: center;
    margin-top: 100px;
    padding: 60px;
    background: rgba(0, 168, 197, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(0, 168, 197, 0.1);
}

.diff-footer p {
    font-size: 2rem;
    color: var(--text-white);
    font-weight: 800;
    max-width: 100%;
    margin-bottom: 0;
    letter-spacing: -1px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--bg-dark);
}

.services h2 span {
    color: var(--accent-cian);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #0d141d;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-cian);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 168, 197, 0.05);
    color: var(--accent-cian);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 15px;
}

.service-icon img,
.service-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover .service-icon {
    background-color: var(--accent-cian);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.service-link {
    color: var(--accent-cian);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}

.service-link:hover {
    border-bottom: 1px solid var(--accent-cian);
}

/* Final CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: #060d17;
}

.cta-box {
    background-color: #0d141d;
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
}

.contact-card {
    background-color: #0d141d;
    padding: 60px;
    border-radius: 32px;
    border: 1px solid var(--card-border);
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-header p {
    margin: 0 auto;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
    margin-bottom: 25px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cian);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 168, 197, 0.1);
}

/* Radio & Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.radio-label:hover,
.checkbox-label:hover {
    border-color: rgba(0, 168, 197, 0.5);
}

.radio-label input,
.checkbox-label input {
    accent-color: var(--accent-cian);
    width: 16px;
    height: 16px;
}

.radio-label input:checked+span,
.checkbox-label input:checked+span {
    color: var(--accent-cian);
}

.radio-label:has(input:checked),
.checkbox-label:has(input:checked) {
    background-color: rgba(0, 168, 197, 0.1);
    border-color: var(--accent-cian);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 40px;
}

.trust-text {
    margin: 20px auto 0;
    font-size: 0.85rem;
    color: var(--gray-muted);
    text-align: center;
    max-width: none;
}

/* Success Message */
.form-success-message {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-cian);
    color: var(--bg-dark);
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.form-success-message h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-card {
        padding: 40px 20px;
    }
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background-color: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-logo {
    height: 35px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-info p {
    font-size: 0.8rem;
    color: var(--gray-muted);
    margin-bottom: 0;
}

/* Responsive updates */
@media (max-width: 992px) {

    .segment-grid,
    .diff-container {
        grid-template-columns: 1fr;
    }

    .diff-visual {
        order: 2;
    }

    .diff-grid {
        order: 1;
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-visual img {
        max-width: 90%;
        /* Much larger on mobile */
        margin: 0 auto;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-visual img {
        max-width: 100%;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Form refinement */
.form-group select {
    cursor: pointer;
    appearance: auto;
    /* Reverting to auto to let browser handle dropdown accessibility better */
    background-color: rgba(255, 255, 255, 0.03);
    color: white;
    padding: 15px;
}

.form-group select option {
    background-color: #0d141e;
    color: white;
    /* Contrast against dark background */
}

/* Problem cards */
.problem-card {
    position: relative;
    border-left: 3px solid #00A8C5;
    padding-left: 24px;
    overflow: hidden;
}
.problem-card:hover {
    border-left-color: #00A8C5;
    box-shadow: 0 0 20px rgba(0, 168, 197, 0.15);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}
.card-number {
    font-size: 64px;
    font-weight: 800;
    color: rgba(0, 168, 197, 0.08);
    position: absolute;
    top: -10px;
    right: 16px;
    line-height: 1;
    pointer-events: none;
}

/* Service cards enhanced */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: rgba(0, 168, 197, 0.4);
    box-shadow: 0 0 30px rgba(0, 168, 197, 0.12);
    transform: translateY(-4px);
}
.service-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(0, 168, 197, 0.1);
    line-height: 1;
    margin-bottom: 12px;
}

/* Result cards */
.result-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 3px solid rgba(0, 168, 197, 0.4);
    transition: all 0.3s ease;
}
.result-card:hover {
    border-left-color: #00A8C5;
    box-shadow: 0 0 20px rgba(0, 168, 197, 0.12);
    transform: translateY(-4px);
}
.result-check {
    font-size: 20px;
    color: #00A8C5;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Segment cards base hover (aplica a todas) */
.segment-card {
    transition: all 0.3s ease;
}
.segment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(0, 168, 197, 0.1);
}
/* Clientes — sección de logos */
.clients-section {
    padding: 70px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.clients-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-muted);
    margin-bottom: 36px;
}
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px;
}
.client-logo {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.client-logo:hover {
    border-color: var(--accent-cian);
    transform: translateY(-4px);
}
.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@media (max-width: 768px) {
    .clients-section { padding: 50px 0; }
    .client-logo { width: 92px; height: 92px; padding: 14px; }
    .clients-grid { gap: 18px; }
}
