/* Main Layout */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.stbfnds-layout_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px 0 20px !important;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 30px;
    margin-top: 0;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    image-rendering: pixelated;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.hero-title {
    font-family: "Roboto Flex", sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 15px 0;
    color: #212529;
    font-variation-settings: "wdth" 125, "wght" 1000, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.hero-subtitle {
    font-family: "Roboto Flex", sans-serif;
    font-size: 18px;
    color: #6c757d;
    margin: 0 0 30px 0;
    font-variation-settings: "wdth" 115, "wght" 500, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-item .material-symbols-outlined {
    font-size: 32px;
    color: #667eea;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: "Roboto Flex", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    font-variation-settings: "wdth" 120, "wght" 800, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.stat-label {
    font-family: "Roboto Flex", sans-serif;
    font-size: 12px;
    color: #6c757d;
    font-variation-settings: "wdth" 110, "wght" 500, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: "Roboto Flex", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-variation-settings: "wdth" 115, "wght" 600, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.btn-hero-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-hero-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-title {
    font-family: "Roboto Flex", sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #212529;
    margin: 0 0 12px 0;
    font-variation-settings: "wdth" 120, "wght" 900, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.section-subtitle {
    font-family: "Roboto Flex", sans-serif;
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    font-variation-settings: "wdth" 110, "wght" 500, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

/* Featured Section */
.featured-section {
    width: 100%;
    margin-bottom: 60px;
}

.featured-card {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-family: "Roboto Flex", sans-serif;
    font-size: 13px;
    font-weight: 600;
    font-variation-settings: "wdth" 115, "wght" 700, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.featured-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.featured-icon img {
    width: 50px;
    filter: brightness(0) invert(1);
}

.featured-title {
    font-family: "Roboto Flex", sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: white;
    margin: 0 0 15px 0;
    font-variation-settings: "wdth" 125, "wght" 1000, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.featured-description {
    font-family: "Roboto Flex", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-variation-settings: "wdth" 110, "wght" 400, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.featured-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.feature-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    color: white;
    font-family: "Roboto Flex", sans-serif;
    font-size: 13px;
    font-weight: 500;
    font-variation-settings: "wdth" 110, "wght" 600, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.featured-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-featured-primary,
.btn-featured-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: "Roboto Flex", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-variation-settings: "wdth" 115, "wght" 600, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.btn-featured-primary {
    background: white;
    color: #667eea;
}

.btn-featured-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-featured-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid white;
}

.btn-featured-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* Projects Section */
.projects-section {
    width: 100%;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.project-icon {
    font-size: 32px;
    color: #667eea;
}

.project-title {
    font-family: "Roboto Flex", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    font-variation-settings: "wdth" 120, "wght" 800, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.project-description {
    font-family: "Roboto Flex", sans-serif;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 auto 0;
    font-variation-settings: "wdth" 110, "wght" 400, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.project-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
}

.project-link {
    font-family: "Roboto Flex", sans-serif;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    font-variation-settings: "wdth" 115, "wght" 700, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

/* Coming Soon Section */
.coming-soon-section {
    width: 100%;
    margin-bottom: 60px;
}

.coming-soon-card {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
    overflow: hidden;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-family: "Roboto Flex", sans-serif;
    font-size: 13px;
    font-weight: 600;
    font-variation-settings: "wdth" 115, "wght" 700, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-title {
    font-family: "Roboto Flex", sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: white;
    margin: 0 0 15px 0;
    font-variation-settings: "wdth" 125, "wght" 1000, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.coming-soon-description {
    font-family: "Roboto Flex", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-variation-settings: "wdth" 110, "wght" 400, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.coming-soon-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
}

.feature-item .material-symbols-outlined {
    font-size: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 12px;
}

.feature-item span:last-child {
    font-family: "Roboto Flex", sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-variation-settings: "wdth" 115, "wght" 600, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.btn-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #ff6b6b;
    border-radius: 12px;
    font-family: "Roboto Flex", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-variation-settings: "wdth" 115, "wght" 600, "YTAS" 800, "XOPQ" 80, "XTRA" 500;
}

.btn-coming-soon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        gap: 30px;
    }

    .featured-card,
    .coming-soon-card {
        padding: 40px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media only screen and (max-width: 768px) {
    .stbfnds-layout_main {
        padding: 80px 10px 0 10px !important;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-logo-wrapper {
        margin-top: -40px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .featured-card,
    .coming-soon-card {
        padding: 30px 20px;
    }

    .featured-badge,
    .coming-soon-badge {
        position: static;
        margin: 0 auto 20px;
        width: fit-content;
    }

    .featured-title,
    .coming-soon-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .coming-soon-features {
        gap: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .stat-number {
        font-size: 24px;
    }

    .featured-title,
    .coming-soon-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .featured-features {
        flex-direction: column;
        align-items: stretch;
    }
}