/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --bd-bg: #f3f4ff;
    --bd-bg-soft: #f9fafb;
    --bd-card: #ffffff;
    --bd-card-soft: #ffffff;
    --bd-border: rgba(148, 163, 184, 0.35);
    --bd-primary: #2563eb;
    --bd-primary-soft: rgba(37, 99, 235, 0.08);
    --bd-accent: #22c55e;
    --bd-text: #0f172a;
    --bd-muted: #6b7280;
    --bd-radius-lg: 20px;
    --bd-radius-xl: 26px;
    --bd-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

:root[data-theme="dark"] {
    --bd-bg: #030712;
    --bd-bg-soft: #020617;
    --bd-card: rgba(15, 23, 42, 0.94);
    --bd-card-soft: rgba(15, 23, 42, 0.9);
    --bd-border: rgba(148, 163, 184, 0.5);
    --bd-primary: #38bdf8;
    --bd-primary-soft: rgba(56, 189, 248, 0.16);
    --bd-accent: #22c55e;
    --bd-text: #e5e7eb;
    --bd-muted: #9ca3af;
    --bd-shadow: 0 24px 80px rgba(15, 23, 42, 0.85);
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-down-from-top {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-out {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes rotate-in {
    from { opacity: 0; transform: rotate(-5deg) scale(0.95); }
    to { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.6); }
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

@keyframes float-3d {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg) rotateX(0deg); }
    33% { transform: translate3d(30px, -30px, 50px) rotateY(120deg) rotateX(20deg); }
    66% { transform: translate3d(-30px, 30px, -50px) rotateY(240deg) rotateX(-20deg); }
}

@keyframes float-3d-reverse {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg) rotateX(0deg); }
    33% { transform: translate3d(-40px, 40px, 60px) rotateY(-120deg) rotateX(-15deg); }
    66% { transform: translate3d(40px, -40px, -60px) rotateY(-240deg) rotateX(15deg); }
}

@keyframes rotate-3d {
    from { transform: rotateY(0deg) rotateX(0deg); }
    to { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes depth-pulse {
    0%, 100% { transform: translateZ(0) scale(1); opacity: 0.3; }
    50% { transform: translateZ(100px) scale(1.1); opacity: 0.6; }
}

@keyframes hero-glow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12), 0 0 0 0 rgba(37, 99, 235, 0.4), inset 0 0 60px rgba(37, 99, 235, 0.05);
    }
    50% {
        box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18), 0 0 40px rgba(37, 99, 235, 0.6), inset 0 0 80px rgba(37, 99, 235, 0.1);
    }
}

@keyframes hero-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes hero-border-glow {
    0%, 100% {
        border-color: rgba(37, 99, 235, 0.3);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), inset 0 0 0 0 rgba(37, 99, 235, 0);
    }
    50% {
        border-color: rgba(37, 99, 235, 0.6);
        box-shadow: 0 0 30px rgba(37, 99, 235, 0.4), inset 0 0 30px rgba(37, 99, 235, 0.1);
    }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-5px) rotateX(1deg) rotateY(-1deg); }
    50% { transform: translateY(-8px) rotateX(0deg) rotateY(0deg); }
    75% { transform: translateY(-5px) rotateX(-1deg) rotateY(1deg); }
}

@keyframes hero-particles {
    0% { transform: translate(0, 0) scale(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(var(--tx, 100px), var(--ty, -100px)) scale(1); opacity: 0; }
}

/* ============================================
   BODY & BACKGROUND
   ============================================ */
body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.16), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.16), transparent 55%),
        var(--bd-bg);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    color: var(--bd-text);
    min-height: 100vh;
    transition: background-color .3s ease, color .3s ease, background .4s ease;
    overflow-x: hidden;
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.14), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(129, 140, 248, 0.14), transparent 55%),
        var(--bd-bg);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

body::before,
body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    z-index: 0;
    transform: translateZ(0);
}

body::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float-3d 20s ease-in-out infinite;
    transform-style: preserve-3d;
}

body::after {
    width: 250px;
    height: 250px;
    bottom: 15%;
    right: 8%;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.12), rgba(34, 197, 94, 0.1));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    filter: blur(35px);
    animation: float-3d-reverse 25s ease-in-out infinite;
    transform-style: preserve-3d;
}

