/* --- clearsight.css - Dedicated Styles for ClearSight Landing Page --- */

/* Hero Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), 0 0 10px rgba(124, 77, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-clearsight {
    background: radial-gradient(circle at 50% 100%, rgba(124, 77, 255, 0.15) 0%, var(--bg-dark) 60%),
        radial-gradient(circle at 10% 0%, rgba(0, 229, 255, 0.1) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-clearsight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 0;
}

.hero-clearsight .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo-wrapper {
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.hero-logo-wrapper img {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-clearsight h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    animation: fadeIn 1s ease-out forwards;
}

.hero-clearsight .lead {
    font-size: 1.4rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.cta-group {
    display: flex;
    gap: 20px;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.btn-glow {
    animation: glow 3s infinite;
}

/* Glassmorphism Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.03),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-glass-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.1);
}

.feature-glass-card:hover::before {
    opacity: 1;
    left: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-glass-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* How It Works Section */
.workflow-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
}

.workflow-track::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 229, 255, 0.1), rgba(124, 77, 255, 0.5), rgba(0, 229, 255, 0.1));
    z-index: 0;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-darker);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(124, 77, 255, 0.2);
    transition: all 0.3s ease;
}

.workflow-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}

.workflow-step h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.workflow-step p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* App Showcase Details */
.app-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-text {
    flex: 1;
}

.showcase-list {
    list-style: none;
    margin-top: 2rem;
}

.showcase-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.showcase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Call to action */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(124, 77, 255, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .workflow-track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .workflow-track::before {
        display: none;
    }

    .app-showcase {
        flex-direction: column;
    }

    .hero-clearsight h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-badges {
        flex-wrap: wrap;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}