/* DrawSort landing — hero + value proposition + feature-carousel section. Split from the imported monolith (module-size
   guard: one stylesheet layer per file, load order = the <link> order). */
/* ============================================================
   2. HERO SECTION
   ============================================================ */
.hero {
    background: var(--white);
    padding: calc(var(--nav-height) + 80px) 24px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}

.hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #0f172a;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 19px;
    line-height: 1.7;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 72px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #475569;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: 1.5px solid var(--section-border);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
    border-color: #94a3b8;
    color: #1e293b;
    background: var(--gray-50);
}

.btn-ghost svg, .btn-primary svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Hero Dashboard Mockup */
.hero-mockup {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    background: var(--dark-card);
    position: relative;
}

.hero-mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #0a0f1c;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.hero-mockup-bar-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-left: 8px;
}

.hero-mockup-body {
    padding: 24px;
}

.hero-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hero-mockup-project {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.hero-mockup-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.hero-mockup-table {
    width: 100%;
    font-size: 12px;
}

.hero-mockup-table-header {
    display: grid;
    grid-template-columns: 100px 1fr 80px 100px 80px;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.35);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-mockup-row {
    display: grid;
    grid-template-columns: 100px 1fr 80px 100px 80px;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: center;
}

.hero-mockup-row:last-child {
    border-bottom: none;
}

.mock-dwg {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

.mock-title-text {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.mock-rev {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}

.mock-disc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.mock-disc-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.mock-conf {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
}

/* ============================================================
   3. VALUE PROPOSITION
   ============================================================ */
.value-prop {
    background: var(--section-bg);
    padding: 96px 24px;
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: #64748b;
    max-width: 520px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 56px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 56px;
}

.section-header-center .section-subtitle {
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    box-shadow: var(--card-shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.65;
}