:root[data-theme="dark"] body::before {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%);
    filter: blur(50px);
}

:root[data-theme="dark"] body::after {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(34, 197, 94, 0.12));
    filter: blur(45px);
}

/* ============================================
   BACKGROUND 3D PARTICLES
   ============================================ */
.bg-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    perspective: 1200px;
    will-change: transform;
    transform: translateZ(0);
}

.bg-3d-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent);
    filter: blur(2px);
    animation: float-3d 15s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.bg-3d-particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 20%;
    animation-duration: 18s;
}

.bg-3d-particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-duration: 20s;
    animation-delay: -3s;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15), transparent);
}

.bg-3d-particle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-duration: 22s;
    animation-delay: -6s;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.18), transparent);
}

.bg-3d-particle:nth-child(4) {
    width: 70px;
    height: 70px;
    top: 40%;
    right: 25%;
    animation-duration: 16s;
    animation-delay: -9s;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent);
}

:root[data-theme="dark"] .bg-3d-particle {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent);
    filter: blur(3px);
}

:root[data-theme="dark"] .bg-3d-particle:nth-child(2) {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2), transparent);
}

:root[data-theme="dark"] .bg-3d-particle:nth-child(3) {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.22), transparent);
}

:root[data-theme="dark"] .bg-3d-particle:nth-child(4) {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
}


.js .hero-main.reveal {
    opacity: 0;
    transform: scale(0.7);
}

.js .pricing-wrapper.reveal,
.js .pricing-card.reveal {
    opacity: 0;
    transform: scale(0.7);
}

.js .reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fade-in-up 0.6s ease-out forwards;
}

.js .top-nav.reveal {
    opacity: 0;
    transform: translateY(-100%);
}

.js .top-nav.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    animation: slide-down-from-top 0.6s ease-out forwards;
}

.js .hero-main.reveal.reveal-visible {
    opacity: 1;
    transform: scale(1);
    animation: scale-out 0.8s ease-out forwards !important;
}

.js .pricing-wrapper.reveal.reveal-visible,
.js .pricing-card.reveal.reveal-visible {
    opacity: 1;
    animation: scale-out 0.6s ease-out forwards;
}

@media (min-width: 961px) {
    .js .pricing-card.reveal.reveal-visible {
        animation: none;
    }
}

/* ============================================
   PAGE SHELL
   ============================================ */
.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.2rem 0.75rem 3.5rem;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.page-shell::before,
.page-shell::after {
    content: '';
    position: absolute;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    z-index: -1;
    transform: translateZ(0);
}

.page-shell::before {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -5%;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: blur(30px);
    animation: float-3d 18s ease-in-out infinite;
    animation-delay: -5s;
    transform-style: preserve-3d;
}

.page-shell::after {
    width: 180px;
    height: 180px;
    bottom: 25%;
    left: -3%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1), transparent);
    border-radius: 20px;
    filter: blur(25px);
    animation: float-3d-reverse 22s ease-in-out infinite;
    animation-delay: -8s;
    transform-style: preserve-3d;
}

/* ============================================
   NAVIGATION
   ============================================ */
.top-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(18px);
    background: rgba(249, 250, 251, 0.92);
    position: sticky;
    top: .75rem;
    z-index: 30;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transition: transform .25s ease, opacity .2s ease;
}

.top-nav.nav-hidden {
    transform: translateY(-130%);
    opacity: 0;
}

