YoonJ-C
Update UI styling and add gradient image
f2d5457
@import url('design-tokens.css');
/* ==========================================================================
RESET & BASE STYLES
========================================================================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-family);
line-height: 1.6;
color: var(--text-primary);
background: #ffffff;
overflow-x: hidden;
}
/* ==========================================================================
ANIMATIONS
========================================================================== */
@keyframes gradientShift {
0%, 100% { transform: scale(1) rotate(0deg); }
50% { transform: scale(1.1) rotate(5deg); }
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ==========================================================================
NAVIGATION
========================================================================== */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-divider);
z-index: 1000;
padding: var(--space-md) 0;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--space-xl);
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: var(--font-size-xl);
font-weight: var(--font-weight-bold);
color: var(--text-primary);
}
.nav-cta {
padding: var(--space-sm) var(--space-xl);
background: var(--primary-dark);
color: var(--text-inverse);
text-decoration: none;
border-radius: var(--radius-sm);
font-weight: var(--font-weight-medium);
font-size: var(--font-size-sm);
transition: all var(--transition-base);
}
.nav-cta:hover {
background: var(--primary-dark);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
/* ==========================================================================
HERO SECTION
========================================================================== */
.hero-section {
padding: 120px var(--space-2xl) var(--space-3xl);
text-align: center;
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
overflow: hidden;
background: transparent;
}
.hero-container {
max-width: 1000px;
margin: 0 auto;
position: relative;
z-index: 1;
}
.hero-video {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
object-fit: cover;
z-index: -1;
background: #fff;
opacity: .4;
visibility: visible;
}
.badge {
display: inline-block;
padding: var(--space-xs) var(--space-md);
font-size: var(--font-size-sm);
font-weight: var(--font-weight-medium);
color: var(--info);
margin-bottom: var(--space-md);
animation: fadeInUp 0.6s ease;
}
.hero-title {
font-size: 4.5rem;
font-weight: var(--font-weight-bold);
line-height: 1.1;
margin-bottom: var(--space-xl);
color: var(--text-primary);
animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-subtitle {
font-size: var(--font-size-xl);
color: var(--text-primary);
max-width: 600px;
margin: 0 auto 6rem;
line-height: 1.8;
animation: fadeInUp 0.6s ease 0.2s both;
}
.cta-buttons {
animation: fadeInUp 0.6s ease 0.3s both;
}
.assessment-meta {
display: flex;
justify-content: center;
gap: var(--space-2xl);
margin-top: var(--space-2xl);
font-size: var(--font-size-sm);
color: var(--text-secondary);
}
/* ==========================================================================
BUTTONS
========================================================================== */
.btn-primary {
display: inline-flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-md) var(--space-2xl);
font-size: var(--font-size-lg);
font-weight: var(--font-weight-medium);
text-decoration: none;
border-radius: var(--radius-md);
transition: all var(--transition-base);
cursor: pointer;
background: var(--primary-dark);
color: var(--text-inverse);
box-shadow: var(--shadow-xl);
}
.btn-primary:hover {
background: linear-gradient(135deg, var(--background-color-2), var(--background-color-1));
box-shadow: var(--shadow-xl);
}
.btn-primary .arrow {
transition: transform var(--transition-base);
}
.btn-primary:hover .arrow {
transform: translateX(5px);
}
/* ==========================================================================
FEATURES SECTION
========================================================================== */
/* .features-section {
width: 100vw;
min-height: 100vh;
background: url("images/Abstract%20Color%20Gradient.png") center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
} */
/* landing.css */
.features-section {
width: 100vw;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
z-index: 2;
background: radial-gradient(
160% 130% at 50% -20%,
rgba(219, 239, 253, 1) 0%,
rgba(219, 239, 253, 0.65) 45%,
rgba(255, 255, 255, 0.75) 65%,
rgba(255, 255, 255, 1) 82%,
rgba(255, 255, 255, 1) 100%
),
radial-gradient(
170% 170% at 50% 140%,
rgba(246, 228, 255, 0.95) 0%,
rgba(246, 228, 255, 0.55) 55%,
rgba(246, 228, 255, 0.15) 78%,
rgba(255, 255, 255, 1) 100%
);
}
.section-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--space-xl);
}
.section-header {
text-align: center;
margin-bottom: var(--space-2xl);
}
.section-header h2 {
font-size: var(--font-size-4xl);
font-weight: var(--font-weight-extrabold);
color: var(--text-primary);
margin-bottom: var(--space-md);
}
.section-subtitle {
font-size: var(--font-size-xl); /* same as hero-subtitle */
color: var(--text-primary); /* hero uses primary */
max-width: 600px; /* hero-subtitle width */
margin: 0 auto var(--space-4xl); /* centered, comfortable bottom space */
line-height: 1.8; /* easier reading like hero */
animation: fadeInUp 0.6s ease 0.2s both; /* subtle entrance like hero */
}
.section-header p {
font-size: var(--font-size-xl);
color: var(--text-secondary);
}
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--space-xl);
justify-items: center;
}
.feature-card {
background: var(--bg-white);
padding: var(--space-3xl);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
transition: all var(--transition-base);
}
.feature-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-xl);
}
.feature-icon-img {
width: 68px;
height: 68px;
object-fit: contain;
}
.feature-card h3 {
font-size: var(--font-size-2xl);
font-weight: var(--font-weight-bold);
color: var(--text-primary);
margin-bottom: var(--space-md);
}
.feature-card p {
color: var(--text-secondary);
line-height: 1.8;
}
/* ==========================================================================
CTA SECTION
========================================================================== */
.cta-section {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--text-inverse);
}
.cta-container h2 {
font-size: var(--font-size-4xl);
font-weight: var(--font-weight-bold);
margin-bottom: var(--space-md);
color: var(--text-primary);
}
.cta-container p {
font-size: var(--font-size-xl);
margin-bottom: var(--space-3xl);
color: var(--text-primary);
}
/* ==========================================================================
FOOTER
========================================================================== */
.footer {
background: var(--primary-dark);
color: var(--text-inverse);
padding: var(--space-md) var(--space-md);
text-align: center;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
}
.footer p {
opacity: 0.7;
}
/* ==========================================================================
RESPONSIVE DESIGN
========================================================================== */
/* Tablet and smaller desktop */
@media (max-width: 1024px) {
.hero-title {
font-size: 3.5rem;
}
.features-grid {
grid-template-columns: repeat(2, 1fr);
gap: var(--space-lg);
}
.feature-card {
padding: var(--space-xl);
}
}
/* Mobile landscape and smaller tablets */
@media (max-width: 768px) {
.nav-container {
padding: 0 var(--space-md);
}
.hero-section {
padding: 100px var(--space-md) var(--space-3xl);
min-height: 100vh;
}
.hero-title {
font-size: 2.5rem;
line-height: 1.2;
}
.hero-subtitle {
font-size: var(--font-size-lg);
margin: 0 auto var(--space-2xl);
}
.assessment-meta {
flex-direction: column;
gap: var(--space-sm);
margin-top: var(--space-xl);
}
.btn-primary {
padding: var(--space-md) var(--space-xl);
font-size: var(--font-size-base);
width: 100%;
max-width: 300px;
justify-content: center;
}
.features-section {
height: auto;
min-height: 100vh;
padding: var(--space-3xl) 0;
}
.section-container {
padding: 0 var(--space-md);
}
.section-header h2 {
font-size: var(--font-size-2xl);
}
.section-header p {
font-size: var(--font-size-lg);
}
.features-grid {
grid-template-columns: 1fr;
gap: var(--space-lg);
}
.feature-card {
padding: var(--space-xl);
margin: 0 var(--space-sm);
}
.cta-section {
height: auto;
min-height: 100vh;
padding: var(--space-3xl) var(--space-md);
}
.cta-container h2 {
font-size: var(--font-size-2xl);
margin-bottom: var(--space-lg);
}
.cta-container p {
font-size: var(--font-size-lg);
margin-bottom: var(--space-2xl);
}
.nav-cta {
padding: var(--space-sm) var(--space-lg);
font-size: var(--font-size-sm);
}
}
/* Small mobile devices */
@media (max-width: 480px) {
.hero-section {
padding: 80px var(--space-sm) var(--space-2xl);
}
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: var(--font-size-base);
}
.section-container {
padding: 0 var(--space-sm);
}
.feature-card {
padding: var(--space-lg);
margin: 0;
}
.cta-section {
padding: var(--space-2xl) var(--space-sm);
}
.cta-container h2 {
font-size: var(--font-size-xl);
}
.cta-container p {
font-size: var(--font-size-base);
}
.btn-primary {
padding: var(--space-sm) var(--space-lg);
font-size: var(--font-size-sm);
}
.nav-cta {
padding: var(--space-xs) var(--space-md);
font-size: var(--font-size-xs);
}
}
/* Very small mobile devices */
@media (max-width: 320px) {
.hero-title {
font-size: 1.8rem;
}
.hero-subtitle {
font-size: var(--font-size-sm);
}
.feature-card {
padding: var(--space-md);
}
.cta-container h2 {
font-size: var(--font-size-lg);
}
}