/* =========================================================
   MAGIC KOREA
   Marine Fuel Protection System
========================================================= */

:root {
    --magic-navy: #10294d;
    --magic-navy-dark: #091d39;
    --magic-blue: #4f9ed8;
    --magic-blue-light: #78b9e8;
    --magic-teal: #35a6a0;
    --magic-orange: #e66a3d;
    --magic-white: #ffffff;
    --magic-text: #17345d;
    --magic-muted: #6c7d94;
    --magic-border: #dce4ed;
    --magic-light: #f5f8fb;
}


/* =========================================================
   GENERAL
========================================================= */

.magic-page {
    overflow: hidden;
    background: #fff;
    color: var(--magic-text);
}

.magic-page img {
    max-width: 100%;
}

.magic-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--magic-blue);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.magic-page h1,
.magic-page h2,
.magic-page h3,
.magic-page p {
    margin-top: 0;
}


/* =========================================================
   BUTTON
========================================================= */

.magic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    min-height: 56px;

    padding: 0 28px;

    border-radius: 3px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.magic-btn span {
    font-size: 20px;
    line-height: 1;
}

.magic-btn:hover {
    transform: translateY(-3px);
}

.magic-btn--primary {
    background: var(--magic-blue);
    color: #fff;
}

.magic-btn--primary:hover {
    background: var(--magic-teal);
    color: #fff;
}

.magic-btn--outline {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

.magic-btn--outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--magic-navy);
}

.magic-btn--white {
    background: #fff;
    color: var(--magic-navy);
}

.magic-btn--white:hover {
    background: var(--magic-blue-light);
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.magic-hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(79,158,216,.15),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            var(--magic-navy-dark),
            var(--magic-navy)
        );

    color: #fff;
}

.magic-hero__inner {
    position: relative;
    z-index: 2;
}

.magic-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    top: 50px;
    margin-bottom: 55px;
    font-size: 14px;
    color: rgba(255,255,255,.65);
}

.magic-breadcrumb a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}

.magic-breadcrumb a:hover {
    color: #fff;
}

.magic-breadcrumb span {
    color: rgba(255,255,255,.3);
}

.magic-hero__content {
    padding-right: 40px;
}

