TibiOS / style.css
Fernando Gutierrez
Fleet grid: all four cards at 86%, uniform
a3b0211
Raw History Blame Contribute Delete
5.89 kB
:root {
--bg: #0a1628;
--bg-soft: #0f2038;
--card: #122740;
--cyan: #35c7e8;
--text: #f2f6fa;
--muted: #9fb3c8;
--radius: 18px;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
line-height: 1.55;
}
/* Nav */
.nav {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 0.9rem 2rem;
position: sticky;
top: 0;
background: rgba(10, 22, 40, 0.92);
backdrop-filter: blur(8px);
border-bottom: 1px solid rgba(53, 199, 232, 0.15);
z-index: 10;
}
.brand {
display: flex;
align-items: center;
gap: 0.6rem;
font-size: 1.25rem;
font-weight: 700;
}
.logo {
width: 36px;
height: 36px;
border-radius: 8px;
}
.nav nav {
display: flex;
gap: 1.25rem;
margin-left: auto;
}
.nav nav a {
color: var(--muted);
text-decoration: none;
font-size: 0.95rem;
}
.nav nav a:hover {
color: var(--cyan);
}
/* Buttons */
.btn {
display: inline-block;
background: var(--cyan);
color: #06222e;
font-weight: 700;
padding: 0.8rem 1.6rem;
border-radius: 999px;
text-decoration: none;
}
.btn:hover {
filter: brightness(1.1);
}
.btn-small {
padding: 0.45rem 1.1rem;
font-size: 0.9rem;
}
.btn-ghost {
background: transparent;
color: var(--cyan);
border: 1.5px solid var(--cyan);
}
/* Hero */
.hero {
text-align: center;
padding: 6rem 1.5rem 4.5rem;
background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(53, 199, 232, 0.14), transparent);
}
.hero h1 {
font-size: clamp(2.4rem, 6vw, 4.2rem);
line-height: 1.1;
margin: 0 0 1rem;
}
.tagline {
color: var(--cyan);
font-size: clamp(1.1rem, 2.5vw, 1.5rem);
margin: 0 0 1.25rem;
}
.lede {
color: var(--muted);
max-width: 640px;
margin: 0 auto 2rem;
font-size: 1.05rem;
}
.lede.center {
text-align: center;
}
.cta-row {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
/* Sections */
.section {
max-width: 1080px;
margin: 0 auto;
padding: 4rem 1.5rem 1rem;
}
.section h2 {
font-size: clamp(1.6rem, 3.5vw, 2.2rem);
text-align: center;
margin: 0 0 1.5rem;
}
/* How it works flow */
.flow {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 2rem;
align-items: center;
}
.col {
background: var(--card);
border: 1px solid rgba(53, 199, 232, 0.15);
border-radius: var(--radius);
padding: 1.5rem;
}
.col h3 {
margin-top: 0;
color: var(--cyan);
}
.col ul {
list-style: none;
margin: 0;
padding: 0;
}
.col li {
padding: 0.4rem 0;
color: var(--text);
}
.core {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
max-width: 240px;
}
.core img {
width: 110px;
height: 110px;
border-radius: 24px;
}
.core strong {
font-size: 1.2rem;
}
.core span {
color: var(--muted);
font-size: 0.9rem;
}
/* Fleet + demo media */
.wide {
width: 100%;
border-radius: var(--radius);
border: 1px solid rgba(53, 199, 232, 0.15);
}
.fleet-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.25rem;
max-width: 840px;
margin: 0 auto;
}
.fleet-grid img {
width: 86%;
margin: 0 auto;
border-radius: var(--radius);
border: 1px solid rgba(53, 199, 232, 0.15);
display: block;
}
.demo-row {
display: flex;
flex-direction: column;
gap: 1.5rem;
align-items: center;
}
.demo-row figure {
margin: 0;
width: min(480px, 100%);
}
.demo-row figcaption {
text-align: center;
color: var(--muted);
font-size: 0.9rem;
margin-top: 0.5rem;
}
.demo {
display: block;
width: min(560px, 100%);
margin: 0 auto;
border-radius: var(--radius);
border: 1px solid rgba(53, 199, 232, 0.25);
}
/* Cards */
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.25rem;
}
/* Numbered steps (Sauron pipeline) */
.steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.25rem;
max-width: 900px;
margin: 0 auto;
}
.step {
display: flex;
gap: 1rem;
align-items: flex-start;
background: var(--card);
border: 1px solid rgba(53, 199, 232, 0.15);
border-radius: var(--radius);
padding: 1.2rem 1.4rem;
}
.step span {
flex: none;
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--cyan);
color: #06222e;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.15rem;
}
.step p {
margin: 0;
color: var(--text);
}
.note {
font-size: 0.9rem;
margin-top: 1.5rem;
}
.big-quote {
font-size: 1.2rem;
color: var(--text);
}
.card {
background: var(--card);
border: 1px solid rgba(53, 199, 232, 0.15);
border-radius: var(--radius);
padding: 1.4rem;
}
.card h3 {
margin: 0 0 0.5rem;
color: var(--cyan);
}
.card p {
margin: 0;
color: var(--muted);
font-size: 0.95rem;
}
/* Mascot */
.mascot {
display: grid;
grid-template-columns: 280px 1fr;
gap: 2.5rem;
align-items: center;
}
.mascot img {
width: 100%;
border-radius: var(--radius);
border: 1px solid rgba(53, 199, 232, 0.15);
}
.mascot h2 {
text-align: left;
}
.mascot .lede {
margin-left: 0;
}
/* Footer */
.footer {
text-align: center;
padding: 4rem 1.5rem 3rem;
margin-top: 4rem;
background: var(--bg-soft);
border-top: 1px solid rgba(53, 199, 232, 0.15);
}
.footer .logo {
width: 44px;
height: 44px;
}
.footer a {
color: var(--cyan);
text-decoration: none;
}
.footer p {
margin: 0.4rem 0;
color: var(--muted);
}
.footer p strong {
color: var(--text);
}
.tiny {
font-size: 0.85rem;
}
/* Mobile */
@media (max-width: 760px) {
.nav nav {
display: none;
}
.flow {
grid-template-columns: 1fr;
}
.fleet-grid {
grid-template-columns: 1fr;
}
.core {
margin: 0 auto;
}
.mascot {
grid-template-columns: 1fr;
}
.mascot img {
max-width: 320px;
margin: 0 auto;
}
.mascot h2 {
text-align: center;
}
.mascot .lede {
margin: 0 auto;
text-align: center;
}
}