:root {
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --navy-deep: #1e3a8a;
    --navy-darkest: #0f172a;
    --blue-vibrant: #2563eb;
    --blue-hover: #1d4ed8;
    --azure-accent: #3b82f6;
    --azure-hover: #2563eb;
    --ice-tint: #dbeafe;
    --ice-border: #bfdbfe;
    --text-title: #0f172a;
    --text-main: #1e293b;
    --text-muted: #475569;
    --text-light: #64748b;
    --border-light: #dbeafe;
    --white: #ffffff;
    --shadow-soft: 0 10px 25px -5px rgba(30, 58, 138, 0.08), 0 8px 10px -6px rgba(37, 99, 235, 0.05);
    --shadow-card: 0 16px 40px rgba(30, 58, 138, 0.1), 0 2px 6px rgba(30, 58, 138, 0.04);
    --shadow-3d-book: 20px 25px 50px rgba(30, 58, 138, 0.28), -2px 0 10px rgba(30, 58, 138, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-w-content: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

html,
body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

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

.top-transparency-bar {
    background: #f0f7ff;
    border-bottom: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
}

.top-transparency-bar strong {
    color: var(--navy-darkest);
}

.top-transparency-bar a {
    color: var(--blue-vibrant);
    text-decoration: underline;
    font-weight: 700;
    margin-left: 0.35rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--blue-vibrant);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 14px rgba(30, 58, 138, 0.05);
}

.header-container {
    max-width: var(--max-w-content);
    margin: 0 auto;
    padding: 0.95rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue-vibrant) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
    border: 1.5px solid var(--azure-accent);
}

.brand-icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--navy-darkest);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--blue-vibrant);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

.nav-links a.nav-btn,
a.nav-btn,
.nav-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    background: #ffffff !important;
    color: var(--blue-vibrant) !important;
    border: 1.5px solid var(--blue-vibrant) !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.nav-links a.nav-btn:hover,
a.nav-btn:hover,
.nav-btn:hover {
    background: var(--blue-vibrant) !important;
    color: #ffffff !important;
    border-color: var(--blue-vibrant) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.75rem;
    background: linear-gradient(135deg, var(--blue-vibrant) 0%, var(--navy-deep) 100%);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.96rem;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--azure-accent);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-darkest) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: var(--white) !important;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.2s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.75rem;
    background: var(--white);
    color: var(--blue-vibrant) !important;
    border: 1.5px solid var(--ice-border);
    font-weight: 700;
    font-size: 0.96rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: var(--ice-tint);
    border-color: var(--blue-vibrant);
    transform: translateY(-2px);
    color: var(--blue-vibrant) !important;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-darkest);
    border-color: var(--text-muted);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.presell-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
    background: radial-gradient(circle at 50% 25%, #eff6ff 0%, var(--bg-primary) 70%);
}

.presell-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 3.25rem 2.5rem;
    max-width: 580px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.presell-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy-deep), var(--blue-vibrant), var(--azure-accent));
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background: var(--ice-tint);
    color: var(--navy-deep);
    border: 1px solid var(--ice-border);
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.tag-pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue-vibrant);
    stroke-width: 2.2;
    fill: none;
}

.presell-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-darkest);
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.presell-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.presell-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.presell-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.75rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ice-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-vibrant);
}

.trust-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

.trust-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy-darkest);
    line-height: 1.2;
}

.trust-desc {
    font-size: 0.66rem;
    color: var(--text-light);
}

.verification-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle at 50% 20%, #eff6ff 0%, var(--bg-primary) 70%);
}

.verification-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 2.75rem 2.25rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.verification-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy-deep), var(--blue-vibrant), var(--azure-accent));
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-vibrant);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--ice-tint);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--ice-border);
}

.step-progress-dots {
    display: flex;
    gap: 0.4rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--blue-vibrant);
    transform: scale(1.25);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.step-view {
    display: none;
    animation: fadeIn 0.35s ease forwards;
}

.step-view.active {
    display: block;
}

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

.step-center-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ice-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 2px solid var(--border-light);
    color: var(--blue-vibrant);
}

