/* ============================================================
   AERP — Common CSS (shared across all pages)
   Navy(#0B1426) + Blue(#3B82F6), Light-mode base
   ============================================================ */

:root {
    /* Brand */
    --navy:       #0B1426;
    --navy-light: #111D35;
    --navy-mid:   #162344;
    --accent:     #3B82F6;
    --accent-light: #60A5FA;
    --accent-glow: rgba(59, 130, 246, 0.15);

    /* Ecosystem colors */
    --aerp-blue:    #3B82F6;
    --young-green:  #10B981;
    --purpose-rose: #F472B6;

    /* Neutrals */
    --white:     #FFFFFF;
    --gray-50:   #F8FAFC;
    --gray-100:  #F1F5F9;
    --gray-200:  #E2E8F0;
    --gray-300:  #CBD5E1;
    --gray-400:  #94A3B8;
    --gray-500:  #64748B;
    --gray-600:  #475569;
    --gray-700:  #334155;
    --gray-800:  #1E293B;
    --gray-900:  #0F172A;

    /* Type */
    --font-display: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
    --font-body:    'Noto Sans KR', 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --container: 1140px;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ====== ANIMATIONS ====== */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== NAV ====== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    padding: 10px 0;
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--accent);
    color: white;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--accent); }
.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-cta:hover {
    background: #2563EB;
}

/* Hero-dark nav override (for pages with dark hero) */
.nav--dark .logo-text { color: var(--white); }
.nav--dark .nav-links a { color: rgba(255,255,255,0.55); }
.nav--dark .nav-links a:hover,
.nav--dark .nav-links a.is-active { color: rgba(255,255,255,0.95); }
.nav--dark .nav-cta {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}
.nav--dark .nav-cta:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.2);
}
.nav--dark.is-scrolled {
    background: rgba(11, 20, 38, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 0 rgba(59,130,246,0.3), 0 4px 16px rgba(59,130,246,0.25);
}
.btn-primary:hover {
    background: #2563EB;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15), 0 8px 24px rgba(59,130,246,0.3);
    transform: translateY(-1px);
}
.btn-ghost {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}
.btn-ghost:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}
/* Ghost variant for dark backgrounds */
.btn-ghost-dark {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost-dark:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
    border-radius: 12px;
}

/* ====== SECTIONS COMMON ====== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 14px;
    text-transform: uppercase;
}
.section-title {
    font-family: var(--font-body);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* ====== HERO (Dark) ====== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    overflow: hidden;
    padding: 120px 24px 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}
.hero-glow--1 {
    width: 600px; height: 600px;
    background: var(--accent);
    top: -10%; left: 20%;
    opacity: 0.12;
    animation: glow-drift 12s ease-in-out infinite alternate;
}
.hero-glow--2 {
    width: 500px; height: 500px;
    background: #8B5CF6;
    bottom: -10%; right: 15%;
    opacity: 0.08;
    animation: glow-drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.1); }
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
    font-family: var(--font-body);
    font-size: clamp(36px, 5.5vw, 56px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero-title-accent {
    background: linear-gradient(135deg, var(--accent-light), #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}
.hero-stat-suffix {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-light);
}
.hero-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 0.8; transform: scaleY(1); }
}

/* ====== PAGE HERO (Light, for inner pages) ====== */
.page-hero {
    padding: 140px 0 60px;
    background: var(--gray-50);
    text-align: center;
}
.page-hero .section-tag { margin-bottom: 14px; }
.page-hero .section-title { margin-bottom: 12px; }
.page-hero .section-desc { margin-bottom: 0; }

/* ====== FEATURES ====== */
.features {
    padding: 120px 0;
    background: var(--gray-50);
}
.ft {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    min-height: 520px;
}
.ft-tabs {
    display: flex;
    flex-direction: column;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 8px;
    overflow-y: auto;
}
.ft-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: none;
    background: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    white-space: nowrap;
}
.ft-tab svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.ft-tab:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}
.ft-tab:hover svg { opacity: 0.7; }
.ft-tab.is-active {
    background: var(--white);
    color: var(--accent);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ft-tab.is-active svg {
    opacity: 1;
    color: var(--accent);
}
.ft-panels {
    padding: 36px 40px;
    overflow-y: auto;
}
.ft-panel {
    display: none;
}
.ft-panel.is-active {
    display: block;
    animation: ft-fade 0.3s ease;
}
@keyframes ft-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ft-panel-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}
.ft-panel-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.ft-panel-desc {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}
.ft-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.ft-item {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    background: var(--gray-50);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ft-item:hover {
    border-color: var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ft-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.ft-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: -0.01em;
}
.ft-item-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    font-weight: 300;
}

/* ====== FEATURES PREVIEW (index page) ====== */
.ft-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ft-preview-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ft-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.ft-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-glow);
    color: var(--accent);
    margin-bottom: 16px;
}
.ft-preview-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.ft-preview-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    font-weight: 300;
}
.ft-preview-more {
    text-align: center;
    margin-top: 32px;
}

