html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

header nav[data-section-nav] a.nav-link {
    color: #bbcac0;
    font-weight: 500;
}

header nav[data-section-nav] a.nav-link:hover {
    color: #5af0b3;
}

header nav[data-section-nav] a.nav-link.is-active {
    color: #5af0b3;
    font-weight: 600;
}

/* Shared */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.glow-effect {
    box-shadow: 0 0 20px 0px rgba(16, 185, 129, 0.35);
}

.gradient-text {
    background: linear-gradient(to right, #34d399, #10b981, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.waveform-bar {
    animation: pulse 1s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { height: 10px; }
    100% { height: 40px; }
}

/* Home page */

@media (prefers-reduced-motion: no-preference) {
    .animate-pulse-ring {
        animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    .animate-spin-slow {
        animation: spin 8s linear infinite;
    }
    .animate-counter-spin {
        animation: spin 8s linear infinite reverse;
    }
    .animate-waveform {
        animation: waveform 1s infinite alternate ease-in-out;
    }
    .animate-float {
        animation: float 6s ease-in-out infinite;
    }
}

@keyframes pulse-ring {
    0% { transform: scale(0.85); opacity: 0.35; }
    100% { transform: scale(1.1); opacity: 0; }
}

@keyframes waveform {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

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

.conic-gradient-border {
    background: conic-gradient(#34d399, #10b981, #0f766e, #34d399);
    padding: 3px;
}

.hover-jump {
    transition: all 0.3s ease-out;
}

.hover-jump:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Hotel page */

.page-industry .glow-effect {
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.15);
}

.page-industry .gradient-text {
    background: linear-gradient(135deg, #34d399 0%, #74cac0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-industry .waveform-bar {
    width: 4px;
    background: linear-gradient(to top, #34d399, #74cac0);
    border-radius: 2px;
    animation: pulse-wave 1.5s infinite ease-in-out alternate;
}

.glass-card {
    background: rgba(39, 42, 50, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #32343d;
}

.btn-primary {
    background: linear-gradient(135deg, #006c4b 0%, #00a572 100%);
    border: 1px solid #10b981;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #494552;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.05);
}

@keyframes pulse-wave {
    0% { height: 10px; }
    100% { height: 30px; }
}

.call-widget-container {
    --primary: #34d399;
    --primary-glow: rgba(52, 211, 153, 0.15);
    --surface: #11131b;
    --card: #0C1021;
    --border: #1E2545;
    --text-primary: #e1e1ed;
    --text-muted: #85948b;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--primary);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ring-pulse 3s ease-out infinite;
}

.pulse-ring:nth-child(1) { width: 140px; height: 140px; animation-delay: 0s; }
.pulse-ring:nth-child(2) { width: 170px; height: 170px; animation-delay: 0.6s; }
.pulse-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1.2s; }

@keyframes ring-pulse {
    0% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.85); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

.avatar-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(
        var(--primary) 0deg,
        #74cac0 90deg,
        #90e6dc 180deg,
        #5af0b3 270deg,
        var(--primary) 360deg
    );
    z-index: 1;
    animation: ring-rotate 8s linear infinite;
}

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

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: ring-counter-rotate 8s linear infinite;
}

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

.waveform-live {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 30px;
}

.waveform-live .bar {
    width: 3px;
    border-radius: 2px;
    background: var(--primary);
    animation: wave-bar 1.2s ease-in-out infinite;
}

.waveform-live .bar:nth-child(1)  { height: 8px;  animation-delay: 0.0s; }
.waveform-live .bar:nth-child(2)  { height: 14px; animation-delay: 0.1s; }
.waveform-live .bar:nth-child(3)  { height: 24px; animation-delay: 0.15s; }
.waveform-live .bar:nth-child(4)  { height: 16px; animation-delay: 0.2s; }
.waveform-live .bar:nth-child(5)  { height: 28px; animation-delay: 0.25s; opacity: 0.9; }
.waveform-live .bar:nth-child(6)  { height: 20px; animation-delay: 0.3s; }
.waveform-live .bar:nth-child(7)  { height: 30px; animation-delay: 0.35s; }
.waveform-live .bar:nth-child(8)  { height: 14px; animation-delay: 0.4s; }
.waveform-live .bar:nth-child(9)  { height: 24px; animation-delay: 0.45s; opacity: 0.85; }
.waveform-live .bar:nth-child(10) { height: 12px; animation-delay: 0.5s; }

@keyframes wave-bar {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.float-badge {
    animation: float-badge 5s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pulse-dot {
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

.book-demo-status {
    margin: 0;
    font-size: 14px;
    color: #4edea3;
}

.book-demo-status.is-error {
    color: #ffb4ab;
}

.book-demo-form [type="submit"]:disabled {
    opacity: 0.65;
    cursor: wait;
}
