/* =========================================================
   TRIJECTA - 주식회사 트리젝타
   Dark Tech Redesign — Blue → Purple → Pink Gradient
========================================================= */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Dark tech palette */
    --bg:            #0E0F14;
    --bg-2:          #14161F;
    --bg-3:          #181A24;
    --surface:       rgba(255, 255, 255, 0.04);
    --surface-2:     rgba(255, 255, 255, 0.06);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border:        rgba(255, 255, 255, 0.08);
    --border-2:      rgba(255, 255, 255, 0.14);

    /* Accent gradient */
    --grad-blue:   #3A80F2;
    --grad-violet: #A851F4;
    --grad-pink:   #E05BF1;
    --grad: linear-gradient(90deg, var(--grad-blue) 0%, var(--grad-violet) 50%, var(--grad-pink) 100%);
    --grad-soft: linear-gradient(135deg, rgba(58,128,242,.18) 0%, rgba(168,81,244,.18) 50%, rgba(224,91,241,.18) 100%);

    --accent-blue:   #3BA4FF;
    --accent-purple: #A851F4;
    --accent-pink:   #E05BF1;

    /* Text */
    --text:          #FFFFFF;
    --text-2:        #C9CCD9;
    --text-muted:    #8F94A6;
    --text-dim:      #5F6478;

    /* UI */
    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 20px rgba(0,0,0,.4);
    --shadow-md: 0 12px 40px rgba(0,0,0,.5);
    --shadow-glow: 0 0 60px rgba(168,81,244,.25);

    --container: 1200px;
    --header-h: 72px;
    --font-ko: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
    --font-en: 'Montserrat', system-ui, sans-serif;
}

html { scroll-behavior: smooth; background: var(--bg); }
body {
    font-family: var(--font-ko);
    color: var(--text-2);
    background: var(--bg);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient gradient orbs */
body::before, body::after {
    content: "";
    position: fixed;
    width: 700px; height: 700px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: .35;
}
body::before {
    top: -200px; left: -200px;
    background: radial-gradient(circle, rgba(58,128,242,.6), transparent 70%);
}
body::after {
    bottom: -200px; right: -200px;
    background: radial-gradient(circle, rgba(224,91,241,.5), transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.muted { color: var(--text-muted); }

/* =========================================================
   Header
========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(14, 15, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all .3s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(14, 15, 20, 0.9);
    border-bottom-color: var(--border);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(168,81,244,.4);
    position: relative;
}
.logo-mark::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: var(--grad);
    z-index: -1;
    filter: blur(10px);
    opacity: .5;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .5px;
    color: #fff;
}
.logo-text em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}
.main-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-2);
    border-radius: 999px;
    transition: all .2s;
}
.main-nav a:hover {
    color: #fff;
    background: var(--surface-2);
}
.main-nav a.nav-cta {
    background: var(--grad);
    color: #fff;
    padding: 10px 22px;
    margin-left: 8px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(168,81,244,.35);
}
.main-nav a.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(168,81,244,.5);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

/* =========================================================
   Hero
========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(1000px 500px at 20% 30%, rgba(58,128,242,.35) 0%, transparent 60%),
        radial-gradient(800px 500px at 80% 70%, rgba(224,91,241,.28) 0%, transparent 60%),
        radial-gradient(600px 400px at 50% 50%, rgba(168,81,244,.2) 0%, transparent 70%),
        linear-gradient(180deg, #0E0F14 0%, #14161F 100%);
    z-index: -1;
}
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    font-family: var(--font-en);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--text-2);
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    background: var(--surface);
    position: relative;
}
.hero-badge::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 12px var(--grad-pink);
}

.hero-title {
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.03em;
    margin-bottom: 24px;
    color: #fff;
}
.hero-title .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 48px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
}
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 30px rgba(168,81,244,.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(168,81,244,.55);
    color: #fff;
}
.btn-ghost {
    background: var(--surface);
    color: #fff;
    border-color: var(--border-2);
    backdrop-filter: blur(20px);
}
.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: rgba(255,255,255,.25);
    color: #fff;
}
.btn-block { width: 100%; justify-content: center; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 960px;
    margin: 0 auto;
    padding: 4px;
    background: linear-gradient(135deg, rgba(58,128,242,.4), rgba(168,81,244,.4), rgba(224,91,241,.4));
    border-radius: var(--radius-lg);
    position: relative;
}
.hero-stats::before {
    content: "";
    position: absolute;
    inset: 4px;
    background: rgba(14, 15, 20, 0.92);
    border-radius: calc(var(--radius-lg) - 4px);
    backdrop-filter: blur(20px);
    z-index: 0;
}
.stat {
    text-align: center;
    padding: 28px 16px;
    position: relative;
    z-index: 1;
}
.stat-num {
    font-family: var(--font-en);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: .5px;
}

.hero-scroll {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll a {
    color: var(--text-muted);
    font-size: 20px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100% { transform: translateY(0); opacity: .6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* =========================================================
   Sections common
========================================================= */
.section {
    padding: 120px 0;
    position: relative;
}
.section-head { margin-bottom: 64px; max-width: 780px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.section-head h2 {
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.025em;
    margin-bottom: 20px;
    color: #fff;
}
.section-head h2 .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head .lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}
.section-head.light .eyebrow,
.section-head.light h2,
.section-head.light .lead { /* already light in dark theme */ }
.eyebrow.light { color: var(--accent-pink); }

/* =========================================================
   About
========================================================= */
.section-about {
    background: var(--bg-2);
    position: relative;
}
.section-about::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all .35s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.about-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s;
}
.about-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.about-card:hover {
    transform: translateY(-6px);
    background: var(--surface-2);
}
.about-card:hover::before,
.about-card:hover::after { opacity: 1; }

.about-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--grad-soft);
    border: 1px solid var(--border-2);
    color: #fff;
    font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    position: relative;
}
.about-icon i {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.about-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.75;
}
.about-card small { font-size: 12.5px; color: var(--text-dim); }

