:root {
    --filgo-navy: #09051A;
    --filgo-blue: #6E1BFF;
    --filgo-cyan: #8E35FF;
    --filgo-gold: #F23CFF;
    --filgo-white: #FFFFFF;
    --filgo-text: #24133F;
    --filgo-bg: #F5F0FF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Segoe UI", sans-serif;
    background: var(--filgo-bg);
    color: var(--filgo-text);
}

html[dir="rtl"] body {
    font-family: Tahoma, Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 5, 26, .97);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 30px;
    font-weight: 900;
    color: white;
}

.brand span {
    color: var(--filgo-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: white;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--filgo-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: .2s ease;
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.35);
}

.btn-gold {
    background: linear-gradient(135deg, #F23CFF, #6E1BFF);
    color: #FFFFFF;
}

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #9B73DF 0%, #B68AE9 50%, #E7A0EC 100%);
    color: white;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
    padding-block: 80px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero h1 strong {
    color: var(--filgo-gold);
}

.hero p {
    max-width: 650px;
    font-size: 19px;
    line-height: 1.8;
    color: #D9CCFF;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.free-note {
    margin-top: 20px;
    color: #F23CFF;
    font-weight: 700;
}

.hero-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.search-box {
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    color: #6c7b91;
}

.languages {
    display: flex;
    gap: 7px;
}

.languages a {
    padding: 7px 9px;
    border-radius: 8px;
    color: white;
    font-size: 13px;
}

.languages a.active {
    background: var(--filgo-gold);
    color: #FFFFFF;
    font-weight: 800;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-block: 55px;
    }

    .hero {
        min-height: auto;
    }

    .hero-card {
        order: -1;
    }
}

@media (max-width: 600px) {
    .navbar {
        min-height: 68px;
    }

    .brand {
        font-size: 25px;
    }

    .nav-actions .btn-outline {
        display: none;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.category-card {
    min-height: 125px;
    padding: 18px 10px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.category-card img {
    width: 38px;
    height: 38px;
}

.cat-blue {
    background: linear-gradient(145deg,#6E1BFF,#42109B);
}

.cat-gold {
    background: linear-gradient(145deg,#F23CFF,#A51BDD);
}

.cat-green {
    background: linear-gradient(145deg,#9D42FF,#5120AD);
}

.cat-red {
    background: linear-gradient(145deg,#FA4DD7,#A414A9);
}

.cat-purple {
    background: linear-gradient(145deg,#A86AFF,#6324CE);
}

.cat-cyan {
    background: linear-gradient(145deg,#22baf2,#0878c9);
}

.cat-orange {
    background: linear-gradient(145deg,#ffad3d,#e76e13);
}

.cat-family {
    background: linear-gradient(145deg,#35c779,#128a51);
}

.cat-legal {
    background: linear-gradient(145deg,#8c54ff,#5131c7);
}

@media (max-width: 600px) {
    .category-grid {
        gap: 9px;
    }

    .category-card {
        min-height: 105px;
        padding: 12px 6px;
        font-size: 12px;
        border-radius: 14px;
    }

    .category-card img {
        width: 31px;
        height: 31px;
    }
}
.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.hero-brand img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,.28));
}

.hero-brand span {
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    color: #f5b82e;
}

@media (max-width: 600px) {
    .brand-logo img {
        width: 50px;
        height: 50px;
    }

    .hero-brand img {
        width: 72px;
        height: 72px;
    }

    .hero-brand span {
        font-size: 38px;
    }
}
/* FilGo mobile: keep navigation, language and sign-in controls accessible. */
@media (max-width: 900px) {
    .navbar { flex-wrap: wrap; gap: 10px; padding-block: 8px; }
    .nav-links { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-block: 6px; }
    .nav-links a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
    .nav-actions { flex-wrap: wrap; justify-content: flex-end; flex: 1; gap: 6px; }
    .nav-actions .btn-outline { display: inline-flex; }
    .nav-actions .btn { padding-inline: 12px; font-size: 13px; }
    .hero-card { min-width: 0; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
    input, select, textarea { max-width: 100%; font-size: 16px; }
}
@media (max-width: 360px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-logo img { width: 42px; height: 42px; }
    .nav-actions { gap: 4px; }
}

/* FilGo soft mauve hero */
.hero {
    color: #25113F;
}
.hero h1 {
    color: #25113F;
}
.hero h1 strong {
    color: #542287;
}
.hero p {
    color: #392153;
}
.hero .free-note {
    color: #542287;
}
.hero .brand span {
    color: #542287;
}
/* FilGo brand name - new purple identity */
.hero .brand span,
.hero-grid .brand span {
    color: #542287 !important;
}
/* FilGo hero final adjustments */
.hero .brand,
.hero .brand span,
.hero-grid .brand,
.hero-grid .brand span {
    color: #542287 !important;
}

.hero-grid {
    padding-top: 95px;
}

.hero .free-note {
    color: #542287;
}

html {
    scroll-padding-top: 95px;
}
/* FilGo hero brand correction */
.hero .hero-brand span {
    color: #542287 !important;
}

.hero .hero-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero .hero-brand img {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.hero-grid {
    padding-top: 125px !important;
}

@media (max-width: 600px) {
    .hero-grid {
        padding-top: 75px !important;
    }

    .hero .hero-brand img {
        width: 75px;
        height: 75px;
    }
}