/* ==========================
   public-site.css — Figma Make 디자인 적용
   ========================== */

/* ==========================
   Design Tokens
   ========================== */
:root {
    --bg-dark: #000000;
    --bg-light: #ffffff;
    --bg-gray: #f3f4f6;
    --text-on-dark: #ffffff;
    --text-on-light: #000000;
    --text-muted-dark: #9ca3af;
    --text-muted-light: #6b7280;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light: rgba(0, 0, 0, 0.1);
    --nav-z: 50;
    --section-z: 1;
    --modal-z: 200;
    --font-sans: 'SF Pro Text', sans-serif;
    --font-display: 'SF Pro Text', sans-serif;
}

/* ==========================
   Reset & Base
   ========================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body { font-family: var(--font-sans); background: var(--bg-dark); color: var(--text-on-dark); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 84px; }

/* ==========================
   Layout
   ========================== */
.public-layout { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex: 1; position: relative; isolation: isolate; }
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

.content-stack {
    position: relative;
    z-index: 2;
    margin-top: 100vh;
}
.content-stack::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.42));
    pointer-events: none;
}

/* ==========================
   Navigation
   ========================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: var(--nav-z);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar,
.navbar[data-theme="dark"] { background: rgba(0,0,0,0.5); border-bottom-color: var(--border-dark); color: var(--text-on-dark); }
.navbar[data-theme="light"] { background: rgba(255,255,255,0.5); border-bottom-color: var(--border-light); color: var(--text-on-light); }
.navbar.navbar-scrolled,
.navbar[data-theme="dark"].navbar-scrolled { background: rgba(0,0,0,0.72); border-bottom-color: rgba(255,255,255,0.12); }
.navbar[data-theme="light"].navbar-scrolled { background: rgba(255,255,255,0.5); border-bottom-color: rgba(0,0,0,0.12); }

.navbar-container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }

.navbar-brand a { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.navbar-logo { display: none; width: auto; }
.navbar-logo-desktop { height: 2rem; }
.navbar-logo-mobile { height: 1.6rem; }

.navbar[data-theme="dark"] .navbar-logo-on-dark { display: block; }

.navbar[data-theme="light"] .navbar-logo-on-light,
.navbar[data-theme="gray"] .navbar-logo-on-light { display: block; }

.navbar[data-theme="light"] .navbar-logo-on-dark,
.navbar[data-theme="gray"] .navbar-logo-on-dark { display: none; }

.navbar[data-theme="dark"] .navbar-nav li a,
.navbar .navbar-nav li a { color: #fff; }

.navbar[data-theme="light"] .navbar-nav li a,
.navbar[data-theme="gray"] .navbar-nav li a { color: #000; }
.brand-name  { font-size: 0.875rem; font-weight: 500; opacity: 0.6; }

.navbar-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.navbar-desktop::-webkit-scrollbar { display: none; }
.navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: max-content;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.navbar-nav li {
    flex: 0 0 auto;
    white-space: nowrap;
}
.navbar-nav li.nav-item-cta,
.navbar-nav li.nav-item-status {
    margin-left: 0.75rem;
}
.navbar-nav li a { position: relative; display: inline-block; padding: 0.5rem 0.65rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: inherit; opacity: 0.58; transition: opacity 0.22s, color 0.22s; text-decoration: none; white-space: nowrap; }
.nav-user-state,
.mobile-nav-user {
    display: inline-block;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}
.navbar-nav li a.nav-auth-link {
    opacity: 0.72;
}
.mobile-nav-user {
    width: 100%;
    max-width: none;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.72);
}
.mobile-menu[data-theme="light"] .mobile-nav-user,
.mobile-menu[data-theme="gray"] .mobile-nav-user {
    color: rgba(0, 0, 0, 0.62);
}
.navbar-nav li a::after {
    content: "";
    position: absolute;
    left: 0.62rem;
    right: 0.62rem;
    bottom: -0.125rem;
    height: 1px;
    background: currentColor;
    opacity: 1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease;
}
.navbar-nav li a:hover { opacity: 1; font-weight: 700; }
.navbar-nav li a.is-active { opacity: 1; color: #000; font-weight: 700; }
.navbar-nav li a.is-active::after { transform: scaleX(1); }
.navbar[data-theme="light"] .navbar-nav li a.is-active,
.navbar[data-theme="gray"] .navbar-nav li a.is-active { color: #000; }

/* Nav CTA / Apply button */
.navbar-nav li a.nav-portal-login {
    padding: 0.4rem 1rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 1;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.navbar-nav li a.nav-portal-login::after {
    display: none;
}
.navbar[data-theme="dark"] .navbar-nav li a.nav-portal-login,
.navbar .navbar-nav li a.nav-portal-login {
    background: transparent;
    color: inherit;
}
.navbar[data-theme="light"] .navbar-nav li a.nav-portal-login,
.navbar[data-theme="gray"] .navbar-nav li a.nav-portal-login {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}
.navbar[data-theme="light"] .navbar-nav li a.nav-portal-login:hover,
.navbar[data-theme="gray"] .navbar-nav li a.nav-portal-login:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
}
.navbar[data-theme="dark"] .navbar-nav li a.nav-portal-login:hover,
.navbar .navbar-nav li a.nav-portal-login:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.navbar-nav li a.nav-apply {
    padding: 0.4rem 1rem;
    font-size: 0.62rem; 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    text-transform: uppercase;
    opacity: 1; 
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s, color 0.2s;
}
.navbar[data-theme="dark"] .navbar-nav li a.nav-apply:hover,
.navbar .navbar-nav li a.nav-apply:hover { background: #fff; color: #000; border-color: #fff; }
.navbar[data-theme="light"] .navbar-nav li a.nav-apply:hover,
.navbar[data-theme="gray"]  .navbar-nav li a.nav-apply:hover { background: #000; color: #fff; border-color: #fff; }

/* Language Switcher */
.language-switcher-wrap { display: flex; align-items: center; padding-left: 1rem;  }
.language-switcher-icon {
    width: 20px;
    height: 20px;
    opacity: 0.68;
    flex: 0 0 auto;
    filter: none;
    transition: opacity 0.2s, filter 0.2s;
}
.navbar[data-theme="light"] .language-switcher-icon,
.navbar[data-theme="gray"] .language-switcher-icon,
.mobile-menu[data-theme="light"] .language-switcher-icon,
.mobile-menu[data-theme="gray"] .language-switcher-icon {
    filter: brightness(0) saturate(100%);
}
.language-switcher { appearance: none; background: transparent; border: none; font-family: var(--font-sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; color: inherit; opacity: 0.6; padding: 0.4rem 0.5rem; outline: none; transition: opacity 0.2s; }
.language-switcher:hover { opacity: 1; }
.inquiry-language-switcher { color: #111; opacity: 0.7; }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; color: inherit; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; inset: 0; top: 64px; background: rgba(0,0,0,0.97); z-index: 49; padding: 1.5rem; flex-direction: column; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a.mobile-nav-link { display: block; padding: 1rem 0; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.08); transition: color 0.2s; }
.mobile-menu a.mobile-nav-link:hover { color: #fff; }
.mobile-menu a.mobile-nav-portal {
    display: block;
    margin-top: 0.75rem;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.mobile-menu a.mobile-nav-cta { display: block; margin-top: 1.5rem; padding: 1rem; background: #fff; color: #000; text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.mobile-lang-wrap {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    padding-left: 0.2rem;
}
.mobile-lang-wrap .language-switcher {
    padding: 0.4rem 0.5rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}
.mobile-lang-wrap .language-switcher:hover { opacity: 1; }

.mobile-menu[data-theme="light"],
.mobile-menu[data-theme="gray"] { background: rgba(255,255,255,0.98); }

.mobile-menu[data-theme="light"] a.mobile-nav-link,
.mobile-menu[data-theme="gray"] a.mobile-nav-link {
    color: rgba(0,0,0,0.82);
    border-bottom-color: rgba(0,0,0,0.1);
}

.mobile-menu[data-theme="light"] a.mobile-nav-link:hover,
.mobile-menu[data-theme="gray"] a.mobile-nav-link:hover { color: #000; }

.mobile-menu[data-theme="light"] a.mobile-nav-portal,
.mobile-menu[data-theme="gray"] a.mobile-nav-portal {
    border-color: rgba(0,0,0,0.35);
    color: #000;
}

.mobile-menu[data-theme="light"] a.mobile-nav-cta,
.mobile-menu[data-theme="gray"] a.mobile-nav-cta {
    background: #000;
    color: #fff;
}

.mobile-menu[data-theme="light"] .mobile-lang-wrap .language-switcher,
.mobile-menu[data-theme="gray"] .mobile-lang-wrap .language-switcher {
    color: #000;
    opacity: 0.75;
}

/* ==========================
   Hero Section
   ========================== */
.hero-section {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh;
    background: var(--bg-dark); overflow: hidden; z-index: 0;
    display: flex; flex-direction: column;
    --hero-shift: 0px;
    --hero-fade: 1;
    --grid-shift-x: 0px;
    --grid-shift-y: 0px;
    --orb-drift: 0px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: var(--hero-fade);
    transform: translate3d(0, calc(var(--hero-shift) * 0.22), 0);
    transition: opacity 0.22s linear;
    will-change: transform, opacity;
}

.hero-orb { position: absolute; border-radius: 50%; }
.hero-orb-blue {
    width: min(620px, 90vw); height: min(620px, 90vw);
    background: radial-gradient(circle, rgba(59,130,246,0.65) 0%, transparent 70%);
    opacity: 0.45; top: -15%; left: -10%;
    filter: blur(min(120px, 15vw));
    animation: orb-blue 20s ease-in-out infinite;
}
.hero-orb-purple {
    width: min(520px, 70vw); height: min(520px, 70vw);
    background: radial-gradient(circle, rgba(139,92,246,0.65) 0%, transparent 70%);
    opacity: 0.75; bottom: -10%; right: -5%;
    filter: blur(min(100px, 12vw));
    animation: orb-purple 25s ease-in-out infinite;
}
@keyframes orb-blue {
    0%   { transform: translate3d(0, calc(var(--orb-drift) * -0.32), 0) scale(1); }
    50%  { transform: translate3d(12%, calc(18% + var(--orb-drift) * -0.28), 0) scale(1.2); }
    100% { transform: translate3d(0, calc(var(--orb-drift) * -0.32), 0) scale(1); }
}
@keyframes orb-purple {
    0%   { transform: translate3d(0, calc(var(--orb-drift) * 0.26), 0) scale(1.2); }
    50%  { transform: translate3d(-8%, calc(-12% + var(--orb-drift) * 0.23), 0) scale(1); }
    100% { transform: translate3d(0, calc(var(--orb-drift) * 0.26), 0) scale(1.2); }
}

.hero-grid-overlay {
    position: absolute; 
    inset: 0; 
    opacity: 0.19;
    background-image: linear-gradient(rgba(255,255,255,0.26) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.26) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: translate3d(var(--grid-shift-x), var(--grid-shift-y), 0);
    will-change: transform;
}
.hero-subgrid-overlay {
    position: absolute; 
    inset: 0; 
    opacity: 0.09;
    background-image: linear-gradient(rgba(255,255,255,0.42) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.42) 1px, transparent 1px);
    background-size: 25px 25px;
    transform: translate3d(calc(var(--grid-shift-x) * -0.7), calc(var(--grid-shift-y) * -0.65), 0);
    will-change: transform;
}

.hero-chart-svg { position: absolute; bottom: 18%; right: -3%; width: min(55%, 680px); height: auto; opacity: 0.25; pointer-events: none; }
.hero-chart-svg .chart-line-1 { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-chart 2.5s ease-out 0.4s forwards; }
.hero-chart-svg .chart-line-2 { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-chart 2.5s ease-out 0.7s forwards; }
.hero-chart-svg .chart-dot   { opacity: 0; animation: dot-appear 0.3s ease-out forwards; }
.hero-chart-svg .chart-dot:nth-child(3)  { animation-delay: 1.0s; }
.hero-chart-svg .chart-dot:nth-child(4)  { animation-delay: 1.2s; }
.hero-chart-svg .chart-dot:nth-child(5)  { animation-delay: 1.4s; }
.hero-chart-svg .chart-dot:nth-child(6)  { animation-delay: 1.6s; }
.hero-chart-svg .chart-dot:nth-child(7)  { animation-delay: 1.8s; }
.hero-chart-svg .chart-dot:nth-child(8)  { animation-delay: 2.0s; }
.hero-chart-svg .chart-dot:nth-child(9)  { animation-delay: 1.1s; }
.hero-chart-svg .chart-dot:nth-child(10) { animation-delay: 1.7s; }
@keyframes draw-chart { to { stroke-dashoffset: 0; } }
@keyframes dot-appear  { to { opacity: 1; } }

#hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255,255,255,0.86);
    box-shadow: 0 0 10px rgba(255,255,255,0.38);
    animation: particle-float ease-in-out infinite, particle-twinkle ease-in-out infinite;
}
@keyframes particle-float {
    0%   { transform: translate3d(0, 0, 0); opacity: 0.22; }
    35%  { transform: translate3d(calc(var(--drift-x) * 0.45), calc(var(--drift-y) * 0.45), 0); opacity: 0.62; }
    60%  { transform: translate3d(var(--drift-x), var(--drift-y), 0); opacity: 0.34; }
    100% { transform: translate3d(0, 0, 0); opacity: 0.24; }
}
@keyframes particle-twinkle {
    0%   { filter: brightness(0.9); }
    50%  { filter: brightness(1.35); }
    100% { filter: brightness(0.9); }
}

.hero-vignette { position: absolute; bottom: 0; left: 0; right: 0; height: 38%; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.72)); pointer-events: none; }

.hero-grid-overlay,
.hero-subgrid-overlay,
.hero-vignette { z-index: 1; }

.hero-content-inner {
    flex: 1; position: relative; z-index: 5;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 5rem 1.5rem 2rem;
    max-width: 920px; margin: 0 auto; width: 100%;
    transform: translate3d(0, calc(var(--hero-shift) * -0.16), 0);
    will-change: transform;
}
.hero-eyebrow  { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin:0; }
.hero-title    { font-family: var(--font-display); font-size: clamp(2.4rem,6.5vw,5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.06; color: #fff; margin: 0 0 3rem; }
.hero-subtitle { font-size: clamp(0.95rem,1.8vw,1.25rem); color: rgba(255,255,255,0.75); font-weight: 700; margin: 0 auto 0.75rem; line-height: 1.65; }
.hero-subcopy  { font-size: 0.85rem; color: rgba(255,255,255,0.4); max-width: 720px; margin: 0 auto 0.4rem; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.hero-cta .btn {
    height: 58px;
    padding: 0 2.55rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.4px;
    text-transform: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero-cta .btn:hover,
.hero-cta .btn:active { transform: none; }
.hero-cta .btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero-cta .btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.42);
}
.hero-cta .btn-primary {
    background: rgba(243,244,246,0.85);
    color: #000;
}
.hero-cta .btn-primary:hover { background: #f3f4f6;}

.hero-metrics-bar { position: relative; z-index: 5; border-top: 1px solid var(--border-dark); flex-shrink: 0; }
.hero-metrics { display: grid; grid-template-columns: repeat(3,1fr); }
.hero-metric-card { padding: 1.5rem 2rem; background: rgba(0,0,0,0.45); border-right: 1px solid var(--border-dark); text-align: center; }
.hero-metric-card:last-child { border-right: none; }
.hero-metric-value { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin: 0 0 0.3rem; line-height: 1.3; }
.hero-metric-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin: 0; }

/* ==========================
   Section Base (all non-hero)
   ========================== */
.why-section, .what-section, .use-cases-section, .features-section,
.showcase-samples-section, .timeline-section, .faq-section, .contact-section {
    position: relative; z-index: 2; padding: 7rem 0 8rem;
}
.content-stack > section:first-child {
    box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.35);
}
.why-section, .use-cases-section, .showcase-samples-section, .faq-section {
    background: var(--bg-light); color: var(--text-on-light); border-top: 1px solid var(--border-light);
}
.what-section, .features-section, .timeline-section {
    background: var(--bg-dark); color: var(--text-on-dark); border-top: 1px solid var(--border-dark);
}
.contact-section { background: var(--bg-gray); color: var(--text-on-light); border-top: 1px solid var(--border-light); }

.eyebrow { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.38; margin-bottom: 1rem; }
.section-heading { margin-bottom: 1rem; }
.section-heading h2 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 1.5rem; }
.section-description { font-size: 0.975rem; line-height: 1.8; opacity: 0.6; margin: 0 0 4rem; }

/* ==========================
   Why Section (Light)
   ========================== */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); background: var(--border-light); }
.why-grid .feature-card { background: var(--bg-light); border: 1px solid var(--border-light); padding: 2.5rem; transition: background 0.2s; }
.why-grid .feature-card:hover { background: rgba(0,0,0,0.02); }
.why-grid .feature-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 0.75rem; color: var(--text-on-light); }
.why-grid .feature-card p  { font-size: 0.875rem; line-height: 1.75; color: #4b5563; margin: 0; }

/* ==========================
   What Section (Dark)
   ========================== */
.what-grid { display: grid; grid-template-columns: repeat(3,1fr); background: var(--border-dark); margin-bottom: 3rem; }
.what-grid .solution-item { background: var(--bg-dark); border: 1px solid var(--border-dark); padding: 2.5rem; transition: background 0.2s; }
.what-grid .solution-item:hover { background: rgba(255,255,255,0.02); }
.what-grid .solution-item h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 0.75rem; color: var(--text-on-dark); }
.what-grid .solution-item p  { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.5); margin: 0; }

