/* ==========================================================
   homepage.css (Shadcn theme)
   Combined: external homepage.css + inline <style> block
   Colors mapped to CSS custom properties from shadcn-theme.
   ========================================================== */

/* ── Base Styles ────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    overflow-x: hidden;
}

/* Zoom 90% en todo menos hero */
.navbar,
.stats-section,
.brands-section,
.features-section,
.how-it-works,
.pricing-section,
.cta-section,
.footer {
    zoom: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: oklch(from var(--background) l c h / 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand .hgi-icon {
    font-size: 1.6rem;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-secondary {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: var(--card);
}

.btn-secondary:hover {
    background: var(--muted);
    border-color: var(--muted-foreground);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary:hover {
    background: #1a1a1a;
}

.btn-large {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    min-width: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--foreground);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-footnote {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-footnote .hgi-icon {
    color: var(--primary);
    font-size: 1rem;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.mockup-card {
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mockup-header {
    background: var(--muted);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-content {
    padding: 16px;
}

.invoice-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invoice-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--muted);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.invoice-item .hgi-icon {
    font-size: 1.1rem;
    color: var(--primary);
}

.invoice-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.invoice-name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.95rem;
}

.invoice-date {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.invoice-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.invoice-status.success {
    background: #d1fae5;
    color: #065f46;
}

.invoice-status.processing {
    background: #fef3c7;
    color: #92400e;
}

/* ── Stats Section ──────────────────────────────────────── */
.stats-section {
    padding: 60px 0;
    background: var(--card);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* ── Brands Section ─────────────────────────────────────── */
.brands-section {
    padding: 3.75rem 0;
    background: var(--muted);
    overflow: hidden;
}

.brands-section .brands-title {
    text-align: center;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2.5rem;
}

.brands-section .brands-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-section .brands-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: clamp(2rem, 5vw, 4rem);
    width: max-content;
    animation: scroll-brands 30s linear infinite;
}

.brands-section .brand-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: clamp(3rem, 6vw, 4rem);
    width: clamp(6rem, 12vw, 9rem);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brands-section .brand-item--wide {
    width: clamp(8rem, 16vw, 12rem);
}

.brands-section .brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.brands-section .brand-item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brands-section .brand-item--wide img {
    max-height: clamp(3rem, 6vw, 4.5rem);
    max-width: clamp(8rem, 16vw, 12rem);
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brands-section .brands-carousel:hover .brands-track {
    animation-play-state: paused;
}

/* ── Features Section ───────────────────────────────────── */
.features-section {
    padding: 100px 0;
    background: var(--muted);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.15rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card);
    padding: 32px 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px oklch(0.527 0.105 172.545 / 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon .hgi-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 260px;
}

/* ── How It Works Section ───────────────────────────────── */
.how-it-works {
    padding: 100px 0;
    background: var(--card);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Horizontal connector line behind numbers */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-card {
    background: transparent;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px var(--card), 0 0 0 8px var(--border);
    flex-shrink: 0;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-icon .hgi-icon {
    font-size: 1.4rem;
    color: var(--primary);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 200px;
}

/* ── Pricing Section - Tabla Comparativa ────────────────── */
.pricing-section {
    padding: 100px 0;
    background: var(--muted);
}

.pricing-table-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 20px 0 0;
    margin: 0 auto;
}

.pricing-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: visible;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.pricing-table thead tr th:first-child { border-top-left-radius: var(--radius-xl); }
.pricing-table thead tr th:last-child { border-top-right-radius: var(--radius-xl); }
.pricing-table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-xl); }
.pricing-table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-xl); }

.pricing-table th,
.pricing-table td {
    padding: 14px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--muted);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .feature-label {
    text-align: left;
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.9rem;
    width: 15%;
}

.pricing-table .feature-value {
    color: var(--secondary-foreground);
    font-size: 0.9rem;
}

/* Plan headers */
.plan-header {
    padding: 28px 12px 24px !important;
    vertical-align: top;
    position: relative;
    background: var(--muted);
    border-bottom: 1px solid var(--border) !important;
}

.plan-header.featured {
    background: var(--accent);
}

.plan-header .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.02em;
}

.plan-header .plan-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
}

.plan-header .plan-price {
    margin-bottom: 16px;
}

.plan-header .price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.plan-header .price-period {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.plan-header .plan-cta {
    margin-top: 12px;
}

.btn-table-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--primary);
    color: var(--primary-foreground);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-table-primary:hover {
    background: oklch(0.432 0.088 172.545);
    color: var(--primary-foreground);
}

.btn-table-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--secondary-foreground);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: var(--card);
}

.btn-table-outline:hover {
    background: var(--muted);
    border-color: var(--border);
}

/* Section rows */
.section-header-row td {
    padding: 20px 20px 10px !important;
    border-bottom: none !important;
    background: var(--card);
}

.section-title-cell {
    text-align: left !important;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Checks and X */
.check-yes {
    color: var(--primary);
    font-size: 1.1rem;
}

.check-no {
    color: var(--border);
    font-size: 1.1rem;
}

/* Featured column highlight */
.plan-header.featured ~ .feature-value,
td[data-plan="business"] {
    background: var(--accent);
}

/* Responsive table */
@media (max-width: 1200px) {
    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
    }

    .plan-header {
        padding: 20px 8px 18px !important;
    }

    .plan-header .plan-name {
        font-size: 0.9rem;
    }

    .plan-header .price-amount {
        font-size: 1.2rem;
    }

    .plan-header .price-period {
        font-size: 0.7rem;
    }

    .pricing-table .feature-label {
        font-size: 0.8rem;
    }

    .pricing-table .feature-value {
        font-size: 0.8rem;
    }

    .btn-table-primary,
    .btn-table-outline {
        padding: 7px 10px;
        font-size: 0.7rem;
    }
}

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    border-radius: 24px;
    margin: 0 24px 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-foreground);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.25rem;
    color: oklch(from var(--primary-foreground) l c h / 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-section .btn-primary {
    background: var(--card) !important;
    color: var(--foreground) !important;
}

.cta-section .btn-primary .hgi-icon {
    font-size: 1.1em;
    line-height: 1;
}

.cta-section .btn-primary:hover {
    background: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
    padding: 48px 0 24px;
    background: var(--muted);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    max-width: 300px;
    flex-shrink: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 12px;
}

.footer-description {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 56px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-foreground);
    text-decoration: none;
    font-size: 0.925rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-foreground);
}

