:root {
    --bg: #0b0c10;
    --card: #111318;
    --muted: #9aa3af;
    --brand: #E57C23;
    --accent: #D2001A;
    --text: #f4f6f8;
    --line: rgba(255, 255, 255, .08);
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Noto Sans', Tahoma, Arial
}

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 24px
}

header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: linear-gradient(to bottom, rgba(11, 12, 16, .9), rgba(11, 12, 16, .65));
    border-bottom: 1px solid var(--line);
    z-index: 50
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.nav .brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand img {
    width: 56px;
    height: auto;
    border-radius: 12px
}

.brand .t {
    font-weight: 800;
    letter-spacing: .5px
}

.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.btn {
    border: 1px solid var(--brand);
    color: var(--text);
    background: transparent;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer
}

.btn.primary {
    background: var(--brand);
    color: #111
}

.hero {
    padding: 56px 0 32px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(1200px 400px at 20% -10%, rgba(229, 124, 35, .25), transparent),
    radial-gradient(900px 320px at 80% -10%, rgba(210, 0, 26, .2), transparent)
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px)
}

.hero p {
    color: var(--muted);
    max-width: 820px;
    line-height: 1.8
}

.grid {
    display: grid;
    gap: 16px
}

.cols-3 {
    grid-template-columns:repeat(3, 1fr)
}

@media (max-width: 900px) {
    .cols-3 {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 600px) {
    .cols-3 {
        grid-template-columns:1fr
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px
}

.card h3 {
    margin: 0 0 8px
}

.muted {
    color: var(--muted)
}

section {
    scroll-margin-top: 80px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line)
}

h2 {
    margin: 0 0 12px
}

ul {
    margin: 0;
    padding: 0 1.2rem
}

li {
    margin: 6px 0
}

.tag {
    display: inline-block;
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 999px;
    margin: 4px 6px 0;
    font-size: 13px;
    color: var(--muted)
}

footer {
    padding: 24px 0;
    color: var(--muted)
}

.pill {
    display: inline-block;
    background: #1b1d24;
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 999px;
    margin-left: 8px
}

.lang-toggle .btn {
    min-width: 48px;
    padding: 10px 16px;
    text-align: center;
    font-weight: 600;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* dropdown menu hidden by default */
.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    list-style: none;
    padding: 6px 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 120px;
    z-index: 100;
}

.lang-menu li a {
    display: block;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.lang-menu li a:hover {
    background: var(--brand);
    color: #111;
    border-radius: 8px;
}

/* show when toggled */
.lang-menu.show {
    display: block;
}


:root {
    --bg: #0b0c10;
    --card: #111318;
    --muted: #9aa3af;
    --brand: #E57C23;
    --accent: #D2001A;
    --text: #f4f6f8;
    --line: rgba(255, 255, 255, .08);

    /* NEW AI & futuristic vibes */
    --glow: rgba(229, 124, 35, 0.5);
    --neon: rgba(210, 0, 26, 0.6);
    --gradient: linear-gradient(135deg, var(--brand), var(--accent));
}

/* Smooth animations */
* {
    box-sizing: border-box;
    transition: all 0.25s ease-in-out;
}

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Noto Sans', Tahoma, Arial;
}

/* Links with glowing hover */
a {
    color: var(--brand);
    text-decoration: none;
    position: relative;
}
a:hover {
    text-decoration: none;
    color: var(--accent);
}
a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
a:hover::after {
    transform: scaleX(1);
}

/* Header glassmorphism */
header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(11, 12, 16, 0.75);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    z-index: 50;
}

/* Buttons with neon glow */
.btn {
    border: 1px solid var(--brand);
    color: var(--text);
    background: transparent;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px var(--glow), 0 0 20px var(--neon);
    transform: translateY(-2px);
}
.btn.primary {
    background: var(--gradient);
    color: #111;
    font-weight: 600;
}
.btn.primary:hover {
    box-shadow: 0 0 12px var(--glow), 0 0 30px var(--neon);
}

/* Hero section with AI radial glow */
.hero {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(1200px 400px at 20% -10%, rgba(229, 124, 35, .25), transparent),
        radial-gradient(900px 320px at 80% -10%, rgba(210, 0, 26, .2), transparent),
        linear-gradient(to bottom, rgba(11, 12, 16, 0.9), var(--bg));
    text-align: center;
}
.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    color: var(--muted);
    max-width: 720px;
    margin: auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Cards with hover lift + glow */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 30px rgba(229, 124, 35, 0.2), 0 0 18px rgba(210, 0, 26, 0.25);
}
.card h3 {
    margin: 0 0 10px;
    font-weight: 700;
}

/* Tag (neon chip style) */
.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    margin: 6px 6px 0;
    font-size: 13px;
    color: var(--text);
    background: rgba(229,124,35,0.1);
    border: 1px solid var(--brand);
    box-shadow: 0 0 8px var(--glow);
}

/* Language dropdown improvement */
.lang-menu {
    background: rgba(17, 19, 24, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    animation: fadeIn 0.25s ease-in-out;
}
.lang-menu li a:hover {
    background: var(--gradient);
    color: #111;
}

/* Keyframes */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-6px);}
    to {opacity: 1; transform: translateY(0);}
}



/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Rotate effect when open */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Default desktop nav */
.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Mobile nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .cta {
        position: absolute;
        top: 70px;
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 16px;
        width: 220px;
        display: none; /* hidden by default */
        z-index: 100;
    }

    .cta.show {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    .cta a,
    .lang-dropdown {
        width: 100%;
    }

    .cta a {
        text-align: left;
    }
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}
