﻿/**
 * FalakTech - Components: Problems, Features, Steps
 */

.problems { background: var(--gradient-dark); }

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: all .3s ease;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.05);
}

.problem-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }

.problem-card-content { padding: 30px; }

.problem-icon { font-size: 50px; margin-bottom: 20px; }

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--error);
    margin-bottom: 15px;
}

.problem-card p { color: rgba(255, 255, 255, 0.7); font-size: 15px; }

.features { background: var(--white); color: var(--text-dark); }
.features .section-header h2 { color: var(--primary); }
.features .section-header p { color: rgba(10, 22, 40, 0.7); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(10, 22, 40, 0.03);
    border: 1px solid rgba(10, 22, 40, 0.08);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }

.feature-card-content { padding: 30px; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform .4s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
}

.feature-icon { font-size: 50px; margin-bottom: 20px; }

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p { color: rgba(10, 22, 40, 0.7); font-size: 15px; line-height: 1.7; }
/**
 * FalakTech - Components: Steps, Screenshots, FAQ
 */

.how-it-works { background: var(--gradient-teal); }

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    max-width: 300px;
    transition: all .3s ease;
    overflow: hidden;
}

.step-img { width: 100%; height: 150px; object-fit: cover; display: block; }

.step-content { padding: 30px; }

.step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    opacity: .5;
}

.step-icon { font-size: 50px; margin: 15px 0; }

.step h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 15px;
}

.step p { font-size: 14px; opacity: .85; line-height: 1.6; }

.step-arrow { font-size: 40px; color: var(--accent); animation: arrowPulse 2s infinite; }

.screenshots { background: var(--primary); position: relative; overflow: hidden; }

.screenshots-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.screenshot-card { flex: 0 0 280px; scroll-snap-align: center; }

.screenshot-placeholder {
    background: linear-gradient(145deg, #1a2a4a, #0d1a30);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 30px;
    padding: 0;
    text-align: center;
    transition: all .3s ease;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.screenshot-placeholder:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .7;
    transition: opacity .3s ease;
}

.screenshot-placeholder:hover .screenshot-img { opacity: .9; }

.screenshot-overlay { position: relative; z-index: 2; padding: 30px; }

.placeholder-icon { font-size: 60px; margin-bottom: 20px; }

.faq { background: var(--white); color: var(--text-dark); }
.faq .section-header h2 { color: var(--primary); }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(10, 22, 40, 0.1);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: color .3s ease;
}

.faq-question:hover { color: var(--secondary); }

.faq-icon { font-size: 24px; transition: transform .3s ease; color: var(--accent); }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 25px;
}

.faq-answer p { color: rgba(10, 22, 40, 0.7); line-height: 1.8; }

.final-cta { background: var(--gradient-dark); text-align: center; }

.footer {
    background: #050d18;
    padding: 80px 5% 40px;
    text-align: center;
}
