/* Hero Section */
.hero-section {
    max-width: 1060px;
    margin: 0 auto;
    padding: 150px 24px 70px;
    text-align: center;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 720px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 18px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 780px;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   HUD Borderless Graphic Mockups & Showcase Layouts
   Visual Style matching RuggedTheme.swift (Carbon #121518, Safety Orange #FF5500)
   ========================================================================== */

.hero-mockup-wrapper {
    margin-top: 50px;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-media {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.hud-mockup-card {
    background: #11151F;
    border: 1px solid rgba(255, 85, 0, 0.4);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 85, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.hud-mockup-card:hover {
    border-color: #FF5500;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 85, 0, 0.35);
}

.mockup-img-container {
    position: relative;
    width: 100%;
    background: #000;
    line-height: 0;
}

.hero-mockup-img, .hero-mockup-video, .showcase-img {
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 1950;
    display: block;
    object-fit: cover;
}

/* Viewfinder Corners (Tactile OnsiteBIM UI aesthetic) */
.viewfinder-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.viewfinder-corner.top-left {
    top: 12px;
    left: 12px;
    border-top: 3px solid #FF5500;
    border-left: 3px solid #FF5500;
}

.viewfinder-corner.top-right {
    top: 12px;
    right: 12px;
    border-top: 3px solid #FF5500;
    border-right: 3px solid #FF5500;
}

.viewfinder-corner.bottom-left {
    bottom: 12px;
    left: 12px;
    border-bottom: 3px solid #FF5500;
    border-left: 3px solid #FF5500;
}

.viewfinder-corner.bottom-right {
    bottom: 12px;
    right: 12px;
    border-bottom: 3px solid #FF5500;
    border-right: 3px solid #FF5500;
}

.hud-footer-caption {
    background: rgba(10, 12, 16, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
}


/* ==========================================================================
   Global Section Header Styles
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 2.7rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   3-Step Workflow Timeline Styles
   ========================================================================== */

.steps-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 70px;
}

.steps-section.wide-container {
    max-width: 1240px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.steps-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .steps-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .steps-grid-4 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.step-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.step-card.highlight {
    border-color: var(--border-rugged);
    box-shadow: 0 0 30px rgba(255, 85, 0, 0.15);
}

.step-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-rugged);
}

.step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

.step-pill-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
}

.step-pill-badge::before,
.step-pill-badge::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-color: rgba(255, 255, 255, 0.35);
    border-style: solid;
}
.step-pill-badge::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}
.step-pill-badge::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.step-pill-badge.highlight {
    background: rgba(255, 85, 0, 0.1);
    color: var(--color-orange);
    border-color: rgba(255, 85, 0, 0.4);
}
.step-pill-badge.highlight::before,
.step-pill-badge.highlight::after {
    border-color: var(--color-orange);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 85, 0, 0.28);
    line-height: 1;
}

.step-action-wrap {
    margin-top: auto;
    padding-top: 18px;
}

.step-action-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid var(--border-rugged);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    margin-bottom: 24px;
}

.step-icon svg {
    width: 26px;
    height: 26px;
}

.step-title {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Native IFC Import Banner */
.revit-workflow-banner {
    margin-top: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-rugged);
    border-radius: var(--radius-sm);
    padding: 32px 36px;
    box-shadow: var(--shadow-rugged);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.revit-banner-content h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-top: 10px;
    margin-bottom: 8px;
    font-weight: 800;
}

.revit-banner-content p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ==========================================================================
   Feature Showcases (Alternating 2-Column Blocks)
   ========================================================================== */

.features-showcase-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 80px 24px;
}

.showcase-block {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 90px;
}

.showcase-block:last-child {
    margin-bottom: 0;
}

.showcase-block.reverse {
    grid-template-columns: 1.15fr 1fr;
}

.showcase-block.reverse .showcase-content {
    order: 2;
}

.showcase-block.reverse .showcase-media {
    order: 1;
}

.showcase-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.showcase-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-primary);
    margin-bottom: 18px;
    font-weight: 800;
}

.showcase-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.showcase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

.showcase-list strong {
    color: var(--text-primary);
}


/* Compatibility Section */
.compatibility-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.compatibility-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Compatibility Table Matrix */
.compat-table-wrapper {
    background: #101520;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md, 16px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.compat-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.93rem;
}

.compat-table th,
.compat-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
    text-align: left;
}

