/* ===== CSS VARIABLES ===== */
:root {
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--red-100);
    color: var(--red-600);
}

:focus-visible {
    outline: 2px solid var(--red-600);
    outline-offset: 2px;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

input,
textarea {
    font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-red {
    color: var(--red-600);
}

.hidden {
    display: none !important;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    transition: all 0.5s ease;
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Show light logo by default (dark background) */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

/* Swap logos when navbar is scrolled (white background) */
.navbar.scrolled .logo-light {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .nav-links {
    color: var(--gray-900);
    font-weight: 600;
    text-shadow: none;
}

.nav-links a {
    font-size: 0.875rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--red-600);
}

/* Ensure .btn-primary in nav always looks like the hero button */
.nav-links .btn-primary {
    color: var(--white);
    text-shadow: none;
}

.nav-links .btn-primary:hover {
    color: var(--white);
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    border-radius: 1rem;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--red-700);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.95);
}



.btn-nav {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 900;
}

.btn-lg:active {
    transform: scale(0.95);
}

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

.btn-dark:hover {
    background: var(--black);
    transform: scale(1.05);
}

.btn-block {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    color: var(--red-600);
    transition: gap 0.3s;
}

.btn-text:hover {
    gap: 1.25rem;
}

.btn-mobile {
    padding: 1rem 2.5rem;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: block;
    color: var(--white);
    padding: 0.5rem;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--gray-900);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: fadeIn 0.3s ease;
}

.mobile-menu.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--red-600);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 95% center;
    transform: scale(1.3) scaleX(-1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 56rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--red-600);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -0.05em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    max-width: 42rem;
    line-height: 1.75;
    font-weight: 300;
}

.highlight {
    color: var(--white);
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}



/* ===== SECTIONS ===== */
.section {
    padding: 6rem 0;
}

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

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--gray-900);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.section-dark .section-header p {
    color: var(--gray-400);
}

.section-subtitle {
    color: var(--red-600);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ===== PROBLEM SECTION ===== */
.problem-grid {
    display: grid;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.problem-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.icon-box {
    display: inline-flex;
    padding: 0.75rem;
    background: var(--red-50);
    border-radius: 1rem;
    color: var(--red-600);
    width: fit-content;
}

.problem-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
}

.quote {
    color: var(--gray-600);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.75;
}

.problem-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-point {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 1rem;
    border-left: 4px solid var(--red-600);
}

.problem-point p {
    font-weight: 500;
    color: var(--gray-700);
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    height: 100%;
}

.stat-card {
    padding: 2rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
}

.stat-red {
    background: var(--red-600);
    color: var(--white);
}

.stat-hero {
    min-height: 250px;
    /* Reduced specific height */
    background-size: cover;
    background-position: center;
}

.stat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(153, 27, 27, 0.95));
    z-index: 1;
}

.stat-dark {
    background: var(--gray-900);
    color: var(--white);
    min-height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number,
.stat-card p {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.stat-card p {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.9;
}



/* ===== STEPS SECTION ===== */
.steps-container {
    position: relative;
}

.steps-line {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red-100);
    transform: translateY(-50%);
    z-index: 0;
}

@media (min-width: 1024px) {
    .steps-line {
        display: block;
    }
}

.steps-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
}

.step-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--red-600);
    color: var(--white);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.step-card:hover .step-number {
    transform: scale(1.1);
}

.step-card h4 {
    font-weight: 900;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ===== VIDEO SECTION ===== */
.video-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .video-grid {
        flex-direction: row;
    }
}

.video-content {
    flex: 1;
}

.video-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.video-content>p {
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.check {
    color: var(--red-600);
    font-weight: bold;
}

.video-wrapper {
    flex: 2;
    width: 100%;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: var(--black);
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
}

/* Video Thumbnail (for local file compatibility) */
.video-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--red-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-thumbnail:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.7);
}

.video-play-btn svg {
    margin-left: 5px;
}