.magic-hero h1 {
    max-width: 700px;

    margin-bottom: 28px;

    font-size: clamp(48px, 5vw, 76px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -2px;
    color: #fff;
}

.magic-hero h1 span {
    display: block;

    color: var(--magic-blue-light);
}

.magic-hero__text {
    max-width: 600px;

    margin-bottom: 35px;

    color: rgba(255,255,255,.68);

    font-size: 17px;

    line-height: 1.8;
}

.magic-hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   HERO PRODUCT VISUAL
========================================================= */

.magic-hero__visual {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.magic-hero__glow {
    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(79,158,216,.16) 0%,
        rgba(79,158,216,.06) 45%,
        transparent 72%
    );

    filter: blur(5px);
}

.magic-hero__product {
    position: relative;
    z-index: 2;

    width: 90%;

    display: flex;
    justify-content: center;
}

.magic-hero__product img {
    width: 100%;
    max-width: 500px;

    max-height: 480px;

    object-fit: contain;

    filter:
        drop-shadow(0 30px 35px rgba(0,0,0,.28));
}


/* =========================================================
   HERO FLOATING CARDS
========================================================= */

.magic-floating-card {
    position: absolute;

    z-index: 5;

    min-width: 155px;

    padding: 16px 18px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;

    background: rgba(17,43,78,.85);

    backdrop-filter: blur(10px);

    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.magic-floating-card span {
    display: block;

    margin-bottom: 7px;

    color: var(--magic-blue-light);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.magic-floating-card strong {
    display: block;

    color: #fff;

    font-size: 13px;
    font-weight: 600;
}

.magic-floating-card--one {
    top: 90px;
    left: 0;
}

.magic-floating-card--two {
    right: 0;
    bottom: 90px;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.magic-section {
    position: relative;

    padding: 120px 0;
}

.magic-section-heading-row {
    margin-bottom: 55px;
}

.magic-section-heading h2,
.magic-solution__content h2,
.magic-cta h2 {
    margin-bottom: 0;

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.magic-section-heading h2 span,
.magic-solution__content h2 span,
.magic-cta h2 span {
    color: var(--magic-blue);
}

.magic-section-intro {
    max-width: 500px;

    margin: 0 0 0 auto;

    color: var(--magic-muted);

    font-size: 15px;

    line-height: 1.8;
}

.magic-section-heading--center {
    max-width: 750px;

    margin: 0 auto 65px;

    text-align: center;
}

.magic-section-heading--center p {
    max-width: 650px;

    margin: 25px auto 0;

    color: var(--magic-muted);

    line-height: 1.8;
}


/* =========================================================
   WHY MAGIC KOREA
========================================================= */

.magic-why {
    background: #fff;
}


/* =========================================================
   FEATURE CARDS
========================================================= */

.magic-feature-card {
    position: relative;

    min-height: 320px;

    padding: 35px;

    border: 1px solid var(--magic-border);

    background: #fff;

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.magic-feature-card:hover {
    transform: translateY(-7px);

    border-color: rgba(79,158,216,.45);

    box-shadow: 0 20px 50px rgba(16,41,77,.08);
}

.magic-feature-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color: rgba(16,41,77,.12);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
}

.magic-feature-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    border-radius: 50%;

    background: rgba(79,158,216,.1);

    color: var(--magic-blue);

    font-size: 17px;
    font-weight: 700;
}

.magic-feature-card h3 {
    margin-bottom: 15px;

    color: var(--magic-text);

    font-size: 20px;
    font-weight: 600;
}

.magic-feature-card p {
    margin-bottom: 0;

    color: var(--magic-muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   DUPLEX FILTER / SOLUTION
========================================================= */

.magic-solution {
    background: var(--magic-light);
}

.magic-solution__inner {
    position: relative;
}

.magic-product-panel {
    position: relative;

    min-height: 570px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 35px;

    background: var(--magic-navy);

    overflow: hidden;
}

.magic-product-panel::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(79,158,216,.16),
        transparent 70%
    );
}

.magic-product-panel__label {
    position: relative;
    z-index: 2;

    color: var(--magic-blue-light);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}

.magic-product-panel__image {
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;
}

.magic-product-panel__image img {
    width: 100%;
    max-width: 480px;

    max-height: 390px;

    object-fit: contain;

    filter:
        drop-shadow(0 25px 30px rgba(0,0,0,.3));
}

.magic-product-panel__caption {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.magic-product-panel__caption span {
    color: var(--magic-blue-light);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.magic-product-panel__caption strong {
    color: #fff;

    font-size: 24px;
    font-weight: 500;
}


/* =========================================================
   SOLUTION CONTENT
========================================================= */

.magic-solution__content {
    padding-left: 60px;
}

.magic-solution__content > p {
    max-width: 600px;

    margin: 30px 0 35px;

    color: var(--magic-muted);

    font-size: 15px;

    line-height: 1.9;
}

.magic-solution__features {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    margin-bottom: 35px;

    border-top: 1px solid var(--magic-border);
    border-left: 1px solid var(--magic-border);
}

.magic-solution__features > div {
    min-height: 85px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 18px 20px;

    border-right: 1px solid var(--magic-border);
    border-bottom: 1px solid var(--magic-border);
}

.magic-solution__features span {
    margin-bottom: 7px;

    color: var(--magic-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}

.magic-solution__features strong {
    color: var(--magic-text);

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.magic-process {
    background: #fff;
}

.magic-process__flow {
    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 0;
}

.magic-process-card {
    position: relative;

    flex: 1;

    max-width: 255px;

    min-height: 300px;

    padding: 30px 25px;

    border: 1px solid var(--magic-border);

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.magic-process-card:hover {
    z-index: 2;

    transform: translateY(-7px);

    box-shadow: 0 20px 45px rgba(16,41,77,.08);
}

.magic-process-card--result {
    background: var(--magic-navy);

    border-color: var(--magic-navy);

    color: #fff;
}

.magic-process-number {
    display: block;

    margin-bottom: 25px;

    color: var(--magic-blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.magic-process-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 50%;

    background: rgba(79,158,216,.1);

    color: var(--magic-blue);

    font-size: 15px;
    font-weight: 700;
}

.magic-process-card h3 {
    margin-bottom: 13px;

    color: var(--magic-text);

    font-size: 18px;
    font-weight: 600;
}

.magic-process-card p {
    margin: 0;

    color: var(--magic-muted);

    font-size: 13px;

    line-height: 1.7;
}

.magic-process-card--result h3 {
    color: #fff;
}

.magic-process-card--result p {
    color: rgba(255,255,255,.65);
}

.magic-process-arrow {
    position: relative;
    z-index: 3;

    width: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--magic-blue);

    font-size: 22px;
    font-weight: 400;
}


/* =========================================================
   CTA
========================================================= */

.magic-cta {
    position: relative;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(79,158,216,.16),
            transparent 30%
        ),
        var(--magic-navy);

    color: #fff;
}

.magic-cta h2 {
    color: #fff;
}

.magic-cta h2 span {
    color: var(--magic-blue-light);
}

.magic-cta p {
    max-width: 600px;

    margin: 25px 0 0;

    color: rgba(255,255,255,.65);

    font-size: 15px;

    line-height: 1.8;
}

.magic-cta__buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 20px;

    padding-left: 40px;
}

.magic-cta__link {
    color: rgba(255,255,255,.75);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: color .3s ease;
}

.magic-cta__link span {
    margin-left: 8px;

    color: var(--magic-blue-light);

    font-size: 17px;
}

.magic-cta__link:hover {
    color: #fff;
}

.magic-cta__partner {
    display: flex;
    align-items: center;

    gap: 35px;

    margin-top: 80px;
    padding-top: 30px;

    border-top: 1px solid rgba(255,255,255,.1);
}

.magic-cta__partner > div {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.magic-cta__partner span {
    color: rgba(255,255,255,.4);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.magic-cta__partner strong {
    color: #fff;

    font-size: 14px;
    font-weight: 600;
}

.magic-cta__line {
    width: 70px;
    height: 1px;

    background: rgba(255,255,255,.2);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .magic-hero {
        min-height: 700px;
    }

    .magic-hero__content {
        padding-right: 20px;
    }

    .magic-hero__visual {
        min-height: 450px;
    }

    .magic-floating-card--one {
        left: -10px;
    }

    .magic-floating-card--two {
        right: -10px;
    }

    .magic-solution__content {
        padding-left: 35px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .magic-hero {
        padding: 80px 0 100px;
    }

    .magic-breadcrumb {
        margin-bottom: 45px;
    }

    .magic-hero__content {
        padding-right: 0;
    }

    .magic-hero h1 {
        font-size: 58px;
    }

    .magic-hero__visual {
        min-height: 500px;

        margin-top: 60px;
    }

    .magic-section {
        padding: 90px 0;
    }

    .magic-section-intro {
        margin: 25px 0 0;
    }

    .magic-solution__content {
        padding: 50px 0 0;
    }

    .magic-process__flow {
        flex-wrap: wrap;
        gap: 20px;
    }

    .magic-process-card {
        flex: 0 0 calc(50% - 10px);

        max-width: none;
    }

    .magic-process-arrow {
        display: none;
    }

    .magic-cta__buttons {
        padding-left: 0;

        margin-top: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .magic-hero {
        min-height: auto;

        padding: 50px 0 80px;
    }

    .magic-breadcrumb {
        margin-bottom: 40px;
    }

    .magic-hero h1 {
        font-size: 45px;

        letter-spacing: -1px;
    }

    .magic-hero__text {
        font-size: 15px;
    }

    .magic-hero__buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .magic-btn {
        width: 100%;
    }

    .magic-hero__visual {
        min-height: 400px;

        margin-top: 30px;
    }

    .magic-hero__product {
        width: 100%;
    }

    .magic-hero__product img {
        max-width: 420px;
    }

    .magic-floating-card {
        min-width: 130px;

        padding: 12px;
    }

    .magic-floating-card--one {
        top: 45px;
        left: 0;
    }

    .magic-floating-card--two {
        right: 0;
        bottom: 45px;
    }

    .magic-section {
        padding: 75px 0;
    }

    .magic-section-heading h2,
    .magic-solution__content h2,
    .magic-cta h2 {
        font-size: 40px;
    }

    .magic-feature-card {
        min-height: 280px;
    }

    .magic-product-panel {
        min-height: 470px;

        padding: 25px;
    }

    .magic-product-panel__image {
        padding: 10px;
    }

    .magic-product-panel__image img {
        max-height: 330px;
    }

    .magic-solution__content {
        padding-top: 45px;
    }

    .magic-solution__features {
        grid-template-columns: 1fr;
    }

    .magic-process-card {
        flex: 0 0 100%;

        max-width: none;
    }

    .magic-cta {
        padding: 75px 0;
    }

    .magic-cta__partner {
        flex-wrap: wrap;

        margin-top: 55px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .magic-hero h1 {
        font-size: 38px;
    }

    .magic-hero__visual {
        min-height: 350px;
    }

    .magic-floating-card {
        display: none;
    }

    .magic-section-heading h2,
    .magic-solution__content h2,
    .magic-cta h2 {
        font-size: 34px;
    }

    .magic-product-panel {
        min-height: 400px;
    }

    .magic-product-panel__caption strong {
        font-size: 20px;
    }

    .magic-cta__partner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .magic-cta__line {
        width: 45px;
    }

}