:root {
    --background: #ffffff;
    --foreground: #101828;
    --card: #f8fafc;
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-soft: #eef2ff;
    --secondary: #f1f5f9;
    --muted: #64748b;
    --border: #dbe4f0;
    --surface: #f8fafc;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--foreground);
    background: var(--background);
}

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

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(219, 228, 240, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.nav-shell,
.dashboard-topbar,
.footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nav-shell {
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
}

.brand-text {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

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

.nav-links a {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    background: var(--secondary);
    color: var(--foreground);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 600;
    transition: 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #6d28d9);
}

.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--foreground);
}

.btn-outline {
    background: transparent;
    border-color: rgba(79, 70, 229, 0.24);
    color: var(--primary);
}

.btn-large {
    padding: 14px 24px;
    border-radius: 16px;
}

.btn-block {
    width: 100%;
}

.notice-wrap {
    padding-top: 18px;
}

.notice {
    border-radius: 16px;
    padding: 14px 18px;
    border: 1px solid transparent;
    font-weight: 500;
}

.notice-success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.notice-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.notice-warning {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 28%),
        linear-gradient(135deg, #eef2ff 0%, #ffffff 52%, #ffffff 100%);
}

.hero-grid,
.conversion-shell,
.booking-shell,
.split-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-grid {
    padding: 88px 0 72px;
}

.hero-copy,
.conversion-copy {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    border: 1px solid rgba(79, 70, 229, 0.16);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.conversion-copy h2,
.dashboard-topbar h1 {
    margin: 18px 0 16px;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 4.1rem);
}

.hero-copy p,
.section-heading p,
.conversion-copy p,
.pricing-card p,
.feature-card p,
.site-footer p,
.auth-card p {
    color: var(--muted);
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-points {
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-points span,
.benefit-list li,
.pricing-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-points span::before,
.benefit-list li::before,
.pricing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--success);
}

.stats-grid,
.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.stat-card,
.feature-card,
.pricing-card,
.form-card,
.summary-card,
.table-card,
.hero-image-card,
.problem-card,
.info-card,
.mini-card,
.feature-stack-card,
.step-card,
.final-cta-card,
.product-highlight-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 28px 24px;
    text-align: center;
}

.stat-card strong,
.summary-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-card h3,
.feature-card h3,
.pricing-card h3,
.form-card h3,
.table-head h2 {
    margin: 0 0 8px;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section {
    padding: 88px 0;
}

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

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.feature-grid,
.pricing-grid,
.footer-grid,
.dashboard-stack,
.benefit-card-grid,
.feature-stack-grid,
.problem-grid,
.steps-grid,
.product-highlight-grid {
    display: grid;
    gap: 24px;
}

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

.benefit-card-grid,
.feature-stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.pricing-card,
.form-card,
.summary-card,
.table-card,
.problem-card,
.info-card,
.mini-card,
.feature-stack-card,
.step-card,
.final-cta-card,
.product-highlight-card,
.hero-image-card {
    padding: 28px;
}

.product-highlight-grid {
    grid-template-columns: 1fr;
}

.product-highlight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.feature-card {
    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.feature-icon-blue { background: #eff6ff; color: #2563eb; }
.feature-icon-indigo { background: #eef2ff; color: #4338ca; }
.feature-icon-green { background: #ecfdf5; color: #059669; }
.feature-icon-violet { background: #f5f3ff; color: #7c3aed; }
.feature-icon-amber { background: #fffbeb; color: #d97706; }
.feature-icon-rose { background: #fff1f2; color: #e11d48; }

.feature-card a {
    color: var(--primary);
    font-weight: 600;
}

.hero-image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.problem-card,
.mini-card,
.step-card {
    font-weight: 600;
    color: var(--foreground);
}

.problem-punch,
.urgency-line {
    margin: 28px 0 0;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--foreground);
}

.lead-copy {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.narrow-content {
    width: min(calc(100% - 32px), 980px);
}

.center-cta,
.center-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.feature-stack-card h3,
.info-card h3,
.step-card h3,
.product-highlight-card h3 {
    margin-top: 0;
}

.steps-grid .step-card strong {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 18px;
}

.dual-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0 14px;
}

.dual-price small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.dual-price strong {
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.final-cta-section {
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.final-cta-card {
    text-align: center;
}

.sticky-cta {
    position: sticky;
    top: 12px;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    padding: 14px 18px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.24);
}

.pricing-card {
    position: relative;
}

.pricing-card-featured {
    border-color: rgba(79, 70, 229, 0.34);
    transform: translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-amount {
    margin: 18px 0 14px;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pricing-amount span {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 4px;
}

.pricing-list,
.benefit-list {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.conversion-shell,
.booking-shell {
    gap: 28px;
}

.form-card {
    background: #fff;
}

.form-card-wide {
    margin-top: 22px;
}

.site-form {
    display: grid;
    gap: 18px;
}

.site-form-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-form label,
.inline-form {
    display: grid;
    gap: 8px;
}

.site-form span,
.inline-form span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.site-form input,
.site-form select,
.site-form textarea,
.inline-form input,
.inline-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 13px 14px;
    color: var(--foreground);
}

.site-form textarea {
    resize: vertical;
    min-height: 140px;
}

.full-width {
    grid-column: 1 / -1;
}

.site-footer {
    padding: 72px 0 28px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    margin-bottom: 34px;
}

.footer-grid h4 {
    margin-top: 0;
    margin-bottom: 14px;
}

.footer-grid a {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
}

.footer-base {
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.88rem;
}

.auth-page,
.dashboard-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.auth-card {
    width: min(100%, 520px);
}

.auth-meta,
.back-link {
    color: var(--muted);
    font-size: 0.95rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
}

.dashboard-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
}

.dashboard-topbar {
    padding: 26px 0;
}

.dashboard-stack {
    grid-template-columns: 1fr;
}

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

.summary-card span {
    color: var(--muted);
    font-weight: 600;
}

.summary-card.warning {
    background: #fff7ed;
}

.table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-active {
    background: #ecfdf3;
    color: #166534;
}

.status-expired {
    background: #fff1f2;
    color: #be123c;
}

.inline-form {
    min-width: 200px;
}

small {
    color: var(--muted);
}

@media (max-width: 1024px) {
    .hero-grid,
    .conversion-shell,
    .booking-shell,
    .split-section,
    .feature-grid,
    .pricing-grid,
    .footer-grid,
    .benefit-card-grid,
    .feature-stack-grid,
    .problem-grid,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .site-form-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-shell,
    .dashboard-topbar,
    .footer-base,
    .nav-actions,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-grid,
    .conversion-shell,
    .booking-shell,
    .split-section,
    .feature-grid,
    .pricing-grid,
    .footer-grid,
    .stats-grid,
    .summary-grid,
    .benefit-card-grid,
    .feature-stack-grid,
    .problem-grid,
    .steps-grid,
    .dual-price {
        grid-template-columns: 1fr;
    }

    .product-highlight-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-grid {
        padding-top: 56px;
    }

    .section {
        padding: 64px 0;
    }

    .pricing-card-featured {
        transform: none;
    }
}