:root[data-theme="dark"] .top-nav {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.calendly-overlay ~ * .top-nav,
body .calendly-overlay ~ * .top-nav {
    z-index: 999998 !important;
}

.calendly-overlay {
    pointer-events: auto !important;
}

.calendly-popup-content * {
    pointer-events: auto !important;
}

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

.nav-row-top {
    gap: .75rem;
}

.nav-row-bottom {
    gap: .6rem;
}

.brand-mark {
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-burger {
    border: none;
    background: transparent;
    padding: .25rem .4rem;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--bd-text);
    flex-shrink: 0;
}

:root[data-theme="dark"] .nav-burger {
    color: #e5e7eb;
}

.theme-toggle {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(249, 250, 251, 0.95);
    padding: .3rem .6rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    cursor: pointer;
    color: var(--bd-muted);
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.theme-toggle:hover {
    background: rgba(249, 250, 251, 1);
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.theme-toggle:active {
    transform: translateY(0) scale(1.02);
}

:root[data-theme="dark"] .theme-toggle {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

:root[data-theme="dark"] .theme-toggle:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px) scale(1.05);
}

:root[data-theme="dark"] .theme-toggle:active {
    transform: translateY(0) scale(1.02);
}

.theme-toggle-icon {
    font-size: .9rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-toggle-icon {
    animation: spin-slow 2s linear infinite;
}

.nav-pill-primary {
    border-radius: 999px;
    padding: .4rem .95rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: linear-gradient(120deg, #2563eb, #0ea5e9);
    background-size: 200% 200%;
    color: #ffffff !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    box-shadow: 0 12px 34px rgba(37, 99, 235, 0.4);
    white-space: nowrap;
    font-size: .82rem;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-pill-primary > * {
    position: relative;
    z-index: 2;
}

.nav-pill-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
    z-index: 1;
}

.nav-pill-primary:hover::before {
    left: 100%;
}

.nav-pill-primary i {
    font-size: .9rem;
    animation: bounce-subtle 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.nav-pill-primary:hover {
    background: linear-gradient(120deg, #2563eb, #0ea5e9);
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px) scale(1.06);
}

.nav-pill-primary:active {
    transform: translateY(0) scale(1.03);
}

:root[data-theme="dark"] .nav-pill-primary:hover {
    background: linear-gradient(120deg, #2563eb, #0ea5e9);
    box-shadow: 0 20px 52px rgba(37, 99, 235, 0.7);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .8rem;
}

.nav-links a {
    padding: .35rem .8rem;
    border-radius: 999px;
    color: var(--bd-muted);
    transition: background .15s ease, color .15s ease;
}

.nav-links a:not(.nav-pill-primary):hover {
    background: rgba(229, 231, 235, 0.8);
    color: var(--bd-text);
}

:root[data-theme="dark"] .nav-links a:not(.nav-pill-primary):hover {
    background: rgba(31, 41, 55, 0.9);
    color: #e5e7eb;
}

.nav-cta-desktop {
    display: inline-flex;
}

.nav-cta-mobile {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 1.6rem;
    position: relative;
    z-index: 1;
}

.hero-main {
    padding: 1.6rem 1.5rem 1.8rem;
    border-radius: var(--bd-radius-xl);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 60%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.06), transparent 50%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        var(--bd-card);
    background-size: 200% 200%, 150% 150%, 100% 100%, 100% 100%;
    border: 2px solid var(--bd-border);
    box-shadow: var(--bd-shadow), 0 0 0 0 rgba(37, 99, 235, 0), inset 0 0 60px rgba(37, 99, 235, 0.05);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: gradient-shift 8s ease infinite, hero-glow 4s ease-in-out infinite, hero-float 6s ease-in-out infinite, hero-border-glow 3s ease-in-out infinite;
    will-change: transform, box-shadow;
    cursor: default;
    counter-reset: particle;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: hero-shimmer 3s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    border-radius: var(--bd-radius-xl);
}

.hero-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 130% 0%, rgba(248, 250, 252, 0.6), transparent 55%), radial-gradient(circle at -30% 100%, rgba(37, 99, 235, 0.1), transparent 60%);
    opacity: .4;
    pointer-events: none;
    animation: float 6s ease-in-out infinite, pulse 4s ease-in-out infinite;
    z-index: 0;
    border-radius: var(--bd-radius-xl);
    counter-increment: particle;
}

.hero-main:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-1deg) scale(1.01);
    box-shadow: 0 35px 90px rgba(15, 23, 42, 0.2), 0 0 60px rgba(37, 99, 235, 0.5), inset 0 0 100px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.6);
}

:root[data-theme="dark"] .hero-main {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.15), transparent 50%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        var(--bd-card);
    background-size: 200% 200%, 150% 150%, 100% 100%, 100% 100%;
    animation: gradient-shift 8s ease infinite, hero-glow 4s ease-in-out infinite, hero-float 6s ease-in-out infinite, hero-border-glow 3s ease-in-out infinite;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.85), 0 0 0 0 rgba(56, 189, 248, 0), inset 0 0 60px rgba(56, 189, 248, 0.1);
}

