/* Home Page Specific Styles */

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Intro Section */
.intro-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.check-list {
    margin: 20px 0;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.intro-icon {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.glow-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 0, 18, 0.2);
    border-color: var(--primary-red);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card:hover i {
    transform: scale(1.2) rotate(5deg);
    transition: transform 0.4s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step-item {
    flex: 1;
    position: relative;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.step-item:hover {
    border-color: var(--primary-red);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 5px;
    left: 0;
    font-family: 'Orbitron', sans-serif;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-red);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Notice Cards (for home page) */
.notice-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.notice-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 0, 18, 0.2);
    border-color: var(--primary-red);
}

.notice-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.notice-info {
    padding: 20px;
}

.notice-info h3 {
    margin: 10px 0;
    font-size: 1.1rem;
}

.notice-info .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notice-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/hero_bg.png') center/cover;
    text-align: center;
}

.cta-box {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Reviews */
.reviews .align-center {
    align-items: center;
}

.review-card-highlight {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.review-card-highlight::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-red);
    font-family: serif;
    line-height: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
}

.stars {
    color: #ffd700;
    letter-spacing: 2px;
}

.review-body {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Text Highlights */
.text-red {
    position: relative;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-item {
        border-top: none;
        border-left: 2px solid var(--border-color);
        padding-left: 20px;
        padding-top: 0;
        margin-left: 10px;
        padding-bottom: 30px;
    }

    .step-num {
        left: -40px;
        top: 0;
        font-size: 1.5rem;
    }
}