html {
    scroll-behavior: smooth;
}

:root {
    --primary: #8a2be2;
    --primary-light: #a04ef6;
    --secondary: #00d2ff;
    --bg-dark: #0a0b10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

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

/* Header & Nav */
header {
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
    padding: 2px 4px;
    transition: all 0.3s;
}

.lang-switcher button.active {
    color: white;
    font-weight: 700;
}

.lang-switcher button:hover {
    color: white;
}

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

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Dropdown Menus */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 200px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 12px;
    padding: 0.8rem 0;
    z-index: 100;
    margin-top: 1rem;
}

.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem; /* Invisible bridge so hover doesn't break */
}

.nav-dropdown:hover .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    animation: fadeInDrop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-content a {
    color: var(--text-muted);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: left;
    white-space: nowrap;
}

.nav-dropdown-content a:hover {
    background-color: rgba(138, 43, 226, 0.15);
    color: #fff;
    padding-left: 1.8rem;
    text-shadow: none;
}

@keyframes fadeInDrop {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Nav CTA */
.nav-cta {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-decoration: none;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.btn-hero-free {
    display: inline-block;
    padding: 0.95rem 2.4rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #050b14;
    background: linear-gradient(135deg, #00FF87, #60EFFF);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 255, 135, 0.35);
    transition: all 0.3s ease;
}
.btn-hero-free:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 255, 135, 0.55);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0 0;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin: 0 auto 2rem;
    max-width: 700px;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--primary-light);
}

