/* ========================================================================
   SNDWEB Design System — Premium Hosting Brand
   ======================================================================== */

:root {
    /* Brand colors (overridable per brand via inline <style>) */
    --brand-primary: #AC3400;
    --brand-primary-rgb: 172, 52, 0;
    --brand-secondary: #2F2F2F;
    --brand-accent: #FF6B00;
    --brand-dark: #0a0e1f;
    --brand-dark-2: #1a1a2e;

    /* Surfaces */
    --surface-white: #ffffff;
    --surface-soft: #e9ecf5;
    --surface-soft-2: #eef1f8;
    --surface-divider: #f0f0f5;

    /* Text */
    --text-primary: #141414;
    --text-secondary: #5a5a5f;
    --text-muted: #888;

    /* Status */
    --status-success: #1d7a3a;
    --status-success-bg: #e8f7ee;
    --status-warning: #a86400;
    --status-warning-bg: #fff4e5;
    --status-danger: #b1351c;
    --status-danger-bg: #fdecea;
    --status-info: #1a73e8;
    --status-info-bg: #e8f0fe;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.3);

    /* Spacing scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;

    /* Typography */
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== UTILITIES ===== */
.snd-py-section { padding-top: 80px; padding-bottom: 80px; }
.snd-py-section-sm { padding-top: 60px; padding-bottom: 60px; }
.snd-section-soft { background: var(--surface-soft); }
.snd-section-dark { background: var(--brand-dark); color: #fff; }

/* ===== SECTION HEADINGS ===== */
.snd-section-head { text-align: center; margin-bottom: var(--sp-12); }
.snd-section-eyebrow {
    display: inline-block;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--sp-3);
}
.snd-section-head h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-family: var(--font-display);
}
.snd-section-head .lead, .snd-section-head p { font-size: 17px; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* ===== PREMIUM HERO (dark background) ===== */
.snd-hero { position: relative; padding: 120px 0 80px; overflow: hidden; background: var(--brand-dark); color: #fff; }
.snd-hero-bg { position: absolute; inset: 0; }
.snd-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
}
.snd-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: sndBlobFloat 20s ease-in-out infinite;
}
.snd-hero-blob.--pri { width: 500px; height: 500px; background: var(--brand-primary); top: -200px; left: -100px; }
.snd-hero-blob.--accent { width: 400px; height: 400px; background: var(--brand-accent); bottom: -150px; right: -100px; animation-delay: -7s; }
.snd-hero-blob.--cool { width: 300px; height: 300px; background: #6c63ff; top: 30%; right: 30%; opacity: 0.3; animation-delay: -14s; }
@keyframes sndBlobFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 40px) scale(0.95); } }

.snd-hero-content { position: relative; z-index: 1; }

.snd-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: var(--sp-6);
}
.snd-hero-eyebrow i { color: #ffb800; }

.snd-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-5);
    font-family: var(--font-display);
}
.snd-hero-accent {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.snd-hero-sub { font-size: 19px; color: rgba(255,255,255,0.75); line-height: 1.55; margin-bottom: var(--sp-8); max-width: 720px; margin-left: auto; margin-right: auto; }

.snd-hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.snd-hero-trust span {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}
.snd-hero-trust i { margin-right: 6px; color: var(--brand-accent); }

.snd-hero-stats {
    margin-top: var(--sp-16);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sp-3);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
}
.snd-stat { text-align: center; }
.snd-stat-value {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
}
.snd-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 768px) {
    .snd-hero { padding: 80px 0 60px; }
    .snd-hero-title { font-size: 36px; }
    .snd-hero-sub { font-size: 16px; }
    .snd-hero-stats { grid-template-columns: 1fr 1fr; padding: 20px; }
    .snd-stat-value { font-size: 28px; }
}

/* ===== BUTTONS ===== */
.snd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: 0;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, filter .1s;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-display);
}
.snd-btn:hover { transform: translateY(-1px); text-decoration: none; }
.snd-btn-primary { background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)); color: #fff; }
.snd-btn-primary:hover { color: #fff; box-shadow: var(--shadow-glow); filter: brightness(1.05); }
.snd-btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.snd-btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.snd-btn-outline-dark { background: transparent; color: var(--text-primary); border: 2px solid #e1e1e7; }
.snd-btn-outline-dark:hover { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
.snd-btn-ghost { background: transparent; color: var(--brand-primary); }
.snd-btn-ghost:hover { background: rgba(var(--brand-primary-rgb), 0.08); color: var(--brand-primary); }
.snd-btn-lg { padding: 16px 28px; font-size: 16px; }
.snd-btn-sm { padding: 9px 16px; font-size: 13px; }
.snd-btn-block { width: 100%; }

/* ===== CARDS ===== */
.snd-card {
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--surface-divider);
    transition: transform .2s, box-shadow .2s;
}
.snd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.snd-card-feature .snd-card-icon { font-size: 36px; margin-bottom: var(--sp-4); }
.snd-card-feature h5 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: var(--sp-2); }
.snd-card-feature p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== BADGES ===== */
.snd-badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.snd-badge-success { background: var(--status-success-bg); color: var(--status-success); }
.snd-badge-warning { background: var(--status-warning-bg); color: var(--status-warning); }
.snd-badge-danger { background: var(--status-danger-bg); color: var(--status-danger); }
.snd-badge-info { background: var(--status-info-bg); color: var(--status-info); }
.snd-badge-primary { background: rgba(var(--brand-primary-rgb), 0.1); color: var(--brand-primary); }

/* ===== FAQ ACCORDION ===== */
.snd-faq { max-width: 820px; margin: 0 auto; }
.snd-faq-item {
    background: var(--surface-white);
    border: 1px solid var(--surface-divider);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-3);
    transition: box-shadow .2s;
    overflow: hidden;
}
.snd-faq-item:hover { box-shadow: var(--shadow-sm); }
.snd-faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(var(--brand-primary-rgb), 0.2); }
.snd-faq-summary {
    cursor: pointer;
    padding: var(--sp-5) var(--sp-6);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}
.snd-faq-summary::-webkit-details-marker { display: none; }
.snd-faq-summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--brand-primary);
    transition: transform .2s;
    line-height: 1;
}
.snd-faq-item[open] .snd-faq-summary::after { content: '−'; }
.snd-faq-body { padding: 0 var(--sp-6) var(--sp-5); color: var(--text-secondary); line-height: 1.6; font-size: 15px; }

/* ===== FINAL CTA BLOCK ===== */
.snd-final-cta { padding: 80px 0; }
.snd-final-cta-box {
    position: relative;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-2) 100%);
    border-radius: 24px;
    padding: 56px;
    color: #fff;
    overflow: hidden;
}
.snd-final-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(var(--brand-primary-rgb), 0.4), transparent 50%);
}
.snd-final-cta-box > * { position: relative; }
.snd-final-cta-box h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: var(--sp-2); }
.snd-final-cta-box p { color: rgba(255,255,255,0.7); font-size: 16px; margin: 0; }
@media (max-width: 768px) { .snd-final-cta-box { padding: 36px 24px; text-align: center; } }

/* ===== LANGUAGE SWITCHER ===== */
.snd-lang-switcher { display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,0.04); border-radius: var(--radius-pill); padding: 3px; }
.snd-lang-switcher a { padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--text-muted); border-radius: var(--radius-pill); text-decoration: none; transition: all .15s; }
.snd-lang-switcher a.is-active { background: var(--brand-primary); color: #fff; }
.snd-lang-switcher a:not(.is-active):hover { background: rgba(0,0,0,0.05); color: var(--text-primary); text-decoration: none; }
