/* Global Reset & Variables */
:root {
    --primary-color: #FF6B00;
    /* Vibrant Orange */
    --primary-dark: #cc5600;
    --primary-light: #fff0e6;
    --secondary-color: #2D3436;
    --text-color: #4a5568;
    --text-light: #a0aec0;
    --background-color: #ffffff;
    --background-alt: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-main: 'Noto Sans KR', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--secondary-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #FF6B00 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Header */
.header {
    width: 100%;
    padding: 20px 0;
    position: absolute;
    /* Transparent on Hero */
    top: 0;
    left: 0;
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #fffbf7 0%, #ffffff 100%);
    position: relative;
    padding-top: 80px;
    /* Accounts for header */
}

.hero__container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
}

.hero__content {
    text-align: center;
    max-width: 600px;
    z-index: 10;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.hero__cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    gap: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--primary {
    background: linear-gradient(135deg, #FF6B00 0%, #ff9f43 100%);
    color: var(--white);
}

.btn--secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 1px solid #e2e8f0;
}

.btn--apple {
    background-color: #000000;
    color: var(--white);
    border: 1px solid #000000;
}

.btn--apple:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn--google {
    background-color: #000000;
    color: var(--white);
    border: 1px solid #000000;
}

.btn--google:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn--disabled,
.btn--disabled:hover {
    background-color: #cbd5e1;
    color: #f8fafc;
    border-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero__image-wrapper {
    position: relative;
    width: 80%;
    max-width: 400px;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.hero__image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Background Abstract Shape for Hero */
.hero__background-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Featured Section */
.features {
    background-color: var(--white);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card__icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card__desc {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* How it Works Section */
.how-it-works {
    background-color: var(--background-alt);
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    position: relative;
    z-index: 2;
}

.step__number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.step__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step__desc {
    color: var(--text-color);
    font-size: 0.95rem;
}

.step__connector {
    display: none;
    /* Hidden on mobile */
}

/* Benefits (Why) Section */
.benefits {
    background-color: var(--white);
}

.benefits__content {
    max-width: 800px;
    margin: 0 auto;
}

.benefits__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--background-alt);
    padding: 25px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.benefit-item:hover {
    background-color: var(--primary-light);
}

.benefit-item__check {
    min-width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 0.9rem;
}

.benefit-item__text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.benefit-item__text p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    background-color: var(--background-alt);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item__question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: inherit;
    transition: var(--transition);
}

.faq-item__question:hover {
    color: var(--primary-color);
}

.faq-item__icon {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-item__answer {
    max-height: 200px;
    /* Approximate max height */
    padding-bottom: 25px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #e2e8f0;
    padding: 50px 0 20px;
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.footer__desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer__links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer__socials {
    display: flex;
    gap: 20px;
}

.footer__social-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer__social-icon:hover {
    color: var(--primary-color);
}

/* Media Queries */

/* Tablet & Desktop */
@media (min-width: 768px) {
    .hero__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .hero__content {
        text-align: left;
        max-width: 50%;
    }

    .hero__cta-group {
        justify-content: flex-start;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
    }

    .step {
        width: 300px;
        /* Fixed width for better alignment */
    }

    .step__connector {
        display: block;
        width: 80px;
        height: 2px;
        background-color: #e2e8f0;
        margin-top: 20px;
        /* Align with number */
    }

    .footer__top {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}