/* ============================================
   SECURITY & GOVERNANCE PAGE
   Dark theme, teal accents, enterprise control
   ============================================ */

/* ===== Page base ===== */
.sg-page {
    background: #020617;
}

/* ===== Container ===== */
.sg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Accent text ===== */
.sg-page .accent {
    color: #14b8a6;
}

/* ===== Label pill ===== */
.sg-label {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 100px;
    color: #14b8a6;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

/* ============================================
   HERO SECTION - Two Column Layout
   ============================================ */
.sg-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.sg-hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.sg-hero__glow {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sg-hero::after {
    content: '';
    position: absolute;
    top: 40%;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.sg-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sg-hero__content {
    max-width: 560px;
}

.sg-hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: #f8fafc;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.sg-hero__subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 28px;
    max-width: 520px;
}

/* Hero bullets */
.sg-hero__bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

.sg-hero__bullet {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: #cbd5e1;
    font-weight: 500;
}

.sg-hero__bullet::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #14b8a6;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

.sg-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   HERO VISUAL - Governance Structure SVG
   ============================================ */
.sg-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sg-hero__visual::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 5%;
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 
        20px 50px 0 rgba(20, 184, 166, 0.3),
        -30px 100px 0 rgba(20, 184, 166, 0.2),
        50px 150px 0 rgba(20, 184, 166, 0.25);
}

.sg-governance-diagram {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* SVG Animations */
@keyframes sgPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes sgPulseLine {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 14; }
}

@keyframes sgGlow {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(20, 184, 166, 0.3)); }
    50% { filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.6)); }
}

.sg-pulse {
    animation: sgPulse 3s ease-in-out infinite;
    transform-origin: center;
}

.sg-pulse-line {
    animation: sgPulseLine 2s linear infinite;
}

.sg-node {
    transition: all 0.3s ease;
}

.sg-node:hover {
    filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.5));
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sg-pulse,
    .sg-pulse-line {
        animation: none;
    }
}

/* ============================================
   STATEMENT SECTION - Manifest Block
   ============================================ */
.sg-statement {
    padding: 120px 0;
    position: relative;
    background: #020617;
    overflow: hidden;
}

.sg-statement__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(148, 163, 184, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Subtle glow behind content */
.sg-statement::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Top and bottom subtle separators */
.sg-statement::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.15), transparent);
}

.sg-statement__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sg-statement__headline {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.35;
    color: #f8fafc;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.sg-statement__headline .accent {
    color: #14b8a6;
    text-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

.sg-statement__text {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    line-height: 1.75;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.sg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #020617;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.35);
}

.sg-btn--outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f8fafc;
}

.sg-btn--outline:hover {
    border-color: #14b8a6;
    color: #14b8a6;
    background: rgba(20, 184, 166, 0.08);
    box-shadow: none;
}

.sg-btn--large {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

/* ============================================
   SECTIONS BASE
   ============================================ */
.sg-section {
    padding: 100px 0;
    position: relative;
}

.sg-section--alt {
    background: #0f172a;
}

/* Subtle top separator */
.sg-section--alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.2), transparent);
}

.sg-section__header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sg-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    line-height: 1.25;
}

.sg-section__subtitle {
    font-size: 1.0625rem;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================
   CARDS - 3 Column Layout
   ============================================ */
.sg-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.sg-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.sg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0), transparent);
    transition: background 0.35s ease;
}

.sg-card:hover {
    border-color: rgba(20, 184, 166, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(20, 184, 166, 0.08);
}

.sg-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.6), transparent);
}

.sg-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    transition: all 0.3s ease;
}

.sg-card:hover .sg-card__icon {
    background: rgba(20, 184, 166, 0.2);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}

.sg-card__icon svg {
    width: 28px;
    height: 28px;
}

.sg-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
}

.sg-card__desc {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

/* ============================================
   CHECKLIST - Enterprise-grade
   ============================================ */
.sg-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.sg-checklist__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sg-checklist__item:hover {
    border-color: rgba(20, 184, 166, 0.3);
    background: rgba(15, 23, 42, 0.7);
    transform: translateX(4px);
}

.sg-checklist__icon {
    width: 32px;
    height: 32px;
    background: rgba(20, 184, 166, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    flex-shrink: 0;
}

.sg-checklist__icon svg {
    width: 16px;
    height: 16px;
}

.sg-checklist__item span {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
}

/* Architecture note */
.sg-architecture-note {
    text-align: center;
    font-size: 1.125rem;
    color: #94a3b8;
    margin-top: 48px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    border-left: 3px solid #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    border-radius: 0 12px 12px 0;
}

/* ============================================
   FINAL CTA
   ============================================ */
.sg-final {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
    border-top: 1px solid rgba(20, 184, 166, 0.15);
}

.sg-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #14b8a6, transparent);
    opacity: 0.6;
}

.sg-final__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.sg-final__content {
    position: relative;
    z-index: 1;
}

.sg-final__title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 14px;
    line-height: 1.2;
}

.sg-final__subtitle {
    font-size: 1.0625rem;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sg-final__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sg-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .sg-hero__content {
        max-width: 100%;
    }
    
    .sg-hero__subtitle {
        max-width: 100%;
    }
    
    .sg-hero__bullets {
        align-items: center;
    }
    
    .sg-hero__actions {
        justify-content: center;
    }
    
    .sg-hero__visual {
        order: -1;
    }
    
    .sg-hero__visual::before {
        display: none;
    }
    
    .sg-governance-diagram {
        max-width: 400px;
    }
    
    .sg-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .sg-checklist {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .sg-hero {
        padding: 100px 0 60px;
    }
    
    .sg-governance-diagram {
        max-width: 340px;
    }
    
    .sg-statement {
        padding: 80px 0;
    }
    
    .sg-statement__headline {
        font-size: 1.625rem;
    }
    
    .sg-statement__text {
        font-size: 1rem;
    }
    
    .sg-statement__text br {
        display: none;
    }
    
    .sg-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .sg-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .sg-section {
        padding: 80px 0;
    }
    
    .sg-final {
        padding: 90px 0;
    }
    
    .sg-final__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .sg-architecture-note {
        font-size: 1rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .sg-container {
        padding: 0 20px;
    }
    
    .sg-hero__title {
        font-size: 1.875rem;
    }
    
    .sg-hero__subtitle {
        font-size: 1rem;
    }
    
    .sg-section__title {
        font-size: 1.5rem;
    }
    
    .sg-governance-diagram {
        max-width: 280px;
    }
    
    .sg-statement {
        padding: 60px 0;
    }
    
    .sg-statement__headline {
        font-size: 1.375rem;
    }
    
    .sg-statement__headline br {
        display: none;
    }
    
    .sg-checklist__item {
        padding: 16px 20px;
    }
    
    .sg-checklist__item span {
        font-size: 0.9375rem;
    }
}