.step-center-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.step-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy-darkest);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.step-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.option-card {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.option-card:hover {
    border-color: var(--blue-vibrant);
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.option-card.selected {
    border-color: var(--blue-vibrant);
    background: var(--ice-tint);
    box-shadow: 0 0 0 1px var(--blue-vibrant);
}

.option-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--ice-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue-vibrant);
}

.option-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.option-text-group {
    flex: 1;
}

.option-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-darkest);
    line-height: 1.3;
}

.option-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.security-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.security-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.35rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.security-card:hover {
    border-color: var(--blue-vibrant);
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.security-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.security-icon-circle.coracao {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #ef4444;
}

.security-icon-circle.estrela {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    color: #f59e0b;
}

.security-icon-circle.casa {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
}

.security-card:hover .security-icon-circle {
    transform: scale(1.12);
}

.security-icon-circle svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2.3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.security-card-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--navy-darkest);
    letter-spacing: -0.01em;
}

.security-feedback {
    min-height: 22px;
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.security-feedback.error {
    color: #dc2626;
}

.security-feedback.success {
    color: #16a34a;
}

.redirect-box {
    text-align: center;
    padding: 1.5rem 0;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3.5px solid var(--ice-tint);
    border-top: 3.5px solid var(--blue-vibrant);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--ice-tint);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin: 1.5rem 0 1rem;
    border: 1px solid var(--ice-border);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--navy-deep), var(--blue-vibrant), var(--azure-accent));
    transition: width 2.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step-footer-note {
    font-size: 0.72rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.4;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.hero-education {
    max-width: var(--max-w-content);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    background: var(--ice-tint);
    color: var(--navy-deep);
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 1.25rem;
    border: 1px solid var(--ice-border);
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--navy-darkest);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-badges-row {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.mini-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mini-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-vibrant);
    stroke-width: 2.2;
    fill: none;
}

.mockup-3d-stage {
    position: relative;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.book-3d-wrapper {
    position: relative;
    width: 240px;
    height: 330px;
    transform-style: preserve-3d;
    transform: rotateY(-22deg) rotateX(10deg) rotateZ(-2deg);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book-3d-wrapper:hover {
    transform: rotateY(-12deg) rotateX(6deg) rotateZ(0deg) scale(1.03);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e3a8a 0%, #0f172a 100%);
    border-radius: 4px 14px 14px 4px;
    box-shadow: var(--shadow-3d-book);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    border-left: 12px solid #0f172a;
    box-sizing: border-box;
    overflow: hidden;
}

.book-cover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 20%);
    pointer-events: none;
}

.book-edition-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    border-bottom: 1px solid rgba(147, 197, 253, 0.3);
    padding-bottom: 0.4rem;
}

.book-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 1rem 0;
}

.book-seal {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border: 2px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.5);
    margin-bottom: 1rem;
}

.book-seal svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    stroke-width: 2.2;
    fill: none;
}

.book-author-meta {
    font-size: 0.65rem;
    color: #94a3b8;
    line-height: 1.35;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 0.65rem;
}

.floating-audit-sheet {
    position: absolute;
    width: 200px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
    border: 1px solid #bfdbfe;
    padding: 1.1rem;
    right: -25px;
    bottom: -15px;
    transform: rotateZ(6deg) translateY(0);
    animation: floatSheet 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatSheet {
    0%,
    100% {
        transform: rotateZ(6deg) translateY(0);
    }
    50% {
        transform: rotateZ(6deg) translateY(-8px);
    }
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.45rem;
    margin-bottom: 0.65rem;
}

.sheet-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--navy-deep);
    text-transform: uppercase;
}

.sheet-stamp {
    font-size: 0.55rem;
    background: var(--ice-tint);
    color: var(--blue-vibrant);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-weight: 700;
}

.sheet-metric {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
}

.sheet-metric-label {
    color: var(--text-muted);
}

.sheet-metric-val {
    font-weight: 700;
    color: var(--navy-darkest);
}

