/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 960px;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 960px;
    z-index: 0;
    overflow: hidden;
}

.hero-bg .top-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative SVG in top-right corner */
.hero-decor {
    position: absolute;
    top: 232px;
    right: 55px;
    width: 171px;
    height: 136px;
    z-index: 1;
    opacity: 0.6;
}

.hero-decor .placeholder-img {
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Hero CTA Card - right side */
.hero-cta-card {
    position: absolute;
    top: 298px;
    right: calc((100% - 1280px) / 2 - 80px);
    width: 320px;
    z-index: 2;
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px 60px;
    box-shadow: var(--shadow-card);
}

.hero-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 47px;
    width: 240px;
    margin: 0 auto;
}

.hero-cta-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    line-height: 130%;
}

.hero-cta-title .highlight {
    font-size: 120%;
    color: var(--yellow);
}

.hero-cta-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.hero-phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--white);
    border: 1px solid #666666;
    border-radius: 8px;
    width: 240px;
    height: 48px;
}

.hero-phone-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-phone-icon .placeholder-img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: var(--primary);
    font-size: 10px;
    color: #fff;
}

.hero-phone-input input {
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    font-family: var(--font-family);
    line-height: 24px;
    flex: 1;
}

.hero-phone-input input::placeholder {
    color: var(--subtitle-purple);
}

.hero-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    width: 240px;
    height: 48px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 42, 166, 0.4);
}

.hero-submit-btn:active {
    transform: translateY(0) scale(0.97);
}

/* Hero Pill Button */
.hero-pill {
    position: absolute;
    bottom: 250px;
    left: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 34px;
    font-weight: 500;
    cursor: pointer;
    width: 460px;
    height: 68px;
    z-index: 2;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.hero-pill:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(96, 42, 166, 0.4);
}

.hero-pill:active {
    transform: translateY(0) scale(0.97);
}

/* ===== AI Process Section (4 Steps) ===== */
.ai-process {
    position: relative;
    /*background: #FDFDFD;*/
    /*padding: 80px 0;*/
}

.ai-process .container {
    margin-top: -60px;
    padding-top: 80px;
    padding-bottom: 60px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    background-color: #FDFDFD;
}

.ai-process-inner {
    position: relative;
    width: 1280px;
    margin: 0 auto;
}

/* Big background image */
.ai-process-image {
    width: 1000px;
    height: 628px;
    border-radius: 40px;
    overflow: hidden;
    border: 10px solid var(--primary);
    margin: 0 auto;
    position: relative;
}

.ai-process-image .ai-process-img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    font-size: 18px;
}

/* Step Cards - overlaid on left/right of the image */
.ai-steps-container {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.ai-steps-column {
    display: flex;
    flex-direction: column;
    gap: 96px;
    width: 280px;
    pointer-events: auto;
}

.ai-step-card {
    width: 280px;
    height: 186px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.ai-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ai-step-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 186px;
    border-radius: 20px;
}

.ai-step-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-step-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-step-number-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.ai-step-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
}

.ai-step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

/* Yellow card number color */
.ai-step-card.yellow-card .ai-step-number {
    color: var(--black);
}

.ai-step-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.ai-step-desc {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* Icon in corner */
.ai-step-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    /*border-radius: 50%;*/
    overflow: hidden;
}

.ai-step-icon .ai-process-icon {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Card color variants */
.ai-step-card.purple-card .ai-step-bg {
    background: var(--primary);
}

.ai-step-card.purple-card .ai-step-title {
    color: var(--white);
}

.ai-step-card.purple-card .ai-step-desc {
    color: var(--white);
}

.ai-step-card.yellow-card .ai-step-bg {
    background: var(--yellow);
}

.ai-step-card.yellow-card .ai-step-title {
    color: var(--black);
}

.ai-step-card.yellow-card .ai-step-desc {
    color: var(--black);
}

/* ===== Report Section ===== */
.report-section {
    padding: 100px 0 120px;
    background: var(--white);
}

.report-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.report-header-top {
    display: flex;
    align-items: center;
    gap: 44px;
}

.report-header-icon {
    width: 44px;
    height: 44px;
}

.report-header-icon .placeholder-img {
    width: 34px;
    height: 42px;
}

.report-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
}

.report-subtitle {
    font-size: 32px;
    font-weight: 500;
    color: var(--subtitle-purple);
    text-align: center;
}

/* Report Cards Row */
.report-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.report-card {
    width: 302px;
    height: 670px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-icon);
    position: relative;
}

.report-card .report-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    font-size: 14px;
}

/* ===== Compare Section ===== */
.compare-section {
    padding: 30px 0 30px;
    background: var(--white);
}

.compare-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.compare-header-top {
    display: flex;
    align-items: center;
    gap: 45px;
}

.compare-header-icon {
    width: 44px;
    height: 44px;
}