/* ==========================
   Use Cases Section (Light)
   ========================== */
.use-cases-grid { display: grid; grid-template-columns: repeat(2,1fr); background: var(--border-light); }
.use-case-card { background: var(--bg-light); border: 1px solid var(--border-light); padding: 2.5rem; transition: background 0.2s; }
.use-case-card:hover { background: rgba(0,0,0,0.02); }
.use-case-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 0.75rem; color: var(--text-on-light); }
.use-case-card p  { font-size: 0.875rem; line-height: 1.75; color: #4b5563; margin: 0; }

/* ==========================
   Features Section (Dark)
   ========================== */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); background: var(--border-dark); }
.feature { background: var(--bg-dark); border: 1px solid var(--border-dark); padding: 2.5rem; transition: background 0.2s; }
.feature:hover { background: rgba(255,255,255,0.02); }
.feature-icon { margin-bottom: 1.5rem; line-height: 1; }
.feature-icon img { filter: invert(1); width: 22px; height: 22px; opacity: 0.8; }
.feature h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--text-on-dark); }
.feature p  { font-size: 0.825rem; line-height: 1.75; color: rgba(255,255,255,0.5); margin: 0; }

/* ==========================
   Showcase Section (Light)
   ========================== */
.showcase-featured-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--border-light); border: 1px solid var(--border-light); margin-bottom: 1rem; overflow: hidden; }
.showcase-featured-copy { background: var(--bg-light); padding: 3rem; }
.showcase-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.38; margin: 0 0 1rem; display: block; }
.showcase-featured-copy h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; margin: 0 0 1rem; color: var(--text-on-light); }
.showcase-featured-copy p  { font-size: 0.875rem; line-height: 1.75; color: #4b5563; margin: 0 0 2rem; }
.showcase-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.showcase-featured-visual { background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; gap: 0.75rem; min-height: 260px; }
.showcase-featured-visual span { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; letter-spacing: -0.05em; color: rgba(255,255,255,0.1); }
.showcase-featured-visual strong { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

.sample-showcase-grid { display: grid; grid-template-columns: repeat(3,1fr); background: var(--border-light); margin-top: 1px; }
.design-systems-section {
    position: relative;
    background: #ffffff;
    color: #000000;
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.design-system-section--embedded {
    margin-bottom: 2rem;
}
.design-system-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: start;
}
.design-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.design-system-card {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: #000000;
    padding: 1.1rem;
    border-radius: 22px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.design-system-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 22px 36px rgba(0, 0, 0, 0.08);
}
.design-system-card.is-selected {
    border-color: #000000;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.1);
}
.design-system-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}
.design-system-card__eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}
.design-system-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.design-system-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.design-system-card__desc {
    margin: 0 0 1rem;
    color: rgba(0, 0, 0, 0.66);
    font-size: 0.9rem;
    line-height: 1.65;
}
.design-system-card__swatches {
    display: flex;
    gap: 0.55rem;
}
.design-system-card__swatches span {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.design-system-preview {
    position: sticky;
    top: 92px;
    background: #0f0f12;
    color: #ffffff;
    border-radius: 28px;
    padding: 1rem;
    box-shadow: 0 32px 56px rgba(0, 0, 0, 0.16);
}
.design-system-preview__frame {
    border-radius: 22px;
    background: var(--preview-bg);
    color: var(--preview-text);
    overflow: hidden;
}
.design-system-preview__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: color-mix(in srgb, var(--preview-surface) 76%, white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.design-system-preview__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.design-system-preview__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 14px;
    background: var(--preview-primary);
    color: var(--preview-hero-text);
    font-weight: 800;
}
.design-system-preview__brand strong,
.design-system-preview__metrics strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: -0.02em;
}
.design-system-preview__brand p,
.design-system-preview__metrics p {
    margin: 0.25rem 0 0;
    color: var(--preview-muted);
    font-size: 0.8rem;
    line-height: 1.55;
}
.design-system-preview__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--preview-text);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.design-system-preview__hero {
    padding: 1.3rem 1.1rem 1.4rem;
    background: linear-gradient(140deg, var(--preview-hero) 0%, color-mix(in srgb, var(--preview-hero) 72%, var(--preview-primary)) 100%);
    color: var(--preview-hero-text);
}
.design-system-preview__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.82;
}
.design-system-preview__hero h3 {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.05em;
}
.design-system-preview__hero h3 span {
    color: var(--preview-primary);
}
.design-system-preview__copy {
    margin: 0.8rem 0 0;
    max-width: 30rem;
    color: color-mix(in srgb, var(--preview-hero-text) 82%, transparent);
}
.design-system-preview__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}
.design-system-preview__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.design-system-preview__button--primary {
    background: var(--preview-primary);
    color: var(--preview-hero-text);
}
.design-system-preview__button--secondary {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--preview-hero-text) 28%, transparent);
    color: var(--preview-hero-text);
}
.design-system-preview__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    padding: 1rem 1.1rem 1.1rem;
}
.design-system-preview__metrics > div {
    padding: 0.95rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--preview-surface) 78%, white);
}
.design-system-preview__footer {
    margin-top: 0.9rem;
}
.design-system-preview__footer .btn {
    width: 100%;
    justify-content: center;
}
.sample-site-card { background: var(--bg-light); border: 1px solid var(--border-light); padding: 2.5rem; display: flex; flex-direction: column; transition: background 0.2s; }
.sample-site-card:hover { background: rgba(0,0,0,0.02); }
.sample-thumb { height: 110px; margin-bottom: 1.5rem; overflow: hidden; }
.sample-thumb-global   { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.sample-thumb-private  { background: linear-gradient(135deg, #1a0533, #3d1a6e); }
.sample-thumb-stable   { background: linear-gradient(135deg, #0a2618, #14532d); }
.sample-thumb-regional { background: linear-gradient(135deg, #2c1a00, #78350f); }
.sample-thumb-partner  { background: linear-gradient(135deg, #1c1c1c, #404040); }
.sample-thumb-premium  { background: linear-gradient(135deg, #2d1515, #7c2d12); }
.sample-type { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.2rem 0.6rem; border: 1px solid var(--border-light); display: inline-block; margin-bottom: 0.9rem; }
.sample-site-card h3  { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 0.5rem; color: var(--text-on-light); }
.sample-site-card > p { font-size: 0.8rem; line-height: 1.65; color: #6b7280; margin: 0 0 1.5rem; flex: 1; }
.sample-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; border-top: 1px solid var(--border-light); padding-top: 1.25rem; margin-top: auto; }
.sample-actions a { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-light); opacity: 0.5; transition: opacity 0.2s; }
.sample-actions a:hover { opacity: 1; }

/* ==========================
   Timeline Section (Dark)
   ========================== */
.timeline-steps { display: grid; grid-template-columns: repeat(4,1fr); background: var(--border-dark); }
.step { background: var(--bg-dark); border: 1px solid var(--border-dark); padding: 2.5rem; transition: background 0.2s; }
.step:hover { background: rgba(255,255,255,0.02); }
.step-number { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; color: rgba(255,255,255,0.28); margin-bottom: 1.5rem; }
.step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--text-on-dark); }
.step p  { font-size: 0.825rem; line-height: 1.7; color: rgba(255,255,255,0.48); margin: 0; }
.timeline-visual  { display: none; }
.timeline-wrapper { display: block; margin-bottom: 2rem; }

/* ==========================
   FAQ Section (Light)
   ========================== */
.faq-items { display: grid; background: var(--border-light); }
.faq-item { background: var(--bg-light); border: 1px solid var(--border-light); padding: 2rem 2.5rem; transition: background 0.2s; }
.faq-item:hover { background: rgba(0,0,0,0.02); }
.faq-item h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--text-on-light); }
.faq-item p  { font-size: 0.875rem; line-height: 1.8; color: #4b5563; margin: 0; }

/* ==========================
   Contact Section (Gray)
   ========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--border-light); }
.contact-col { background: var(--bg-gray); border: 1px solid var(--border-light); padding: 3rem; }
.contact-col h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 2rem; }
.contact-methods { display: flex; flex-direction: column; margin-bottom: 2rem; }
.contact-method { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border-light); }
.contact-method:first-child { border-top: 1px solid var(--border-light); }
.contact-method strong { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; min-width: 7rem; padding-top: 0.15rem; }
.contact-method p { font-size: 0.875rem; color: #6b7280; margin: 0; line-height: 1.6; }
.contact-notice { background: #fff; border: 1px solid var(--border-light); padding: 1.5rem 2rem; margin-top: 2rem; }
.contact-notice h4 { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.5rem; opacity: 0.5; }
.contact-notice p { font-size: 0.75rem; line-height: 1.7; color: #6b7280; margin: 0; }
.contact-cta-box { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact-cta-box p { font-size: 0.9rem; line-height: 1.75; color: #4b5563; margin: 0 0 2rem; }

/* ==========================
   Footer
   ========================== */
.footer { background: var(--bg-dark); color: var(--text-on-dark); border-top: 1px solid var(--border-dark); padding: 4rem 0 2rem; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand .brand-mark { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.05em; color: rgba(255,255,255,0.45); }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.38); line-height: 1.65; margin: 0.75rem 0 0; }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a, .footer-col ul li span { font-size: 0.875rem; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-copy { padding-top: 2rem; border-top: 1px solid var(--border-dark); text-align: center; }
.footer-copy p { font-size: 0.75rem; color: rgba(255,255,255,0.28); margin: 0; }

/* ==========================
   Buttons
   ========================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.85rem 2rem; border-radius: 0; border: none; cursor: pointer; text-decoration: none; transition: transform 0.2s, background 0.2s, color 0.2s; line-height: 1; }
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.97); }
.btn-primary   { background: #fff; color: #000; }
.btn-primary:hover { background: #f0f0f0; }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-secondary:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.6); }
.why-section .btn-primary, .use-cases-section .btn-primary, .showcase-samples-section .btn-primary, .faq-section .btn-primary, .contact-section .btn-primary { background: #000; color: #fff; }
.why-section .btn-primary:hover, .use-cases-section .btn-primary:hover, .showcase-samples-section .btn-primary:hover, .faq-section .btn-primary:hover, .contact-section .btn-primary:hover { background: #1a1a1a; }
.why-section .btn-secondary, .use-cases-section .btn-secondary, .showcase-samples-section .btn-secondary, .faq-section .btn-secondary, .contact-section .btn-secondary { background: transparent; color: #000; border: 1px solid rgba(0,0,0,0.25); }
.why-section .btn-secondary:hover, .use-cases-section .btn-secondary:hover, .showcase-samples-section .btn-secondary:hover, .faq-section .btn-secondary:hover, .contact-section .btn-secondary:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.5); }
.btn-sm { font-size: 0.65rem; padding: 0.5rem 1.25rem; }
.btn-lg { font-size: 0.875rem; padding: 1rem 2.5rem; }

/* ==========================
   Modal
   ========================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: var(--modal-z); display: flex; align-items: center; justify-content: center; padding: 1.5rem; animation: fade-in 0.2s ease-out; }
.modal-content { background: #fff; color: #000; border: 1px solid var(--border-light); max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; animation: slide-up 0.3s ease-out; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-light); }
.modal-header h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; margin: 0; color: #000; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0 0.25rem; color: #000; opacity: 0.4; transition: opacity 0.2s; line-height: 1; }
.modal-close:hover { opacity: 1; }
.modal-body { padding: 2rem; font-size: 0.9rem; line-height: 1.75; color: #333; }
.modal-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 1rem; color: #000; }
.modal-body h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 1.5rem 0 0.75rem; color: #000; opacity: 0.45; }
.modal-body ul, .modal-body ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.modal-body li { margin-bottom: 0.5rem; }
.modal-footer { display: flex; justify-content: space-between; padding: 1.25rem 2rem; border-top: 1px solid var(--border-light); }
.modal-footer .btn-primary   { background: #000; color: #fff; }
.modal-footer .btn-primary:hover { background: #1a1a1a; }
.modal-footer .btn-secondary { background: transparent; color: #000; border: 1px solid rgba(0,0,0,0.2); }
.modal-footer .btn-secondary:hover { background: rgba(0,0,0,0.05); }

/* ==========================
   Scroll Reveal
   ========================== */
.rise-up,
.why-grid .feature-card, .what-grid .solution-item, .use-case-card,
.feature, .sample-site-card, .step, .faq-item {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.rise-up.is-visible, .why-grid .feature-card.is-visible, .what-grid .solution-item.is-visible,
.use-case-card.is-visible, .feature.is-visible, .sample-site-card.is-visible,
.step.is-visible, .faq-item.is-visible { opacity: 1; transform: translateY(0); }
.why-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid .feature-card:nth-child(3) { transition-delay: 0.1s; }
.why-grid .feature-card:nth-child(4) { transition-delay: 0.2s; }
.what-grid .solution-item:nth-child(2) { transition-delay: 0.1s; }
.what-grid .solution-item:nth-child(3) { transition-delay: 0.2s; }
.use-case-card:nth-child(2) { transition-delay: 0.08s; }
.use-case-card:nth-child(3) { transition-delay: 0.16s; }
.use-case-card:nth-child(4) { transition-delay: 0.08s; }
.feature:nth-child(2) { transition-delay: 0.08s; }
.feature:nth-child(3) { transition-delay: 0.16s; }
.feature:nth-child(4) { transition-delay: 0.08s; }
.feature:nth-child(5) { transition-delay: 0.16s; }
.feature:nth-child(6) { transition-delay: 0.24s; }
.feature:nth-child(7) { transition-delay: 0.08s; }
.feature:nth-child(8) { transition-delay: 0.16s; }
.feature:nth-child(9) { transition-delay: 0.24s; }
.sample-site-card:nth-child(2) { transition-delay: 0.1s; }
.sample-site-card:nth-child(3) { transition-delay: 0.2s; }
.sample-site-card:nth-child(4) { transition-delay: 0.1s; }
.sample-site-card:nth-child(5) { transition-delay: 0.2s; }
.sample-site-card:nth-child(6) { transition-delay: 0.3s; }
.step:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }
.step:nth-child(4) { transition-delay: 0.3s; }
.faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-item:nth-child(3) { transition-delay: 0.2s; }
.faq-item:nth-child(4) { transition-delay: 0.3s; }

/* ==========================
   Keyframes
   ========================== */
@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================
   Portal Workspace
   ========================== */
.portal-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
    background: linear-gradient(180deg, #eef1e8 0%, #f7f8f3 100%);
}
.portal-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    background: #0f1311;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-brand {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-brand-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}
.portal-brand-subtitle {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}
.portal-language-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1.1rem 0 1.2rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.76);
}
.portal-language-control label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.portal-language-switcher {
    color: #fff;
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.portal-customer-summary {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}
.portal-customer-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}
.portal-customer-summary-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}
.portal-customer-summary-header h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: #fff;
}
.portal-customer-summary-list {
    margin: 0;
    display: grid;
    gap: 0.7rem;
}
.portal-customer-summary-list div {
    display: grid;
    gap: 0.15rem;
}
.portal-customer-summary-list dt {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}
.portal-customer-summary-list dd {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    word-break: break-word;
}
.portal-nav {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.5rem;
}
.portal-nav-link {
    display: block;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.portal-nav-link:hover {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}
.portal-nav-link--cta {
    background: #ffffff;
    color: #0f1311;
    border-color: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.portal-nav-link--cta:hover {
    background: #f2f4ef;
    border-color: #f2f4ef;
}
.portal-main {
    padding: 2.5rem;
}
.portal-page-header {
    margin-bottom: 1.5rem;
}
.portal-page-header h1 {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #111613;
}
.portal-page-header p {
    margin: 0;
    max-width: 44rem;
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(17, 22, 19, 0.66);
}

.portal-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}
.portal-secondary-metrics-grid {
    grid-template-columns: minmax(0, 1fr);
}
.portal-metric-card,
.portal-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(15, 19, 17, 0.1);
    box-shadow: 0 18px 45px rgba(12, 18, 14, 0.1);
}
.portal-metric-card {
    padding: 1.35rem 1.4rem;
}
.portal-metric-card h3 {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(17, 22, 19, 0.48);
}
.portal-metric-card p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111613;
}
.portal-section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.portal-list-grid,

.portal-card {
    padding: 1.5rem;
}
.portal-card h2,
.portal-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111613;
}
.portal-card p {
    color: rgba(17, 22, 19, 0.74);
}
.portal-subscription-card {
    margin-bottom: 1rem;
}
.portal-subscription-card .portal-account-list {
    margin-bottom: 1rem;
}
.portal-card > p:last-child,
.portal-card > ul:last-child,
.portal-card > dl:last-child,
.portal-card > form:last-child {
    margin-bottom: 0;
}
.portal-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.portal-card-header h2,
.portal-card-header h3,
.portal-card-header p {
    margin: 0;
}
.portal-card-header p {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    color: rgba(17, 22, 19, 0.58);
}
.detail-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 0.85rem;
    background: #111613;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.portal-muted {
    color: rgba(17, 22, 19, 0.6);
}
.detail-list {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.7rem;
    color: rgba(17, 22, 19, 0.74);
    line-height: 1.65;
}
.portal-highlight {
    margin: 0 0 0.9rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f3d30;
}
.timeline-card {
    position: relative;
    overflow: hidden;
}
.timeline-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(15, 61, 48, 0.18);
}
.timeline-card-complete::before {
    background: #0f3d30;
}
/* ─── Project Detail: Status Card ─────────────────────────── */
.project-status-card {
    margin-bottom: 1.5rem;
}
.project-status-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.project-status-label {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(17, 22, 19, 0.48);
}
.project-status-header .portal-highlight {
    margin: 0;
}
.project-progress-info {
    text-align: right;
    flex-shrink: 0;
}
.project-progress-count {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #111613;
    letter-spacing: -0.04em;
}
.project-progress-count span {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(17, 22, 19, 0.45);
    letter-spacing: 0;
}
.project-progress-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(17, 22, 19, 0.48);
}
.project-progress-bar {
    height: 5px;
    background: rgba(15, 61, 48, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.project-progress-fill {
    height: 100%;
    background: #0f3d30;
    border-radius: 3px;
    transition: width 0.4s ease;
}
.project-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgba(17, 22, 19, 0.6);
    flex-wrap: wrap;
}
.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.project-color-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
/* ─── Project Detail: Stepper Timeline ────────────────────── */
.project-timeline {
    display: flex;
    flex-direction: column;
    max-width: 640px;
}
.project-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 36px;
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step-connector {
    width: 2px;
    flex: 1;
    min-height: 1.5rem;
    margin: 4px 0;
}
.step-content {
    flex: 1;
    padding-bottom: 1.75rem;
}
.step-content h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111613;
    padding-top: 0.45rem;
}
.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(17, 22, 19, 0.65);
}
/* Complete */
.step-complete .step-number {
    background: #0f3d30;
    color: #fff;
}
.step-complete .step-connector {
    background: #0f3d30;
}
/* Current */
.step-current .step-number {
    background: rgba(15, 61, 48, 0.08);
    color: #0f3d30;
    border: 2px solid #0f3d30;
    box-sizing: border-box;
}
.step-current .step-connector {
    background: rgba(15, 61, 48, 0.18);
}
.step-current .step-content {
    background: rgba(15, 61, 48, 0.04);
    border: 1px solid rgba(15, 61, 48, 0.1);
    border-radius: 8px;
    padding: 0.9rem 1.1rem 1rem;
    margin-bottom: 1.5rem;
}
.step-current .step-content h3 {
    padding-top: 0;
}
/* Pending */
.step-pending .step-number {
    background: transparent;
    color: rgba(17, 22, 19, 0.28);
    border: 2px solid rgba(17, 22, 19, 0.15);
    box-sizing: border-box;
}
.step-pending .step-connector {
    background: rgba(17, 22, 19, 0.1);
}
.step-pending .step-content h3 {
    color: rgba(17, 22, 19, 0.32);
}
.step-pending .step-content p {
    color: rgba(17, 22, 19, 0.22);
}
/* In-progress badge */
.step-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 0.6rem;
    padding: 0.2rem 0.75rem;
    background: #0f3d30;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}
