:root {
    --primary: #003E7C;
    --secondary: #00b8b8;
    --primary-light: #E6F0FA;
    --secondary-light: #E0FDFA;
    --blue-dark: #000D1A;
    --heading: #002447;
    --text: #475569;
    --background: #F6F8FC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --gradient: linear-gradient(135deg, #00b8b8 0%, #003E7C 100%);
    --gradient-secondary: linear-gradient(180deg, #003E7C 0%, #00b8b8 100%);

    --font-heading: "Segoe UI", 'Inter', 'Roboto', 'Outfit', sans-serif;
    --font-body: "Segoe UI", 'Inter', 'Roboto', 'Arial', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-bn: 24px 24px 0px 0px;

    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1638px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

section {
    padding: 100px 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: clamp(16px, 3vw, 48px);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 700;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    /* background: var(--secondary-light);*/
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.btn-primary,
.btn-secondary,
.btn-dark,
.btn-outline,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    background-size: 200% 200%;
    background-position: left center;
    color: var(--white);
    /*box-shadow: 0 4px 14px rgba(0, 184, 184, 0.3);*/
    transition: background-position 0.5s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    /*box-shadow: 0 6px 20px rgba(0, 184, 184, 0.4);*/
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

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

.btn-dark:hover {
    background: #002d5c;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-white {
    background: var(--white);
    color: var(--secondary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-icon,
.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--background);
    backdrop-filter: blur(16px);
    /*border-bottom: 1px solid var(--border);*/
    transition: var(--transition);
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    padding: 8px 20px;
    background: var(--white);
    backdrop-filter: blur(16px);
    border-radius: 12px;
}

.logo,
.navbar .btn-primary,
.menu-toggle {
    flex: 0 0 auto;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(0px, 1vw, 10px);
}

.menu a {
    color: var(--heading);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px clamp(6px, 2.5vw, 46px);
    border-radius: 8px;
    white-space: nowrap;
}

.menu a:hover {
    background: var(--background);
}

.menu a:hover,
.menu a.active {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--heading);
    border-radius: 999px;
    transition: var(--transition);
}

.hero {
    padding-top: 160px;
    padding-bottom: 90px;
    background: var(--background);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: stretch;
    gap: 60px;
}

.hero-content {
    max-width: 640px;
}

/* Animación de caída y aparición suave */
@keyframes heroFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-32px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.hero h1,
.hero p,
.hero-buttons {
    animation: heroFadeDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: opacity, transform, filter;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 700;
    animation-delay: 0.1s;
}

.hero h1 .highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 36px;
    animation-delay: 0.25s;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    animation-delay: 0.4s;
}

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

.feature-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--background);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading);
    animation: heroFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: opacity, transform, filter;
}

.feature-capsule:nth-child(1) { animation-delay: 0.52s; }
.feature-capsule:nth-child(2) { animation-delay: 0.62s; }
.feature-capsule:nth-child(3) { animation-delay: 0.72s; }
.feature-capsule:nth-child(4) { animation-delay: 0.82s; }

.feature-capsule .check-icon {
    color: var(--secondary);
    font-weight: 700;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    opacity: 0;
    will-change: opacity, transform, filter;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, var(--background) 90%);
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper.loaded {
    animation: heroGradientReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-wrapper.loaded::after {
    opacity: 0;
    transform: scale(1.15);
}

@keyframes heroGradientReveal {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.94);
        filter: blur(14px);
        -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%);
        mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%);
    }
    50% {
        opacity: 0.8;
        filter: blur(5px);
        -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.2) 85%);
        mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.2) 85%);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
        -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 100%, rgba(0, 0, 0, 1) 100%);
        mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 100%, rgba(0, 0, 0, 1) 100%);
    }
}

.hero-main-img {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
}

#hero-3d-canvas,
.robot-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    outline: none;
    display: block;
}

.use-cases {
    background: var(--background);
    padding: 60px 0;
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
    animation: marquee-loop var(--marquee-duration, 35s) linear infinite;
}

.row-1 {
    --marquee-duration: 35s;
}

.row-2 {
    --marquee-duration: 35s;
    animation-direction: reverse;
}

.marquee-group {
    display: flex;
    flex: 0 0 auto;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    color: var(--heading);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    white-space: nowrap;
    margin-right: 20px;
}

.marquee-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
}

@keyframes marquee-loop {
    to {
        transform: translateX(var(--marquee-offset));
    }
}

.benefits {
    background: var(--background);
}

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

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.benefit-image-wrapper {
    width: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.benefit-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.benefit-content {
    padding: 0px;
}

.benefit-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.benefit-content p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.workflow {
    background: var(--background);
}

.workflow-grid-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 40px;
}

.workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 0 25px;
}

.step-card {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*border: 2px solid var(--border);*/
    /*border-radius: 16px;*/
    overflow: hidden;
    margin-bottom: 24px;
    transition: var(--transition);
}

.step-card img {
    display: block;
    /*width: 100%;*/
    height: 100%;
    object-fit: cover;
}

.workflow-step:hover .step-card {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-title-row,
.step-description-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 20px;
    text-align: left;
}