.compat-table thead tr {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.compat-col-feature {
    width: 30%;
    min-width: 180px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.compat-col-platform {
    width: 35%;
    min-width: 220px;
}

.compat-th-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 4px;
}

.compat-th-content svg {
    color: var(--color-orange);
    flex-shrink: 0;
}

.compat-os-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--color-orange);
    font-weight: 500;
}

.compat-cell-label {
    font-weight: 600;
    color: #FFFFFF;
    white-space: normal;
    line-height: 1.45;
}

.compat-table td {
    color: var(--text-secondary);
    line-height: 1.5;
}

.compat-check {
    color: var(--color-orange);
    font-weight: 700;
    margin-right: 4px;
}

.compat-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.compat-table tbody tr:last-child td {
    border-bottom: none;
}


/* ----------------------------------------------------
   Homepage Pricing Teaser Banner
   ---------------------------------------------------- */
.pricing-teaser-section {
    padding: 0 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-teaser-wrap {
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.06) 0%, rgba(20, 24, 30, 0.8) 100%);
    border: 1px solid rgba(255, 85, 0, 0.22);
    border-radius: var(--radius-lg, 16px);
    padding: 20px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pricing-teaser-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-teaser-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 85, 0, 0.12);
    color: var(--color-orange, #FF5500);
    flex-shrink: 0;
}

.pricing-teaser-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-slate-light, #CBD5E1);
    line-height: 1.5;
}

.pricing-teaser-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 680px) {
    .pricing-teaser-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .pricing-teaser-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* ----------------------------------------------------
   Universal Trades & As-Built Inspection Grid
   ---------------------------------------------------- */
.trades-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.trades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.trade-card {
    background: var(--bg-card, #101520);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 16px);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trade-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 85, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.trade-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.trade-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 85, 0, 0.12);
    color: var(--color-orange, #FF5500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trade-icon-box svg {
    width: 22px;
    height: 22px;
}

.trade-pill {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 2px;
    background: rgba(255, 85, 0, 0.06);
    color: var(--color-orange);
    border: 1px solid rgba(255, 85, 0, 0.25);
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.trade-pill::before,
.trade-pill::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-color: var(--color-orange);
    border-style: solid;
}
.trade-pill::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}
.trade-pill::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.trade-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #F8FAFC);
    margin-bottom: 12px;
}

.trade-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary, #94A3B8);
    margin-bottom: 20px;
    flex-grow: 1;
}

.trade-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trade-features li {
    font-size: 0.88rem;
    color: var(--text-secondary, #CBD5E1);
    position: relative;
    padding-left: 18px;
    line-height: 1.4;
}

.trade-features li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--color-orange, #FF5500);
    font-weight: bold;
}

.hero-hud-card {
    max-width: 340px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .trades-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Breakpoints (Mobile Optimized to Minimize Vertical Scrolling) */
@media (max-width: 900px) {
    .showcase-block, .showcase-block.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .showcase-block.reverse .showcase-content {
        order: 1;
    }
    .showcase-block.reverse .showcase-media {
        order: 2;
    }
    .showcase-media {
        max-width: 280px;
        margin: 0 auto;
    }
    .hero-mockup-wrapper {
        max-width: 290px;
        margin-top: 28px;
    }
    .steps-grid:not(.steps-grid-4) {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .compatibility-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    /* Compact Section Padding on Mobile */
    .steps-section,
    .features-showcase-section,
    .compatibility-section,
    .cta-section {
        padding: 36px 16px;
    }
    
    .section-header {
        margin-bottom: 24px;
    }
    .section-title {
        font-size: 1.65rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    /* Compact Step Cards */
    .step-card {
        padding: 20px 18px;
    }
    .step-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }
    .step-icon svg {
        width: 22px;
        height: 22px;
    }
    .step-number {
        font-size: 2rem;
        top: 14px;
        right: 16px;
    }
    .step-title {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }
    .step-desc {
        font-size: 0.88rem;
    }

    /* Compact Revit & IFC Banner */
    .revit-workflow-banner {
        margin-top: 24px;
        padding: 20px 18px;
    }
    .revit-banner-content h3 {
        font-size: 1.15rem;
    }
    .revit-banner-content p {
        font-size: 0.88rem;
    }

    /* Compact Showcase Text & Images */
    .showcase-badge {
        margin-bottom: 6px;
    }
    .showcase-title {
        font-size: 1.45rem;
        margin-bottom: 10px;
    }
    .showcase-text {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }
    .showcase-list li {
        font-size: 0.88rem;
    }
}

