/* DWN Window Manager - Website Styles */
/* CSS Variables */
:root {
--primary: #4a90d9;
--primary-dark: #3a7bc8;
--primary-light: #6ba3e0;
--secondary: #2d3a4a;
--accent: #d94a4a;
--bg-dark: #1a1a2e;
--bg-darker: #12121f;
--bg-card: #2a2a3e;
--bg-light: #f5f5f7;
--text-light: #e0e0e0;
--text-muted: #808080;
--text-dark: #1a1a1a;
--border-color: #3a3a4e;
--success: #4ad94a;
--warning: #d9d94a;
--code-bg: #1e1e2e;
--gradient-start: #1a1a2e;
--gradient-end: #2d3a4a;
--font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 16px;
--transition: 0.2s ease;
}
/* Reset & Base */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: var(--font-sans);
background: var(--bg-dark);
color: var(--text-light);
line-height: 1.6;
min-height: 100vh;
}
a {
color: var(--primary);
text-decoration: none;
transition: color var(--transition);
}
a:hover {
color: var(--primary-light);
}
img {
max-width: 100%;
height: auto;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: 1.3;
margin-bottom: 1rem;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
p {
margin-bottom: 1rem;
}
/* Layout */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
.section {
padding: 5rem 0;
}
.section-alt {
background: var(--bg-darker);
}
/* Header & Navigation */
header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(26, 26, 46, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.5rem;
max-width: 1200px;
margin: 0 auto;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.5rem;
font-weight: 700;
color: var(--text-light);
}
.logo-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.25rem;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
color: var(--text-light);
font-weight: 500;
padding: 0.5rem 0;
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--primary);
transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
width: 100%;
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 0.5rem;
}
.nav-toggle span {
width: 25px;
height: 3px;
background: var(--text-light);
border-radius: 2px;
transition: var(--transition);
}
/* Dropdown Menu */
.dropdown {
position: relative;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 0.5rem 0;
min-width: 200px;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all var(--transition);
box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.dropdown-menu a {
display: block;
padding: 0.75rem 1rem;
color: var(--text-light);
}
.dropdown-menu a:hover {
background: var(--bg-dark);
}
/* Hero Section */
.hero {
padding: 10rem 0 6rem;
background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a90d9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}
.hero-content {
position: relative;
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-light) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero .subtitle {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 2rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.875rem 1.75rem;
border-radius: var(--radius-md);
font-weight: 600;
font-size: 1rem;
cursor: pointer;
border: none;
transition: all var(--transition);
}
.btn-primary {
background: var(--primary);
color: white;
}
.btn-primary:hover {
background: var(--primary-dark);
color: white;
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.btn-secondary {
background: transparent;
color: var(--text-light);
border: 2px solid var(--border-color);
}
.btn-secondary:hover {
border-color: var(--primary);
color: var(--primary);
}
.btn-sm {
padding: 0.5rem 1rem;
font-size: 0.875rem;
}
.btn-lg {
padding: 1rem 2rem;
font-size: 1.125rem;
}
/* Feature Cards */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.feature-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 2rem;
transition: all var(--transition);
}
.feature-card:hover {
transform: translateY(-4px);
border-color: var(--primary);
box-shadow: var(--shadow-lg);
}
.feature-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.75rem;
margin-bottom: 1.5rem;
}
.feature-card h3 {
font-size: 1.25rem;
margin-bottom: 0.75rem;
}
.feature-card p {
color: var(--text-muted);
margin-bottom: 0;
}
/* Stats Section */
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
text-align: center;
padding: 3rem 0;
}
.stat-item h3 {
font-size: 3rem;
color: var(--primary);
margin-bottom: 0.5rem;
}
.stat-item p {
color: var(--text-muted);
font-size: 1.125rem;
}
/* Code Blocks */
pre, code {
font-family: var(--font-mono);
}
code {
background: var(--code-bg);
padding: 0.2em 0.4em;
border-radius: var(--radius-sm);
font-size: 0.9em;
}
pre {
background: var(--code-bg);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
padding: 1.5rem;
overflow-x: auto;
margin: 1.5rem 0;
}
pre code {
background: none;
padding: 0;
font-size: 0.875rem;
line-height: 1.7;
}
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--bg-darker);
padding: 0.75rem 1rem;
border-radius: var(--radius-md) var(--radius-md) 0 0;
border: 1px solid var(--border-color);
border-bottom: none;
margin-top: 1.5rem;
}
.code-header + pre {
margin-top: 0;
border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.code-header span {
color: var(--text-muted);
font-size: 0.875rem;
}
.copy-btn {
background: var(--bg-card);
border: 1px solid var(--border-color);
color: var(--text-light);
padding: 0.25rem 0.75rem;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 0.75rem;
transition: all var(--transition);
}
.copy-btn:hover {
background: var(--primary);
border-color: var(--primary);
}
/* Tables */
.table-wrapper {
overflow-x: auto;
margin: 1.5rem 0;
}
table {
width: 100%;
border-collapse: collapse;
background: var(--bg-card);
border-radius: var(--radius-md);
overflow: hidden;
}
th, td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
th {
background: var(--bg-darker);
font-weight: 600;
color: var(--text-light);
}
tr:last-child td {
border-bottom: none;
}
tr:hover td {
background: rgba(74, 144, 217, 0.05);
}
kbd {
display: inline-block;
background: var(--bg-darker);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 0.2em 0.5em;
font-family: var(--font-mono);
font-size: 0.85em;
box-shadow: 0 2px 0 var(--border-color);
}
/* Sidebar Layout (for docs) */
.docs-layout {
display: grid;
grid-template-columns: 280px 1fr;
gap: 3rem;
padding-top: 6rem;
min-height: 100vh;
}
.docs-sidebar {
position: sticky;
top: 6rem;
height: calc(100vh - 7rem);
overflow-y: auto;
padding: 2rem 0;
border-right: 1px solid var(--border-color);
}
.docs-sidebar ul {
list-style: none;
}
.docs-sidebar > ul > li {
margin-bottom: 1.5rem;
}
.docs-sidebar .section-title {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-muted);
margin-bottom: 0.75rem;
padding-left: 1rem;
}
.docs-sidebar a {
display: block;
padding: 0.5rem 1rem;
color: var(--text-light);
border-radius: var(--radius-sm);
transition: all var(--transition);
}
.docs-sidebar a:hover {
background: var(--bg-card);
}
.docs-sidebar a.active {
background: var(--primary);
color: white;
}
.docs-content {
padding: 2rem 0 4rem;
max-width: 800px;
}
.docs-content h1 {
margin-bottom: 0.5rem;
}
.docs-content .lead {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 2rem;
}
/* Cards */
.card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 2rem;
margin-bottom: 1.5rem;
}
.card h3 {
display: flex;
align-items: center;
gap: 0.75rem;
}
.card-icon {
width: 40px;
height: 40px;
background: var(--primary);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
}
/* Alert Boxes */
.alert {
padding: 1rem 1.5rem;
border-radius: var(--radius-md);
margin: 1.5rem 0;
border-left: 4px solid;
}
.alert-info {
background: rgba(74, 144, 217, 0.1);
border-color: var(--primary);
}
.alert-warning {
background: rgba(217, 217, 74, 0.1);
border-color: var(--warning);
}
.alert-success {
background: rgba(74, 217, 74, 0.1);
border-color: var(--success);
}
.alert-danger {
background: rgba(217, 74, 74, 0.1);
border-color: var(--accent);
}
.alert-title {
font-weight: 600;
margin-bottom: 0.25rem;
}
/* Tabs */
.tabs {
display: flex;
gap: 0;
border-bottom: 1px solid var(--border-color);
margin-bottom: 1.5rem;
}
.tab {
padding: 1rem 1.5rem;
cursor: pointer;
color: var(--text-muted);
border-bottom: 2px solid transparent;
transition: all var(--transition);
background: none;
border-top: none;
border-left: none;
border-right: none;
font-size: 1rem;
}
.tab:hover {
color: var(--text-light);
}
.tab.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
/* Comparison Table */
.comparison {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin: 3rem 0;
}
.comparison-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 2rem;
text-align: center;
}
.comparison-card.featured {
border-color: var(--primary);
position: relative;
}
.comparison-card.featured::before {
content: 'Recommended';
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: var(--primary);
color: white;
padding: 0.25rem 1rem;
border-radius: var(--radius-sm);
font-size: 0.75rem;
font-weight: 600;
}
.comparison-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
.comparison-card ul {
list-style: none;
text-align: left;
margin: 1.5rem 0;
}
.comparison-card li {
padding: 0.5rem 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
.comparison-card li::before {
content: '✓';
color: var(--success);
font-weight: 600;
}
/* Footer */
footer {
background: var(--bg-darker);
border-top: 1px solid var(--border-color);
padding: 4rem 0 2rem;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}
.footer-section h4 {
font-size: 1rem;
margin-bottom: 1rem;
color: var(--text-light);
}
.footer-section ul {
list-style: none;
}
.footer-section li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: var(--text-muted);
}
.footer-section a:hover {
color: var(--primary);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
color: var(--text-muted);
}
/* Screenshots/Gallery */
.screenshot-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}
.screenshot {
background: var(--bg-darker);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
overflow: hidden;
transition: all var(--transition);
}
.screenshot:hover {
transform: scale(1.02);
box-shadow: var(--shadow-lg);
}
.screenshot-placeholder {
aspect-ratio: 16 / 10;
background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
font-size: 0.875rem;
}
.screenshot-caption {
padding: 1rem;
font-size: 0.875rem;
color: var(--text-muted);
}
/* Step-by-step Guide */
.steps {
margin: 2rem 0;
}
.step {
display: flex;
gap: 1.5rem;
margin-bottom: 2rem;
}
.step-number {
flex-shrink: 0;
width: 40px;
height: 40px;
background: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: white;
}
.step-content h4 {
margin-bottom: 0.5rem;
}
.step-content p {
color: var(--text-muted);
}
/* Testimonials */
.testimonials {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin: 3rem 0;
}
.testimonial {
background: var(--bg-card);
border-radius: var(--radius-lg);
padding: 2rem;
border: 1px solid var(--border-color);
}
.testimonial-text {
font-style: italic;
margin-bottom: 1.5rem;
color: var(--text-light);
}
.testimonial-author {
display: flex;
align-items: center;
gap: 1rem;
}
.testimonial-avatar {
width: 48px;
height: 48px;
background: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
color: white;
}
.testimonial-info strong {
display: block;
color: var(--text-light);
}
.testimonial-info span {
font-size: 0.875rem;
color: var(--text-muted);
}
/* FAQ Accordion */
.faq-item {
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
margin-bottom: 1rem;
overflow: hidden;
}
.faq-question {
width: 100%;
padding: 1.25rem;
background: var(--bg-card);
border: none;
text-align: left;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 1rem;
font-weight: 500;
color: var(--text-light);
transition: all var(--transition);
}
.faq-question:hover {
background: var(--bg-darker);
}
.faq-question::after {
content: '+';
font-size: 1.5rem;
color: var(--primary);
transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
transform: rotate(45deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
max-height: 500px;
}
.faq-answer-content {
padding: 1.25rem;
color: var(--text-muted);
border-top: 1px solid var(--border-color);
}
/* Badges */
.badge {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.badge-primary {
background: rgba(74, 144, 217, 0.2);
color: var(--primary);
}
.badge-success {
background: rgba(74, 217, 74, 0.2);
color: var(--success);
}
.badge-warning {
background: rgba(217, 217, 74, 0.2);
color: var(--warning);
}
/* Search Box */
.search-box {
position: relative;
margin-bottom: 2rem;
}
.search-box input {
width: 100%;
padding: 1rem 1rem 1rem 3rem;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
color: var(--text-light);
font-size: 1rem;
transition: all var(--transition);
}
.search-box input:focus {
outline: none;
border-color: var(--primary);
}
.search-box::before {
content: '🔍';
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
}
/* Responsive */
@media (max-width: 968px) {
.docs-layout {
grid-template-columns: 1fr;
}
.docs-sidebar {
position: relative;
top: 0;
height: auto;
border-right: none;
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
}
}
@media (max-width: 768px) {
.nav-links {
position: fixed;
top: 70px;
left: 0;
right: 0;
background: var(--bg-dark);
flex-direction: column;
padding: 2rem;
gap: 1rem;
border-bottom: 1px solid var(--border-color);
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all var(--transition);
}
.nav-links.active {
transform: translateY(0);
opacity: 1;
visibility: visible;
}
.nav-toggle {
display: flex;
}
.hero h1 {
font-size: 2.5rem;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
.hero {
padding: 8rem 0 4rem;
}
.section {
padding: 3rem 0;
}
.step {
flex-direction: column;
gap: 1rem;
}
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
animation: fadeIn 0.5s ease forwards;
}
/* Print Styles */
@media print {
header, footer, .nav-toggle {
display: none;
}
body {
background: white;
color: black;
}
.hero {
padding: 2rem 0;
}
}