test / style.css
usermma's picture
Update style.css
70907be verified
raw
history blame contribute delete
8.87 kB
:root {
--bg: #0a0c10;
--surface: #13161f;
--surface-light: #1b1f2b;
--text: #e3e6ef;
--text-secondary: #8b90a5;
--accent: #4e7cff;
--accent-glow: rgba(78, 124, 255, 0.3);
--border: rgba(255, 255, 255, 0.06);
--radius: 16px;
--radius-sm: 12px;
--transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
background-color: var(--bg);
color: var(--text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(78, 124, 255, 0.12), transparent);
background-repeat: no-repeat;
}
.container {
width: 90%;
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
/* ===== HEADER / HERO ===== */
.hero {
padding: 60px 0 40px;
text-align: center;
position: relative;
}
.hero-top {
display: flex;
justify-content: center;
align-items: center;
gap: 24px;
flex-wrap: wrap;
margin-bottom: 28px;
}
.badge {
background: var(--surface-light);
border: 1px solid var(--border);
padding: 6px 18px;
border-radius: 30px;
font-size: 0.9rem;
font-weight: 500;
color: var(--text-secondary);
letter-spacing: 0.3px;
backdrop-filter: blur(8px);
}
.language-selector {
display: flex;
gap: 4px;
background: var(--surface);
padding: 4px;
border-radius: 30px;
border: 1px solid var(--border);
}
.lang-btn {
padding: 6px 16px;
border-radius: 24px;
font-size: 0.85rem;
font-weight: 600;
text-decoration: none;
color: var(--text-secondary);
transition: var(--transition);
}
.lang-btn.active {
background: var(--accent);
color: white;
}
.lang-btn:not(.active):hover {
color: var(--text);
background: rgba(255, 255, 255, 0.04);
}
.hero h1 {
font-size: clamp(2.4rem, 7vw, 4rem);
font-weight: 700;
line-height: 1.2;
margin-bottom: 16px;
letter-spacing: -0.02em;
}
.hero h1 span {
background: linear-gradient(135deg, #4e7cff, #7ab4ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
font-size: 1.2rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto 36px;
font-weight: 400;
}
/* ===== CHAT PIPE ===== */
.chat-pipe {
display: flex;
max-width: 560px;
margin: 0 auto;
border-radius: 60px;
background: var(--surface-light);
border: 1px solid var(--border);
overflow: hidden;
transition: box-shadow var(--transition), border-color var(--transition);
backdrop-filter: blur(8px);
}
.chat-pipe:focus-within {
border-color: var(--accent);
box-shadow: 0 0 0 4px var(--accent-glow);
}
.chat-pipe input {
flex: 1;
background: transparent;
border: none;
padding: 16px 24px;
font-size: 1rem;
color: var(--text);
outline: none;
font-family: inherit;
}
.chat-pipe input::placeholder {
color: var(--text-secondary);
opacity: 0.7;
}
.chat-pipe button {
display: flex;
align-items: center;
gap: 8px;
padding: 14px 28px;
background: var(--accent);
color: white;
border: none;
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
font-family: inherit;
transition: background var(--transition), transform var(--transition);
white-space: nowrap;
}
.chat-pipe button:hover {
background: #3b62e0;
transform: scale(1.02);
}
.chat-pipe button svg {
transition: transform var(--transition);
}
.chat-pipe button:hover svg {
transform: translateX(3px);
}
/* ===== SECTIONS ===== */
.section {
margin: 80px 0;
}
.section-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 40px;
}
.section-header h2 {
font-size: 1.8rem;
font-weight: 700;
letter-spacing: -0.01em;
white-space: nowrap;
}
.section-header .line {
flex: 1;
height: 1px;
background: var(--border);
margin-top: 4px;
}
/* ===== CARDS GRID (Models) ===== */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 24px;
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px 24px;
transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
display: flex;
flex-direction: column;
position: relative;
backdrop-filter: blur(8px);
}
.card:hover {
transform: translateY(-4px);
border-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(78, 124, 255, 0.15);
}
.card.highlight {
background: linear-gradient(145deg, #131820, #1b2130);
border-color: rgba(78, 124, 255, 0.2);
}
.card-tag {
display: inline-block;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 3px 10px;
border-radius: 20px;
background: rgba(78, 124, 255, 0.12);
color: #7ea4ff;
margin-bottom: 16px;
width: fit-content;
}
.card-tag.status {
background: rgba(46, 204, 113, 0.12);
color: #2ecc71;
}
.card-tag.special {
background: rgba(155, 89, 182, 0.12);
color: #c39bdb;
}
.card-tag.safety {
background: rgba(231, 76, 60, 0.12);
color: #e08b8b;
}
.card h3 {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 12px;
letter-spacing: -0.01em;
}
.param-badge {
font-size: 0.9rem;
font-weight: 600;
background: rgba(255, 255, 255, 0.08);
padding: 2px 10px;
border-radius: 12px;
color: var(--text-secondary);
margin-left: 8px;
}
.card-desc {
color: var(--text);
font-size: 0.95rem;
margin-bottom: 14px;
line-height: 1.5;
}
.card-tech {
font-size: 0.85rem;
color: var(--text-secondary);
margin-bottom: 20px;
line-height: 1.5;
flex: 1;
}
.card-link {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--accent);
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
margin-top: auto;
transition: gap var(--transition);
}
.card-link:hover {
gap: 8px;
}
.card-status-btn {
display: inline-block;
padding: 6px 14px;
border-radius: 20px;
background: rgba(46, 204, 113, 0.15);
color: #2ecc71;
font-size: 0.8rem;
font-weight: 600;
margin-top: auto;
text-align: center;
width: fit-content;
}
/* ===== FEATURES GRID ===== */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 24px;
}
.feature-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px 22px;
transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
border-color: rgba(255, 255, 255, 0.12);
transform: translateY(-3px);
}
.feature-card .icon {
font-size: 2.2rem;
margin-bottom: 16px;
}
.feature-card h4 {
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 10px;
letter-spacing: -0.01em;
}
.feature-card p {
font-size: 0.9rem;
color: var(--text-secondary);
line-height: 1.5;
}
/* ===== TABLE (Resources) ===== */
.table-container {
border-radius: var(--radius);
border: 1px solid var(--border);
overflow: hidden;
background: var(--surface);
backdrop-filter: blur(8px);
}
.custom-table {
width: 100%;
border-collapse: collapse;
}
.custom-table th {
text-align: left;
padding: 16px 24px;
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-secondary);
background: rgba(255, 255, 255, 0.02);
border-bottom: 1px solid var(--border);
}
.custom-table td {
padding: 16px 24px;
font-size: 0.95rem;
border-bottom: 1px solid var(--border);
}
.custom-table tr:last-child td {
border-bottom: none;
}
.custom-table tr:hover td {
background: rgba(255, 255, 255, 0.015);
}
.table-link {
color: var(--text);
text-decoration: none;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 6px;
transition: color var(--transition);
}
.table-link:hover {
color: var(--accent);
}
/* ===== FOOTER ===== */
footer {
border-top: 1px solid var(--border);
padding: 28px 0;
margin-top: 60px;
}
.footer-content {
text-align: center;
font-size: 0.9rem;
color: var(--text-secondary);
}
.footer-content span {
font-weight: 600;
color: var(--text);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
.hero h1 {
font-size: 2rem;
}
.subtitle {
font-size: 1rem;
}
.chat-pipe {
flex-direction: column;
border-radius: var(--radius-sm);
}
.chat-pipe input {
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
padding: 14px 20px;
border-bottom: 1px solid var(--border);
}
.chat-pipe button {
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
justify-content: center;
padding: 14px;
}
.section-header h2 {
font-size: 1.5rem;
}
.cards-grid,
.features-grid {
grid-template-columns: 1fr;
}
}