init
This commit is contained in:
258
src/index.css
Normal file
258
src/index.css
Normal file
@@ -0,0 +1,258 @@
|
||||
:root {
|
||||
--primary-color: #0E2A47;
|
||||
--bg-color: #F8F9FA;
|
||||
--secondary-bg: #E6E9ED;
|
||||
--text-secondary: #6B7280;
|
||||
--text-primary: #1F2933;
|
||||
--accent-green: #2FA66A;
|
||||
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
--transition-fast: 0.2s ease;
|
||||
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
--header-height: 80px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: var(--primary-color);
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 1.5rem;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
h1 { font-size: clamp(2rem, 5vw, 3.5rem); hyphens: auto; }
|
||||
h1.no-underline::after,
|
||||
h2.no-underline::after {
|
||||
display: none !important;
|
||||
}
|
||||
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); position: relative; display: block; margin-bottom: 2rem; }
|
||||
h2:not(.no-underline)::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 0;
|
||||
width: 40px;
|
||||
height: 3px;
|
||||
background: var(--accent-green);
|
||||
}
|
||||
|
||||
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
transition: all var(--transition-fast);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 6rem 0;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
gap: 2.5rem;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
padding: 1rem 2rem;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
transition: all var(--transition-fast);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
font-size: 0.8rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
background-color: var(--text-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
border: 1px solid var(--secondary-bg);
|
||||
background: white;
|
||||
font-family: inherit;
|
||||
margin-bottom: 1.5rem;
|
||||
transition: all var(--transition-fast);
|
||||
border-radius: 4px;
|
||||
font-size: 16px; /* Prevent zoom on iOS */
|
||||
}
|
||||
|
||||
input:focus, textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.card {
|
||||
background: white;
|
||||
padding: 2.5rem;
|
||||
border: 1px solid var(--secondary-bg);
|
||||
transition: all var(--transition-fast);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.img-placeholder {
|
||||
background: #e2e8f0;
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.2em;
|
||||
margin-bottom: 2rem;
|
||||
border: 1px solid var(--secondary-bg);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: var(--accent-green);
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: block;
|
||||
color: var(--accent-green);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.15em;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
header .container {
|
||||
height: var(--header-height);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
:root {
|
||||
--header-height: 64px;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.grid {
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
header .container {
|
||||
height: var(--header-height);
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
header img {
|
||||
height: 40px !important;
|
||||
}
|
||||
|
||||
nav {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: white;
|
||||
border-top: 1px solid var(--secondary-bg);
|
||||
padding: 0.75rem 1rem;
|
||||
justify-content: space-around !important;
|
||||
gap: 0 !important;
|
||||
box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
font-size: 0.7rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.nav-link::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
main {
|
||||
padding-bottom: 80px; /* Space for bottom nav */
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 2rem 0 !important;
|
||||
min-height: auto !important;
|
||||
}
|
||||
|
||||
.hero .grid {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
|
||||
.hero div:first-child {
|
||||
width: 100% !important;
|
||||
clip-path: none !important;
|
||||
background: #f1f5f9 !important;
|
||||
padding: 2rem 1rem !important;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.hero .img-placeholder {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user