:root[data-theme="dark"] .hero-main::before {
    background: linear-gradient(45deg, transparent 30%, rgba(56, 189, 248, 0.15) 50%, transparent 70%);
    opacity: 0.8;
}

:root[data-theme="dark"] .hero-main::after {
    opacity: .15;
}

:root[data-theme="dark"] .hero-main:hover {
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.95), 0 0 70px rgba(56, 189, 248, 0.6), inset 0 0 120px rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
}

.hero-kicker {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bd-muted);
    margin-bottom: .4rem;
}

.hero-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.2rem;
}

.hero-tag {
    font-size: .73rem;
    border-radius: 999px;
    padding: .22rem .7rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(248, 250, 251, 0.95);
    color: var(--bd-muted);
    animation: scale-in 0.5s ease-out;
    animation-fill-mode: both;
}

.hero-tag:nth-child(1) { animation-delay: 0.1s; }
.hero-tag:nth-child(2) { animation-delay: 0.2s; }
.hero-tag:nth-child(3) { animation-delay: 0.3s; }

:root[data-theme="dark"] .hero-tag {
    background: rgba(15, 23, 42, 0.95);
}

.hero-title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    letter-spacing: -.05em;
    font-weight: 600;
    margin-bottom: .6rem;
    color: var(--bd-text);
}