.compare-header-icon .placeholder-img {
    width: 34px;
    height: 42px;
}

.compare-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
}

.compare-subtitle {
    font-size: 32px;
    font-weight: 500;
    color: var(--subtitle-purple);
    text-align: center;
}

/* Compare Cards */
.compare-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* Left Card - Other Platforms */
.compare-card-other {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 574px;
    background: var(--compare-gray);
    border-radius: 20px;
    padding: 50px 74px 24px;
    box-shadow: var(--shadow-icon);
}

.compare-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.compare-item-icon {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    /*border-radius: 50%;*/
    overflow: hidden;
}

.compare-item-icon .compare-item-icon-img {
    display: block;
    width: 100%;
    height: 100%;
    /*border-radius: 50%;*/
    object-fit: cover;
}

.compare-item-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compare-item-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.compare-item-desc {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-text);
    line-height: 1.4;
}

/* Other platform: dark colors */
.compare-card-other .compare-item-title {
    color: var(--black);
}

.compare-card-other .compare-item-desc {
    color: var(--gray-text);
}

/* Our platform: purple/white colors */
.compare-card-ours .compare-item-title {
    color: var(--primary);
}

.compare-card-ours .compare-item-desc {
    color: var(--gray-text);
}

/* Label badges */
.compare-label-other {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: -80px;
    width: 370px;
    height: 60px;
    border-radius: 100px;
    background: var(--compare-label-gray);
}

.compare-label-other span {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
}

.compare-label-ours {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: -80px;
    width: 370px;
    height: 60px;
    border-radius: 100px;
    background: var(--primary);
}

.compare-label-ours span {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

/* VS Badge */
.compare-vs {
    width: 68px;
    height: 68px;
    border-radius: 34px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-btn);
}

