/* BetterWrk marketing — shared design tokens and components.
   Visual language preserved from the prior site: azure, butternut, ivory,
   Russo One wordmark, Montserrat body, glass nav, card surfaces. */

* {
    font-variant-ligatures: contextual;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F6F2F1;
    color: #0B4393;
    letter-spacing: -0.01em;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(11, 67, 147, 0.1);
    box-shadow: 0 4px 20px rgba(11, 67, 147, 0.08);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(11, 67, 147, 0.15);
    box-shadow: 0 8px 32px rgba(11, 67, 147, 0.1);
}

.card {
    background: white;
    border: 1px solid rgba(11, 67, 147, 0.12);
    box-shadow: 0 4px 16px rgba(11, 67, 147, 0.10), 0 1px 4px rgba(11, 67, 147, 0.06);
}

.card:hover {
    box-shadow: 0 8px 30px rgba(11, 67, 147, 0.16);
}

.btn-primary {
    background: #0B4393;
}

.btn-primary:hover {
    background: #083272;
}

.btn-accent {
    background: #FC7604;
}

.btn-accent:hover {
    background: #e36903;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 67, 147, 0.15);
}

.section-white { background: #F9F7F6; }
.section-ivory { background: #F6F2F1; }

.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(252, 118, 4, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(11, 67, 147, 0.05) 0%, transparent 50%);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(11, 67, 147, 0.08);
    border: 1px solid rgba(11, 67, 147, 0.15);
    color: #0B4393;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.48s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.56s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 8px;
    background: #F6F2F1;
}

::-webkit-scrollbar-thumb {
    background: #0B4393;
    border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FC7604;
    box-shadow: 0 0 0 3px rgba(252, 118, 4, 0.1);
}

.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-mobile-cta.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .sticky-mobile-cta { display: none; }
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(11, 67, 147, 0.08);
}

.compare-table th {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compare-table td {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(11, 67, 147, 0.72);
}

.compare-table .col-bw {
    background: rgba(11, 67, 147, 0.04);
    color: #0B4393;
    font-weight: 600;
}

.compare-table th.col-bw {
    background: #0B4393;
    color: #fff;
}

.compare-table tr:last-child td { border-bottom: 0; }

.module-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 67, 147, 0.08);
    color: #0B4393;
    flex-shrink: 0;
}

.module-icon.accent {
    background: rgba(252, 118, 4, 0.12);
    color: #FC7604;
}

.step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: #0B4393;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