.hero-title span {
    display: inline-block;
    animation: fade-in-up 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-title span:nth-child(1) { animation-delay: 0.1s; }
.hero-title span:nth-child(2) { animation-delay: 0.3s; }
.hero-title span:nth-child(3) { animation-delay: 0.5s; }

.hero-highlight {
    background: linear-gradient(120deg, #2563eb, #0ea5e9, #22c55e);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 3s ease infinite;
    display: inline-block;
}

.hero-subtitle {
    font-size: .95rem;
    color: var(--bd-muted);
    max-width: 520px;
    margin-bottom: 1.3rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-items: center;
    margin-bottom: 1.3rem;
}

.btn-primary-ghost {
    border-radius: 999px;
    padding: .7rem 1.4rem;
    font-size: .85rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.4);
    background: linear-gradient(120deg, #2563eb, #0ea5e9);
    background-size: 200% 200%;
    color: #f9fafb;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.4);
    transition: background .18s ease, box-shadow .18s ease, transform .15s ease;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.btn-primary-ghost::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-ghost:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary-ghost i {
    font-size: .92rem;
    animation: bounce-subtle 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.btn-primary-ghost:hover {
    background: linear-gradient(120deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary-ghost {
    border-radius: 999px;
    padding: .65rem 1.2rem;
    font-size: .83rem;
    font-weight: 400;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(249, 250, 251, 0.95);
    color: var(--bd-muted);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

:root[data-theme="dark"] .btn-secondary-ghost {
    background: rgba(15, 23, 42, 0.95);
}

.btn-secondary-ghost:hover {
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--bd-text);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

:root[data-theme="dark"] .btn-secondary-ghost:hover {
    border-color: rgba(148, 163, 184, 0.9);
    color: #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: .78rem;
    color: var(--bd-muted);
}

.hero-meta-block span {
    display: block;
}

.hero-meta-label {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .7rem;
    color: #9ca3af;
    margin-bottom: .15rem;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.radar-card,
.signal-card {
    border-radius: var(--bd-radius-lg);
    padding: 1.1rem 1.1rem 1.2rem;
    background: var(--bd-card-soft);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.js .radar-card.reveal,
.js .signal-card.reveal {
    opacity: 0;
    transform: scale(0.7);
}

.js .radar-card.reveal.reveal-visible,
.js .signal-card.reveal.reveal-visible {
    opacity: 1;
    transform: scale(1);
    animation: scale-out 0.8s ease-out forwards;
}

:root[data-theme="dark"] .radar-card,
:root[data-theme="dark"] .signal-card {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.radar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .6rem;
}

.radar-title {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bd-muted);
}

.radar-pill {
    font-size: .7rem;
    border-radius: 999px;
    padding: .15rem .6rem;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: rgba(239, 246, 255, 0.9);
    color: #1d4ed8;
}

:root[data-theme="dark"] .radar-pill {
    background: rgba(15, 23, 42, 0.95);
    color: #e0f2fe;
    border-color: rgba(56, 189, 248, 0.6);
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
    margin-bottom: .5rem;
}

.radar-item {
    border-radius: 12px;
    padding: .6rem .55rem;
    background: #f9fafb;
    border: 1px solid rgba(191, 219, 254, 0.9);
}

:root[data-theme="dark"] .radar-item {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(30, 64, 175, 0.8);
}

.radar-label {
    font-size: .7rem;
    color: var(--bd-muted);
}

.radar-value {
    font-size: .9rem;
    font-weight: 600;
    color: var(--bd-text);
}

.radar-chip {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .68rem;
    border-radius: 999px;
    padding: .15rem .45rem;
    margin-top: .25rem;
    background: #1d4ed8;
    color: #eff6ff;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

:root[data-theme="dark"] .radar-chip {
    background: rgba(30, 64, 175, 0.9);
    color: #dbeafe;
}

.signal-row {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: .8rem;
    color: var(--bd-muted);
}

.signal-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.signal-badge {
    border-radius: 999px;
    padding: .18rem .6rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: .74rem;
    background: rgba(249, 250, 251, 0.95);
}

:root[data-theme="dark"] .signal-badge {
    background: rgba(15, 23, 42, 0.95);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    margin-top: 3.2rem;
}

.section-header {
    margin-bottom: 1.6rem;
}

.section-kicker {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--bd-muted);
    margin-bottom: .35rem;
    animation: fade-in-up 0.6s ease-out;
    animation-fill-mode: both;
}

.section-title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.4rem;
    letter-spacing: -.03em;
    margin-bottom: .35rem;
    color: var(--bd-text);
    animation: fade-in-up 0.6s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.1s;
}

.section-subtitle {
    font-size: .85rem;
    color: var(--bd-muted);
    max-width: 580px;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-wrapper {
    border-radius: var(--bd-radius-xl);
    padding: 1.4rem 1.4rem 1.3rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 18px 55px rgba(148, 163, 184, 0.3);
}

:root[data-theme="dark"] .pricing-wrapper {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.7);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    perspective: 1200px;
    perspective-origin: center center;
}

.pricing-card {
    border-radius: 20px;
    padding: 1.2rem 1.1rem 1.3rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: transform .3s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

:root[data-theme="dark"] .pricing-card {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(55, 65, 81, 0.9);
}

.pricing-badge {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #2563eb;
    animation: glow 2s ease-in-out infinite;
    display: block;
    text-align: center;
}

:root[data-theme="dark"] .pricing-badge {
    color: #bfdbfe;
}

.pricing-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bd-text);
    text-align: center;
}

.pricing-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bd-text);
}

.pricing-price span {
    font-size: .8rem;
    font-weight: 400;
    color: var(--bd-muted);
}

.pricing-text {
    font-size: .84rem;
    color: var(--bd-muted);
}

.pricing-list {
    list-style: none;
    padding-left: 0;
    margin: .4rem 0 .6rem;
    font-size: .8rem;
    color: var(--bd-muted);
}

.pricing-list li {
    display: flex;
    gap: .35rem;
    margin-bottom: .25rem;
}

.pricing-list li::before {
    content: "✓";
    color: var(--bd-accent);
    font-size: .8rem;
    margin-top: .05rem;
}

.pricing-cta {
    margin-top: auto;
    font-size: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #2563eb;
}

:root[data-theme="dark"] .pricing-cta {
    color: #e0f2fe;
}

.pricing-cta i {
    font-size: .85rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.pricing-cta:hover i {
    animation: wiggle 0.5s ease-in-out;
    transform: translateX(4px);
}

/* ============================================
   STUDIO CARDS
   ============================================ */
.studio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.05fr);
    gap: 1.3rem;
}

.studio-card {
    border-radius: var(--bd-radius-xl);
    padding: 1.4rem 1.35rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 12px 40px rgba(148, 163, 184, 0.35);
    transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
    position: relative;
    overflow: hidden;
}

.studio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s;
}

.studio-card:hover::before {
    left: 100%;
}

:root[data-theme="dark"] .studio-card {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(75, 85, 99, 0.9);
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.9);
}

.studio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(148, 163, 184, 0.32);
    border-color: rgba(37, 99, 235, 0.35);
}

:root[data-theme="dark"] .studio-card:hover {
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
    border-color: rgba(56, 189, 248, 0.55);
}

.studio-title {
    font-size: .96rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--bd-text);
}

