/* Landing Page - Glassmorphism Style */

:root {
    --primary-color: rgba(102, 126, 234, 0.8);
    --success-color: rgba(16, 185, 129, 0.8);
    --dark-bg: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #0d0d15 50%, #050510 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Realistic 3D soap bubble effects - matching dashboard */
body::before {
    content: '';
    position: fixed;
    width: 450px;
    height: 450px;
    background:
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 95%, rgba(0, 0, 0, 0.2) 0%, transparent 30%),
        radial-gradient(circle, rgba(100, 100, 120, 0.2) 0%, rgba(70, 70, 90, 0.15) 35%, rgba(50, 50, 70, 0.08) 65%, transparent 100%);
    border-radius: 50%;
    top: 80px;
    left: 10%;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px);
    box-shadow:
        inset -30px -30px 60px rgba(0, 0, 0, 0.5),
        inset 25px 25px 50px rgba(255, 255, 255, 0.22),
        0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 25s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    width: 380px;
    height: 380px;
    background:
        radial-gradient(circle at 74% 74%, rgba(0, 0, 0, 0.35) 0%, transparent 42%),
        radial-gradient(ellipse at 50% 94%, rgba(0, 0, 0, 0.25) 0%, transparent 32%),
        radial-gradient(circle, rgba(95, 95, 115, 0.18) 0%, rgba(65, 65, 85, 0.13) 35%, rgba(45, 45, 65, 0.07) 65%, transparent 100%);
    border-radius: 50%;
    bottom: 100px;
    right: 8%;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px);
    box-shadow:
        inset -28px -28px 55px rgba(0, 0, 0, 0.5),
        inset 23px 23px 48px rgba(255, 255, 255, 0.2),
        0 18px 38px rgba(0, 0, 0, 0.3);
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.03);
    }
}

/* Additional bubble elements - matching dashboard */
.bubble {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.5px);
}

.bubble-1 {
    width: 250px;
    height: 250px;
    top: 33%;
    left: 50%;
    background:
        radial-gradient(circle at 76% 76%, rgba(0, 0, 0, 0.35) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 96%, rgba(0, 0, 0, 0.22) 0%, transparent 28%),
        radial-gradient(circle, rgba(105, 105, 125, 0.2) 0%, rgba(75, 75, 95, 0.14) 40%, rgba(55, 55, 75, 0.08) 70%, transparent 100%);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.55),
        inset 20px 20px 42px rgba(255, 255, 255, 0.22),
        0 15px 35px rgba(0, 0, 0, 0.35);
    animation: float 24s ease-in-out infinite reverse;
}

.bubble-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    background:
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.4) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 92%, rgba(0, 0, 0, 0.3) 0%, transparent 35%),
        radial-gradient(circle, rgba(100, 100, 120, 0.15) 0%, rgba(70, 70, 90, 0.1) 50%, transparent 100%);
    box-shadow:
        inset -15px -15px 30px rgba(0, 0, 0, 0.6),
        inset 12px 12px 25px rgba(255, 255, 255, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.4);
    animation: float 18s ease-in-out infinite;
}

/* Navigation - Glassmorphism */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn-login):not(.btn-register):not(.btn-dashboard):hover {
    color: white;
}

/* Simple nav buttons - matching dashboard style */
.nav-links .btn-login {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links .btn-login:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.nav-links .btn-register {
    padding: 0.6rem 1.5rem;
    background: rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .btn-register:hover {
    background: rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.nav-links .btn-dashboard {
    padding: 0.6rem 1.5rem;
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .btn-dashboard:hover {
    background: rgba(102, 126, 234, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: float-preview 6s ease-in-out infinite;
}

@keyframes float-preview {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-positive {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 1;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    /* Hide smaller bubbles on mobile */
    .bubble {
        display: none;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing section list styling */
.feature-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}