/* =========================================================
   Services
========================================================= */
.section-services { background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-item {
    padding: 40px 32px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    transition: all .3s;
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.service-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(400px circle at var(--x, 50%) var(--y, 0%), rgba(168,81,244,.12), transparent 40%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.service-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-2);
    background: var(--surface-2);
}
.service-item:hover::before { opacity: 1; }

.service-num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .25;
    line-height: 1;
}
.service-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #fff;
    display: flex; align-items: center; gap: 12px;
}
.service-item h3 i {
    font-size: 22px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-item ul { display: flex; flex-direction: column; gap: 10px; }
.service-item li {
    position: relative;
    padding-left: 24px;
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.7;
}
.service-item li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 14px; height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

/* =========================================================
   Strength
========================================================= */
.section-strength {
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.section-strength::before {
    content: "";
    position: absolute;
    top: 20%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(168,81,244,.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}
.section-strength .container { position: relative; z-index: 1; }

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.strength-card {
    padding: 34px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.strength-card:hover {
    background: var(--surface-2);
    border-color: var(--border-2);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(168,81,244,.15);
}
.strength-card i {
    font-size: 28px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
    display: block;
}
.strength-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.strength-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* =========================================================
   Process
========================================================= */
.section-process { background: var(--bg); }
.process-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}
.process-list::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%; right: 10%;
    height: 2px;
    background: var(--grad);
    opacity: .4;
    z-index: 0;
}
.process-list li {
    text-align: center;
    padding: 24px 12px;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 76px; height: 76px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--bg-2);
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s;
    position: relative;
    color: transparent;
    background-image: linear-gradient(var(--bg-2), var(--bg-2));
    -webkit-background-clip: padding-box;
            background-clip: padding-box;
}
.step-num > span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.step-num::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 2px;
    pointer-events: none;
}
.process-list li:hover .step-num {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(168,81,244,.4);
}
.process-list h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.process-list p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =========================================================
   Payment
========================================================= */
.section-payment { background: var(--bg-2); }
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.payment-card {
    background: var(--surface);
    padding: 48px 36px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    transition: all .3s;
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.payment-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.payment-card.available::before { background: linear-gradient(90deg, #10b981, #34d399); }
.payment-card.unavailable::before { background: linear-gradient(90deg, var(--grad-violet), var(--grad-pink)); opacity: .6; }
.payment-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-2);
    background: var(--surface-2);
}
.payment-icon {
    width: 84px; height: 84px;
    margin: 0 auto 24px;
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    color: #fff;
    position: relative;
}
.payment-card.available .payment-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 12px 30px rgba(16,185,129,.35);
}
.payment-card.unavailable .payment-icon {
    background: linear-gradient(135deg, var(--grad-violet) 0%, var(--grad-pink) 100%);
    box-shadow: 0 12px 30px rgba(168,81,244,.35);
    opacity: .85;
}
.payment-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}
.payment-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 22px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.badge-ok {
    background: rgba(16,185,129,.15);
    color: #34d399;
    border: 1px solid rgba(16,185,129,.3);
}
.badge-ng {
    background: rgba(224,91,241,.12);
    color: var(--accent-pink);
    border: 1px solid rgba(224,91,241,.3);
}