.sheet-reduction {
    background: #ecfdf5;
    border: 1px dashed #10b981;
    border-radius: 4px;
    padding: 0.4rem;
    margin-top: 0.55rem;
    text-align: center;
}

.sheet-reduction-label {
    font-size: 0.58rem;
    color: #065f46;
    font-weight: 600;
}

.sheet-reduction-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #047857;
}

.portal-pillars-section {
    max-width: var(--max-w-content);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

.section-head-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy-darkest);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--azure-accent);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--ice-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-vibrant);
    margin-bottom: 1.25rem;
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

.pillar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-darkest);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.module-card {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.module-card:hover {
    border-color: var(--blue-vibrant);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.module-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue-vibrant);
    background: var(--ice-tint);
    border: 1px solid var(--ice-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}

.module-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-darkest);
    margin-bottom: 0.65rem;
}

.module-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.module-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.module-list svg {
    width: 15px;
    height: 15px;
    stroke: var(--blue-vibrant);
    stroke-width: 2.2;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    color: #f59e0b;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: none;
}

.testimonial-quote {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ice-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-vibrant);
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy-darkest);
}

.testimonial-detail {
    font-size: 0.72rem;
    color: #10b981;
    font-weight: 600;
}

.comparison-wrapper {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-top: 2rem;
    box-shadow: var(--shadow-soft);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.comparison-table th {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: var(--navy-darkest);
    border-bottom: 2px solid var(--border-light);
}

.comparison-table th.highlight-col {
    background: var(--ice-tint);
    color: var(--navy-deep);
}

.comparison-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-muted);
}

.comparison-table tr:hover td {
    background: #f8fafc;
}

.comparison-table td.highlight-col {
    background: rgba(219, 234, 254, 0.35);
    font-weight: 600;
    color: var(--navy-darkest);
}

.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle at 50% 25%, #eff6ff 0%, var(--bg-primary) 70%);
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 3rem 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy-deep), var(--blue-vibrant), var(--azure-accent));
}

.form-group {
    margin-bottom: 1.35rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy-darkest);
    margin-bottom: 0.45rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--navy-darkest);
    background: var(--bg-input);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue-vibrant);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.not-found-banner {
    background: #eff6ff;
    border: 1.5px solid var(--ice-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    display: none;
    animation: fadeIn 0.3s ease;
}

.not-found-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-deep);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

.not-found-title svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue-vibrant);
    stroke-width: 2.2;
    fill: none;
}

.not-found-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.institutional-container {
    max-width: var(--max-w-content);
    margin: 2rem auto 4rem;
    padding: 0 1.5rem;
    width: 100%;
}

.institutional-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 90px;
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.sidebar-nav-title {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy-darkest);
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.sidebar-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: #f0f7ff;
    color: var(--blue-vibrant);
}

.sidebar-link.active {
    background: var(--ice-tint);
    color: var(--blue-vibrant);
    font-weight: 700;
    border-left-color: var(--blue-vibrant);
}

.sidebar-divider {
    height: 1px;
    background: var(--border-light);
    margin: 1.25rem 0;
}

.sidebar-toc-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
}

.sidebar-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sidebar-toc-list a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.sidebar-toc-list a:hover {
    color: var(--blue-vibrant);
}

.legal-document-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 3rem 2.5rem;
}

.legal-article-header {
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.legal-article-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-darkest);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.legal-article-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.legal-article-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin: 2rem 0 0.85rem;
    letter-spacing: -0.01em;
}

.legal-article-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-darkest);
    margin: 1.5rem 0 0.6rem;
}