/* Platform Section */
.platform-section {
    padding: 0 0 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Platform Switcher */
.platform-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: var(--glass);
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.switch-btn {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-btn:hover {
    color: white;
}

.switch-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.platform-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.platform-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-card.premium {
    border-color: rgba(0, 210, 255, 0.2);
    background: radial-gradient(circle at bottom right, rgba(0, 210, 255, 0.05), transparent);
}

.product-card.premium:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 40px rgba(0, 210, 255, 0.1);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 2;
}

.badge.oss {
    background: rgba(138, 43, 226, 0.2);
    color: #c084fc;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.badge.enterprise {
    background: rgba(0, 210, 255, 0.2);
    color: #22d3ee;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.badge.freeware {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.status-label {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.card-footer {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.btn-link {
    padding-top: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-link:hover {
    color: white;
    transform: translateX(5px);
}

.btn-link.primary {
    color: var(--secondary);
}

.product-icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    padding: 8px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 12px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: white;
    padding-right: 90px;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: #050608;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: white;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
/* Pricing & Licensing */
.pricing-section {
    padding: 100px 0;
    text-align: center;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 50px;
    padding: 0 20px;
    justify-content: center;
    align-items: stretch;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    min-height: 480px; /* Garante que todos os cards tenham a mesma altura */
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 60px 20px 30px 20px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.premium {
    border-color: var(--primary-light);
    background: radial-gradient(circle at top right, rgba(138, 43, 226, 0.1), transparent);
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.1);
}



.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    color: white;
}

.price-box {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 90px;
    justify-content: center;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.price {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: inline-block;
}

.price-min {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.currency { font-size: 1.5rem; vertical-align: top; margin-right: 4px; color: var(--primary-light); -webkit-text-fill-color: var(--primary-light); }
.period { font-size: 1.1rem; color: var(--text-muted); -webkit-text-fill-color: var(--text-muted); font-weight: 500; }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.95rem;
    word-break: break-word;

}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.pricing-features li.disabled {
    opacity: 0.3;
    text-decoration: line-through;
}

.btn-pricing {
    width: 100%;
    padding: 16px 12px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-pricing-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.btn-pricing-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.5);
    filter: brightness(1.1);
}

.btn-pricing-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-pricing-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* ============================================================
   Pricing & Monetization section (billing toggle + Bark calc)
   ============================================================ */

/* Pricing teaser (homepage) */
.pricing-teaser-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin: 40px auto 24px;
    max-width: 960px;
}
.teaser-card {
    flex: 1 1 260px;
    max-width: 300px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--accent, var(--primary));
    border-radius: 20px;
    padding: 24px 22px;
    text-align: left;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.teaser-card[data-accent="bark"]   { --accent: #5DADE2; }
.teaser-card[data-accent="studio"] { --accent: #8a2be2; }
.teaser-card[data-accent="union"]  { --accent: #10B981; }
.teaser-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.teaser-card .card-tag {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.4px;
    text-transform: uppercase; color: var(--accent, var(--primary));
}
.teaser-card .teaser-price {
    font-family: 'Outfit', sans-serif; color: #fff; font-size: 1.05rem;
}
.teaser-card .teaser-price strong {
    font-size: 1.6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.teaser-card .teaser-desc { font-size: 0.85rem; color: var(--text-muted); }
.pricing-teaser-tools { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }
.pricing-teaser-tools strong { color: #10B981; }

/* Billing toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 36px auto 0;
    padding: 6px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    position: relative;
}
.billing-toggle button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.billing-toggle button.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 6px 18px rgba(138, 43, 226, 0.35);
}
.billing-toggle .save-tag {
    margin-left: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    transition: opacity 0.25s ease;
}
#membership[data-billing="monthly"] .billing-toggle .save-tag { opacity: 0.35; }

/* Product accent (top border + CTA tint) */
.pricing-card[data-accent] { border-top: 3px solid var(--accent, var(--primary)); }
.pricing-card[data-accent="bark"]   { --accent: #5DADE2; }
.pricing-card[data-accent="studio"] { --accent: #8a2be2; }
.pricing-card[data-accent="union"]  { --accent: #10B981; }
.pricing-card .card-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--accent, var(--primary));
    margin-bottom: 14px;
}
.pricing-card .tier {
    text-align: left;
    padding: 14px 0;
    border-top: 1px solid var(--glass-border);
}
.pricing-card .tier:first-of-type { border-top: none; }
.pricing-card .tier-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.pricing-card .tier-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pricing-card .tier-desc { font-size: 0.85rem; color: var(--text-muted); }
.pricing-card .price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}
/* "from R$ X/mo" mini-price in the Bark Plus card — a phrase, not a headline */
#bark-from-price {
    font-size: 1.5rem;
    line-height: 1.25;
    display: inline-block;
}

/* Studio price reacts to billing toggle */
#membership[data-billing="monthly"] .studio-annual-only { display: none; }
#membership[data-billing="annual"]  .studio-monthly-only { display: none; }

/* Bark Plus calculator */
.bark-calculator {
    max-width: 720px;
    margin: 50px auto 0;
    padding: 36px 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    text-align: left;
    scroll-margin-top: 100px;
}
.bark-calculator h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 6px;
}
.bark-calculator > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--glass-border);
}
.calc-row .calc-label { font-weight: 600; color: #fff; font-size: 0.95rem; }
.calc-row .calc-hint { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }

.calc-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 4px;
    flex-shrink: 0;
}
.calc-stepper button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.calc-stepper button:hover:not(:disabled) { background: var(--primary); }
.calc-stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.calc-stepper [data-readout] {
    min-width: 34px;
    text-align: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: #fff;
}

/* AI toggle switch */
.calc-switch { position: relative; display: inline-block; width: 52px; height: 30px; flex-shrink: 0; }
.calc-switch input { opacity: 0; width: 0; height: 0; }
.calc-switch .slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: 0.25s;
}
.calc-switch .slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    top: 4px;
    background: #fff;
    border-radius: 50%;
    transition: 0.25s;
}
.calc-switch input:checked + .slider { background: var(--primary-gradient); }
.calc-switch input:checked + .slider::before { transform: translateX(22px); }

