/* Reset and Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors (Indigo variants) */
    --brand-50: #eef2ff;
    --brand-100: #e0e7ff;
    --brand-200: #c7d2fe;
    --brand-300: #a5b4fc;
    --brand-400: #818cf8;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --brand-800: #3730a3;
    --brand-900: #312e81;

    /* Slate Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --blue-100: #dbeafe;
    --blue-600: #2563eb;

    /* Feature Icon Colors */
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-500: #ef4444;
    --red-600: #dc2626;

    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;

    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;

    --emerald-50: #ecfdf5;
    --emerald-700: #047857;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, .08);

    /* Typography */
    --font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    color: var(--slate-700);
    background-color: #fff;
    min-height: 100vh;
}

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

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

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

/* Utilities (Semantic equivalents) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.focus\:not-sr-only:focus {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: var(--brand-600);
    color: white;
    border-radius: 0.25rem;
    z-index: 100;
}

.container {
    max-width: 72rem;
    /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

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

.text-left {
    text-align: left;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.uppercase {
    text-transform: uppercase;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--slate-200);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

@supports (backdrop-filter: blur(8px)) {
    .site-header {
        background-color: rgba(255, 255, 255, 0.6);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    /* h-16 */
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 1.5rem;
    width: 1.5rem;
}

.nav-desktop {
    display: none;
}

.nav-link {
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-600);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    /* rounded-full */
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-600);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--brand-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: white;
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-300);
    color: var(--slate-900);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    /* rounded-xl */
}

.mobile-menu-btn {
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: var(--slate-600);
}

.mobile-menu-btn:hover {
    background-color: var(--slate-100);
}

.hidden {
    display: none !important;
}

.mobile-menu {
    padding-bottom: 0.75rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    color: var(--slate-600);
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: var(--slate-50);
    color: var(--brand-600);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, var(--brand-50), #ffffff);
    padding: 6.5rem 0 2.5rem 0;
    /* pt-26 pb-10 */
}

.hero-content {
    max-width: 48rem;
    /* max-w-3xl */
}

.hero-title {
    font-size: 1.875rem;
    /* text-3xl */
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--slate-700);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.125rem;
    /* text-lg */
    color: var(--slate-600);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.action-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Sections Base */
.section {
    padding: 5rem 0;
    /* py-20 */
    scroll-margin-top: 4rem;
}

#precos {
    scroll-margin-top: 1rem;
}

.bg-white {
    background-color: #ffffff;
}

.bg-slate {
    background-color: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.bg-brand {
    background-color: var(--brand-900);
    color: white;
    border-top: 1px solid var(--slate-100);
}

.section-header {
    text-align: center;
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto 3rem auto;
    /* mb-12 */
}

.section-title {
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.625;
}

/* Grids */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Feature Cards */
.feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    /* rounded-2xl */
    border: 1px solid var(--slate-200);
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-200);
    transform: translateY(-4px);
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    /* rounded-xl */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Colors for Icons */
.icon-red {
    background-color: var(--red-50);
    color: var(--red-500);
}

.feature-card:hover .icon-red {
    background-color: var(--red-100);
}

.feature-card:hover .title-red {
    color: var(--red-600);
}

.icon-orange {
    background-color: var(--orange-50);
    color: var(--orange-500);
}

.feature-card:hover .icon-orange {
    background-color: var(--orange-100);
}

.feature-card:hover .title-orange {
    color: var(--orange-600);
}

.icon-slate {
    background-color: var(--slate-100);
    color: var(--slate-500);
    border-radius: 1rem;
}

.feature-card:hover .icon-slate {
    background-color: var(--slate-200);
}

.feature-card:hover .title-slate {
    color: var(--slate-700);
}

.icon-indigo {
    background-color: var(--indigo-50);
    color: var(--indigo-500);
}

.feature-card:hover .icon-indigo {
    background-color: var(--indigo-100);
}

.feature-card:hover .title-indigo {
    color: var(--indigo-600);
}

.icon-brand {
    background-color: var(--brand-50);
    color: var(--brand-500);
}

.feature-card:hover .icon-brand {
    background-color: var(--brand-100);
}

.feature-card:hover .title-brand {
    color: var(--brand-600);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature-desc {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.625;
}

/* Alert Box Equivalent */
.alert-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 0.75rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.alert-icon {
    display: none;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--brand-100);
    border-radius: 9999px;
    align-items: center;
    justify-content: center;
    color: var(--brand-600);
}