/* ─── Portal Requirement Form ──────────────────────────────── */
.portal-edit-card {
    margin-bottom: 1.5rem;
}
.portal-edit-hint {
    margin: -0.3rem 0 1rem;
    font-size: 0.875rem;
    color: rgba(17, 22, 19, 0.6);
}
.portal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0 0 1.25rem;
}
.portal-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.portal-form-row--full {
    grid-column: 1 / -1;
}
.portal-form-row label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 22, 19, 0.5);
}
.portal-form-row input[type="text"],
.portal-form-row input[type="url"],
.portal-form-row input[type="date"],
.portal-form-row textarea {
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(17, 22, 19, 0.1);
    border-radius: 6px;
    font-size: 0.9375rem;
    color: #111613;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.portal-form-row input:focus,
.portal-form-row textarea:focus {
    outline: none;
    border-color: #0f3d30;
    box-shadow: 0 0 0 3px rgba(15, 61, 48, 0.1);
}
.portal-form-row textarea {
    resize: vertical;
}
.portal-form-color {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.portal-form-color-preview {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.portal-form-color input[type="text"] {
    flex: 1;
    width: auto;
}
.portal-form-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s, background 0.15s;
    font-family: inherit;
}
.portal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.portal-btn--primary {
    background: #0f3d30;
    color: #fff;
}
.portal-btn--primary:hover:not(:disabled) {
    background: #0a2e24;
}
.portal-feedback {
    margin-bottom: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
}
.portal-feedback--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.portal-feedback--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
/* ─── Portal Back Link ─────────────────────────────────────── */
.portal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(17, 22, 19, 0.55);
    text-decoration: none;
    transition: color 0.15s;
}
.portal-back-link:hover {
    color: #0f3d30;
}
/* ─── Project List ─────────────────────────────────────────── */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 680px;
}
.project-list-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 19, 17, 0.1);
    box-shadow: 0 4px 16px rgba(12, 18, 14, 0.05);
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.project-list-card:hover {
    border-color: rgba(15, 61, 48, 0.3);
    box-shadow: 0 6px 24px rgba(12, 18, 14, 0.09);
}
.project-list-card-body {
    flex: 1;
    min-width: 0;
}
.project-list-card-body h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111613;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-list-card-body p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(17, 22, 19, 0.55);
}
.project-list-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    flex-shrink: 0;
}
.project-list-status {
    display: inline-block;
    padding: 0.18rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 2px;
    background: rgba(15, 61, 48, 0.1);
    color: #0f3d30;
}
.project-list-status--active,
.project-list-status--inlaunch {
    background: rgba(15, 61, 48, 0.1);
    color: #0f3d30;
}
.project-list-status--preparation {
    background: rgba(17, 22, 19, 0.07);
    color: rgba(17, 22, 19, 0.6);
}
.project-list-status--suspended,
.project-list-status--terminated {
    background: rgba(180, 60, 40, 0.08);
    color: #b43c28;
}
.project-list-date {
    font-size: 0.78rem;
    color: rgba(17, 22, 19, 0.45);
}
.project-list-card-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    color: rgba(17, 22, 19, 0.3);
    margin-left: 0.25rem;
    transition: color 0.15s, transform 0.15s;
}
.project-list-card:hover .project-list-card-arrow {
    color: #0f3d30;
    transform: translateX(3px);
}
.portal-projects-empty {
    max-width: 540px;
}
.portal-projects-empty h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111613;
}
.portal-projects-empty p {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(17, 22, 19, 0.68);
}
.portal-projects-empty-actions {
    display: flex;
    gap: 0.75rem;
}
.portal-projects-inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 2rem;
    text-decoration: none;
    font-size: 0.875rem;
}
.portal-projects-empty {
    max-width: 540px;
}
.portal-projects-empty h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111613;
}
.portal-projects-empty p {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(17, 22, 19, 0.68);
}
.portal-projects-empty-actions {
    display: flex;
    gap: 0.75rem;
}
.portal-projects-inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 2rem;
    text-decoration: none;
    font-size: 0.875rem;
}
.portal-account-list {
    margin: 0 0 1rem;
    display: grid;
    gap: 0.85rem;
}
.portal-account-list div {
    display: grid;
    gap: 0.25rem;
}
.portal-account-list dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(17, 22, 19, 0.45);
}
.portal-account-list dd {
    margin: 0;
    font-size: 0.96rem;
    color: #111613;
}
.portal-account-form {
    display: grid;
    gap: 0.5rem;
}
.portal-account-actions {
    margin-top: 0.35rem;
}
.portal-inline-status {
    margin: 0;
    padding: 0.85rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.portal-inline-status-error {
    background: #fdf3f2;
    border-color: #f0c8c5;
    color: #a33024;
}
.portal-inline-status-success {
    background: #edf6ef;
    border-color: #cfe4d4;
    color: #1f5f35;
}

/* ==========================
   Utilities
   ========================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ==========================
   Responsive
   ========================== */
@media (max-width: 1024px) {
    .what-grid { grid-template-columns: repeat(2,1fr); }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .timeline-steps { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .hero-chart-svg { opacity: 0.15; }
    .portal-shell { grid-template-columns: 1fr; }
    .portal-sidebar {
        position: static;
        min-height: auto;
    }
    .portal-customer-summary-header {
        align-items: stretch;
        flex-direction: column;
    }
    .portal-section-grid { grid-template-columns: 1fr 1fr; }
    .portal-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .content-stack { margin-top: 100vh; }
    .content-stack::before { height: 44px; }
    .navbar-desktop { display: none; }
    .menu-toggle { display: flex; }
    .navbar-logo-desktop { display: none !important; }
    .navbar[data-theme="dark"] .navbar-logo-mobile.navbar-logo-on-dark { display: block; }
    .navbar[data-theme="light"] .navbar-logo-mobile.navbar-logo-on-light,
    .navbar[data-theme="gray"] .navbar-logo-mobile.navbar-logo-on-light { display: block; }
    .navbar[data-theme="light"] .navbar-logo-mobile.navbar-logo-on-dark,
    .navbar[data-theme="gray"] .navbar-logo-mobile.navbar-logo-on-dark { display: none; }
    .hero-content-inner { padding: 4.5rem 1rem 1.5rem; }
    .hero-title { font-size: clamp(1.9rem, 9vw, 2.8rem); }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-subcopy  { display: none; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: min(320px, 100%); padding: 0 1.5rem; }
    .hero-metrics { grid-template-columns: 1fr; }
    .hero-metric-card { border-right: none; border-bottom: 1px solid var(--border-dark); }
    .hero-metric-card:last-child { border-bottom: none; }
    .hero-chart-svg { display: none; }
    .why-section, .what-section, .use-cases-section, .features-section,
    .showcase-samples-section, .timeline-section, .faq-section, .contact-section { padding: 4rem 0 5rem; }
    .section-heading h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
    .section-description { margin-bottom: 2.5rem; }
    .why-grid, .what-grid, .use-cases-grid, .features-grid, .timeline-steps, .contact-grid { grid-template-columns: 1fr; }
    .showcase-featured-card { grid-template-columns: 1fr; }
    .showcase-featured-visual { min-height: 160px; padding: 2rem; }
    .sample-showcase-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .modal-content { max-height: 90vh; }
    .modal-footer { flex-direction: column; }
    .portal-main { padding: 1.25rem; }
    .portal-sidebar { padding: 1.25rem; }
}

@media (min-width: 769px) {
    .navbar-logo-mobile { display: none !important; }
    .navbar[data-theme="dark"] .navbar-logo-desktop.navbar-logo-on-dark { display: block; }
    .navbar[data-theme="light"] .navbar-logo-desktop.navbar-logo-on-light,
    .navbar[data-theme="gray"] .navbar-logo-desktop.navbar-logo-on-light { display: block; }
    .navbar[data-theme="light"] .navbar-logo-desktop.navbar-logo-on-dark,
    .navbar[data-theme="gray"] .navbar-logo-desktop.navbar-logo-on-dark { display: none; }

}

/* ===================================================
   INQUIRY PAGE — /inquiry
   =================================================== */

/* Layout */
.inquiry-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8f9f6;
    font-family: var(--font-body, 'SF Pro Text', sans-serif);
}

/* Minimal Nav */
.inquiry-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.inquiry-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1.5rem;
}
.inquiry-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #000;
    padding: 0;
    transition: opacity 0.2s;
}
.inquiry-back-btn:hover { opacity: 0.6; }
.inquiry-nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    height: 2rem;
}
.inquiry-nav-logo .brand-mark {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #000;
    text-transform: uppercase;
}
.inquiry-nav-spacer { width: 60px; }