.calc-summary {
    margin-top: 22px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
}
.calc-summary .sum-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 5px 0;
}
.calc-summary .sum-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
}
.calc-summary .sum-total span:first-child { color: #fff; font-weight: 700; }
.calc-summary #bark-total {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bark-calculator .btn-pricing { margin-top: 20px; }

/* Union Corporate inline AI add-on */
.union-addon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: left;
}
.union-addon-body { display: flex; flex-direction: column; }
.union-addon-label { font-weight: 600; color: #fff; font-size: 0.9rem; }
.union-addon-hint { font-size: 0.78rem; color: var(--text-muted); }
.union-users-row { padding: 10px 0; border-top: none; }
.union-users-row .calc-label { font-size: 0.88rem; }

/* Business bundle calculator (precos.html; shepherd_bark/business.html themes it locally) */
.biz-calc {
    max-width: 720px;
    margin: 50px auto 0;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    padding: 34px 30px;
    text-align: left;
    scroll-margin-top: 100px;
}
.biz-calc > h2, .biz-calc > h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.biz-calc > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }
.biz-calc .billing-toggle { margin-bottom: 8px; }
.biz-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-top: 1px solid var(--glass-border);
}
.biz-row .biz-label { font-weight: 600; color: #fff; font-size: 0.95rem; }
.biz-row .biz-hint { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-top: 3px; }
.biz-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 4px;
}
.biz-stepper button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s;
}
.biz-stepper button:hover:not(:disabled) { background: var(--primary); }
.biz-stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.biz-stepper [data-readout] { min-width: 40px; text-align: center; font-weight: 800; font-size: 1.05rem; color: #fff; }
.biz-switch { position: relative; display: inline-block; width: 52px; height: 30px; flex-shrink: 0; }
.biz-switch input { opacity: 0; width: 0; height: 0; }
.biz-switch .slider { position: absolute; inset: 0; cursor: pointer; background: rgba(255, 255, 255, 0.12); border-radius: 999px; transition: 0.2s; }
.biz-switch .slider::before { content: ""; position: absolute; height: 22px; width: 22px; left: 4px; bottom: 4px; background: #fff; border-radius: 50%; transition: 0.2s; }
.biz-switch input:checked + .slider { background: var(--primary-gradient); }
.biz-switch input:checked + .slider::before { transform: translateX(22px); }
.biz-summary { margin-top: 20px; padding: 18px 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); border-radius: 16px; }
.biz-sum-line { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text-muted); padding: 5px 0; }
.biz-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--glass-border); }
.biz-sum-total span:first-child { color: #fff; font-weight: 700; font-family: 'Outfit', sans-serif; }
.biz-calc #business-total {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.biz-calc #business-annual-note { font-size: 0.82rem; color: #34D399; margin-top: 8px; text-align: right; }
.biz-calc #individual-annual-note { font-size: 0.82rem; color: #34D399; margin-top: 8px; text-align: right; }
.biz-calc .btn-pricing { margin-top: 20px; width: 100%; }
@media (max-width: 560px) {
    .biz-row { flex-direction: column; align-items: stretch; }
    .biz-row .biz-stepper, .biz-row .biz-switch { align-self: flex-start; }
}

/* Plan calculator: Individual / Corporate mode switch (precos.html) */
.plan-mode-switch {
    display: flex;
    gap: 6px;
    padding: 6px;
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.plan-mode-switch button {
    flex: 1;
    padding: 12px 14px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.plan-mode-switch button:hover { color: #fff; }
.plan-mode-switch button.active {
    background: var(--primary-gradient);
    color: #fff;
}
.plan-panel-note { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 18px; }
.plan-free-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}
.plan-free-line .plan-free-name {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.plan-free-line .plan-free-name svg { width: 16px; height: 16px; color: #34D399; flex-shrink: 0; }
.plan-free-line .plan-free-tag { color: #34D399; font-weight: 700; font-size: 0.9rem; }
.biz-calc #individual-total {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Free tools */
.free-tools-section { margin-top: 90px; }
.free-tools-section .free-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.free-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 34px auto 0;
}
.free-tool-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.free-tool-card img { width: 44px; height: 44px; border-radius: 12px; }
.free-tool-card h4 { font-family: 'Outfit', sans-serif; color: #fff; font-size: 1.05rem; margin: 6px 0 0; }
.free-tool-card p { font-size: 0.85rem; color: var(--text-muted); flex-grow: 1; }
.free-tool-card a {
    margin-top: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
    text-decoration: none;
}
.free-tool-card a:hover { text-decoration: underline; }

@media (max-width: 560px) {
    .calc-row { flex-direction: column; align-items: stretch; gap: 12px; }
    .calc-row .calc-stepper, .calc-row .calc-switch { align-self: flex-start; }
    .billing-toggle { flex-wrap: wrap; justify-content: center; }
}

/* Role-Based Membership Configurator */
.role-configurator {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 40px;
    margin: 80px 0;
    text-align: center;
}

.role-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0 60px;
}

.role-card {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    user-select: none;
}

.role-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.role-card.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
    transform: scale(1.05);
}

/* Membership Section Styles */
.membership-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
#pricing { display: block; height: 0; scroll-margin-top: 90px; }

.popular-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.role-configurator-home {
    margin-top: 100px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 50px;
}

.role-configurator-home h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.role-summary-box {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.role-summary-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Adjustments for Home Role-Cards */
#role-selector-home {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .membership-summary {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Modal Dialog Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.82);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 35px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* Onboarding Modal & Form Extensions */
.alpha-disclaimer {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    background: rgba(255, 193, 7, 0.05);
    border: 1px dashed rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    text-align: center;
}

.alpha-disclaimer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.onboarding-card {
    max-width: 600px !important;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px;
    text-align: left !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.modal-header h2 { margin-bottom: 0 !important; }

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.form-group { margin-bottom: 20px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.onboarding-card label {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.8;
}

.onboarding-card input[type="text"],
.onboarding-card input[type="email"],
.onboarding-card select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    appearance: none;
}

.onboarding-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

/* Onboarding Stepper */
.stepper-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 0 20px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: scale(1.2);
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    max-width: 60px;
}

.onboarding-step {
    display: none;
    animation: fadeInSlide 0.4s ease forwards;
}

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

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

.step-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.step-actions button {
    flex: 1;
}

.btn-block { width: 100%; }

#step-subtitle {
    text-align: center;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.onboarding-card select option {
    background: #1a1a20;
    color: #fff;
}

.payment-selector { margin: 30px 0; }

.gateway-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.gateway-opt { cursor: pointer; }
.gateway-opt input { display: none; }

.opt-box {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s;
}

.gateway-opt input:checked + .opt-box {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.opt-title { font-weight: 600; color: #fff; font-size: 0.9rem; }
.opt-desc { font-size: 0.75rem; color: var(--text-muted); }
.btn-block { width: 100%; }

/* Shepherd Banners Grid (Side by Side 2-Column Layout) */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto;
    align-items: stretch;
}

@media (max-width: 868px) {
    .banners-grid {
        grid-template-columns: 1fr;
    }
}

/* Base Shared Banner Card Style */
.heat-banner, .viewer-banner {
    border-radius: 24px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

/* Shepherd Heat Banner Card */
.heat-banner {
    background: radial-gradient(circle at top center, rgba(255, 69, 0, 0.35), rgba(138, 43, 226, 0.18)), var(--card-bg);
    border: 1.5px solid #FF4500;
    box-shadow: 0 10px 35px rgba(255, 69, 0, 0.25);
}

.heat-banner:hover {
    transform: translateY(-6px);
    border-color: #FFD700;
    box-shadow: 0 20px 50px rgba(255, 69, 0, 0.45);
}

/* Shepherd Viewer Banner Card */
.viewer-banner {
    background: radial-gradient(circle at top center, rgba(0, 102, 255, 0.35), rgba(138, 43, 226, 0.18)), var(--card-bg);
    border: 1.5px solid #0066FF;
    box-shadow: 0 10px 35px rgba(0, 102, 255, 0.25);
}

.viewer-banner:hover {
    transform: translateY(-6px);
    border-color: #00D2FF;
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.45);
}

.heat-banner-content, .viewer-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.heat-banner-content h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #FF4500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.viewer-banner-content h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #0066FF, #00D2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heat-banner-content p, .viewer-banner-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.heat-banner-icon, .viewer-banner-icon {
    flex-shrink: 0;
}

.heat-banner-icon img, .viewer-banner-icon img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
}

.heat-banner-icon img {
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.4);
}

.viewer-banner-icon img {
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
}