.studio-text {
    font-size: .85rem;
    color: var(--bd-muted);
}

.studio-list {
    list-style: none;
    padding-left: 0;
    margin: .7rem 0 0;
    font-size: .85rem;
    color: var(--bd-muted);
}

.studio-list li {
    display: flex;
    gap: .4rem;
    margin-bottom: .4rem;
}

.studio-list li::before {
    content: "•";
    color: var(--bd-primary);
    margin-top: .05rem;
}

.services-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.stack-list {
    list-style: none;
    padding-left: 0;
    margin: .7rem 0 0;
    font-size: .84rem;
    color: var(--bd-muted);
}

.stack-list li {
    margin-bottom: .35rem;
}

.stack-list strong {
    color: var(--bd-text);
}

.link-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .8rem;
    font-size: .8rem;
    border-radius: 999px;
    padding: .4rem .9rem;
    border: 1px solid rgba(156, 163, 175, 0.9);
    color: var(--bd-muted);
    background: #f9fafb;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .15s ease, box-shadow .15s ease;
}

:root[data-theme="dark"] .link-pill {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(75, 85, 99, 0.9);
    color: #e5e7eb;
}

.link-pill:hover {
    border-color: rgba(37, 99, 235, 0.55);
    color: #1d4ed8;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(148, 163, 184, 0.35);
}

:root[data-theme="dark"] .link-pill:hover {
    border-color: rgba(56, 189, 248, 0.8);
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.3rem;
}

.contact-main {
    border-radius: var(--bd-radius-xl);
    padding: 1.5rem 1.4rem 1.6rem;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.12), transparent 55%), #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 18px 55px rgba(148, 163, 184, 0.35);
}

:root[data-theme="dark"] .contact-main {
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.2), transparent 55%), rgba(15, 23, 42, 0.96);
    border-color: rgba(75, 85, 99, 0.9);
    box-shadow: 0 22px 65px rgba(15, 23, 42, 0.9);
}

.contact-title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.35rem;
    letter-spacing: -.03em;
    margin-bottom: .4rem;
    color: var(--bd-text);
}

.contact-text {
    font-size: .87rem;
    color: var(--bd-muted);
    margin-bottom: .8rem;
}

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .9rem;
}

.contact-chip {
    border-radius: 999px;
    padding: .28rem .7rem;
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: .78rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #f9fafb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: scale-in 0.5s ease-out;
    animation-fill-mode: both;
}

.contact-chip:nth-child(1) { animation-delay: 0.1s; }
.contact-chip:nth-child(2) { animation-delay: 0.2s; }
.contact-chip:nth-child(3) { animation-delay: 0.3s; }

.contact-chip:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    animation: bounce-subtle 0.5s ease-in-out;
}

:root[data-theme="dark"] .contact-chip {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(75, 85, 99, 0.9);
}

.contact-lines p {
    margin: 0 0 .25rem;
    font-size: .86rem;
    color: var(--bd-text);
}

.contact-lines a {
    color: #2563eb;
    position: relative;
    transition: color 0.3s ease;
}

.contact-lines a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    transition: width 0.3s ease;
}

.contact-lines a:hover::after {
    width: 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

:root[data-theme="dark"] .contact-lines a {
    color: #e0f2fe;
}

.contact-lines a:hover {
    color: #1d4ed8;
}

:root[data-theme="dark"] .contact-lines a:hover {
    color: #f9fafb;
}

.legal-card {
    border-radius: var(--bd-radius-xl);
    padding: 1.3rem 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: .82rem;
    color: var(--bd-muted);
    box-shadow: 0 12px 40px rgba(148, 163, 184, 0.35);
}

:root[data-theme="dark"] .legal-card {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(75, 85, 99, 0.9);
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.9);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    margin-top: 2.7rem;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
    padding-top: 1rem;
    font-size: .78rem;
    color: var(--bd-muted);
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    flex-wrap: wrap;
}

:root[data-theme="dark"] footer {
    border-top-color: rgba(31, 41, 55, 0.9);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 22px;
    right: 22px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
    animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform;
}

body.calendly-open .whatsapp-float,
html.calendly-open .whatsapp-float {
    z-index: 999998 !important;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    color: #fff;
}

/* ============================================
   CALENDLY STYLES
   ============================================ */