.compare-vs span {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

/* Right Card - Our Platform */
.compare-card-ours {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 574px;
    background: var(--compare-purple);
    border-radius: 20px;
    padding: 50px 74px 24px;
    box-shadow: var(--shadow-icon);
}

/* ===== Responsive: 1200px ===== */
@media (max-width: 1200px) {
    .hero-cta-card {
        right: 40px;
    }

    .hero-pill {
        left: 40px;
        width: 360px;
        font-size: 28px;
    }

    .ai-process-inner {
        width: 100%;
    }

    .ai-process-image {
        width: 100%;
        max-width: 800px;
        height: auto;
        aspect-ratio: 1000/628;
    }

    .ai-steps-container {
        position: static;
        flex-direction: column;
        gap: 32px;
        margin-top: 40px;
    }

    .ai-steps-column {
        width: 100%;
        gap: 24px;
        align-items: center;
    }

    .ai-step-card {
        width: 100%;
        max-width: 400px;
    }

    .report-cards {
        flex-wrap: wrap;
        gap: 20px;
    }

    .report-card {
        width: 280px;
        height: 580px;
    }

    .compare-cards {
        flex-direction: column;
        gap: 24px;
    }

    .compare-card-other, .compare-card-ours {
        /*flex-direction: column-reverse;*/
    }

    .compare-label-other, .compare-label-ours {
        margin-top: -10px;
    }

    .compare-card-other, .compare-card-ours {
        width: 100%;
        max-width: 574px;
        padding: 30px 40px 20px;
    }

    .compare-items {
        gap: 20px;
    }

    .compare-item-icon {
        width: 100px;
        height: 100px;
    }

    .compare-vs {
        width: 56px;
        height: 56px;
    }

    .compare-vs span {
        font-size: 22px;
    }
}

/* ===== Responsive: 900px ===== */
@media (max-width: 900px) {
    .container {
        padding: 0 40px;
    }

    .hero {
        min-height: 800px;
    }

    .hero-cta-card {
        width: 280px;
        padding: 32px 24px 40px;
        top: 200px;
        right: 20px;
    }

    .hero-cta-inner {
        width: 220px;
        gap: 32px;
    }

    .hero-cta-title {
        font-size: 32px;
    }

    .hero-phone-input {
        width: 220px;
        height: 42px;
    }

    .hero-submit-btn {
        width: 220px;
        height: 42px;
        font-size: 16px;
    }

    .hero-pill {
        width: 300px;
        height: 56px;
        font-size: 22px;
        left: 20px;
        bottom: 200px;
    }

    .report-title {
        font-size: 40px;
    }

    .report-subtitle {
        font-size: 24px;
    }

    .report-card {
        width: 220px;
        height: 460px;
    }

    .compare-title {
        font-size: 40px;
    }

    .compare-subtitle {
        font-size: 24px;
    }

    .compare-item-icon {
        width: 80px;
        height: 80px;
    }

    .compare-item-title {
        font-size: 22px;
    }

    .compare-item-desc {
        font-size: 16px;
    }

    .compare-label-other, .compare-label-ours {
        width: 280px;
        height: 50px;
    }

    .compare-label-other span, .compare-label-ours span {
        font-size: 22px;
    }

    .ai-step-card {
        max-width: 340px;
        height: auto;
        min-height: 160px;
    }

    .ai-step-title {
        font-size: 24px;
    }

    .ai-step-desc {
        font-size: 16px;
    }

    .ai-step-icon {
        width: 90px;
        height: 90px;
    }
}

/* ===== Responsive: 600px ===== */
@media (max-width: 600px) {
    .ai-process .container {
        margin-top: -80px;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
    }
    .hero-bg {
        background-color: var(--primary);
    }
    .hero-bg .top-bg-img {
        display: none;
    }
    .ai-step-bg {
        width: auto;
        right: 0;
    }
    .container {
        padding: 0 20px;
    }

    .header .container {
        padding: 12px 20px;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 24px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }

    .header-nav.open {
        max-height: 400px;
        opacity: 1;
        padding: 16px 24px;
        gap: 8px;
    }

    .header-nav a {
        padding: 10px 0;
        border-bottom: 1px solid #f0ebf8;
        width: 100%;
        opacity: 1 !important;
        font-size: 16px;
        transform: translateX(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header-nav.open a {
        transform: translateX(0);
        opacity: 0.8;
    }

    .header-nav.open a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn-yellow, .header-actions .btn-purple {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-bg {
        width: 100%;
        height: 500px;
    }

    .hero-decor {
        display: none;
    }

    .hero-cta-card {
        position: relative;
        top: auto;
        right: auto;
        /*margin: -60px auto 0;*/
        margin: 30px auto;
        width: calc(100% - 40px);
        max-width: 340px;
    }

    .hero-cta-inner {
        width: 100%;
        gap: 24px;
    }

    .hero-cta-title {
        font-size: 28px;
    }

    .hero-phone-input {
        width: 100%;
    }

    .hero-submit-btn {
        width: 100%;
        font-size: 16px;
    }

    .hero-pill {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 24px auto 0;
        width: calc(100% - 40px);
        max-width: 360px;
        font-size: 18px;
        height: 48px;
    }

    /* AI Process Mobile */
    .ai-process {
        padding: 40px 0;
    }

    .ai-process-image {
        border-radius: 20px;
        border-width: 6px;
        aspect-ratio: auto;
        height: 240px;
    }

    .ai-step-card {
        max-width: 100%;
        height: auto;
        min-height: 140px;
    }

    .ai-step-icon {
        width: 70px;
        height: 70px;
        bottom: 10px;
        right: 0;
    }

    .ai-step-content {
        padding: 16px;
        gap: 4px;
    }

    .ai-step-header {
        gap: 6px;
    }

    .ai-step-number-wrap {
        width: 32px;
        height: 32px;
    }

    .ai-step-circle {
        width: 32px;
        height: 32px;
    }

    .ai-step-number {
        font-size: 16px;
    }

    .ai-step-title {
        font-size: 20px;
    }

    .ai-step-desc {
        font-size: 14px;
    }

    .ai-steps-column {
        gap: 16px;
    }

    /* Report Mobile */
    .report-section {
        padding: 30px 0 40px;
    }

    .report-header {
        margin-bottom: 32px;
    }

    .report-header-top {
        gap: 16px;
    }

    .report-title {
        font-size: 30px;
    }

    .report-subtitle {
        font-size: 18px;
    }

    .report-cards {
        flex-wrap: wrap;
        gap: 16px;
    }

    .report-card {
        width: calc(50% - 8px);
        height: 360px;
    }

    /* Compare Mobile */
    .compare-section {
        padding: 30px 0 40px;
    }

    .compare-header {
        margin-bottom: 32px;
    }

    .compare-header-top {
        gap: 16px;
    }

    .compare-title {
        font-size: 30px;
    }

    .compare-subtitle {
        font-size: 18px;
    }

    .compare-card-other, .compare-card-ours {
        padding: 24px 20px 16px;
    }

    .compare-item {
        gap: 16px;
    }

    .compare-item-icon {
        width: 60px;
        height: 60px;
    }

    .compare-item-title {
        font-size: 20px;
    }

    .compare-item-desc {
        font-size: 14px;
    }

    .compare-label-other, .compare-label-ours {
        width: 220px;
        height: 44px;
    }

    .compare-label-other span, .compare-label-ours span {
        font-size: 18px;
    }

    .floating-cta .pill-btn {
        font-size: 20px;
        padding: 12px 20px;
    }
}

/* ===== Responsive: 375px ===== */
@media (max-width: 375px) {
    .hero-cta-title {
        font-size: 24px;
    }

    .report-title {
        font-size: 26px;
    }

    .compare-title {
        font-size: 26px;
    }

    .report-card {
        width: 100%;
        height: 320px;
    }
}