/* ====== ECOSYSTEM ====== */
.ecosystem {
    padding: 120px 0;
    background: var(--white);
}
.eco-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.eco-card {
    position: relative;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.eco-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.eco-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.eco-card--aerp::before    { background: linear-gradient(90deg, var(--aerp-blue), #60A5FA); }
.eco-card--young::before   { background: linear-gradient(90deg, var(--young-green), #34D399); }
.eco-card--purpose::before { background: linear-gradient(90deg, var(--purpose-rose), #F9A8D4); }
.eco-card-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 24px;
}
.eco-card--aerp .eco-card-badge    { background: #EFF6FF; color: var(--aerp-blue); }
.eco-card--young .eco-card-badge   { background: #ECFDF5; color: var(--young-green); }
.eco-card--purpose .eco-card-badge { background: #FDF2F8; color: var(--purpose-rose); }
.eco-card-icon { margin-bottom: 20px; }
.eco-card--aerp .eco-card-icon    { color: var(--aerp-blue); }
.eco-card--young .eco-card-icon   { color: var(--young-green); }
.eco-card--purpose .eco-card-icon { color: var(--purpose-rose); }
.eco-card-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.eco-card-sub {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 16px;
    font-weight: 500;
}
.eco-card-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}
.eco-card-target {
    display: flex;
    gap: 8px;
}
.eco-card-target span {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-100);
}

/* Ecosystem detail section (ecosystem.html) */
.eco-detail {
    padding: 80px 0 120px;
}
.eco-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-100);
}
.eco-detail-item:last-child { border-bottom: none; }
.eco-detail-item:nth-child(even) { direction: rtl; }
.eco-detail-item:nth-child(even) > * { direction: ltr; }
.eco-detail-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.eco-detail-sub {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 16px;
    font-weight: 500;
}
.eco-detail-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
}
.eco-detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.eco-detail-features span {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-100);
}
.eco-detail-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}
.eco-detail-visual svg { opacity: 0.6; }

/* ====== TECH ====== */
.tech {
    padding: 120px 0;
    background: var(--gray-50);
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tech-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.tech-item-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 14px;
}
.tech-item-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.tech-chip {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 7px;
    background: var(--gray-100);
    color: var(--gray-700);
}
.tech-chip--go      { background: #E0F2FE; color: #0284C7; }
.tech-chip--mongo   { background: #ECFDF5; color: #059669; }
.tech-chip--react   { background: #ECFEFF; color: #0891B2; }
.tech-chip--tw      { background: #F0FDFA; color: #0D9488; }
.tech-chip--flutter { background: #EFF6FF; color: #3B82F6; }
.tech-item-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    font-weight: 300;
}

/* Tech detail (tech.html) */
.tech-detail {
    padding: 0 0 120px;
}
.tech-detail-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 24px;
}
.tech-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.tech-detail-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}
.tech-detail-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}
.tech-detail-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
}
.tech-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ====== CTA BANNER ====== */
.cta-banner {
    padding: 120px 0;
    background: var(--navy);
}
.cta-inner {
    position: relative;
    text-align: center;
    padding: 72px 40px;
    border-radius: 24px;
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 500px; height: 500px;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.12;
    pointer-events: none;
}
.cta-banner .section-tag { color: var(--accent-light); }
.cta-title {
    font-family: var(--font-body);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
}
.cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-bottom: 32px;
    font-weight: 300;
    position: relative;
}
.cta-actions { position: relative; margin-bottom: 20px; }
.cta-email {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    position: relative;
}

/* ====== CONTACT FORM ====== */
.contact-section {
    padding: 80px 0 120px;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
}
.form-group {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.form-label .required {
    color: #EF4444;
    margin-left: 2px;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--gray-50);
    color: var(--gray-800);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--white);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.form-submit {
    width: 100%;
    margin-top: 8px;
}
.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.form-message {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}
.form-message--success { color: var(--young-green); }
.form-message--error { color: #EF4444; }

/* ====== FOOTER ====== */
.footer {
    padding: 40px 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand .logo-mark { width: 28px; height: 28px; font-size: 14px; border-radius: 7px; }
.footer-brand .logo-text { font-size: 15px; color: var(--white); }
.footer-by {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    margin-left: 4px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .ft { grid-template-columns: 220px 1fr; }
    .ft-items { grid-template-columns: 1fr; }
    .ft-preview { grid-template-columns: repeat(2, 1fr); }
    .eco-cards     { grid-template-columns: repeat(2, 1fr); }
    .tech-grid     { grid-template-columns: repeat(2, 1fr); }
    .eco-detail-item { grid-template-columns: 1fr; gap: 32px; }
    .eco-detail-item:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 15px; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 24px; }
    .hero-actions { flex-direction: column; align-items: center; }

    .features, .ecosystem, .tech, .cta-banner { padding: 80px 0; }
    .page-hero { padding: 110px 0 40px; }

    .ft { grid-template-columns: 1fr; min-height: auto; }
    .ft-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding: 8px;
        gap: 4px;
    }
    .ft-tab { white-space: nowrap; font-size: 12px; padding: 10px 12px; }
    .ft-tab span { display: none; }
    .ft-panels { padding: 24px 20px; }
    .ft-items { grid-template-columns: 1fr; }
    .ft-preview { grid-template-columns: 1fr; }

    .eco-cards,
    .tech-grid { grid-template-columns: 1fr; }

    .contact-form { padding: 24px; }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
