YoonJ-C
Update spiritual path assessment with landing page and improved navigation
8566af4
raw
history blame
8.4 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #6366f1;
--primary-dark: #4f46e5;
--secondary: #8b5cf6;
--accent: #ec4899;
--text-dark: #1e293b;
--text-light: #64748b;
--bg-white: #ffffff;
--bg-light: #f8fafc;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: var(--text-dark);
background: var(--bg-white);
overflow-x: hidden;
}
/* Animated Gradient Background */
.gradient-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
opacity: 0.05;
z-index: -1;
animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
0%, 100% { transform: scale(1) rotate(0deg); }
50% { transform: scale(1.1) rotate(5deg); }
}
/* Navigation */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
z-index: 1000;
padding: 1rem 0;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-dark);
}
.nav-cta {
padding: 0.625rem 1.5rem;
background: var(--primary);
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
font-size: 0.9rem;
transition: all 0.3s ease;
}
.nav-cta:hover {
background: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
/* Main Content */
.main-content {
padding-top: 80px;
}
/* Hero Section */
.hero-section {
padding: 6rem 2rem 4rem;
text-align: center;
position: relative;
}
.hero-container {
max-width: 1000px;
margin: 0 auto;
}
.badge {
display: inline-block;
padding: 0.5rem 1rem;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
border: 1px solid rgba(99, 102, 241, 0.2);
border-radius: 50px;
font-size: 0.875rem;
font-weight: 600;
color: var(--primary);
margin-bottom: 2rem;
animation: fadeInUp 0.6s ease;
}
.hero-title {
font-size: 4.5rem;
font-weight: 800;
line-height: 1.1;
margin-bottom: 1.5rem;
color: var(--text-dark);
animation: fadeInUp 0.6s ease 0.1s both;
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--text-light);
max-width: 700px;
margin: 0 auto 3rem;
line-height: 1.8;
animation: fadeInUp 0.6s ease 0.2s both;
}
.cta-buttons {
animation: fadeInUp 0.6s ease 0.3s both;
}
.btn-primary, .btn-secondary {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 2.5rem;
font-size: 1.125rem;
font-weight: 600;
text-decoration: none;
border-radius: 12px;
transition: all 0.3s ease;
cursor: pointer;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}
.btn-primary .arrow {
transition: transform 0.3s ease;
}
.btn-primary:hover .arrow {
transform: translateX(5px);
}
.assessment-meta {
display: flex;
justify-content: center;
gap: 2rem;
margin-top: 2rem;
font-size: 0.9rem;
color: var(--text-light);
}
/* Hero Visual */
.hero-visual {
position: relative;
height: 400px;
margin-top: 5rem;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
.floating-card {
position: absolute;
background: white;
padding: 1.25rem 1.75rem;
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
gap: 0.75rem;
animation: float 6s ease-in-out infinite;
white-space: nowrap;
}
.floating-card .card-icon {
font-size: 1.75rem;
flex-shrink: 0;
}
.floating-card .card-text {
font-weight: 600;
color: var(--text-dark);
font-size: 0.95rem;
}
.card-1 {
left: 5%;
top: 10%;
animation-delay: 0s;
}
.card-2 {
right: 5%;
top: 50%;
animation-delay: 2s;
}
.card-3 {
left: 50%;
transform: translateX(-50%);
bottom: 10%;
animation-delay: 4s;
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}
/* Fix for card-3 animation to maintain centering */
.card-3 {
animation: floatCenter 6s ease-in-out infinite;
}
@keyframes floatCenter {
0%, 100% {
transform: translate(-50%, 0px);
}
50% {
transform: translate(-50%, -20px);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Features Section */
.features-section {
padding: 6rem 2rem;
background: var(--bg-light);
}
.section-container {
max-width: 1200px;
margin: 0 auto;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-size: 3rem;
font-weight: 800;
color: var(--text-dark);
margin-bottom: 1rem;
}
.section-header p {
font-size: 1.25rem;
color: var(--text-light);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.feature-card {
background: white;
padding: 2.5rem;
border-radius: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.feature-icon-wrapper {
width: 80px;
height: 80px;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
}
.feature-icon {
font-size: 2.5rem;
}
.feature-card h3 {
font-size: 1.5rem;
font-weight: 700;
color: var(--text-dark);
margin-bottom: 1rem;
}
.feature-card p {
color: var(--text-light);
line-height: 1.8;
}
/* CTA Section */
.cta-section {
padding: 6rem 2rem;
text-align: center;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
}
.cta-container h2 {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1rem;
}
.cta-container p {
font-size: 1.25rem;
margin-bottom: 2.5rem;
opacity: 0.9;
}
.btn-secondary {
background: white;
color: var(--primary);
}
.btn-secondary:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}
/* Footer */
.footer {
background: var(--text-dark);
color: white;
padding: 3rem 2rem;
text-align: center;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
}
.footer p {
opacity: 0.7;
}
/* Responsive Design */
@media (max-width: 1024px) {
.hero-visual {
height: 300px;
}
.floating-card {
padding: 1rem 1.5rem;
font-size: 0.85rem;
}
.floating-card .card-icon {
font-size: 1.5rem;
}
}
@media (max-width: 768px) {
.nav-container {
padding: 0 1rem;
}
.hero-section {
padding: 4rem 1rem 3rem;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.assessment-meta {
flex-direction: column;
gap: 0.5rem;
}
.hero-visual {
display: none;
}
.section-header h2 {
font-size: 2rem;
}
.cta-container h2 {
font-size: 2rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.btn-primary, .btn-secondary {
padding: 0.875rem 2rem;
font-size: 1rem;
}
}