.alert-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.alert-text {
    color: var(--brand-800);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Step Card (Workflow) */
.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Features 360 Tags */
.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.tag-operation {
    background-color: var(--brand-50);
    color: var(--brand-700);
}

.tag-governance {
    background-color: var(--indigo-50);
    color: var(--indigo-700);
}

.tag-collab {
    background-color: var(--emerald-50);
    color: var(--emerald-700);
}

.tag-security {
    background-color: var(--slate-100);
    color: var(--slate-700);
    border-radius: 0.5rem;
}

/* Table */
.table-container {
    margin-top: 2rem;
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    min-width: 100%;
    text-align: left;
    border-collapse: collapse;
}

th {
    padding: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--slate-600);
    background-color: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

th.th-brand {
    color: var(--brand-700);
}

td {
    padding: 1rem;
    background-color: white;
}

tr {
    border-bottom: 1px solid var(--slate-100);
}

tr:last-child {
    border-bottom: none;
}

tr:nth-child(even) td {
    background-color: var(--slate-50);
}

tr:hover td {
    background-color: rgba(248, 250, 252, 0.5);
}

td.td-label {
    font-weight: 500;
    color: var(--slate-900);
}

td.td-brand {
    color: var(--brand-700);
}

/* Pricing Cards */
.pricing-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    background-color: white;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-200);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 2px solid var(--brand-500);
    position: relative;
    box-shadow: var(--shadow-md);
}

.badge-featured {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-600);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.price-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
}

.price-box {
    margin: 1rem 0;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--slate-900);
}

.price-value.brand {
    color: var(--brand-600);
}

.price-unit {
    color: var(--slate-500);
    font-weight: 500;
}

.price-desc {
    color: var(--slate-600);
    line-height: 1.625;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.price-desc strong {
    color: var(--slate-900);
}

.ideal-badge {
    font-size: 0.875rem;
    color: var(--brand-600);
    font-weight: 700;
    background-color: var(--brand-50);
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    color: var(--slate-600);
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 0.2s;
}

.trust-badge:hover {
    border-color: var(--brand-200);
}

.trust-badge svg {
    color: var(--brand-600);
}

/* CTA Box */
.cta-box {
    background-color: var(--brand-600);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.3s ease;
}

.cta-box:hover {
    box-shadow: var(--shadow-xl);
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--blue-100);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-xl-round {
    border-radius: 0.75rem;
}

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

.btn-white-600:hover {
    background-color: var(--slate-50);
}

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

.btn-white-900:hover {
    background-color: var(--slate-50);
}

.btn-transparent-2 {
    border: 2px solid var(--brand-400);
    color: white;
    background: transparent;
}

.btn-transparent-2:hover {
    background-color: var(--brand-700);
    border-color: var(--brand-500);
}

.btn-transparent-1 {
    border: 1px solid var(--brand-400);
    color: white;
    background: transparent;
}

.btn-transparent-1:hover {
    background-color: var(--brand-800);
    border-color: var(--brand-300);
}

/* Inverse CTA Section */
.bg-brand .section-title {
    color: white;
}

.bg-brand .section-subtitle {
    color: var(--brand-100);
}

/* Accordions (FAQs) */
.faq-container {
    max-width: 48rem;
    margin: 1.25rem auto 0 auto;
    /* mt-5 */
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

details.faq-item {
    border-radius: 1rem;
    background-color: white;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    overflow: hidden;
}

details.faq-item[open] {
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    width: 100%;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    transition: background-color 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover,
.faq-item summary:focus {
    background-color: var(--slate-50);
    outline: none;
}

.faq-icon {
    flex-shrink: 0;
    padding: 0.25rem;
    background-color: var(--brand-50);
    color: var(--brand-600);
    border-radius: 9999px;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: var(--slate-600);
    line-height: 1.625;
    border-top: 1px solid var(--slate-100);
    padding-top: 0.75rem;
    /* Adding animation frame via CSS would require knowing accurate heights */
    animation: fadeIn 0.3s ease forwards;
}

.faq-content strong {
    color: var(--slate-700);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-0.25rem);
    }

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

/* Footer */
.site-footer {
    border-top: 1px solid var(--slate-200);
}

.footer-inner {
    padding: 2rem 1rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-nav {
    display: flex;
    gap: 1rem;
}

.footer-nav a:hover {
    color: var(--brand-600);
}

/* Media Queries */
@media (min-width: 640px) {

    /* sm */
    .action-group {
        flex-direction: row;
        justify-content: flex-start;
    }

    .action-group-center {
        justify-content: center;
    }

    .alert-icon {
        display: flex;
    }

    .alert-box {
        font-size: 1rem;
    }

    .grid-cols-sm-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-cols-sm-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .col-span-sm-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 768px) {

    /* md */
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .header-actions {
        display: flex;
    }

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

    .mobile-menu {
        display: none !important;
    }

    /* override JS logic if resize */

    .hero-section {
        padding: 6rem 0;
    }

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

    .hero-text {
        font-size: 1.25rem;
    }

    .section {
        padding: 6rem 0;
    }

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

    .cta-box {
        padding: 3rem;
    }

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

    .grid-cols-md-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-cols-md-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-cols-md-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    table {
        min-width: max-content;
    }

    .pricing-card.featured {
        transform: translateY(-1rem);
    }

    .pricing-card.featured:hover {
        transform: translateY(-1.25rem);
    }

    .footer-inner {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {

    /* lg */
    .grid-cols-lg-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {

    /* xl */
    .grid-cols-xl-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* Custom Utility Classes Extracted from Inicio.razor */
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-2xl { font-size: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.text-slate-700 { color: var(--slate-700); }
.w-full { width: 100%; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.border-t-0 { border-top: none; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 0.5rem; }
