/* =================================================================
   FEATURES & CAPABILITY PAGES CSS (VANILLA CSS ENTERPRISE DESIGN)
   ================================================================= */

/* -------------------------------------------------------------
   Hero Banner & Breadcrumbs
   ------------------------------------------------------------- */
.feature-hero {
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, rgba(26, 26, 75, 0.03) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(26, 26, 75, 0.06);
    border: 1px solid rgba(26, 26, 75, 0.12);
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.feature-hero__badge i {
    color: var(--brand-accent);
}

.feature-hero__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--brand-ink);
    letter-spacing: -0.03em;
    max-width: 860px;
    margin-bottom: 1.25rem;
}

.feature-hero__lead {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 720px;
    margin-bottom: 2rem;
}

.feature-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.feature-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.feature-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-breadcrumbs a:hover {
    color: var(--brand-accent);
}

.feature-breadcrumbs span.sep {
    color: var(--border);
    font-size: 0.75rem;
}

.feature-breadcrumbs span.current {
    color: var(--brand-ink);
    font-weight: 600;
}

/* -------------------------------------------------------------
   Hub Module Cards Grid
   ------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-6, 1.5rem);
    margin-top: 2.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -5px rgba(26, 26, 75, 0.08);
    border-color: color-mix(in srgb, var(--brand-accent) 50%, var(--border));
}

.feature-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card__icon--pms {
    background: rgba(15, 118, 110, 0.1);
    color: #0F766E;
}

.feature-card__icon--booking {
    background: rgba(241, 90, 36, 0.1);
    color: #f15a24;
}

.feature-card__icon--channel {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.feature-card__icon--gst {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.feature-card__icon--google {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.08);
}

.feature-card__pill {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    background: var(--bg-alt);
    color: var(--muted);
    border: 1px solid var(--border);
}

.feature-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.feature-card__desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-card__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.feature-card__bullets li {
    font-size: 0.875rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.feature-card__bullets li i {
    color: var(--color-brand-operations);
    font-size: 0.8rem;
}

.feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-accent);
    margin-top: auto;
}

.feature-card__link i {
    transition: transform 0.2s ease;
}

.feature-card:hover .feature-card__link i {
    transform: translateX(4px);
}

/* -------------------------------------------------------------
   Capability Deep Dive Rows (Zig-Zag Sections)
   ------------------------------------------------------------- */
.deep-dive {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.deep-dive:nth-child(even) {
    background: var(--bg-alt);
}

.deep-dive__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.deep-dive__grid--reverse {
    direction: rtl;
}

.deep-dive__grid--reverse > * {
    direction: ltr;
}

.deep-dive__tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-accent);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.deep-dive__heading {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--brand-ink);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.deep-dive__paragraph {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.deep-dive__checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.deep-dive__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}

.deep-dive__checklist li i {
    color: #0F766E;
    font-size: 0.95rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Feature Spec Highlight Box */
.spec-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
}

.spec-box__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.spec-box__title i {
    color: var(--brand-accent);
}

.spec-box__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.spec-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.spec-item__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.spec-item__value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-ink);
}

/* -------------------------------------------------------------
   Architecture Synergy Section
   ------------------------------------------------------------- */
.synergy-band {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: var(--brand-primary);
    color: var(--white);
}

.synergy-band .section-title {
    color: var(--white);
}

.synergy-band .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.synergy-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.synergy-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.synergy-card__icon {
    font-size: 2rem;
    color: var(--brand-accent);
    margin-bottom: 1.25rem;
}

.synergy-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.synergy-card__desc {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
}

/* -------------------------------------------------------------
   Checklist Matrix Section
   ------------------------------------------------------------- */
.matrix-section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: var(--bg);
}

.matrix-table-wrap {
    margin-top: 2.5rem;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.925rem;
}

.matrix-table th,
.matrix-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.matrix-table th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--brand-ink);
}

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

.matrix-table tr:hover td {
    background: rgba(26, 26, 75, 0.015);
}

.matrix-check {
    color: #0F766E;
    font-size: 1.1rem;
}

/* -------------------------------------------------------------
   Property Segments Section (Solutions Page)
   ------------------------------------------------------------- */
.property-segments-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.segment-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.segment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--segment-accent, var(--brand-accent));
    opacity: 0.8;
    transition: height 0.25s ease;
}

.segment-card:hover::before {
    height: 6px;
    opacity: 1;
}

.segment-card--boutique {
    --segment-accent: #d97706;
}

.segment-card--resort {
    --segment-accent: #0f766e;
}

.segment-card--homestay {
    --segment-accent: #2563eb;
}

.segment-card--chain {
    --segment-accent: #7c3aed;
}

.segment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px -4px rgba(26, 26, 75, 0.08);
    border-color: color-mix(in srgb, var(--segment-accent) 40%, var(--border));
}

.segment-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    background: color-mix(in srgb, var(--segment-accent) 10%, transparent);
    color: var(--segment-accent);
    transition: all 0.3s ease;
}

.segment-card:hover .segment-card__icon {
    background: var(--segment-accent);
    color: white;
    transform: scale(1.05);
}

.segment-card__pill {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.55rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--segment-accent) 8%, transparent);
    color: var(--segment-accent);
    margin-bottom: 0.85rem;
}

.segment-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-ink);
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.segment-card__desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.segment-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--segment-accent);
    margin-top: auto;
}

.segment-card__link i {
    transition: transform 0.2s ease;
}

.segment-card:hover .segment-card__link i {
    transform: translateX(4px);
}

/* -------------------------------------------------------------
   Responsive Breakpoints
   ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .segment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .deep-dive__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .deep-dive__grid--reverse {
        direction: ltr;
    }
    
    .synergy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .segment-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-box__items {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   AEO Answer Capsules & Knowledge QA Blocks (Tier-A Enterprise)
   ------------------------------------------------------------- */
.aeo-section {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
    background: #f8fafc;
    border-top: 1px solid var(--border);
}

.aeo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.aeo-capsule {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aeo-capsule:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.aeo-capsule__icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.aeo-capsule__q {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-ink);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.aeo-capsule__a {
    font-size: 0.925rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}




