Initial commit: AOS Rebranding
This commit is contained in:
123
styles.css
Executable file
123
styles.css
Executable file
@@ -0,0 +1,123 @@
|
||||
:root {
|
||||
--primary: #0072FF;
|
||||
--secondary: #00C6FF;
|
||||
--dark-bg: #0f1115;
|
||||
--card-bg: #1a1d24;
|
||||
--text-main: #e0e6ed;
|
||||
--text-muted: #94a3b8;
|
||||
--accent: #00e5ff;
|
||||
--header-height: 70px;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
color: var(--text-main);
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
|
||||
|
||||
/* HEADER & NAV REBUILD */
|
||||
.site-header {
|
||||
position: fixed;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: var(--header-height);
|
||||
background: rgba(15, 17, 21, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid rgba(255,255,255,0.1);
|
||||
z-index: 2000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
width: 100%;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 0 1.5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; }
|
||||
.brand-logo { height: 35px; width: 35px; }
|
||||
.brand-name { font-weight: 700; font-size: 1.25rem; }
|
||||
|
||||
.nav-list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
|
||||
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
|
||||
.nav-link:hover { color: var(--secondary); }
|
||||
|
||||
.nav-toggle {
|
||||
display: none;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0.5rem;
|
||||
z-index: 2100;
|
||||
}
|
||||
|
||||
.hamburger {
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
background: #fff;
|
||||
position: relative;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.hamburger::before, .hamburger::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
background: #fff;
|
||||
left: 0;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
.hamburger::before { top: -8px; }
|
||||
.hamburger::after { bottom: -8px; }
|
||||
|
||||
/* Mobile Menu Logic */
|
||||
@media (max-width: 768px) {
|
||||
.nav-toggle { display: block; }
|
||||
|
||||
.nav-menu {
|
||||
position: fixed;
|
||||
top: 0; right: -100%;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: var(--dark-bg);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
transition: right 0.3s ease-in-out;
|
||||
z-index: 2050;
|
||||
}
|
||||
|
||||
.nav-menu.is-open { right: 0; }
|
||||
|
||||
.nav-list { flex-direction: column; text-align: center; gap: 2.5rem; }
|
||||
.nav-link { font-size: 1.5rem; }
|
||||
|
||||
.nav-toggle.is-active .hamburger { background: transparent; }
|
||||
.nav-toggle.is-active .hamburger::before { transform: rotate(45deg) translate(5px, 6px); }
|
||||
.nav-toggle.is-active .hamburger::after { transform: rotate(-45deg) translate(5px, -6px); }
|
||||
}
|
||||
|
||||
/* Rest of the styles */
|
||||
main { padding-top: var(--header-height); }
|
||||
.hero { padding: 80px 0; text-align: center; }
|
||||
h1 { font-size: 3rem; margin-bottom: 1.5rem; color: #fff; line-height: 1.1; }
|
||||
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; }
|
||||
.cta-button { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: white; padding: 0.9rem 2.2rem; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; }
|
||||
.ai-badge { display: inline-block; background: rgba(0, 198, 255, 0.1); color: var(--accent); padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.85rem; margin-bottom: 1rem; font-weight: 600; }
|
||||
|
||||
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; padding: 60px 0; }
|
||||
.card { background: var(--card-bg); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
|
||||
.chart-container { background: var(--card-bg); padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); margin: 2rem 0; text-align: center; }
|
||||
.chart-svg { max-width: 100%; height: auto; }
|
||||
footer { padding: 4rem 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
|
||||
Reference in New Issue
Block a user