/* setupsforall.com */
/* Fonts */
@font-face {
    font-family: 'Dancing Script';
    src: url('./fonts/DancingScript-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('./fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('./fonts/Barlow-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist Pixel';
    src: url('./fonts/GeistPixel-Regular-VariableFont_ELSH.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
}

/* HEADER */
.sfa-header {
    background-color: #5c38bd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 48px;
    width: 100%;
}

.sfa-logo {
    color: #ffffff;
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.sfa-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sfa-nav-link {
    color: #ffffffe6;
    font-family: 'Geist Pixel', monospace;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.9;
}

.sfa-nav-link:hover {
    opacity: 1;
}

.sfa-globe {
    color: #ffffff4f;
    font-size: 18px;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

/* LAYOUT PRINCIPAL */
.sfa-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
}

/* Columna principal */
.sfa-main-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* INDEX / HERO */
.sfa-index {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px 32px;
}

.sfa-index-title {
    font-family: 'Barlow', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #2E1A47;
    margin-bottom: 8px;
}

.sfa-index-desc {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

/* PRODUCT CARDS */
.sfa-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sfa-product-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.sfa-product-card:hover {
    box-shadow: 0 2px 12px rgba(92, 56, 189, 0.1);
}

.sfa-product-img {
    width: 180px;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
    background-color: white;
}

.sfa-product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sfa-product-name {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2E1A47;
}

.sfa-product-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    flex: 1;
}

.sfa-product-btn {
    display: inline-block;
    align-self: flex-start;
    background-color: #F1C40F;
    color: #1a1a1a;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-top: 4px;
}

.sfa-product-btn:hover {
    background-color: #d4a800;
    color: #238006;
}

/* SIDEBAR */
.sfa-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sfa-sidebar-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.sfa-sidebar-title {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2E1A47;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sfa-sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sfa-sidebar-link {
    color: #5c38bd;
    font-family: 'Geist Pixel', monospace;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
    padding: 6px 8px;
    border-radius: 4px;
}

.sfa-sidebar-link:hover {
    color: #a1631d;
    background-color: rgba(92, 56, 189, 0.08);
}

.sfa-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: #888;
}

.sfa-policies-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.sfa-policies-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.sfa-policies-nav a {
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.55;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: opacity 0.15s;
}

.sfa-policies-nav a:hover {
    opacity: 1;
}

.sfa-policy-section {
    margin-bottom: 3.5rem;
}

.sfa-policy-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.sfa-policy-section h3 {
    font-size: 1rem;
    margin: 1.5rem 0 0.4rem;
}

.sfa-policy-section p,
.sfa-policy-section li {
    font-size: 0.93rem;
    line-height: 1.7;
    opacity: 0.8;
}

.sfa-policy-section ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.sfa-policy-divider {
    border: none;
    border-top: 1px solid currentColor;
    opacity: 0.1;
    margin-bottom: 3.5rem;
}

.sfa-policy-updated {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

/* HOME PAGE */
.sfa-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.sfa-hero {
    padding: 64px 0 24px;
    max-width: 600px;
}

.sfa-hero-title {
    font-family: 'Barlow', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2E1A47;
    line-height: 1.1;
    margin-bottom: 16px;
}

.sfa-hero-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 480px;
}

/* Image placeholders */
.sfa-img-block {
    margin: 48px 0;
}

.sfa-img-placeholder {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: scale-down;
}

/* Sections */
.sfa-section {
    margin-bottom: 56px;
    max-width: 680px;
}

.sfa-section-title {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2E1A47;
    margin-bottom: 16px;
}

.sfa-section-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.sfa-section-text:last-child {
    margin-bottom: 0;
}

/* Transparency note */
.sfa-note {
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 28px 32px;
    max-width: 100%;
}

/* Values grid */
.sfa-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.sfa-value-card {
    background: #fff;
    border: 1px solid #e0d9f0;
    border-radius: 10px;
    padding: 24px;
}

.sfa-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0edf7;
    border-radius: 8px;
    color: #5c38bd;
    font-size: 15px;
    margin-bottom: 14px;
}

.sfa-value-title {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2E1A47;
    margin-bottom: 8px;
}

.sfa-value-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Product card highlight (sidebar navigation) */
@property --sfa-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.sfa-product-card {
    position: relative;
    overflow: visible;
}

.sfa-product-card--highlight::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
    padding: 2px;
    background: conic-gradient(from var(--sfa-angle),
            transparent 0deg,
            #5c38bd 80deg,
            transparent 160deg);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: sfa-angle-spin 2s linear infinite, sfa-border-fade 2s ease-out 2s forwards;
}

.sfa-product-card--highlight::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    pointer-events: none;
    animation: sfa-glow-fade 1.5s ease forwards;
    z-index: 0;
}

@keyframes sfa-angle-spin {
    from {
        --sfa-angle: 0deg;
    }

    to {
        --sfa-angle: 360deg;
    }
}

@keyframes sfa-border-fade {
    0% {
        opacity: 1;
    }

    30% {
        opacity: 0.8;
    }

    60% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

@keyframes sfa-glow-fade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0.5;
    }

    60% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.9;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sfa-layout {
        grid-template-columns: 1fr;
    }

    .sfa-sidebar {
        position: static;
        order: -1;
    }

    .sfa-product-card {
        grid-template-columns: 1fr;
    }

    .sfa-product-img {
        width: 100%;
        height: 200px;
    }

    .sfa-hero-title {
        font-size: 32px;
    }

    .sfa-values {
        grid-template-columns: 1fr;
    }

    .sfa-img-placeholder {
        height: 200px;
    }

    .sfa-note {
        padding: 20px;
    }
}