* { box-sizing: border-box; margin: 0; padding: 0; transition: background-color 0.2s, border-color 0.2s; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: #f8fafc; color: #0f172a; line-height: 1.5; }

/* Dark Mode Theme Configurations */
body.dark-mode { background-color: #0f172a; color: #f8fafc; }
body.dark-mode nav { background: #1e293b; border-color: #334155; }
body.dark-mode .nav-links a { color: #94a3b8; }
body.dark-mode .nav-links a:hover { color: #38bdf8; }
body.dark-mode .card { background: #1e293b; border-color: #334155; }
body.dark-mode .card h3 { color: #ffffff; }
body.dark-mode .card p { color: #94a3b8; }
body.dark-mode .about { background: #1e293b; border-color: #334155; }
body.dark-mode .about-p { color: #94a3b8; }
body.dark-mode .specs-section { background: #0f172a; border-color: #334155; }
body.dark-mode .spec-item { background: #1e293b; border-color: #334155; }
body.dark-mode .spec-value { color: #ffffff; }
body.dark-mode .content-card-wrapper { background: #1e293b; border-color: #334155; }
body.dark-mode h1, body.dark-mode .section-title { color: #ffffff; }
body.dark-mode .hero-p { color: #94a3b8; }
body.dark-mode th { background: #1e293b; border-color: #334155; color: #cbd5e1; }
body.dark-mode td { border-color: #334155; color: #cbd5e1; }

nav { background: #ffffff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; items: center; padding: 16px 0; }
.logo-text { font-size: 20px; font-weight: 800; color: #ffffff; background: #2563eb; padding: 6px 14px; border-radius: 8px; letter-spacing: 0.5px; text-decoration: none; display: inline-block; cursor: pointer; }
.nav-links { display: flex; align-items: center; }
.nav-links a { margin-left: 24px; text-decoration: none; color: #475569; font-weight: 500; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: #2563eb; }
.btn { background: #2563eb; color: #ffffff; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 500; display: inline-block; transition: background 0.2s; }
.btn:hover { background: #1d4ed8; }

.theme-toggle { background: transparent; border: none; cursor: pointer; color: #475569; margin-left: 24px; display: flex; align-items: center; }
body.dark-mode .theme-toggle { color: #f59e0b; }

header { text-align: center; padding: 80px 20px 40px 20px; max-width: 800px; margin: 0 auto; }
.version-tag { background: #dbeafe; color: #1e40af; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 9999px; text-transform: uppercase; display: inline-block; }
h1 { font-size: 48px; font-weight: 800; color: #0f172a; margin-top: 24px; letter-spacing: -1px; line-height: 1.2; }
h1 span { color: #2563eb; }
.hero-p { font-size: 18px; color: #475569; margin-top: 24px; line-height: 1.6; }
.hero-btns { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 14px 28px; font-size: 16px; font-weight: 600; border-radius: 12px; }
.btn-alt { background: #ffffff; color: #334155; border: 1px solid #cbd5e1; cursor: pointer; }
.btn-alt:hover { background: #f8fafc; }
.meta-text { font-size: 14px; color: #64748b; margin-top: 16px; }

.carousel-shell { max-width: 900px; margin: 40px auto 80px auto; padding: 0 20px; position: relative; }
.window-mockup { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); position: relative; }
body.dark-mode .window-mockup { background: #1e293b; border-color: #334155; }
.window-bar { background: #f1f5f9; padding: 12px 20px; display: flex; align-items: center; border-bottom: 1px solid #cbd5e1; z-index: 10; position: relative; }
body.dark-mode .window-bar { background: #0f172a; border-color: #334155; }
.dot-group { display: flex; gap: 6px; position: absolute; left: 20px; }
.dot { width: 12px; height: 12px; border-radius: 55px; }
.window-title { width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: #475569; letter-spacing: 0.3px; }
body.dark-mode .window-title { color: #94a3b8; }

.slider-viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.slider-viewport::-webkit-scrollbar { display: none; }
.slide-pane { min-width: 100%; width: 100%; scroll-snap-align: start; background: #e2e8f0; height: 440px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
body.dark-mode .slide-pane { background: #334155; }
.slide-pane img { width: 100%; height: 100%; object-fit: cover; }

.arrow-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15, 23, 42, 0.6); color: white; border: none; width: 40px; height: 40px; border-radius: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; z-index: 20; }
.arrow-btn:hover { background: rgba(37, 99, 235, 0.9); }
.arrow-left { left: 36px; }
.arrow-right { right: 36px; }

.indicator-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.ind-dot { width: 8px; height: 8px; background: #cbd5e1; border-radius: 50px; cursor: pointer; transition: background-color 0.2s, width 0.2s; }
body.dark-mode .ind-dot { background: #475569; }
.ind-dot.active { background: #2563eb; width: 24px; }
body.dark-mode .ind-dot.active { background: #38bdf8; }

.features { background: #ffffff; padding: 80px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 48px; letter-spacing: -0.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.card { background: #f8fafc; padding: 32px; border-radius: 16px; border: 1px solid #f1f5f9; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-purple { background: #f3e8ff; color: #7c3aed; }
.icon-box svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card p { color: #475569; font-size: 15px; line-height: 1.6; }

.about { background: #f1f5f9; padding: 80px 0; border-bottom: 1px solid #e2e8f0; }
.about-p { max-width: 700px; margin: 0 auto; text-align: center; font-size: 18px; color: #475569; line-height: 1.7; }
.specs-section { background: #ffffff; padding: 80px 0; border-bottom: 1px solid #e2e8f0; }
.specs-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.spec-item { padding: 20px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
.spec-label { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; }
.spec-value { font-size: 16px; color: #0f172a; font-weight: 700; margin-top: 4px; }
.page-view-container { max-width: 860px; margin: 40px auto; padding: 0 20px; display: none; }
.content-card-wrapper { background: #ffffff; padding: 40px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.back-link { display: inline-block; text-decoration: none; color: #2563eb; font-weight: 600; margin-bottom: 24px; font-size: 15px; cursor: pointer; }
.back-link:hover { text-decoration: underline; }

.table-wrapper { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow-x: auto; margin-top: 24px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
th { background: #f8fafc; padding: 20px; font-weight: 600; color: #334155; border-bottom: 1px solid #e2e8f0; }
td { padding: 20px; border-bottom: 1px solid #e2e8f0; color: #475569; }
tr:last-child td { border-bottom: none; }
.badge { padding: 4px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600; display: inline-block; text-transform: uppercase; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-supported { background: #dbeafe; color: #1e40af; }
.badge-legacy { background: #e2e8f0; color: #334155; }

.step { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid #f1f5f9; text-align: left; }
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num { font-size: 13px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 0.5px; }
.step h3 { font-size: 20px; font-weight: 700; margin: 4px 0 12px 0; color: #1e293b; text-align: left; }
.step p { color: #475569; font-size: 16px; text-align: left; }
.step ul { padding-left: 24px; margin-top: 12px; color: #475569; text-align: left; }
.step li { margin-bottom: 8px; font-size: 15px; }

footer { background: #0f172a; color: #94a3b8; padding: 48px 0; font-size: 14px; margin-top: 80px; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
.footer-left h4 { color: #ffffff; font-size: 18px; margin-bottom: 4px; }
.footer-links a { color: #94a3b8; text-decoration: none; margin-left: 24px; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: #ffffff; }
@media (max-width: 600px) { .nav-links { display: none; } h1 { font-size: 32px; } }

/* Animated Button Pulsate Configuration */
@keyframes buttonPulse {
    0% { transform: scale(1); box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); }
}

.main-dl-btn:hover, .nav-dl-btn:hover {
    animation: buttonPulse 1.6s infinite ease-in-out;
    background-color: #1d4ed8 !important;
    cursor: pointer;
}
