:root {
    --ec-home-ink: #101418;
    --ec-home-muted: #66717c;
    --ec-home-line: #e2e7eb;
    --ec-home-paper: #ffffff;
    --ec-home-soft: #f4f7f8;
    --ec-home-green: #29a55b;
    --ec-home-green-dark: #15713b;
    --ec-home-cyan: #18b6ce;
    --ec-home-navy: #111d25;
    --ec-home-shadow: 0 24px 70px rgba(22, 39, 52, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ec-home-ink);
    background: var(--ec-home-paper);
    font-family:
        Pretendard,
        "Noto Sans KR",
        "Apple SD Gothic Neo",
        "Malgun Gothic",
        Arial,
        sans-serif;
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ec-home {
    min-width: 320px;
    overflow: hidden;
}

.ec-home-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(226, 231, 235, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.ec-home-header__inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ec-home-brand {
    display: inline-flex;
    align-items: center;
    width: 172px;
    padding: 4px 0;
}

.ec-home-brand img {
    width: 100%;
}

.ec-home-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #3e4850;
    font-size: 14px;
    font-weight: 700;
}

.ec-home-nav a {
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ec-home-nav a:hover {
    color: var(--ec-home-green-dark);
}

.ec-home-nav__primary {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    background: var(--ec-home-ink);
}

.ec-home-nav__primary:hover {
    background: var(--ec-home-green-dark);
    transform: translateY(-1px);
}

.ec-home-hero {
    position: relative;
    padding: 88px 0 104px;
    background:
        radial-gradient(circle at 14% 10%, rgba(41, 165, 91, 0.11), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(24, 182, 206, 0.12), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}

.ec-home-hero::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34%;
    height: 5px;
    background: var(--ec-home-green);
}

.ec-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
    align-items: center;
    gap: 78px;
}

.ec-home-eyebrow {
    margin: 0 0 20px;
    color: var(--ec-home-green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.ec-home-hero h1 {
    margin: 0;
    color: #12171b;
    font-size: clamp(46px, 5.2vw, 76px);
    line-height: 1.12;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.ec-home-hero h1 strong {
    position: relative;
    display: inline-block;
    color: var(--ec-home-green-dark);
    font-weight: 900;
}

.ec-home-hero h1 strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 10px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(41, 165, 91, 0.18);
}

.ec-home-hero__description {
    max-width: 610px;
    margin: 30px 0 0;
    color: var(--ec-home-muted);
    font-size: 18px;
    line-height: 1.85;
}

.ec-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ec-home-button {
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.ec-home-button:hover {
    transform: translateY(-2px);
}

.ec-home-button--primary {
    color: #ffffff;
    background: var(--ec-home-green-dark);
    box-shadow: 0 14px 30px rgba(21, 113, 59, 0.2);
}

.ec-home-button--primary:hover {
    background: #0f5d30;
    box-shadow: 0 18px 36px rgba(21, 113, 59, 0.26);
}

.ec-home-button--secondary {
    border-color: var(--ec-home-line);
    color: #303940;
    background: rgba(255, 255, 255, 0.8);
}

.ec-home-button--secondary:hover {
    border-color: #b8c2c9;
    background: #ffffff;
}

.ec-home-hero__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 48px 0 0;
}

.ec-home-hero__summary div {
    padding-top: 16px;
    border-top: 1px solid #dbe3e7;
}

.ec-home-hero__summary dt {
    margin: 0;
    color: #192126;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.ec-home-hero__summary dd {
    margin: 8px 0 0;
    color: #73808a;
    font-size: 13px;
    line-height: 1.5;
}

.ec-home-showcase {
    position: relative;
    min-height: 560px;
}

.ec-home-brand-card {
    position: absolute;
    z-index: 2;
    width: min(100%, 430px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--ec-home-shadow);
}

.ec-home-brand-card__label {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.ec-home-brand-card__logo {
    min-height: 148px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-home-brand-card__logo img {
    max-width: 84%;
}

.ec-home-brand-card p {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.7;
}

.ec-home-brand-card--enuri {
    top: 0;
    right: 0;
    padding: 34px 36px 38px;
    border: 1px solid rgba(213, 221, 226, 0.9);
    color: #69757f;
    background:
        linear-gradient(135deg, rgba(41, 165, 91, 0.08), transparent 48%),
        #ffffff;
}

.ec-home-brand-card--enuri .ec-home-brand-card__label {
    color: var(--ec-home-green-dark);
}

.ec-home-brand-card--enuri .ec-home-brand-card__logo img {
    width: 100%;
}

.ec-home-brand-card--elexa {
    left: 0;
    bottom: 0;
    padding: 34px 36px 38px;
    color: rgba(255, 255, 255, 0.68);
    background:
        radial-gradient(circle at 95% 0%, rgba(24, 182, 206, 0.28), transparent 38%),
        var(--ec-home-navy);
}

.ec-home-brand-card--elexa .ec-home-brand-card__label {
    color: var(--ec-home-cyan);
}

.ec-home-brand-card--elexa .ec-home-brand-card__logo img {
    width: 88%;
}

.ec-home-showcase__shape {
    position: absolute;
    z-index: 1;
    display: block;
    border-radius: 999px;
}

.ec-home-showcase__shape--one {
    top: 210px;
    right: -38px;
    width: 116px;
    height: 116px;
    border: 24px solid rgba(41, 165, 91, 0.12);
}

.ec-home-showcase__shape--two {
    left: 72px;
    top: 235px;
    width: 72px;
    height: 72px;
    background: rgba(24, 182, 206, 0.12);
}

.ec-home-features {
    padding: 112px 0 120px;
    background: #ffffff;
}

.ec-home-section-heading {
    max-width: 720px;
}

.ec-home-section-heading h2 {
    margin: 0;
    color: #151b1f;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.24;
    letter-spacing: -0.045em;
}

.ec-home-section-heading > p:last-child {
    margin: 22px 0 0;
    color: var(--ec-home-muted);
    font-size: 17px;
    line-height: 1.8;
}

.ec-home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 52px;
}

.ec-home-feature-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--ec-home-line);
    border-radius: 22px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ec-home-feature-card:hover {
    border-color: rgba(41, 165, 91, 0.46);
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(36, 58, 70, 0.09);
}

.ec-home-feature-card__number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ec-home-green-dark);
    background: rgba(41, 165, 91, 0.1);
    font-size: 13px;
    font-weight: 900;
}

.ec-home-feature-card h3 {
    margin: 46px 0 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.ec-home-feature-card p {
    margin: 14px 0 0;
    color: var(--ec-home-muted);
    font-size: 15px;
    line-height: 1.75;
}

.ec-home-callout {
    margin-top: 84px;
    padding: 48px 52px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 0%, rgba(24, 182, 206, 0.3), transparent 32%),
        linear-gradient(135deg, #102019, #132d3a);
}

.ec-home-callout__eyebrow {
    margin: 0 0 12px;
    color: #71e2b0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.ec-home-callout h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.04em;
}

.ec-home-button--light {
    flex: 0 0 auto;
    color: #101a1f;
    background: #ffffff;
}

.ec-home-button--light:hover {
    background: #eafaf1;
}

.ec-home-footer {
    padding: 36px 0;
    border-top: 1px solid var(--ec-home-line);
    background: #f8fafb;
}

.ec-home-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 22px 36px;
}

.ec-home-footer__brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ec-home-footer__brand img {
    width: 116px;
}

.ec-home-footer__brand span {
    padding-left: 18px;
    border-left: 1px solid #d7dee2;
    color: #6f7b84;
    font-size: 13px;
    font-weight: 700;
}

.ec-home-footer__links {
    display: flex;
    gap: 20px;
    color: #59656e;
    font-size: 13px;
    font-weight: 700;
}

.ec-home-footer__links a:hover {
    color: var(--ec-home-green-dark);
}

.ec-home-footer__copyright {
    grid-column: 1 / -1;
    margin: 0;
    color: #98a2a9;
    font-size: 12px;
}

@media (max-width: 980px) {
    .ec-home-hero {
        padding-top: 68px;
    }

    .ec-home-hero__grid {
        grid-template-columns: 1fr;
        gap: 62px;
    }

    .ec-home-showcase {
        width: min(100%, 620px);
        min-height: 500px;
        margin: 0 auto;
    }

    .ec-home-brand-card {
        width: min(82%, 440px);
    }

    .ec-home-brand-card--enuri {
        right: 0;
    }

    .ec-home-brand-card--elexa {
        left: 0;
    }
}

@media (max-width: 760px) {
    .ec-home-inner {
        width: min(100% - 32px, 1180px);
    }

    .ec-home-header__inner {
        min-height: 70px;
    }

    .ec-home-brand {
        width: 132px;
    }

    .ec-home-nav > a:first-child {
        display: none;
    }

    .ec-home-nav__primary {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .ec-home-hero {
        padding: 58px 0 78px;
    }

    .ec-home-hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .ec-home-hero__description {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.75;
    }

    .ec-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ec-home-button {
        width: 100%;
    }

    .ec-home-hero__summary {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 38px;
    }

    .ec-home-hero__summary div {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: center;
        gap: 12px;
    }

    .ec-home-hero__summary dd {
        margin: 0;
    }

    .ec-home-showcase {
        min-height: auto;
        display: grid;
        gap: 16px;
    }

    .ec-home-brand-card {
        position: relative;
        inset: auto;
        width: 100%;
        padding: 28px 24px 30px;
        border-radius: 22px;
    }

    .ec-home-brand-card__logo {
        min-height: 110px;
    }

    .ec-home-showcase__shape {
        display: none;
    }

    .ec-home-features {
        padding: 82px 0 88px;
    }

    .ec-home-section-heading > p:last-child {
        font-size: 15px;
    }

    .ec-home-feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 38px;
    }

    .ec-home-feature-card {
        min-height: auto;
        padding: 24px;
    }

    .ec-home-feature-card h3 {
        margin-top: 30px;
    }

    .ec-home-callout {
        margin-top: 54px;
        padding: 34px 26px;
        align-items: stretch;
        flex-direction: column;
    }

    .ec-home-footer__inner {
        grid-template-columns: 1fr;
    }

    .ec-home-footer__links {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
