html {
    overflow-x: clip;
    overflow-y: auto;
    height: 100%;
}

body {
    overflow-x: clip;
    overflow-y: visible;
    min-height: 100%;
    margin: 0;
    background-color: #ffffff;
    background-image: radial-gradient(100% 40% at 50% 0%, #fdf0e6 0%, #ffffff 100%);
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Nav Pill remains high-contrast for visibility against the new intensity */
.nav-pill {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.04);
}

#sticky-notch-bar {
    position: sticky;
    top: 0;
    height: 3.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
}

#sticky-notch-bar > div {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

#sticky-notch-bar.is-stuck {
    height: 5.5rem;
    background: rgba(246, 245, 239, 0.98);
    border-bottom: none;
    position: sticky;
    padding-top: 7px;
}

#sticky-notch-bar.is-stuck > div {
    transform: translateY(6px);
}

#sticky-notch-bar.is-stuck::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

#sticky-notch-bar.is-stuck::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

/* Chrome, Safari and Opera hide scrollbar */
body::-webkit-scrollbar {
    /* display: none; */
}
/* Pill nav styles */


/* Bento Glass Cards */
.bento-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 32px 60px -15px rgba(0,0,0,0.06);
}

/* AI Prompt Layout States */
.intro-state {
    transform: translate(-50%, calc(50vh - 54rem)) scale(1.05) !important;
}
.docked-state {
    transform: translate(-50%, 0) scale(1) !important;
}

/* Animations */
.pop-in {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes popIn {
    0% { transform: scale(0.9) translateY(4px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.fade-slide-up {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeSlideUp {
    0% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.fade-out {
    animation: fadeOut 0.4s ease-out forwards;
}
@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.98); }
}
.typing-cursor::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background-color: #d1d5db;
    vertical-align: text-bottom;
    margin-left: 4px;
    animation: blink 1s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* OS Simulation Specifics */
.os-window-anim {
    animation: osWinPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}
@keyframes osWinPop {
    0% { transform: scale(0.97) translateY(10px); opacity: 0; box-shadow: 0 0 0 rgba(0,0,0,0); }
    100% { transform: scale(1) translateY(0); opacity: 1; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15); }
}

/* The human-like cursor transition */
.human-cursor-move {
    transition: left 0.7s cubic-bezier(0.25, 1, 0.35, 1), 
                top 0.7s cubic-bezier(0.25, 1, 0.35, 1);
    will-change: left, top;
}

/* Inline Chip Styles */
.inline-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    vertical-align: baseline;
    margin: 0 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    opacity: 0; /* for animation */
}

/* Subtle grid pattern for OS background */
.os-bg-grid {
    background-size: 24px 24px;
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
}

/* Feature Showcase Utilities */
.feature-container {
    perspective: 1000px;
}

.feature-visual {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.feature-text-block.active {
    opacity: 1;
    transform: translateX(0);
}

.feature-text-block:not(.active) {
    opacity: 0.2;
    transform: translateX(-10px);
}

/* Animation for page entry */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-wrapper {
    animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

