agency-web/app/globals.css

156 lines
2.5 KiB
CSS

:root {
--bg: #0a0a0b;
--fg: #fafafa;
--muted: #a1a1aa;
--accent: #6366f1;
--accent-2: #22d3ee;
--maxw: 1100px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html,
body {
background: var(--bg);
color: var(--fg);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
a {
color: inherit;
text-decoration: none;
}
.hero {
min-height: 100dvh;
display: flex;
flex-direction: column;
padding: clamp(20px, 4vw, 40px);
position: relative;
overflow: hidden;
}
.hero::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(
60% 50% at 72% 0%,
rgba(99, 102, 241, 0.28),
transparent 70%
),
radial-gradient(40% 40% at 0% 100%, rgba(34, 211, 238, 0.12), transparent 70%);
pointer-events: none;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 1;
}
.logo {
font-weight: 700;
letter-spacing: -0.02em;
}
.nav-cta {
font-size: 0.9rem;
color: var(--muted);
}
.content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
max-width: var(--maxw);
width: 100%;
margin: 0 auto;
position: relative;
z-index: 1;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.18em;
font-size: 0.78rem;
color: var(--accent-2);
margin-bottom: 1.2rem;
}
h1 {
font-size: clamp(2.4rem, 6.5vw, 5rem);
line-height: 1.02;
letter-spacing: -0.03em;
font-weight: 800;
}
h1 span {
background: linear-gradient(90deg, var(--accent), var(--accent-2));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.sub {
margin-top: 1.6rem;
max-width: 620px;
font-size: clamp(1rem, 1.6vw, 1.25rem);
color: var(--muted);
line-height: 1.6;
}
.actions {
margin-top: 2.4rem;
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.btn {
padding: 0.85rem 1.5rem;
border-radius: 999px;
font-weight: 600;
font-size: 0.95rem;
transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover {
transform: translateY(-2px);
}
.btn.primary {
background: linear-gradient(90deg, var(--accent), var(--accent-2));
color: #04060a;
}
.btn.ghost {
border: 1px solid rgba(255, 255, 255, 0.18);
color: var(--fg);
}
.foot {
position: relative;
z-index: 1;
color: var(--muted);
font-size: 0.8rem;
padding-top: 2rem;
}
@media (max-width: 640px) {
.actions {
flex-direction: column;
}
.btn {
text-align: center;
}
}