/* =========================================================
   Company Info
========================================================= */
.section-company { background: var(--bg); }
.company-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
}
.company-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 28px;
    backdrop-filter: blur(10px);
}
.company-table dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0;
}
.company-table dt {
    padding: 20px 0;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 13.5px;
    border-bottom: 1px solid var(--border);
    letter-spacing: .3px;
}
.company-table dd {
    padding: 20px 0;
    color: #fff;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.company-table dl > *:nth-last-child(-n+2) { border-bottom: none; }
.company-table dd small { color: var(--text-muted); font-size: 12.5px; font-weight: 400; }

.company-license {
    position: relative;
    background: var(--surface);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.company-license a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #fff;
}
.company-license img {
    width: 100%;
    height: auto;
    transition: transform .4s;
}
.company-license a:hover img { transform: scale(1.03); }
.license-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 15, 20, 0.75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    opacity: 0;
    transition: opacity .3s;
    font-size: 15px;
    backdrop-filter: blur(4px);
}
.company-license a:hover .license-overlay { opacity: 1; }
.company-license figcaption {
    text-align: center;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================================
   Contact
========================================================= */
.section-contact {
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.section-contact::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(58,128,242,.25) 0%, transparent 60%);
    z-index: 0;
}
.section-contact::after {
    content: "";
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(224,91,241,.22) 0%, transparent 60%);
    z-index: 0;
}
.section-contact .container { position: relative; z-index: 1; }

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info .eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.contact-info h2 {
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 20px;
    color: #fff;
}
.contact-info h2 .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-info > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14.5px;
    color: var(--text-2);
    backdrop-filter: blur(10px);
    transition: all .3s;
}
.contact-list li:hover {
    background: var(--surface-2);
    border-color: var(--border-2);
    transform: translateX(4px);
}
.contact-list li i {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-form {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--text-2);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}
.contact-form::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(58,128,242,.4), rgba(168,81,244,.4), rgba(224,91,241,.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.form-row { margin-bottom: 20px; position: relative; }
.form-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 10px;
}
.form-row label span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-2);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,.03);
    transition: all .2s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-dim); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255,255,255,.06);
    box-shadow: 0 0 0 3px rgba(168,81,244,.2);
}
.form-row select option { background: var(--bg-3); color: #fff; }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-row.check label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 13.5px;
    color: var(--text-muted);
    cursor: pointer;
}
.form-row.check input {
    width: auto;
    margin: 0;
    accent-color: var(--accent-purple);
}
.form-note {
    margin-top: 16px;
    font-size: 13.5px;
    text-align: center;
    min-height: 20px;
    font-weight: 500;
}
.form-note.success { color: #34d399; }
.form-note.error { color: var(--accent-pink); }

/* =========================================================
   Footer
========================================================= */
.site-footer {
    background: #08090D;
    color: var(--text-muted);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border);
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--grad);
    opacity: .5;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text em { color: var(--text-muted); }
.footer-brand p {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-muted);
}
.footer-info p {
    font-size: 13.5px;
    line-height: 1.95;
    color: var(--text-muted);
}
.footer-info strong { color: #fff; }
.footer-copy {
    grid-column: 1 / -1;
    padding-top: 24px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-dim);
    font-family: var(--font-en);
    letter-spacing: .5px;
}

/* =========================================================
   Back to top
========================================================= */
.back-to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(168,81,244,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 999;
    font-size: 15px;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(168,81,244,.55);
    color: #fff;
}

/* =========================================================
   Reveal animation
   NOTE: Elements are always visible by default. JS may add a
   subtle entrance animation via the .revealing class.
========================================================= */
.revealing {
    animation: revealUp .8s ease both;
}
@keyframes revealUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .revealing { animation: none; }
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 992px) {
    .company-wrap,
    .contact-wrap,
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-list::before { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 44px; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(14, 15, 20, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(0,0,0,.5);
        transform: translateY(-120%);
        transition: transform .3s;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 12px 16px;
        align-items: stretch;
    }
    .main-nav a {
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 15px;
    }
    .main-nav a.nav-cta {
        margin: 8px 0 4px;
        text-align: center;
        justify-content: center;
    }

    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { min-height: auto; padding-top: calc(var(--header-h) + 80px); padding-bottom: 120px; }
    .stat-label { font-size: 12px; }

    .company-table dl { grid-template-columns: 110px 1fr; }
    .company-table dt, .company-table dd { padding: 16px 0; font-size: 13.5px; }

    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 28px 22px; }

    .process-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .logo-text strong { font-size: 16px; }
    .logo-text em { font-size: 10.5px; }
    .logo-mark { width: 38px; height: 38px; font-size: 20px; }
    .company-table dl { grid-template-columns: 100px 1fr; }
}