.video-cta {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-thumbnail:hover .video-cta {
    opacity: 1;
}

/* ===== SOFTWARE FEATURES ===== */
.software-features {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .feature-row {
        flex-direction: row;
    }

    .feature-row.reverse {
        flex-direction: row-reverse;
    }
}

.feature-image {
    position: relative;
    flex: 1;
}

.feature-glow {
    position: absolute;
    inset: -2.5rem;
    border-radius: 9999px;
    filter: blur(48px);
    opacity: 0.5;
}

.glow-red {
    background: var(--red-50);
}

.glow-gray {
    background: var(--gray-50);
}

.feature-image img {
    position: relative;
    z-index: 10;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--gray-100);
    width: 100%;
    transition: transform 0.7s;
}

.feature-image:hover img {
    transform: scale(1.02);
}

.feature-stats {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 20;
    border: 1px solid var(--gray-50);
    display: none;
}

.feature-stats.left {
    right: auto;
    left: -2rem;
}

@media (min-width: 768px) {
    .feature-stats {
        display: flex;
        gap: 2rem;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .stat-value {
    color: var(--red-600);
    font-weight: 900;
    font-size: 1.5rem;
}

.stat-item .stat-label {
    font-size: 0.625rem;
    color: var(--gray-400);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-text {
    flex: 1;
}

.feature-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--red-600);
    color: var(--white);
    border-radius: 0.5rem;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.25);
}

.feature-text h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 2rem;
}

.feature-text>p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.75;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

/* ===== SPECS SECTION ===== */
.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .specs-grid {
        flex-direction: row;
        align-items: flex-start;
    }
}

.specs-content {
    flex: 1;
}

.specs-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.specs-content>p {
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-weight: 300;
}

.integration-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
}

.integration-box h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--red-500);
}

.integration-box p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.75;
}

.specs-list {
    flex: 2;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .specs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.spec-icon {
    font-size: 2rem;
    color: var(--red-600);
    margin-bottom: 0.5rem;
}

.spec-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.spec-value {
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--white);
}

.spec-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    border-color: transparent;
}

.spec-highlight:hover {
    background: linear-gradient(135deg, var(--red-700), var(--red-800));
    transform: translateY(-5px);
}

.spec-highlight .spec-icon {
    color: rgba(255, 255, 255, 0.9);
}

.spec-highlight .spec-label {
    color: rgba(255, 255, 255, 0.8);
}

.spec-highlight .spec-value {
    color: var(--white);
    font-size: 1.5rem;
}



/* ===== AWARDS SECTION ===== */
.awards-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.award-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 2rem;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--red-600);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.award-card:hover::before {
    transform: scaleX(1);
}

.award-icon {
    width: 120px;
    height: 90px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.award-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.award-subtitle {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin-bottom: 1rem;
    color: var(--red-600);
    opacity: 1;
}

.award-card p {
    line-height: 1.75;
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
#contacto .container {
    max-width: 72rem;
}

.contact-card {
    background: var(--white);
    border-radius: 3rem;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.contact-info {
    background: var(--red-600);
    padding: 4rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-info>p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-details {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
        max-width: none;
    }
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.contact-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 1rem;
    font-size: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.contact-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}



/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    padding: 5rem 0;
    border-top: 1px solid var(--gray-100);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (min-width: 1024px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    max-width: 24rem;
}

.footer-brand .logo {
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.875rem;
    color: var(--gray-900);
}

.footer-brand p {
    color: var(--gray-500);
    line-height: 1.75;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 6rem;
    }
}

.footer-column h5 {
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-600);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--red-600);
}

.corfo-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    cursor: pointer;
}

.corfo-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.corfo-logo img {
    height: 3.5rem;
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: italic;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gray-50);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--red-600);
    color: var(--white);
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red-600);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--red-600);
    outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== ENHANCED RESPONSIVE - TABLET ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero h1 {
        font-size: 4rem;
    }

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

    .software-features {
        gap: 6rem;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 3rem;
    }

    .specs-grid {
        flex-direction: column;
    }
}

/* ===== SMALL MOBILE FIXES ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.75rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .corfo-badge {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .corfo-badge .divider {
        width: 50%;
        height: 1px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        aspect-ratio: auto;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .video-frame {
        border-radius: 1.5rem;
    }

    .feature-stats {
        display: none;
    }

    .spec-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .spec-value {
        font-size: 1rem;
    }

    .contact-card {
        border-radius: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom p {
        text-align: center;
        font-size: 0.625rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: slideUp 0.6s ease forwards;
}

/* Staggered animation delays */
.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

