/* ==========================================
   LANDING PAGE STYLES
========================================== */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(82, 229, 231, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(76, 217, 100, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(76, 217, 100, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Hero Image */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.floating-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-element {
    position: absolute;
    background: var(--primary-gradient);
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(76, 217, 100, 0.3);
    color: white;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.element-2 {
    bottom: 20%;
    right: 10%;
    animation: float 7s ease-in-out infinite 1s;
}

.element-3 {
    top: 50%;
    right: -10%;
    animation: float 9s ease-in-out infinite 2s;
}

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

/* Section Headers */
.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(76, 217, 100, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    background: var(--bg-color);
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(76, 217, 100, 0.3);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: var(--text-color);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list iconify-icon {
    color: var(--success);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, rgba(82, 229, 231, 0.05) 0%, rgba(76, 217, 100, 0.05) 100%);
}

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.benefits-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-card:nth-child(3) {
    grid-column: 1 / -1;
}

.stat-card-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--bg-color);
}

.cta-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-color);
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(76, 217, 100, 0.2);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--card-bg);
    color: var(--text-color);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--card-bg);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234CD964'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Dark Theme Adjustments */
body[data-theme="dark"] .badge-tag {
    box-shadow: 0 4px 12px rgba(76, 217, 100, 0.5);
}

body[data-theme="dark"] .floating-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .floating-element {
    box-shadow: 0 10px 30px rgba(76, 217, 100, 0.5);
}

body[data-theme="dark"] .feature-card {
    border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .feature-card:hover {
    border-color: rgba(76, 217, 100, 0.5);
}

body[data-theme="dark"] .stat-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .accordion-item {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image-container {
        min-height: 400px;
    }
    
    .floating-element {
        width: 60px;
        height: 60px;
    }
    
    .benefits-visual {
        margin-top: 3rem;
    }
    
    .cta-card {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .floating-card {
        padding: 2rem;
    }
    
    .floating-card iconify-icon {
        font-size: 150px !important;
    }
    
    .floating-element {
        display: none;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .benefits-visual {
        grid-template-columns: 1fr;
    }
    
    .stat-card:nth-child(3) {
        grid-column: 1;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .stat-card,
    .benefit-item {
        animation: fadeInUp 0.6s ease-out;
        animation-fill-mode: both;
    }
    
    .feature-card:nth-child(1) { animation-delay: 0.1s; }
    .feature-card:nth-child(2) { animation-delay: 0.2s; }
    .feature-card:nth-child(3) { animation-delay: 0.3s; }
    .feature-card:nth-child(4) { animation-delay: 0.4s; }
    .feature-card:nth-child(5) { animation-delay: 0.5s; }
    .feature-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}