/* Main */
.inquiry-main {
    flex: 1;
    padding-top: 64px; /* nav height */
}
.inquiry-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

/* Header */
.inquiry-header {
    text-align: center;
    margin-bottom: 3rem;
}
.inquiry-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #000;
    margin: 0 0 1rem;
}
.inquiry-subtitle {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

/* Package Selection */
.inquiry-pkg-section {
    margin-bottom: 2.5rem;
}
.inquiry-pkg-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin: 0 0 1rem;
}
.inquiry-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.inquiry-pkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 1.5rem;
    background: #fff;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}
.inquiry-pkg-card:last-child { border-right: none; }
.inquiry-pkg-card.is-selected {
    background: #000;
    color: #fff;
}
.pkg-duration {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}
.inquiry-pkg-card.is-selected .pkg-duration {
    color: rgba(255, 255, 255, 0.55);
}
.pkg-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
}
.inquiry-pkg-card.is-selected .pkg-name { color: #fff; }
.pkg-desc {
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.4;
}
.inquiry-pkg-card.is-selected .pkg-desc { color: rgba(255, 255, 255, 0.6); }
.pkg-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
}

/* Form Card */
.inquiry-form-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}
.inquiry-form-title {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #000;
    margin: 0 0 2rem;
}

/* Form Fields */
.inq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.25rem;
}
.inq-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
}
.inq-required {
    color: #000;
}
.inq-input {
    height: 50px;
    padding: 0 1rem;
    background: #f8f9f6;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #000;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.inq-input::placeholder { color: rgba(0, 0, 0, 0.3); }
.inq-input:focus { border-color: rgba(0, 0, 0, 0.4); }
.inq-field-note,
.inquiry-pkg-note {
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.55;
    margin: 0;
}
.inquiry-pkg-note {
    max-width: 760px;
    margin: -0.25rem auto 1.25rem;
    text-align: center;
}
.inq-error {
    font-size: 0.75rem;
    color: #c0392b;
    margin: 0;
}
.inq-error-global {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    font-size: 0.8125rem;
    line-height: 1.55;
}
.inq-error-global svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: 0 0 auto;
    margin-top: 0.05rem;
}
.inq-error-global span {
    flex: 1 1 auto;
}