.step-title-row {
    align-items: center;
    margin-bottom: 12px;
}

.workflow-step h3 {
    font-size: 1.25rem;
    margin: 0;
}

.workflow-step p {
    font-size: 1rem;
    color: var(--text);
    margin: 0;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.api-section {
    background: var(--background);
}

.api-grid-wrapper {
    background: var(--blue-dark);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.65fr) minmax(280px, 1fr);
    gap: clamp(24px, 5vw, 100px);
    align-items: end;
    padding: clamp(24px, 4vw, 80px);
    border-radius: 20px;
    overflow: hidden;
}

.api-terminal-panel {
    width: 100%;
    min-width: 0;
}

.api-terminal-panel h2 {
    color: var(--white);
    font-size: 2.25rem;
    line-height: 1.2;
    margin: 0 0 20px;
}

.api-content {
    width: 100%;
    min-width: 0;
}



.api-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.api-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 36px;
}

.api-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.list-check {
    color: var(--secondary);
    font-weight: 700;
}

.api-interactive-graphic {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    min-height: 300px;
    padding: 0 35px;
}

.code-terminal {
    background: #0B132B;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    z-index: 2;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.terminal-title {
    margin-left: 12px;
    font-family: monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.terminal-body code {
    font-family: monospace;
    color: #F8F8F2;
    font-size: 0.9rem;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.terminal-body .str {
    color: #A6E22E;
}

.api-robot-floating {
    position: relative;
    width: min(100%, 400px);
    z-index: 3;
}

.robot-laptop-img {
    width: 95%;
}

.floating-pill {
    position: absolute;
    background: var(--secondary);
    color: var(--white);
    padding: 16px 14px;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(0, 184, 184, 0.4);
    animation: float 4s ease-in-out infinite;
}

.pill-1 {
    top: 50px;
    right: -30px;
    animation-delay: 0s;
}

.pill-2 {
    top: 125px;
    left: 24px;
    animation-delay: 1.5s;
}

.pill-3 {
    bottom: 0px;
    right: -40px;
    animation-delay: 0.7s;
}

.pricing {
    background: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-top: 20px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2.5px solid var(--secondary);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 24px;
}

.price-container {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 6px;
}

.price-container .currency {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.price-container .price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-container .per-msg {
    font-size: 0.95rem;
    color: var(--text);
}

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

.investment-block {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.inv-title {
    display: block;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 4px;
}

.inv-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    flex-grow: 1;
}

.plan-features li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    color: var(--text);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.pricing-card .btn-outline,
.pricing-card .btn-dark {
    width: 100%;
}

.pricing-info-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.opinions-contact {
    background: var(--background);
}

.opinions-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.faq-column h3,
.contact-column h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--heading);
    transition: var(--transition);
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 28px 22px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
}

.faq-item.active {
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-card-new {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-card-new p {
    font-size: 0.95rem;
    color: var(--text);
}

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-robot-img-wrapper {
    display: flex;
    justify-content: center;
}

.robot-contact-img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
}

.form-field-full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin: 0;
    background: var(--background);
    font-size: 0.95rem;
    color: var(--heading);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 184, 184, 0.15);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.contact-form textarea {
    resize: none;
    min-height: 110px;
}

.contact-form button {
    grid-column: 1 / -1;
    width: 100%;
}

.form-submit-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text);
}

.form-submit-note svg {
    flex: 0 0 auto;
    color: var(--secondary);
}

.cta-banner-section {
    padding: 40px 0 0 0;
    background: var(--background);
}

.cta-banner {
    background: var(--gradient-secondary);
    border-radius: var(--radius-bn);
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 184, 184, 0.15);
    filter: blur(50px);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 28px;
    z-index: 2;
}

.cta-robot-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.cta-banner .btn-white {
    z-index: 2;
    min-width: 180px;
}

.footer {
    background: #0B132B;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.brand-col p {
    margin-top: 16px;
    max-width: 320px;
}

.footer-logo img {
    height: 34px;
    filter: brightness(0) invert(1);
}

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

.links-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.info-col p {
    max-width: 320px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.fragote-link {
    color: var(--secondary);
    font-weight: 600;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .api-terminal-panel h2 {
        font-size: 2.3rem;
    }

    .hero-grid,
    .api-grid-wrapper,
    .opinions-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        border-top: 1px solid var(--border);
        transform: translateY(-160%);
        transition: var(--transition);
        z-index: 998;
    }

    .menu.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .navbar .btn-primary {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features-capsules {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 100%;
        height: clamp(320px, 50vh, 450px);
        min-height: 320px;
        margin-top: 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-grid-new {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .api-grid-wrapper {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 40px;
    }

    .api-terminal-panel,
    .api-content,
    .api-interactive-graphic {
        width: 100%;
    }

    .code-terminal {
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opinions-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .cta-content {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {

    .benefits-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        height: clamp(260px, 45vh, 360px);
        min-height: 260px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form input {
        grid-column: 1 / -1;
    }

    .step-connector {
        display: none;
    }

    .contact-card-new {
        padding: 24px;
    }
}