/* Modern Light Theme - Posira Journey */

/* CSS Variables for Light Theme Colors */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --light-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #f8f8ff 100%);
    
    --primary-color: #667eea;
    --secondary-color: #f093fb;
    --accent-color: #4facfe;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-strong: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --glass-shadow-strong: 0 20px 40px 0 rgba(0, 0, 0, 0.15);
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 28px;
    --border-radius-xl: 36px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated Background Elements */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Wave Animations */
.wave {
    position: absolute;
    width: 200%;
    height: 200px;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(245, 147, 251, 0.1));
    border-radius: 50%;
    animation: wave 15s ease-in-out infinite;
}

.wave-1 {
    top: 10%;
    left: -50%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.08), rgba(245, 147, 251, 0.08));
}

.wave-2 {
    top: 40%;
    left: -50%;
    animation-delay: 5s;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
}

.wave-3 {
    top: 70%;
    left: -50%;
    animation-delay: 10s;
    background: linear-gradient(45deg, rgba(245, 147, 251, 0.06), rgba(102, 126, 234, 0.06));
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(25%) translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateX(50%) translateY(20px) rotate(-1deg);
    }
    75% {
        transform: translateX(25%) translateY(-10px) rotate(1deg);
    }
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, rgba(102, 126, 234, 0.05) 70%, transparent 100%);
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 147, 251, 0.12) 0%, rgba(245, 147, 251, 0.04) 70%, transparent 100%);
    bottom: 25%;
    left: -5%;
    animation-delay: 7s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.18) 0%, rgba(79, 172, 254, 0.06) 70%, transparent 100%);
    top: 60%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    33% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
    66% {
        transform: translateY(20px) translateX(-15px) scale(0.9);
    }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 25s linear infinite;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    background: var(--primary-color);
}

.particle:nth-child(2) {
    left: 40%;
    animation-delay: 5s;
    background: var(--secondary-color);
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 10s;
    background: var(--accent-color);
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 15s;
    background: var(--primary-color);
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 20s;
    background: var(--secondary-color);
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow-strong);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, #00ff88, #00cc66);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.7;
    font-weight: 400;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-strong);
    color: var(--text-primary);
}

/* Features Preview */
.features-preview {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    text-align: center;
    min-width: 160px;
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-strong);
    box-shadow: var(--glass-shadow-strong);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    background: var(--primary-gradient);
}

.feature-icon i {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-icon:hover i {
    color: white;
    -webkit-text-fill-color: white;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .features-preview {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        width: 100%;
        max-width: 300px;
    }
    
    .orb-1, .orb-2, .orb-3 {
        transform: scale(0.7);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .status-badge {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }
    
    .feature-item {
        padding: var(--spacing-md);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .wave, .floating-orb, .particle {
        animation: none;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;
        --text-muted: #cbd5e0;
        --bg-primary: #1a202c;
        --bg-secondary: #2d3748;
        --bg-tertiary: #4a5568;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}