.step-card:nth-child(4) {
    animation-delay: 0.4s;
}

.step-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* ===== PRINT STYLES ===== */
@media print {

    .navbar,
    .mobile-menu,
    .hero-bg,
    .video-wrapper,
    .corfo-badge,
    .btn,
    .social-icons {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero h1,
    .hero-description {
        color: var(--black);
    }

    .section {
        padding: 2rem 0;
        break-inside: avoid;
    }

    .section-dark {
        background: var(--white);
        color: var(--black);
    }

    body {
        font-size: 12pt;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --red-600: #c00000;
        --gray-500: #000000;
        --gray-400: #333333;
    }

    .btn-primary,
    .stat-red,
    .step-number {
        border: 2px solid var(--white);
    }
}

/* ===== DARK MODE SUPPORT (optional - respects system preference) ===== */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --white: #111827;
        --gray-50: #1f2937;
        --gray-100: #374151;
        --gray-200: #4b5563;
        --gray-900: #f9fafb;
    }
    */
}

/* ===== CONTACT CARD ===== */
.card-container {
    perspective: 1000px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--red-600);
    color: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    /* Ensure text alignment is reset */
}

/* Subtle background glow effect */
.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.3);
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-header h1 {
    font-size: 1.5rem;
    /* ~text-2xl */
    font-weight: 800;
    /* ~font-extrabold */
    letter-spacing: -0.025em;
    /* ~tracking-tight */
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.contact-quote {
    font-size: 0.875rem;
    /* ~text-sm */
    opacity: 0.9;
    line-height: 1.625;
    /* ~leading-relaxed */
    font-style: italic;
    font-weight: 300;
    /* ~font-light */
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    margin: 1.5rem 0;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* ~space-x-4 */
    margin-bottom: 1.5rem;
}

.contact-row:last-of-type {
    margin-bottom: 0;
}

.contact-card .icon-box {
    background: rgba(255, 255, 255, 0.35);
    padding: 0.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    color: var(--white);
}

.contact-details-group h2 {
    font-weight: 700;
    font-size: 1.125rem;
    /* ~text-lg */
    line-height: 1.25;
    /* ~leading-tight */
    text-transform: uppercase;
    letter-spacing: 0.025em;
    /* ~tracking-wide */
    margin-bottom: 0.25rem;
}

.contact-details-group h3 {
    font-size: 1.25rem;
    /* ~text-xl */
    font-weight: 700;
}

.location-text {
    font-size: 0.875rem;
    /* ~text-sm */
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.role-label {
    font-size: 0.625rem;
    /* ~text-[10px] */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.role-text {
    font-size: 0.75rem;
    /* ~text-xs */
    opacity: 0.8;
    font-style: italic;
}

.email-link {
    font-size: 1.125rem;
    /* ~text-lg */
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
    display: block;
}

.email-link:hover {
    color: var(--red-100);
}

.contact-action {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copy-btn {
    width: 100%;
    background-color: var(--white);
    color: var(--red-600);
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    /* ~text-sm */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* ~tracking-widest */
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background-color: var(--gray-100);
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Success state for button */
.copy-btn.success {
    background-color: #ecfdf5;
    /* ~bg-green-50 */
    color: #16a34a;
    /* ~text-green-600 */
}

/* PROMISE TOAST */
.toast-notification {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--white);
    color: var(--red-600);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--red-100);
    z-index: 100;
}

.toast-notification.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== BLOCKQUOTE STYLING ===== */
blockquote.quote {
    border: none;
    padding: 0;
    margin: 0;
}

/* ===== STEP CARD H3 (was h4) ===== */
.step-card h3 {
    font-weight: 900;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

/* ===== AWARD CARD H3 ===== */
.award-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* ===== INTEGRATION BOX H3 ===== */
.integration-box h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(220, 38, 38, 0.8);
}

/* ===== FOOTER COLUMN H4 ===== */
.footer-column h4 {
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}