/* 로그인 정보 자동 입력 안내 배너 */
.inq-prefill-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0f4ff;
    border: 1px solid #c8d8f8;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #1a2a5e;
}
.inq-prefill-notice svg { flex-shrink: 0; }

/* 비로그인 제출 후 추적 안내 */
.inq-track-notice {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left;
}
.inq-track-notice p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.55;
}
.inq-track-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-secondary:hover { background: #f0f0f0; }

/* Divider / Section label */
.inq-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.25rem;
}
.inq-divider::before,
.inq-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}
.inq-section-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

/* Terms */
.inq-terms {
    margin: 2rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.inq-terms-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.5;
}
.inq-terms-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #000;
    cursor: pointer;
}
.inq-terms-link {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.inq-terms-document {
    margin: 0;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font: inherit;
    color: #333;
}
.inq-terms-modal .modal-footer {
    justify-content: flex-end;
}

/* Action Buttons */
.inq-actions {
    display: flex;
    gap: 0.75rem;
}
.inq-submit-btn {
    flex: 1;
    height: 52px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}
.inq-submit-btn:hover:not(:disabled) { opacity: 0.8; }
.inq-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.inq-reset-btn {
    height: 52px;
    padding: 0 2rem;
    background: transparent;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}
.inq-reset-btn:hover:not(:disabled) { border-color: rgba(0, 0, 0, 0.5); }

/* Success State */
.inquiry-success {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.inquiry-success-icon { margin-bottom: 1.5rem; }
.inquiry-success h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 0.75rem;
}
.inquiry-success p {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Portal Auth */
.portal-auth-section {
    background:
        radial-gradient(circle at top left, rgba(0, 0, 0, 0.04), transparent 30%),
        linear-gradient(180deg, #f8f9f6 0%, #f3f4ef 100%);
}
.portal-auth-container {
    max-width: 1100px;
}
.portal-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);

    background: rgba(0, 0, 0, 0.08);
}
.portal-auth-card,
.portal-auth-aside {
    min-width: 0;
}
.portal-auth-card {
    border: none;
}
.portal-auth-actions {
    margin-top: 2rem;
}
.portal-auth-aside {
    background: #0b0b0b;
    color: #fff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}
.portal-auth-kicker {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.portal-auth-aside h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.portal-auth-aside > p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}
.portal-auth-links {
    display: grid;
    gap: 0.75rem;
}
.portal-auth-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0.95rem 1rem 0.95rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.portal-auth-link::after {
    content: ">";
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}
.portal-auth-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.portal-auth-link-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.portal-auth-link-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
    min-width: 0;
}
.portal-auth-link-copy strong {
    font-size: 0.8125rem;
    line-height: 1.2;
}
.portal-auth-link-copy span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
}
.portal-auth-link-primary::after {
    color: rgba(0, 0, 0, 0.5);
}
.portal-auth-link-primary .portal-auth-link-copy span {
    color: rgba(0, 0, 0, 0.56);
}
.portal-auth-link-primary:hover {
    background: #f1f1f1;
}
.portal-auth-link-light {
    background: #f8f9f6;
    color: #000;
    border-color: rgba(0, 0, 0, 0.12);
}
.portal-auth-link-light::after {
    color: rgba(0, 0, 0, 0.4);
}
.portal-auth-link-light .portal-auth-link-copy span {
    color: rgba(0, 0, 0, 0.56);
}
.portal-auth-link-light:hover {
    background: #f1f2ed;
    border-color: rgba(0, 0, 0, 0.2);
}
.portal-auth-field-note {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.45);
}
.portal-auth-status {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f9f6;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.72);
}
.portal-auth-stack-actions {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    max-width: 420px;
    margin: 1.75rem auto 0;
}
.portal-auth-actions-split {
    align-items: stretch;
}
.portal-auth-actions-triple {
    align-items: stretch;
}
.portal-auth-actions-triple .inq-submit-btn,
.portal-auth-actions-triple .inq-reset-btn {
    flex: 1;
    padding: 0;
    white-space: nowrap;
}
.portal-auth-notice {
    background: #f0f4ff;
    border: 1px solid #c8d8f8;
    color: #1a2a5e;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}
.portal-auth-notice strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}
.portal-auth-notice p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
}
.portal-auth-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}
.portal-auth-email-actions {
    margin-top: 0.75rem;
}
.portal-auth-form-stack {
    display: grid;
    gap: 0;
}
.portal-auth-subsection {
    display: grid;
}
.portal-auth-request-btn {
    width: 100%;
}
.portal-auth-success {
    padding: 0;
    border: none;
}
.portal-auth-points {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.65;
}
.portal-auth-points li::marker {
    color: rgba(255, 255, 255, 0.35);
}