.calendly-overlay {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.calendly-popup-content,
.calendly-popup-content-wrapper,
.calendly-popup {
    z-index: 1000000 !important;
    position: fixed !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.calendly-popup-content iframe,
.calendly-popup iframe,
.calendly-popup-content-wrapper iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (max-width: 960px) {
    .brand-logo-img {
        height: 28px;
    }

    .top-nav {
        gap: .35rem;
    }

    .theme-toggle {
        padding: .3rem .35rem;
        gap: 0;
    }

    .theme-toggle #themeLabel {
        display: none;
    }

    .nav-row-bottom {
        display: flex;
    }

    .nav-burger {
        display: inline-flex;
    }

    .nav-cta-mobile {
        display: inline-flex;
        flex: 1 1 auto;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        left: .75rem;
        right: .75rem;
        top: calc(100% + .35rem);
        margin-top: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
        border: 1px solid rgba(209, 213, 219, 0.9);
        padding: .45rem .5rem .5rem;
        box-shadow: 0 14px 45px rgba(15, 23, 42, 0.15);
    }

    :root[data-theme="dark"] .nav-links {
        background: rgba(15, 23, 42, 0.96);
        border-color: rgba(75, 85, 99, 0.9);
        box-shadow: 0 18px 55px rgba(15, 23, 42, 0.9);
    }

    .nav-links a {
        width: 100%;
        padding: .35rem .65rem;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-cta-desktop {
        display: none;
    }

    .hero {
        margin-top: 1.8rem;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1.2rem;
    }

    .hero-actions {
        gap: .6rem;
    }

    .hero-meta {
        gap: .9rem;
    }

    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
        perspective: none;
    }

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(148, 163, 184, 0.35);
        border-color: rgba(37, 99, 235, 0.5);
    }

    :root[data-theme="dark"] .pricing-card:hover {
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
        border-color: rgba(56, 189, 248, 0.7);
    }

    .studio-grid,
    .services-grid,
    .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 18px;
        right: 18px;
        font-size: 28px;
    }
}

@media (min-width: 961px) {
    .top-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nav-row-bottom {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .calendly-popup {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 1200px !important;
        height: 800px !important;
        max-width: calc(100vw - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        min-width: 800px !important;
        min-height: 600px !important;
    }

    .calendly-popup-content,
    .calendly-popup-content-wrapper {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
    }

    .calendly-popup-content iframe,
    .calendly-popup iframe {
        min-width: 800px !important;
        min-height: 600px !important;
    }

    body.calendly-open,
    html.calendly-open {
        overflow: hidden !important;
    }

    .pricing-grid .pricing-card:first-child {
        transform: rotateY(18deg);
        transform-origin: left center;
        transform-style: preserve-3d;
    }

    .pricing-grid .pricing-card:last-child {
        transform: rotateY(-18deg);
        transform-origin: right center;
        transform-style: preserve-3d;
    }

    .pricing-grid .pricing-card:first-child:hover {
        transform: rotateY(10deg) translateY(-4px);
        box-shadow: 0 20px 60px rgba(148, 163, 184, 0.35);
        border-color: rgba(37, 99, 235, 0.5);
    }

    .pricing-grid .pricing-card:last-child:hover {
        transform: rotateY(-10deg) translateY(-4px);
        box-shadow: 0 20px 60px rgba(148, 163, 184, 0.35);
        border-color: rgba(37, 99, 235, 0.5);
    }

    .pricing-grid .pricing-card:nth-child(2) {
        transform: scale(1);
        transform-style: preserve-3d;
    }

    .pricing-grid .pricing-card:nth-child(2):hover {
        transform: scale(1.05) translateY(-4px);
        box-shadow: 0 20px 60px rgba(148, 163, 184, 0.35);
        border-color: rgba(37, 99, 235, 0.5);
        z-index: 10;
        position: relative;
    }

    :root[data-theme="dark"] .pricing-grid .pricing-card:first-child:hover,
    :root[data-theme="dark"] .pricing-grid .pricing-card:last-child:hover,
    :root[data-theme="dark"] .pricing-grid .pricing-card:nth-child(2):hover {
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
        border-color: rgba(56, 189, 248, 0.7);
    }
}

@media (min-width: 1400px) {
    .page-shell {
        max-width: 1320px;
    }
}
