Files
doing-it-website/app/globals.css
2025-11-27 11:44:23 +01:00

757 lines
14 KiB
CSS
Executable File

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--color-bg: #000000;
--color-text: #ffffff;
--color-text-secondary: #a1a1a6;
--color-accent: #ff3b30;
--color-accent-hover: #ff453a;
--color-accent-light: #ff6b6b;
--color-card: #1c1c1e;
--color-border: #38383a;
--color-red: #ff3b30;
--color-red-dark: #d70015;
--font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-primary);
background-color: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
a {
color: var(--color-red);
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: var(--color-accent-hover);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
@media (min-width: 768px) {
.container {
padding: 0 40px;
}
}
/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}
/* Navigation */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: saturate(180%) blur(20px);
-webkit-backdrop-filter: saturate(180%) blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
align-items: center;
justify-content: space-between;
height: 44px;
}
@media (min-width: 768px) {
.nav-container {
padding: 0 40px;
height: 52px;
}
}
.nav-logo {
font-size: 20px;
font-weight: 600;
color: var(--color-text);
letter-spacing: -0.5px;
}
.nav-menu {
display: none;
gap: 30px;
}
@media (min-width: 768px) {
.nav-menu {
display: flex;
}
}
.nav-link {
color: var(--color-text);
font-size: 14px;
transition: opacity 0.3s ease;
}
.nav-link:hover {
opacity: 0.7;
color: var(--color-text);
}
.nav-link[href*="linkedin"]:hover {
opacity: 1;
color: var(--color-red);
}
.nav-toggle {
display: flex;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 5px;
}
@media (min-width: 768px) {
.nav-toggle {
display: none;
}
}
.nav-toggle span {
width: 22px;
height: 2px;
background: var(--color-text);
transition: all 0.3s ease;
display: block;
}
.nav-toggle span.open:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle span.open:nth-child(2) {
opacity: 0;
}
.nav-toggle span.open:nth-child(3) {
transform: rotate(-45deg) translate(7px, -6px);
}
.nav-mobile {
display: flex;
flex-direction: column;
padding: 20px;
background: rgba(0, 0, 0, 0.95);
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
.nav-mobile {
display: none;
}
}
.nav-mobile-link {
padding: 15px 0;
color: var(--color-text);
font-size: 17px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-mobile-link:last-child {
border-bottom: none;
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 100px 20px 60px;
background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}
.hero-content {
max-width: 800px;
}
.hero-title {
font-size: 56px;
font-weight: 600;
letter-spacing: -1.5px;
margin-bottom: 20px;
background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
@media (min-width: 768px) {
.hero-title {
font-size: 80px;
}
}
.hero-subtitle {
font-size: 21px;
color: var(--color-text-secondary);
margin-bottom: 40px;
line-height: 1.5;
}
@media (min-width: 768px) {
.hero-subtitle {
font-size: 28px;
}
}
.hero-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
/* Buttons */
.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 22px;
font-size: 17px;
font-weight: 400;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
border: none;
}
.btn-primary {
background: var(--color-red);
color: white;
border: none;
}
.btn-primary:hover {
background: var(--color-accent-hover);
transform: translateY(-2px);
box-shadow: 0 12px 24px rgba(255, 59, 48, 0.4);
color: white;
}
.btn-secondary {
background: transparent;
color: var(--color-red);
border: 1px solid var(--color-red);
}
.btn-secondary:hover {
background: rgba(255, 59, 48, 0.1);
color: var(--color-red);
border-color: var(--color-accent-hover);
transform: translateY(-2px);
}
/* Features Section */
.features {
padding: 100px 0;
background: var(--color-bg);
}
.section-header {
text-align: center;
margin-bottom: 80px;
}
.section-header h2 {
font-size: 48px;
font-weight: 600;
letter-spacing: -1.2px;
margin-bottom: 20px;
color: var(--color-text);
}
@media (min-width: 768px) {
.section-header h2 {
font-size: 64px;
letter-spacing: -1.5px;
}
}
.section-header p {
font-size: 21px;
color: var(--color-text-secondary);
letter-spacing: -0.3px;
}
.features-grid {
display: grid;
grid-template-columns: 1fr;
gap: 30px;
}
@media (min-width: 768px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
.features-grid {
grid-template-columns: repeat(4, 1fr);
}
}
.feature-card {
background: var(--color-card);
border-radius: 20px;
padding: 45px 35px;
text-align: center;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-card:hover {
transform: translateY(-8px);
box-shadow: 0 24px 48px rgba(255, 59, 48, 0.15);
border-color: rgba(255, 59, 48, 0.2);
background: #1f1f21;
}
.feature-icon {
font-size: 48px;
margin-bottom: 20px;
}
.feature-card h3 {
font-size: 24px;
font-weight: 600;
margin-bottom: 16px;
letter-spacing: -0.5px;
color: var(--color-text);
}
.feature-card p {
font-size: 17px;
color: var(--color-text-secondary);
line-height: 1.7;
letter-spacing: -0.1px;
}
.feature-card-large {
background: var(--color-card);
border-radius: 20px;
padding: 60px 50px;
border: 1px solid rgba(255, 255, 255, 0.08);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
margin-bottom: 40px;
}
.feature-card-large:hover {
transform: translateY(-8px);
box-shadow: 0 24px 48px rgba(255, 59, 48, 0.15);
border-color: rgba(255, 59, 48, 0.2);
background: #1f1f21;
}
.feature-card-large h3 {
font-size: 32px;
font-weight: 600;
margin-bottom: 24px;
letter-spacing: -0.8px;
color: var(--color-text);
}
.feature-card-large p {
font-size: 19px;
color: var(--color-text-secondary);
line-height: 1.8;
letter-spacing: -0.2px;
}
.feature-number {
font-size: 72px;
font-weight: 700;
color: var(--color-red);
opacity: 0.15;
margin-bottom: 30px;
line-height: 1;
letter-spacing: -2px;
transition: opacity 0.3s ease;
}
.feature-card-large:hover .feature-number {
opacity: 0.25;
}
/* Page Hero */
.page-hero {
padding: 140px 20px 80px;
text-align: center;
background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}
.page-hero h1 {
font-size: 48px;
font-weight: 600;
letter-spacing: -1px;
margin-bottom: 20px;
}
@media (min-width: 768px) {
.page-hero h1 {
font-size: 64px;
}
}
.page-hero-subtitle {
font-size: 21px;
color: var(--color-text-secondary);
}
@media (min-width: 768px) {
.page-hero-subtitle {
font-size: 28px;
}
}
/* Page Content */
.page-content {
padding: 80px 0;
}
.content-block {
margin-bottom: 60px;
text-align: center;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.content-block h2 {
font-size: 40px;
font-weight: 600;
letter-spacing: -1px;
margin-bottom: 25px;
}
@media (min-width: 768px) {
.content-block h2 {
font-size: 56px;
}
}
.content-block p {
font-size: 19px;
color: var(--color-text-secondary);
line-height: 1.7;
}
.cta-section {
text-align: center;
padding: 80px 20px;
margin-top: 80px;
background: var(--color-card);
border-radius: 18px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-section h2 {
font-size: 40px;
font-weight: 600;
letter-spacing: -1px;
margin-bottom: 15px;
}
@media (min-width: 768px) {
.cta-section h2 {
font-size: 56px;
}
}
.cta-section p {
font-size: 21px;
color: var(--color-text-secondary);
margin-bottom: 40px;
}
/* Footer */
.footer {
background: var(--color-card);
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 60px 0 30px;
margin-top: 100px;
}
.footer-content {
display: grid;
grid-template-columns: 1fr;
gap: 40px;
margin-bottom: 40px;
}
@media (min-width: 768px) {
.footer-content {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
.footer-content {
grid-template-columns: repeat(4, 1fr);
}
}
.footer-section h3 {
font-size: 20px;
font-weight: 600;
margin-bottom: 15px;
letter-spacing: -0.5px;
}
.footer-section h4 {
font-size: 17px;
font-weight: 600;
margin-bottom: 15px;
color: var(--color-text-secondary);
}
.footer-section p {
font-size: 17px;
color: var(--color-text-secondary);
margin-bottom: 10px;
}
.footer-section a {
display: block;
font-size: 17px;
color: var(--color-text-secondary);
margin-bottom: 10px;
transition: color 0.3s ease;
}
.footer-section a:hover {
color: var(--color-accent);
}
.footer-social {
display: flex;
flex-direction: column;
gap: 10px;
}
.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
font-size: 14px;
color: var(--color-text-secondary);
}
/* CTA Hero Section */
.cta-hero {
padding: 100px 0;
background: var(--color-card);
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Partners Section */
.partners-section {
padding: 80px 0;
background: var(--color-bg);
border-top: 1px solid rgba(255, 255, 255, 0.08);
text-align: center;
}
.partners-content {
max-width: 800px;
margin: 0 auto;
}
.cta-hero-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.cta-hero-content h2 {
font-size: 48px;
font-weight: 600;
letter-spacing: -1px;
margin-bottom: 20px;
}
@media (min-width: 768px) {
.cta-hero-content h2 {
font-size: 64px;
}
}
.cta-hero-content p {
font-size: 21px;
color: var(--color-text-secondary);
margin-bottom: 40px;
}
/* Contact Form */
.contact-form {
max-width: 600px;
margin: 0 auto;
background: var(--color-card);
padding: 40px;
border-radius: 18px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group {
margin-bottom: 25px;
}
.form-group label {
display: block;
font-size: 17px;
font-weight: 500;
margin-bottom: 8px;
color: var(--color-text);
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 16px;
font-size: 17px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
color: var(--color-text);
font-family: var(--font-primary);
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--color-accent);
background: rgba(255, 255, 255, 0.08);
}
.form-group textarea {
min-height: 150px;
resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
color: var(--color-text-secondary);
}
.contact-info {
display: grid;
grid-template-columns: 1fr;
gap: 30px;
margin-top: 60px;
}
@media (min-width: 768px) {
.contact-info {
grid-template-columns: repeat(2, 1fr);
}
}
.contact-info-item {
text-align: center;
padding: 30px;
background: var(--color-card);
border-radius: 18px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info-item h3 {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
}
.contact-info-item p,
.contact-info-item a {
font-size: 17px;
color: var(--color-text-secondary);
}
/* Legal Pages */
.legal-content {
max-width: 900px;
margin: 0 auto;
padding: 40px 20px;
background: var(--color-card);
border-radius: 18px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-content h2 {
font-size: 32px;
font-weight: 600;
margin-top: 40px;
margin-bottom: 20px;
letter-spacing: -0.5px;
}
.legal-content h2:first-child {
margin-top: 0;
}
.legal-content h3 {
font-size: 24px;
font-weight: 600;
margin-top: 30px;
margin-bottom: 15px;
}
.legal-content p {
font-size: 17px;
color: var(--color-text-secondary);
line-height: 1.7;
margin-bottom: 15px;
}
.legal-content ul {
margin-left: 20px;
margin-bottom: 15px;
}
.legal-content li {
font-size: 17px;
color: var(--color-text-secondary);
line-height: 1.7;
margin-bottom: 10px;
}