/* Inquiry Footer */
.inquiry-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.inquiry-footer p {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.35);
    text-align: center;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .design-systems-section {
        padding: 4rem 0;
    }
    .design-system-shell,
    .design-system-grid,
    .design-system-preview__metrics {
        grid-template-columns: 1fr;
    }
    .design-system-preview {
        position: static;
    }
    .design-system-preview__nav,
    .design-system-preview__hero,
    .design-system-preview__metrics {
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }
    .inquiry-pkg-grid { grid-template-columns: 1fr; }
    .inquiry-pkg-card { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
    .inquiry-pkg-card:last-child { border-bottom: none; }
    .inquiry-form-card { padding: 1.5rem; }
    .inq-actions { flex-direction: column; }
    .inq-reset-btn { width: 100%; }
    .inquiry-container { padding: 2.5rem 1.25rem 3rem; }
    .portal-auth-shell { grid-template-columns: 1fr; }
    .portal-auth-aside { padding: 2rem 1.5rem; }
    .portal-auth-link {
        min-height: 92px;
        padding: 1.15rem 1rem 1.15rem 1.15rem;
    }
    .portal-auth-link::after {
        margin-left: 1rem;
        font-size: 0.9375rem;
    }
    .portal-auth-link-copy {
        gap: 0.4rem;
    }
    .portal-auth-link-copy strong {
        font-size: 0.875rem;
    }
    .portal-auth-link-copy span {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    .portal-auth-actions-split,
    .portal-auth-actions-triple,
    .portal-auth-stack-actions {
        grid-template-columns: 1fr;
    }
}
