* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background: #080c18;
    color: #e8edf5;
    padding: 1.5rem;
    min-height: 100vh;
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
                      radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* HEADER */
header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo-link {
    text-decoration: none;
}
.logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #93bbfc 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
    transition: text-shadow 0.4s ease;
    cursor: pointer;
}
.logo:hover {
    text-shadow: 0 0 60px rgba(59, 130, 246, 0.30);
}
.logo span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(59, 130, 246, 0.25);
}

nav a {
    color: #8892a8;
    text-decoration: none;
    margin-left: 1.8rem;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 4px;
}
nav a:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.08);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}
nav a:hover::after {
    width: 60%;
}

/* HERO */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}
h1 {
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #93bbfc 40%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(59, 130, 246, 0.10);
    transition: text-shadow 0.5s ease;
}
h1:hover {
    text-shadow: 0 0 100px rgba(59, 130, 246, 0.20);
}
h1 span {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 70px rgba(59, 130, 246, 0.25);
}
.subtitle {
    color: #8892a8;
    font-size: 1.15rem;
    margin-top: 0.2rem;
    margin-bottom: 1.8rem;
}

/* SEARCH */
.search input {
    width: 100%;
    max-width: 520px;
    padding: 0.9rem 1.6rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(18, 26, 38, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.search input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 0 40px rgba(59, 130, 246, 0.04);
}
.search input::placeholder {
    color: #5f718c;
}

/* CATEGORY TAGS */
.cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
    margin: 1.5rem 0 2rem;
}
.cat-tag {
    background: rgba(18, 26, 38, 0.4);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #a0b3cc;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    font-weight: 500;
}
.cat-tag:hover {
    border-color: #3b82f6;
    color: #fff;
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.06);
}
.cat-tag[data-cat="All"] {
    border-color: #3b82f6;
    color: #fff;
    background: rgba(59, 130, 246, 0.10);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.08);
}

/* GRID CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(18, 26, 38, 0.35);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 1.8rem 1rem 1.4rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(26, 38, 56, 0.45);
    box-shadow: 0 16px 56px rgba(59, 130, 246, 0.08);
}

.card .icon {
    font-size: 2.6rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.10));
}
.card a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}
.card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #f0f4fc;
    letter-spacing: -0.2px;
    transition: color 0.2s;
}
.card:hover h3 {
    color: #ffffff;
}
.card .cat {
    font-size: 0.65rem;
    color: #5f718c;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-top: 0.1rem;
}

/* DOWNLOAD BUTTON (universal, wide, without arrow) */
.download-btn {
    margin-top: 1rem;
    padding: 0.9rem 2.4rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 280px;
    width: auto;
    max-width: 100%;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
}
.download-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.download-btn:hover::before {
    opacity: 1;
}
.download-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 40px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.download-btn:active {
    transform: scale(0.96);
}

/* PROGRAM PAGE */
.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #6b85b0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
}
.back-link:hover {
    color: #8aa3c7;
    transform: translateX(-4px);
}

.program-hero {
    text-align: center;
    margin-bottom: 2rem;
}
.program-icon {
    font-size: 4.4rem;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.12));
}
.program-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.10);
    padding: 0.2rem 1.4rem;
    border-radius: 40px;
    font-size: 0.75rem;
    color: #6a8fc0;
    border: 1px solid rgba(59, 130, 246, 0.12);
    margin-top: 0.3rem;
    backdrop-filter: blur(4px);
}
.program-desc {
    max-width: 750px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    color: #c8d2e0;
    font-size: 1.05rem;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.feature-item {
    background: rgba(18, 26, 38, 0.30);
    backdrop-filter: blur(4px);
    padding: 0.7rem 1rem;
    border-radius: 16px;
    border-left: 3px solid #3b82f6;
    color: #c8d2e0;
    font-size: 0.9rem;
    transition: 0.2s;
}
.feature-item:hover {
    background: rgba(26, 38, 56, 0.40);
    border-left-color: #60a5fa;
}
.sys-req {
    max-width: 600px;
    margin: 2rem auto 0;
    background: rgba(18, 26, 38, 0.30);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.sys-req h3 {
    color: #9ab0d0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.sys-req ul {
    columns: 2;
    list-style: none;
    color: #a0b3cc;
    font-size: 0.9rem;
}
.sys-req ul li::before {
    content: "✓ ";
    color: #3b82f6;
    font-weight: 600;
}

/* BLOG */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.blog-card {
    background: rgba(18, 26, 38, 0.30);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 2rem;
    transition: all 0.35s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.20);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.06);
}
.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}
.blog-card h2 a {
    color: #f0f4fc;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-card h2 a:hover {
    color: #3b82f6;
}
.blog-card .meta {
    color: #5f718c;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}
.blog-card p {
    color: #c8d2e0;
    line-height: 1.6;
}

/* FOOTER */
footer {
    margin-top: 3.5rem;
    font-size: 0.75rem;
    color: #3d4a5e;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.8rem;
}
footer a {
    color: #5b7293;
    text-decoration: none;
    margin: 0 0.6rem;
    transition: 0.2s;
}
footer a:hover {
    color: #8aa3c7;
}

/* TABLETS */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.2rem;
    }
    .logo {
        font-size: 1.9rem;
    }
    h1 {
        font-size: 3.6rem;
    }
    .download-btn {
        min-width: 240px;
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .logo {
        font-size: 1.6rem;
    }
    h1 {
        font-size: 2.6rem;
    }
    .program-hero h1 {
        font-size: 2.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .sys-req ul {
        columns: 1;
    }
    nav a {
        margin-left: 0.6rem;
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
    .blog-list {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 1.2rem 0.6rem 1rem;
    }
    .card .icon {
        font-size: 2rem;
    }
    .download-btn {
        min-width: 180px;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        white-space: normal;
    }
    .search input {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .cat-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    .program-desc {
        font-size: 0.95rem;
    }
    .program-icon {
        font-size: 3.2rem;
    }
}

/* SMALL PHONES */
@media (max-width: 400px) {
    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .download-btn {
        min-width: 140px;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    .logo {
        font-size: 1.4rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    nav a {
        font-size: 0.7rem;
        margin-left: 0.3rem;
        padding: 0.1rem 0.3rem;
    }
    .card h3 {
        font-size: 0.8rem;
    }
    .card .cat {
        font-size: 0.55rem;
    }
}