/* 
   Cruze-Tech Hero Section Styles
*/

/* ========== Hero Section ========== */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.9)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&q=80&w=3540');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 191, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

.tech-sphere {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 191, 255, 0.1), transparent 70%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.tech-sphere::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 191, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 191, 255, 0.3), inset 0 0 60px rgba(0, 191, 255, 0.3);
    animation: pulse 3s infinite alternate;
}

.tech-sphere::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 1px solid rgba(0, 191, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.2), inset 0 0 30px rgba(0, 191, 255, 0.2);
    animation: pulse 4s infinite alternate-reverse;
}

/* ========== Stats Section ========== */
#stats {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1486551937199-baf066858de7?auto=format&fit=crop&q=80&w=3538');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

#stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
    position: relative;
    display: inline-block;
}

.stat-suffix {
    position: absolute;
    top: 10px;
    right: -20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-label {
    font-family: var(--heading-font);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

/* ========== FAQ Section ========== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(18, 18, 18, 0.5);
    border: 1px solid rgba(0, 191, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 191, 255, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
    color: var(--light-color);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
}

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

/* ========== CTA Section ========== */
#cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=3544');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

#cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}