Files
cuitunet.fi/style.css
Jukka Lampikoski 8a66ce10e7 Modernize site design and refresh content
- Modern hero with 100 Gbps highlight and radial gradient
- SVG icons instead of stock photos
- Card-based services grid with speed badges
- Feature list in "Miksi Cuitunet" section
- Frosted glass header with CTA button
- Clean dark footer with 4-column layout
- Refreshed copy: removed "vikapalvelu 24/7", added 100 Gbps
- Fixed typos in Finnish text

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:57:37 +02:00

578 lines
9.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--orange: #e8891d;
--orange-dark: #c67015;
--orange-light: #fef3e2;
--dark: #111;
--dark-soft: #1a1a1a;
--text: #374151;
--text-light: #6b7280;
--border: #e5e7eb;
--bg: #fff;
--bg-alt: #f9fafb;
--radius: 12px;
--radius-lg: 20px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
color: var(--text);
line-height: 1.7;
-webkit-font-smoothing: antialiased;
}
.container {
max-width: 1120px;
margin: 0 auto;
padding: 0 24px;
}
a {
color: inherit;
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
/* ---- Utilities ---- */
.overline {
display: inline-block;
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1.5px;
color: var(--orange);
margin-bottom: 12px;
}
.section-header {
text-align: center;
max-width: 600px;
margin: 0 auto 56px;
}
.section-header h2 {
font-size: 2.2rem;
font-weight: 700;
color: var(--dark);
margin-bottom: 12px;
}
.section-header p {
color: var(--text-light);
font-size: 1.05rem;
}
.optional {
color: var(--text-light);
font-weight: 400;
}
/* ---- Buttons ---- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 28px;
font-size: 0.95rem;
font-weight: 600;
border: none;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s;
background: var(--orange);
color: #fff;
}
.btn:hover {
background: var(--orange-dark);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(232, 137, 29, 0.3);
}
.btn-outline {
background: transparent;
color: var(--dark);
border: 1.5px solid var(--border);
}
.btn-outline:hover {
background: var(--bg-alt);
border-color: #d1d5db;
box-shadow: none;
transform: translateY(-1px);
}
.btn-full {
width: 100%;
}
.btn-sm {
padding: 10px 20px;
font-size: 0.85rem;
}
/* ---- Header ---- */
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255,255,255,0.92);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
z-index: 100;
}
.header-inner {
display: flex;
align-items: center;
gap: 32px;
height: 68px;
}
.logo img {
height: 32px;
width: auto;
}
.nav {
display: flex;
gap: 28px;
margin-left: auto;
}
.nav a {
font-size: 0.9rem;
font-weight: 500;
color: var(--text-light);
transition: color 0.2s;
}
.nav a:hover {
color: var(--dark);
}
.header-cta {
margin-left: 8px;
}
.nav-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
color: var(--dark);
margin-left: auto;
}
/* ---- Hero ---- */
.hero {
position: relative;
padding: 160px 0 100px;
text-align: center;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--orange-light) 0%, transparent 70%);
z-index: -1;
}
.hero-badge {
display: inline-block;
padding: 6px 16px;
background: var(--orange-light);
color: var(--orange-dark);
font-size: 0.82rem;
font-weight: 600;
border-radius: 100px;
margin-bottom: 24px;
}
.hero h1 {
font-size: 3.4rem;
font-weight: 800;
color: var(--dark);
line-height: 1.15;
margin-bottom: 20px;
letter-spacing: -0.5px;
}
.highlight {
color: var(--orange);
}
.hero-sub {
font-size: 1.15rem;
color: var(--text-light);
max-width: 560px;
margin: 0 auto 36px;
line-height: 1.7;
}
.hero-actions {
display: flex;
gap: 12px;
justify-content: center;
margin-bottom: 64px;
}
.hero-stats {
display: flex;
justify-content: center;
gap: 64px;
}
.hero-stat strong {
display: block;
font-size: 1.4rem;
font-weight: 700;
color: var(--dark);
}
.hero-stat span {
font-size: 0.85rem;
color: var(--text-light);
}
/* ---- Services ---- */
.services {
padding: 100px 0;
background: var(--bg-alt);
}
.services-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.service-card {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 32px 24px;
transition: box-shadow 0.3s, transform 0.2s;
}
.service-card:hover {
box-shadow: 0 8px 30px rgba(0,0,0,0.06);
transform: translateY(-2px);
}
.service-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--orange-light);
color: var(--orange);
border-radius: 12px;
margin-bottom: 20px;
}
.service-card h3 {
font-size: 1.15rem;
font-weight: 650;
color: var(--dark);
margin-bottom: 8px;
}
.service-card p {
font-size: 0.92rem;
color: var(--text-light);
line-height: 1.6;
margin-bottom: 16px;
}
.service-speed {
display: inline-block;
font-size: 0.8rem;
font-weight: 600;
color: var(--orange);
padding: 4px 10px;
background: var(--orange-light);
border-radius: 6px;
}
/* ---- Why ---- */
.why {
padding: 100px 0;
}
.why-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: start;
}
.why-content h2 {
font-size: 2.2rem;
font-weight: 700;
color: var(--dark);
margin-bottom: 20px;
}
.why-content p {
color: var(--text-light);
font-size: 1.02rem;
margin-bottom: 16px;
line-height: 1.8;
}
.why-features {
display: flex;
flex-direction: column;
gap: 24px;
}
.feature {
display: flex;
gap: 16px;
align-items: flex-start;
}
.feature-icon {
flex-shrink: 0;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: var(--orange-light);
color: var(--orange);
border-radius: 10px;
}
.feature strong {
display: block;
font-size: 0.95rem;
color: var(--dark);
margin-bottom: 2px;
}
.feature p {
font-size: 0.88rem;
color: var(--text-light);
margin: 0;
}
/* ---- Availability ---- */
.availability {
padding: 100px 0;
background: var(--bg-alt);
}
.availability-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: start;
}
.availability-text h2 {
font-size: 2rem;
font-weight: 700;
color: var(--dark);
margin-bottom: 16px;
}
.availability-text p {
color: var(--text-light);
line-height: 1.8;
}
.form {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 32px;
}
.form-group {
margin-bottom: 16px;
}
.form-group label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: var(--dark);
margin-bottom: 6px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 11px 14px;
border: 1.5px solid var(--border);
border-radius: 8px;
font-size: 0.95rem;
font-family: inherit;
transition: border-color 0.2s, box-shadow 0.2s;
background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--orange);
box-shadow: 0 0 0 3px rgba(232, 137, 29, 0.1);
}
/* ---- Footer ---- */
.footer {
background: var(--dark-soft);
color: #d1d5db;
padding: 64px 0 0;
}
.footer-top {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 40px;
padding-bottom: 48px;
}
.footer-logo {
height: 28px;
margin-bottom: 16px;
filter: brightness(0) invert(1);
}
.footer-brand p {
font-size: 0.9rem;
color: #9ca3af;
line-height: 1.7;
}
.footer-links h4 {
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
color: #fff;
margin-bottom: 16px;
}
.footer-links a,
.footer-links p {
display: block;
font-size: 0.9rem;
color: #9ca3af;
margin-bottom: 8px;
transition: color 0.2s;
}
.footer-links a:hover {
color: #fff;
}
.footer-bottom {
border-top: 1px solid #2d2d2d;
padding: 20px 0;
font-size: 0.85rem;
color: #6b7280;
}
/* ---- Mobile ---- */
@media (max-width: 1024px) {
.services-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.nav {
display: none;
position: absolute;
top: 68px;
left: 0;
right: 0;
background: rgba(255,255,255,0.98);
backdrop-filter: blur(12px);
flex-direction: column;
padding: 16px 24px;
gap: 12px;
border-bottom: 1px solid var(--border);
}
.nav.open {
display: flex;
}
.nav-toggle {
display: block;
}
.header-cta {
display: none;
}
.hero {
padding: 120px 0 64px;
}
.hero h1 {
font-size: 2.2rem;
}
.hero-sub {
font-size: 1rem;
}
.hero-actions {
flex-direction: column;
align-items: center;
margin-bottom: 48px;
}
.hero-stats {
flex-direction: column;
gap: 24px;
}
.services-grid {
grid-template-columns: 1fr;
}
.why-inner {
grid-template-columns: 1fr;
gap: 40px;
}
.availability-inner {
grid-template-columns: 1fr;
gap: 32px;
}
.form-row {
grid-template-columns: 1fr;
}
.footer-top {
grid-template-columns: 1fr;
gap: 32px;
}
}