/* ============================================
   BASE
   ============================================ */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
.navbar-brand img { height: 43px; margin-right: 8px; }

/* ============================================
   HERO – Full viewport, dark, centered
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(165deg, #071e2a 0%, #0b3b4f 40%, #0a2e3e 70%, #061a24 100%);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 40%, rgba(11,59,79,0.0) 0%, rgba(6,26,36,0.55) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 6rem 1rem 4rem;
    max-width: 780px;
    margin: 0 auto;
}

.hero-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b3b4f;
    background: #ffffff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
    color: #0b3b4f;
    text-decoration: none;
}

.hero-proof {
    margin-top: 3rem;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.6);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-proof-sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(148, 163, 184, 0.35);
    animation: hero-bounce 2.5s ease-in-out infinite;
}
@keyframes hero-bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SECTION DEFAULTS
   ============================================ */
.section-title { font-weight: 600; margin-bottom: 0.75rem; }
.section-subtitle { color: #6b7280; margin-bottom: 1.5rem; }
.feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.bg-subtle { background-color: #f9fafb; }

.pill-label {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background-color: #e5e7eb;
    color: #4b5563;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

/* ============================================
   PROCESS AS CODE section
   ============================================ */
.process-as-code-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
}
.pac-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pac-features li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; color: #374151; }
.pac-features li::before { content: "\2713"; position: absolute; left: 0; color: #0b3b4f; font-weight: bold; }
.pac-code-block { background: #0f172a; border-radius: 8px; padding: 1.5rem; overflow-x: auto; font-size: 0.82rem; line-height: 1.7; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.pac-code-block pre { margin: 0; white-space: pre; }
.pac-code-block code { color: #e2e8f0; font-family: 'Courier New', Consolas, monospace; }
.pac-code-block .c-muted { color: #64748b; }
.pac-code-block .c-key { color: #38bdf8; font-weight: 600; }

/* ============================================
   UAPF ICONS
   ============================================ */
.uapf-icon { width: 56px; height: 56px; border-radius: 16px; border: 2px solid #0b3b4f; display: inline-flex; align-items: center; justify-content: center; }
.uapf-icon::before { content: ""; display: block; }
.uapf-icon-triangle::before { width: 0; height: 0; border-left: 16px solid #0b3b4f; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.uapf-icon-circle::before { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0b3b4f; }
.uapf-icon-square::before { width: 22px; height: 22px; border: 2px solid #0b3b4f; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary { background-color: #0b3b4f; border-color: #0b3b4f; }
.btn-primary:hover { background-color: #094053; border-color: #094053; }
.btn-outline-primary { color: #0b3b4f; border-color: #0b3b4f; }
.btn-outline-primary:hover { background-color: #0b3b4f; color: #ffffff; }

/* ============================================
   FOOTER
   ============================================ */
footer { background-color: #111827; color: #9ca3af; padding: 1.5rem 0; margin-top: 3rem; }
footer a { color: #e5e7eb; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ============================================
   STATUS BADGES
   ============================================ */
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; }
.status-live { background: #dcfce7; color: #166534; }
.status-beta { background: #fef3c7; color: #92400e; }
.status-available { background: #e0e7ff; color: #3730a3; }

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card { border: 2px solid #e5e7eb; border-radius: 12px; padding: 2rem; transition: border-color 0.2s, box-shadow 0.2s; height: 100%; background: white; }
.service-card:hover { border-color: #0b3b4f; box-shadow: 0 4px 12px rgba(11,59,79,0.1); }
.service-card .service-stage { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #0b3b4f; margin-bottom: 0.5rem; display: inline-block; background: #e0f2fe; padding: 0.25rem 0.5rem; border-radius: 4px; }
.service-card .service-title { font-size: 1.5rem; font-weight: 700; color: #0b3b4f; margin-bottom: 0.5rem; }
.service-card .service-meta { font-size: 0.9rem; color: #6b7280; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.service-card .service-price { font-size: 1.25rem; font-weight: 700; color: #0b3b4f; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e5e7eb; }
.service-card .deliverables-title { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; margin-bottom: 0.75rem; }
.service-card .service-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.service-card .service-features li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; font-size: 0.9rem; color: #374151; }
.service-card .service-features li::before { content: "\2713"; position: absolute; left: 0; color: #059669; font-weight: bold; }

/* ============================================
   MISC (highlight box, deployment, alerts, CTA, credential, platform bars)
   ============================================ */
.highlight-box { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-left: 4px solid #0b3b4f; padding: 1.5rem 2rem; border-radius: 0 12px 12px 0; }
.highlight-box h2 { color: #0b3b4f; }
.highlight-box ul { margin-bottom: 1rem; padding-left: 1.25rem; }
.highlight-box ul li { margin-bottom: 0.25rem; color: #374151; }
.product-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.deployment-options { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem; margin-top: 1rem; }
.deployment-options h6 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; margin-bottom: 0.5rem; }
.deployment-options ul { margin: 0; padding-left: 1.25rem; font-size: 0.875rem; }
.alert-action { background: #eff6ff; border: 1px solid #bfdbfe; border-left: 4px solid #3b82f6; color: #1e40af; }
.cta-section { background: linear-gradient(135deg, #0b3b4f 0%, #1e5f74 100%); color: white; padding: 3rem 0; text-align: center; }
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255,255,255,0.85); }
.cta-section .btn-light { background: white; color: #0b3b4f; font-weight: 600; }
.cta-section .btn-outline-light { border-color: rgba(255,255,255,0.5); color: white; }
.cta-section .btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: white; }
.credential-list { list-style: none; padding: 0; margin: 0; }
.credential-list li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; font-size: 0.9rem; }
.credential-list li::before { content: "\2713"; position: absolute; left: 0; color: #0b3b4f; font-weight: bold; }
.platform-tools-bar { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.platform-tools-bar .btn { min-width: 140px; }
.platform-toolbar { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-bottom: 1px solid #cbd5e1; }
.platform-toolbar .btn.btn-primary { background: #0b3b4f; border-color: #0b3b4f; }
.border-dashed { border-style: dashed !important; }
