:root {
    --sa-bg: #050816;
    --sa-bg-alt: #0b1020;
    --sa-primary: #ff4b7b;
    --sa-primary-soft: rgba(255, 75, 123, 0.1);
    --sa-text: #f5f5ff;
    --sa-muted: #9aa0c2;
    --sa-border: #20263a;
    --sa-radius: 14px;
    --sa-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    --sa-font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--sa-font-main);
    background: radial-gradient(circle at top, #151b3d 0, #050816 45%, #02010a 100%);
    color: var(--sa-text);
}

/* Layout helpers */
.sa-container {
    width: min(1100px, 100% - 32px);
    margin-inline: auto;
}

.sa-section {
    padding: 64px 0;
}

.sa-section-alt {
    background: radial-gradient(circle at top left, #191f3e 0, #050816 45%, #02010a 100%);
}

/* Header */
.sa-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.85), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sa-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.sa-logo {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--sa-text);
    text-decoration: none;
    font-size: 1.05rem;
}

.sa-logo span {
    color: var(--sa-primary);
}

.sa-nav {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.sa-nav a {
    color: var(--sa-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.sa-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4b7b, #ff9a62);
    transition: width 0.2s ease-out;
}

.sa-nav a:hover {
    color: var(--sa-text);
}

.sa-nav a:hover::after {
    width: 100%;
}

.sa-cta-group {
    display: flex;
    gap: 10px;
}

/* Buttons */
.sa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out, border-color 0.15s ease-out;
    white-space: nowrap;
}

.sa-btn-primary {
    background: linear-gradient(135deg, #ff4b7b, #ff9a62);
    color: #050816;
    box-shadow: 0 12px 25px rgba(255, 75, 123, 0.45);
}

.sa-btn-outline {
    background: transparent;
    color: var(--sa-text);
    border-color: rgba(255, 255, 255, 0.16);
}

.sa-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sa-text);
}

.sa-btn:hover {
    transform: translateY(-2px);
}

.sa-btn-primary:hover {
    box-shadow: 0 18px 35px rgba(255, 75, 123, 0.55);
}

.sa-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero */
.sa-hero {
    padding: 100px 0;
}

.sa-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sa-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    background: linear-gradient(135deg, #ffffff, #c7c9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sa-hero p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--sa-muted);
    margin: 0 0 32px;
}

.sa-hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.sa-hero-note {
    font-size: 0.8rem;
    color: var(--sa-muted);
    margin: 16px 0 0;
}

/* Cards */
.sa-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--sa-radius);
    padding: 28px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.sa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sa-shadow);
    border-color: rgba(255, 255, 255, 0.15);
}

.sa-card h3 {
    font-size: 1.15rem;
    margin: 0 0 12px;
    color: var(--sa-text);
}

.sa-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--sa-muted);
    margin: 0;
}

.sa-card-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.sa-card-body {
    padding: 20px;
}

.sa-card-body h2 {
    font-size: 1.2rem;
    margin: 0 0 8px;
}

.sa-card-body p {
    font-size: 0.85rem;
}

.sa-card-highlight {
    border: 2px solid var(--sa-primary);
    box-shadow: 0 0 40px rgba(255, 75, 123, 0.3);
}

.sa-card-small {
    aspect-ratio: 2/3;
    padding: 0;
    background: linear-gradient(135deg, rgba(255, 75, 123, 0.15), rgba(139, 92, 246, 0.15));
}

/* Tags */
.sa-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff4b7b, #ff9a62);
    color: #050816;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.sa-tag-live {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Thumbnails */
.sa-thumb {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1a2035, #0f1525);
    border-radius: var(--sa-radius) var(--sa-radius) 0 0;
}

.sa-thumb-live {
    height: 320px;
    border-radius: var(--sa-radius);
    background: linear-gradient(135deg, rgba(255, 75, 123, 0.2), rgba(139, 92, 246, 0.2));
}

/* Grids */
.sa-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.sa-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.sa-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Section titles */
.sa-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 16px;
    text-align: center;
}

.sa-two-cols h2 {
    text-align: left;
}

.sa-section > .sa-container > p {
    text-align: center;
    color: var(--sa-muted);
    font-size: 1rem;
}

/* Lists */
.sa-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.sa-list li {
    padding: 10px 0;
    color: var(--sa-muted);
    position: relative;
    padding-left: 24px;
}

.sa-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sa-primary);
    font-weight: 700;
}

/* Pricing */
.sa-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sa-text);
    margin: 16px 0;
}

/* Footer */
.sa-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 0;
    margin-top: 64px;
}

.sa-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sa-footer p {
    margin: 0;
    color: var(--sa-muted);
    font-size: 0.85rem;
}

.sa-footer-links {
    display: flex;
    gap: 20px;
}

.sa-footer-links a {
    color: var(--sa-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease-out;
}

.sa-footer-links a:hover {
    color: var(--sa-text);
}

/* Responsive */
@media (max-width: 768px) {
    .sa-hero-grid,
    .sa-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sa-hero h1 {
        font-size: 2rem;
    }

    .sa-nav {
        display: none;
    }

    .sa-section h2 {
        font-size: 1.5rem;
    }

    .sa-hero-actions {
        flex-direction: column;
    }

    .sa-btn {
        width: 100%;
    }

    .sa-footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}