
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.refer-section {
    padding: 80px 20px;
    background: #ffff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.content {
    max-width: 500px;
}

.tag {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a202c;
}

.highlight {
    color: #ff6b35;
}

.description {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2d3748;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group select {
    flex: 0 0 100px;
}

.phone-group input {
    flex: 1;
}

.submit-btn {
    background: #1a202c;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #2d3748;
}

.visual {
    position: relative;
}

.visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* How it Works Section */
.how-it-works {
    padding: 80px 20px;
    background: #f7f8f8;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-dashed-line {
    border: 1px dashed #d8dbdf;
    max-width: 600px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    inset: 28px 0% auto;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.step-content {
    flex-grow: 1;
}

.illustration {
    flex-shrink: 0;
}

.step-number-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #f7f8f8;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #1a202c;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
}

.step p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 30px;
}

.illustration {
    background-color: #ffff;
    border-radius: 15px;
}

.illustration img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.handshake-icon {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.money-icon {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.money-badge {
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
}

/* Why Join Section */
.why-join {
    padding: 80px 20px;
    background: #ffff;
}

.why-join-two {
    padding: 80px 20px;
    background: #f8fafc;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper.reverse {
    grid-template-columns: 1fr 1fr;
}

.image-section img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.text-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit {
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 20px;
}

.benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.benefit p {
    color: #4a5568;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: white;
}

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

.faq-tag {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 20px;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 60px;
}

.faq-item {
    border-bottom: 1px dashed #d1d5db;
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.faq-icon {
    font-size: 18px;
    color: #6b7280;
    transition: transform 0.3s;
}

.faq-answer {
    padding-bottom: 20px;
    color: #6b7280;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .title {
        font-size: 40px;
    }

    .steps::before {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Hero Section Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .title {
        font-size: 32px;
        text-align: center;
    }

    .refer-section {
        padding: 40px 20px;
    }

    .content {
        max-width: 100%;
        text-align: center;
    }

    .description {
        text-align: center;
    }

    .form {
        max-width: 400px;
        margin: 0 auto;
    }

    /* How it Works Mobile */
    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-dashed-line {
        display: none;
    }

    .step {
        max-width: 100%;
    }

    .step-illustration {
        height: 100px;
    }

    /* Why Join Sections Mobile */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-wrapper.reverse {
        grid-template-columns: 1fr;
    }

    .image-section img {
        height: 250px;
    }

    .text-section h2 {
        font-size: 24px;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .how-it-works,
    .why-join,
    .why-join-two,
    .faq-section {
        padding: 40px 20px;
    }

    .faq-title {
        font-size: 28px;
    }

    .phone-group {
        flex-direction: column;
    }

    .phone-group select {
        flex: 0;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .text-section h2 {
        font-size: 20px;
    }

    .faq-title {
        font-size: 24px;
    }

    .step h3 {
        font-size: 16px;
    }

    .benefit h4 {
        font-size: 16px;
    }

    .form {
        max-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}