// Variables
$bg-gradient-start: #1a1a2e;
$bg-gradient-end: #16213e;
$primary-gradient: linear-gradient(90deg, #00d4ff, #7b2cbf);
$text-color: #eee;
$text-muted: #bbb;
$text-light: #aaa;
$accent-color: #00d4ff;
$glass-bg: rgba(255, 255, 255, 0.05);
$border-color: rgba(255, 255, 255, 0.1);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: linear-gradient(135deg, $bg-gradient-start 0%, $bg-gradient-end 100%);
color: $text-color;
min-height: 100vh;
}
// Navbar
.navbar {
background: $glass-bg;
backdrop-filter: blur(10px);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid $border-color;
.logo {
font-size: 1.5rem;
font-weight: 700;
background: $primary-gradient;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
}
.nav-links {
display: flex;
gap: 1.5rem;
a {
color: $text-light;
text-decoration: none;
transition: color 0.3s;
cursor: pointer;
&:hover,
&.active {
color: $accent-color;
}
}
}
// Container
.container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
// Pages
.page {
display: none;
animation: fadeIn 0.3s ease;
&.active {
display: block;
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
// Typography
h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
background: $primary-gradient;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
p {
line-height: 1.8;
color: $text-muted;
margin-bottom: 1rem;
}
ul {
margin-left: 1.5rem;
color: $text-muted;
}
// Cards
.card {
background: $glass-bg;
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1rem;
border: 1px solid $border-color;
transition: transform 0.3s, box-shadow 0.3s;
&:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}
h3 {
color: $accent-color;
margin-bottom: 0.5rem;
}
}
// Feature Grid
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.feature {
text-align: center;
padding: 1.5rem;
.icon {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
}
// Forms
.form-group {
margin-bottom: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
color: $text-light;
}
input,
textarea {
width: 100%;
padding: 0.75rem 1rem;
background: $glass-bg;
border: 1px solid $border-color;
border-radius: 8px;
color: #fff;
font-size: 1rem;
transition: border-color 0.3s;
&:focus {
outline: none;
border-color: $accent-color;
}
}
button {
background: $primary-gradient;
color: #fff;
border: none;
padding: 0.75rem 2rem;
border-radius: 8px;
font-size: 1rem;
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s;
&:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}
}
// Output
#output {
margin-top: 1rem;
padding: 1rem;
background: rgba(0, 212, 255, 0.1);
border-radius: 8px;
display: none;
&.show {
display: block;
}
}