/* Layout & Sections */

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm) 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.logo-icon--sm {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.logo-icon--sm svg {
    width: 13px;
    height: 13px;
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-badge {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-circle);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

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

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    filter: brightness(1.1);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

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

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(59, 130, 246, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-circle);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: var(--spacing-md);
    max-width: 520px;
    color: var(--color-text-secondary);
}

.hero-cta-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
}

/* ─── Hero Visual ────────────────────────────────────────────────────────── */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 620px;
}

/* Glows de fundo */
.hero-glow-effect {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140%; height: 140%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}

.hero-glow-effect--purple {
    background: radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
    filter: blur(30px);
}

/* Browser frame */
.browser-frame {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 60px rgba(59, 130, 246, 0.15),
        0 30px 60px -10px rgba(0, 0, 0, 0.65);
    transform: rotateY(-5deg) rotateX(2deg) scale(0.98);
    transform-origin: center center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.7s ease;
}

.hero-image-container:hover .browser-frame {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 90px rgba(139, 92, 246, 0.2),
        0 40px 80px -15px rgba(0, 0, 0, 0.7);
}

/* Browser top bar */
.browser-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.55rem 0.9rem;
    gap: 0.75rem;
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 320px;
    margin: 0 auto;
}

.browser-lock {
    color: var(--color-success);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.browser-lock svg {
    width: 10px;
    height: 10px;
}

.browser-actions {
    flex-shrink: 0;
}

.version-badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-circle);
}

.browser-content {
    line-height: 0;
    background: #0d1117;
}

.dashboard-image {
    width: 100%;
    display: block;
    border-radius: 0;
}

/* ─── Floating cards ─────────────────────────────────────────────────────── */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(18, 19, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.9rem;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    z-index: 10;
}

.float-card--top-right {
    top: 8%;
    right: -5%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0s;
}

.float-card--mid-left {
    top: 42%;
    left: -7%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.float-card--bottom-left {
    bottom: 10%;
    left: -4%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 3s;
}

.float-card-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-card-icon-wrap svg {
    width: 16px;
    height: 16px;
}

.float-card-icon-wrap--danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.float-card-icon-wrap--success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.float-card-icon-wrap--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.float-card-title {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.78rem;
    line-height: 1.3;
}

.float-card-sub {
    color: var(--color-text-muted);
    font-size: 0.68rem;
    line-height: 1.3;
    margin-top: 1px;
}

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

/* ─── Sections commons ──────────────────────────────────────────────────── */
.section {
    padding: 6rem 0;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-circle);
    margin-bottom: 1rem;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ─── Problem / Solution ─────────────────────────────────────────────────── */
.problem-solution {
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.comparison-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-card.pain {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.15);
}

.comparison-card.solution {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.15);
}

.comparison-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}

.comparison-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon--danger { color: var(--color-danger); }
.icon--success { color: var(--color-success); }

.comparison-list strong {
    display: block;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.comparison-list p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ─── Features Grid ──────────────────────────────────────────────────────── */
.differentiators {
    background: var(--color-bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.card-list {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.card-list li {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    padding-left: 1rem;
    position: relative;
}

.card-list li::before {
    content: "▸";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 0.7rem;
}

/* ─── Normas ─────────────────────────────────────────────────────────────── */
.normas-section {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.02) 50%, transparent 100%);
}

.normas-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.norma-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.norma-primary {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.03);
}

.norma-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.norma-code {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.norma-status {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-circle);
    flex-shrink: 0;
}

.norma-status--full {
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.norma-status--partial {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.norma-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.norma-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.norma-items li {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    padding-left: 1.1rem;
    position: relative;
}

.norma-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-size: 0.7rem;
    top: 1px;
}

.norma-ref {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    margin-right: 0.3rem;
}

/* ─── How it works ────────────────────────────────────────────────────────── */
.how-it-works {
    background: var(--color-bg-secondary);
}

.steps-container {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
    gap: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.step-content {
    padding-bottom: 0.5rem;
    flex: 1;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.step-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.step-connector {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4));
    margin-left: 19px;
    flex-shrink: 0;
}

/* ─── Footer / CTA ────────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6rem;
    padding-bottom: 3rem;
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.cta-box {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 5rem;
}

.cta-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-circle);
    margin-bottom: 1.25rem;
}

.cta-box h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.cta-box p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.signup-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.signup-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.signup-form input::placeholder {
    color: var(--color-text-muted);
}

.signup-form input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.form-note {
    font-size: 0.78rem;
    margin-top: 0.75rem;
    opacity: 0.55;
    margin-bottom: 0;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.cta-features span {
    color: var(--color-success);
    font-weight: 500;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto 0.5rem;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ─── Success / Error Messages ───────────────────────────────────────────── */
.success-message,
.error-message {
    animation: fadeIn 0.5s ease;
    text-align: center;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
}

.success-icon,
.error-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.success-message h2 { color: var(--color-success); font-size: 1.4rem; margin-bottom: 0.5rem; }
.error-message h2 { color: var(--color-danger); font-size: 1.4rem; margin-bottom: 0.5rem; }
.success-message p, .error-message p { font-size: 0.9rem; margin-bottom: 0.25rem; }

.retry-btn {
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: var(--color-danger);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover {
    background: rgba(239, 68, 68, 0.08);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .normas-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

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

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
        justify-content: center;
    }

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

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

    .signup-form {
        flex-direction: column;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

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

    .steps-container {
        max-width: 100%;
    }

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

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

    .context-card--large {
        grid-column: span 1;
    }

    .showcase-overlay {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
}

/* ─── Platform Showcase ──────────────────────────────────────────────────── */
.platform-showcase {
    background: var(--color-bg-secondary);
}

.showcase-wide {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.1);
    margin-top: var(--spacing-md);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-circle);
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
}

.showcase-badge svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ─── Context / Environments ─────────────────────────────────────────────── */
.context-section {
    background: var(--color-bg);
}

.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.context-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: var(--color-surface);
    cursor: default;
}

.context-card--large {
    grid-column: span 2;
}

.context-card img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.context-card:hover img {
    transform: scale(1.04);
}

.context-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.88) 0%, transparent 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.context-label-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-circle);
    padding: 0.2rem 0.6rem;
    width: fit-content;
}
