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

:root {
    --bg-primary: #f5f0e8;
    --bg-secondary: #f4ede4;
    --bg-tertiary: #ede5d8;
    --bg-gradient-start: #f5f0e8;
    --bg-gradient-end: #faf7f2;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.15);
    --text-primary: #2a2a2a;
    --text-secondary: #5a5a5a;
    --text-muted: #6a6a6a;
    --accent: #4a4a4a;
    --accent-hover: #3a3a3a;
    --accent-light: rgba(74, 74, 74, 0.1);
    --accent-gradient: linear-gradient(135deg, #4a4a4a 0%, #5a5a5a 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --layout-max-width: 1120px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 50%, #f0ebe0 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.desktop {
    min-height: 100vh;
    position: relative;
    padding: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.window {
    background: rgba(255, 250, 245, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin: 0 auto;
    max-width: var(--layout-max-width);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.title-bar {
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.95) 0%, rgba(250, 245, 240, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.title-bar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.title-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.title-bar-logo {
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
}

.title-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.title-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.window-controls {
    display: flex;
    gap: var(--spacing-xs);
}

.control-button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
    font-size: 18px;
    position: relative;
}

.control-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.control-button:hover::before {
    opacity: 1;
    background: rgba(0, 0, 0, 0.12);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.language-switch a {
    text-decoration: none;
    color: inherit;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.language-switch a[aria-current="page"] {
    background: var(--accent-light);
    color: var(--text-primary);
    font-weight: 600;
}

.language-switch a:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.08);
}

.language-switch-divider {
    color: var(--border-color);
}

.control-button:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

.window-content {
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: transparent;
    position: relative;
}

.header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.app-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-weight: 400;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 74, 74, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.screenshot-section {
    flex: 1;
    text-align: center;
    width: 100%;
}

.screenshot-placeholder {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
    aspect-ratio: var(--screenshot-aspect, 16 / 9);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    transition: all var(--transition-base);
}

.screenshot-hero {
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.screenshot-hero::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.2));
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
    animation: shimmer 3s ease-in-out infinite;
}

.screenshot-hero:hover::before {
    opacity: 1;
}

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

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

@keyframes cardIdle {
    0%, 100% {
        transform: translate(var(--x), var(--y)) rotate(var(--rotate));
    }
    50% {
        transform: translate(calc(var(--x) + var(--float-x)), calc(var(--y) + var(--float-y))) rotate(calc(var(--rotate) + var(--float-rotate)));
    }
}

.screenshot-hero:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.screenshot-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.screenshot-grid-2x2 {
    position: relative;
    width: min(520px, 100%);
    margin: 0 auto;
    aspect-ratio: 16 / 11;
    padding: var(--spacing-lg) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-grid-item {
    position: absolute;
    width: 72%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    background: var(--bg-secondary);
    transition: transform var(--transition-slow), box-shadow var(--transition-fast), filter var(--transition-fast);
    --x: 0px;
    --y: 0px;
    --rotate: 0deg;
    transform: translate(var(--x), var(--y)) rotate(var(--rotate));
    --float-x: 0px;
    --float-y: 0px;
    --float-rotate: 0deg;
    animation: cardIdle 9s ease-in-out infinite alternate;
    animation-delay: 0s;
    will-change: transform;
}

.screenshot-grid-item:nth-of-type(1) {
    --x: -60px;
    --y: -20px;
    --rotate: -9deg;
    z-index: 1;
    --float-x: -6px;
    --float-y: -4px;
    --float-rotate: -1deg;
    animation-delay: -0.6s;
}

.screenshot-grid-item:nth-of-type(2) {
    --x: 35px;
    --y: -40px;
    --rotate: 4deg;
    z-index: 2;
    --float-x: 5px;
    --float-y: -6px;
    --float-rotate: 1deg;
    animation-delay: -0.3s;
}

.screenshot-grid-item:nth-of-type(3) {
    --x: -15px;
    --y: 15px;
    --rotate: -2deg;
    z-index: 3;
    --float-x: -3px;
    --float-y: 5px;
    --float-rotate: -0.6deg;
    animation-delay: -0.15s;
}

.screenshot-grid-item:nth-of-type(4) {
    --x: 55px;
    --y: 25px;
    --rotate: 7deg;
    z-index: 4;
    --float-x: 4px;
    --float-y: 6px;
    --float-rotate: 0.8deg;
}

.screenshot-grid-item.is-active {
    animation-play-state: paused;
    box-shadow: var(--shadow-xl);
    transform: translate(var(--x), calc(var(--y) - 6px)) rotate(var(--rotate)) scale(1.02);
    z-index: 6;
    cursor: zoom-in;
}

.screenshot-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.screenshot-logo-center {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    width: 84px;
    height: 84px;
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.logo-overlay {
    width: 64px;
    height: 64px;
    display: block;
}

.screenshot-slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

@media (prefers-reduced-motion: reduce) {
    .screenshot-grid-item {
        animation: none;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 5px;
}

.toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    pointer-events: none;
    padding: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.toast {
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
    width: 100%;
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: calc(var(--spacing-md) + 60px);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.toast-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    font-size: 13px;
    color: var(--text-secondary);
}

.toast-title {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.toast-dots {
    display: inline-flex;
    gap: 6px;
}

.toast-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.toast-dot-close {
    background: #f87171;
}

.toast-dot-minimise {
    background: #fbbf24;
}

.toast-dot-maximise {
    background: #34d399;
}

.toast-body {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

.toast.fade-out {
    animation: toastFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

.download-section {
    flex: 1;
    padding: var(--spacing-lg);
    background: rgba(255, 250, 245, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.download-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.btn-win95 {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(74, 74, 74, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.btn-download-primary {
    padding: 20px 40px;
    font-size: 18px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-download-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px) scale(1.02);
}

.btn-win95::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-win95:hover::before {
    opacity: 1;
}

.btn-win95:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(74, 74, 74, 0.35);
}

.btn-win95:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(74, 74, 74, 0.25);
}

.btn-win95:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.features {
    margin-bottom: var(--spacing-xl);
}

.features-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 17px;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.feature-list li:hover {
    transform: translateX(4px);
    color: var(--text-primary);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    background: var(--accent-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all var(--transition-fast);
}

.feature-list li:hover:before {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: rgba(255, 250, 245, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    background: rgba(255, 250, 245, 0.95);
}

.feature-card h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.screenshot-grid .screenshot-placeholder {
    margin: 0;
}

.group-box {
    position: relative;
    background: rgba(255, 250, 245, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.group-box:hover {
    background: rgba(255, 250, 245, 0.85);
    box-shadow: var(--shadow-md);
}

.group-label {
    position: absolute;
    top: -14px;
    left: var(--spacing-lg);
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.98) 0%, rgba(250, 245, 240, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 4px var(--spacing-md);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: -0.01em;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.disclosure-section {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.8) 0%, rgba(252, 211, 77, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 211, 77, 0.4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.disclosure-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #92400e;
}

.disclosure-text {
    font-size: 14px;
    line-height: 1.6;
    color: #78350f;
}

.footer {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-md);
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.start-button {
    height: 36px;
    padding: 0 var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.start-button:hover {
    background: var(--bg-tertiary);
}

.start-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.system-tray {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
}

.start-menu {
    position: fixed;
    left: var(--spacing-md);
    bottom: 56px;
    width: 320px;
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: none;
    z-index: 1600;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-menu p {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.consent-banner {
    position: fixed;
    left: var(--spacing-md);
    right: var(--spacing-md);
    bottom: 60px;
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.consent-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.faq details {
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-sm);
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    padding: var(--spacing-md) 0;
    font-size: 17px;
    transition: all var(--transition-fast);
    list-style: none;
    position: relative;
    padding-left: var(--spacing-lg);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
    transition: transform var(--transition-fast);
}

.faq details[open] summary::before {
    content: '−';
    transform: rotate(180deg);
}

.faq summary:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.lightbox-backdrop {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2500;
    display: none;
    overflow: auto;
    padding: var(--spacing-md);
    animation: fadeIn var(--transition-base);
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.window {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card,
.group-box,
.screenshot-placeholder {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-copy {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-section {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.lightbox-window {
    max-width: min(95vw, 1400px);
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lightbox-window .window-content {
    padding: 0;
    background: #fdf8f4;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.lightbox-window .window-content::before {
    display: none;
}

.lightbox-slider-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    min-height: 0;
    padding: var(--spacing-lg);
}

.lightbox-slider-viewport {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    min-width: 0;
}

.lightbox-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    will-change: transform;
}

.lightbox-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lightbox-slide img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 180px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.lightbox-nav svg {
    width: 20px;
    height: 20px;
    display: block;
}

.lightbox-nav:hover {
    background: rgba(255, 250, 245, 1);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.lightbox-nav:active {
    transform: scale(0.95);
}

.lightbox-slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .grid-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .window {
        margin: 0;
        border-radius: 0;
    }

    .window-content {
        padding: var(--spacing-lg);
    }

    .desktop {
        padding: 0;
        padding-bottom: 0;
    }

    .app-title {
        font-size: 36px;
    }

    .features-title {
        font-size: 28px;
    }

    .screenshot-grid-2x2 {
        width: 100%;
        aspect-ratio: 16 / 12;
        padding: var(--spacing-md) 0;
    }

    .screenshot-grid-item {
        width: 80%;
    }

    .screenshot-logo-center {
        width: 64px;
        height: 64px;
    }

    .logo-overlay {
        width: 48px;
        height: 48px;
    }

    .toast {
        margin-top: calc(var(--spacing-md) + 50px);
        font-size: 14px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media (max-width: 640px) {
    .window-content {
        padding: var(--spacing-md);
    }

    .app-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .btn-win95 {
        padding: 14px 28px;
        font-size: 15px;
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .screenshot-grid-2x2 {
        padding: var(--spacing-sm) 0;
    }

    .screenshot-grid-item {
        width: 90%;
    }

    .screenshot-grid-item:nth-of-type(1) {
        --x: -24px;
        --y: -6px;
        --rotate: -6deg;
    }

    .screenshot-grid-item:nth-of-type(2) {
        --x: 20px;
        --y: -20px;
        --rotate: 3deg;
    }

    .screenshot-grid-item:nth-of-type(3) {
        --x: -8px;
        --y: 12px;
        --rotate: -2deg;
    }

    .screenshot-grid-item:nth-of-type(4) {
        --x: 28px;
        --y: 18px;
        --rotate: 5deg;
    }

    .screenshot-logo-center {
        width: 56px;
        height: 56px;
    }

    .logo-overlay {
        width: 40px;
        height: 40px;
    }
}