/* ── Inline style block (icon visibility, animations, brands mobile) ── */@keyframes fa-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.fa-spin { animation: fa-spin 1s linear infinite; }

.brands-carousel:hover .brands-track {
    animation-play-state: paused;
}

.brand-item--wide {
    min-width: 14rem;
}

.brand-item--wide img {
    max-width: 12rem;
}

/* ── Responsive Design ──────────────────────────────────── */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .steps-grid::before {
        display: none;
    }

    .step-card {
        grid-column: span 1;
    }

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

    .footer-nav {
        gap: 40px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Brands inline overrides */
    .brands-section {
        padding: 3rem 0 !important;
    }
    .brands-section h2 {
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
    .brands-track {
        gap: 2rem !important;
    }
    .brand-item {
        height: 4rem !important;
    }
    .brand-item img {
        max-height: 3rem !important;
        max-width: 8rem !important;
    }
    .brand-item--wide {
        min-width: 9rem !important;
    }
    .brand-item--wide img {
        max-width: 8rem !important;
        max-height: 3rem !important;
    }

    /* Transform table into cards */
    .pricing-table-wrapper {
        overflow-x: visible;
        padding: 0;
    }

    .pricing-table {
        display: block;
        min-width: unset;
    }

    .pricing-table thead {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pricing-table thead tr {
        display: contents;
    }

    .pricing-table thead th.feature-label {
        display: none;
    }

    .pricing-table thead th.plan-header {
        display: flex;
        flex-direction: column;
        background: var(--card);
        border-radius: var(--radius-xl);
        border: 1px solid var(--border);
        padding: 24px 20px !important;
        text-align: center;
        min-width: unset;
    }

    .pricing-table thead th.plan-header.featured {
        border: 2px solid var(--primary);
        box-shadow: 0 4px 16px oklch(0.527 0.105 172.545 / 0.1);
    }

    .pricing-table thead th.plan-header .popular-badge {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .pricing-table thead th.plan-header .plan-name {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .pricing-table thead th.plan-header .price-amount {
        font-size: 1.8rem;
    }

    .pricing-table thead th.plan-header .plan-cta {
        margin-top: 16px;
    }

    .pricing-table tbody {
        display: none;
    }

    .pricing-table thead th.plan-header {
        cursor: pointer;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .pricing-table thead th.plan-header.active {
        border-color: var(--primary);
        box-shadow: 0 4px 16px oklch(0.527 0.105 172.545 / 0.1);
    }

    .mobile-plan-details {
        display: none;
        background: var(--card);
        border-radius: var(--radius-xl);
        border: 1px solid var(--border);
        padding: 24px 20px;
        margin-top: 16px;
        animation: fadeInDetails 0.25s ease;
    }

    @keyframes fadeInDetails {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .mobile-plan-details.visible {
        display: block;
    }

    .detail-section {
        margin-bottom: 20px;
    }

    .detail-section:last-child {
        margin-bottom: 0;
    }

    .detail-section-title {
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--muted-foreground);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--muted);
    }

    .detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--muted);
        font-size: 0.9rem;
    }

    .detail-row:last-child {
        border-bottom: none;
    }

    .detail-label {
        color: var(--secondary-foreground);
        font-weight: 500;
    }

    .detail-value {
        color: var(--foreground);
        font-weight: 600;
    }

    .detail-value .check-yes { font-size: 1.1rem; }
    .detail-value .check-no { font-size: 1.1rem; }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Stats 2 columns - 20% larger */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 40px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* Brands responsive */
    .brands-section {
        padding: 2.5rem 0;
    }

    .brands-section .brands-track {
        animation-duration: 20s;
    }

    /* Features 2 columns */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .feature-icon .hgi-icon {
        font-size: 1.3rem;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: none;
    }

    /* Steps 2 columns */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 14px;
        box-shadow: none;
    }

    .step-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .step-icon .hgi-icon {
        font-size: 1.2rem;
    }

    .step-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .step-description {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 24px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 32px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-secondary,
    .nav-actions .btn-primary {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    /* Navbar compact buttons */
    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-secondary,
    .nav-actions .btn-primary {
        padding: 6px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .btn-large {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .mockup-content {
        padding: 16px;
    }

    .invoice-item {
        padding: 12px;
        gap: 12px;
    }

    /* Stats adjusted */
    .stat-number {
        font-size: 2.1rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Steps single column */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step-description {
        max-width: none;
    }

    /* Features single column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    /* Plans single column */
    .pricing-table thead {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-table thead th.plan-header {
        padding: 20px 18px !important;
    }

    .pricing-table thead th.plan-header .plan-name {
        font-size: 1.1rem;
    }

    .pricing-table thead th.plan-header .price-amount {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .features-section,
    .how-it-works,
    .pricing-section,
    .cta-section {
        padding: 60px 0;
    }
}