.legal-article-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-article-content ul {
    margin: 0.75rem 0 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.legal-highlight-box {
    background: #f0f7ff;
    border-left: 4px solid var(--blue-vibrant);
    padding: 1.15rem 1.35rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-size: 0.88rem;
    color: var(--text-main);
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 2.75rem 1.5rem 2.25rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: auto;
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: var(--navy-darkest);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-bullet {
    color: #94a3b8;
    font-size: 0.75rem;
}

.footer-body {
    max-width: 860px;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.footer-copy {
    color: var(--text-light);
    font-size: 0.8rem;
}

.footer-details {
    color: var(--navy-darkest);
    font-size: 0.82rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-details strong {
    color: var(--navy-darkest);
}

@media (max-width: 920px) {
    .institutional-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .legal-sidebar {
        position: static;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .hero-education {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-text-content {
        align-items: center;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-badges-row {
        justify-content: center;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .mockup-3d-stage {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .top-transparency-bar {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
        line-height: 1.4;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .brand-icon-box {
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
    }

    .brand-icon-box svg {
        width: 20px;
        height: 20px;
    }

    .brand-title {
        font-size: 1.05rem;
        line-height: 1.15;
    }

    .brand-subtitle {
        font-size: 0.58rem;
    }

    .nav-links a:not(.nav-btn) {
        display: none;
    }

    .nav-links a.nav-btn,
    a.nav-btn,
    .nav-btn {
        display: inline-flex !important;
        padding: 0.45rem 1rem !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        border-radius: var(--radius-sm) !important;
    }

    .presell-wrapper {
        padding: 1.5rem 1rem 2rem;
    }

    .presell-card {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: var(--radius-md);
        box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
    }

    .tag-pill {
        margin-bottom: 1rem;
        padding: 0.35rem 0.85rem;
        font-size: 0.68rem;
    }

    .presell-heading {
        font-size: 1.45rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    .presell-text {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .presell-actions {
        margin-bottom: 1.5rem;
        gap: 0.75rem;
    }

    .btn-primary {
        padding: 0.85rem 1.25rem;
        font-size: 0.92rem;
        width: 100%;
    }

    .presell-trust-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.4rem;
        border-top: 1px solid var(--border-light);
        padding-top: 1.15rem;
    }

    .trust-item {
        gap: 0.25rem;
    }

    .trust-icon {
        width: 32px;
        height: 32px;
    }

    .trust-icon svg {
        width: 15px;
        height: 15px;
    }

    .trust-label {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .trust-desc {
        font-size: 0.6rem;
    }

    .verification-wrapper,
    .login-wrapper {
        padding: 1.5rem 1rem 2rem;
    }

    .verification-card,
    .login-card,
    .legal-document-card {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-md);
    }

    .step-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .step-desc {
        font-size: 0.86rem;
        margin-bottom: 1.25rem;
    }

    .option-card {
        padding: 0.95rem 1rem;
        gap: 0.75rem;
    }

    .option-icon {
        width: 38px;
        height: 38px;
    }

    .option-icon svg {
        width: 20px;
        height: 20px;
    }

    .option-title {
        font-size: 0.88rem;
    }

    .option-sub {
        font-size: 0.74rem;
    }

    .security-cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem;
    }

    .security-card {
        padding: 1rem 0.35rem;
        gap: 0.5rem;
    }

    .security-icon-circle {
        width: 44px;
        height: 44px;
    }

    .security-icon-circle svg {
        width: 22px;
        height: 22px;
    }

    .security-card-name {
        font-size: 0.78rem;
    }

    .hero-education {
        padding: 2rem 1rem 1.5rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.22;
    }

    .hero-lead {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
    }

    .book-3d-wrapper {
        width: 200px;
        height: 280px;
        transform: rotateY(-12deg) rotateX(6deg);
    }

    .floating-audit-sheet {
        width: 175px;
        right: -10px;
        bottom: -10px;
        padding: 0.85rem;
    }

    .portal-pillars-section {
        padding: 2rem 1rem;
    }

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

    .site-footer {
        padding: 1.75rem 1rem 1.5rem;
    }

    .footer-content {
        gap: 0.75rem;
    }

    .footer-links {
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.35rem 0.65rem !important;
        margin-bottom: 0.35rem;
    }

    .footer-links a {
        font-size: 0.78rem;
    }

    .footer-bullet {
        display: inline !important;
        color: #cbd5e1;
        font-size: 0.65rem;
    }

    .footer-body {
        font-size: 0.74rem;
        line-height: 1.55;
    }

    .footer-copy {
        font-size: 0.72rem;
    }

    .footer-details {
        font-size: 0.74rem;
        line-height: 1.5;
    }
}
