@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-deep: #0a0515;
    --bg-layer: #12081f;
    --bg-card: rgba(18, 8, 31, 0.6);
    --nav-bg: rgba(10, 5, 21, 0.95);

    --text-primary: #ffffff;
    --text-secondary: #b8b0c8;
    --text-muted: #7d7290;

    /* Signature gradient system - matching logo colors */
    --gradient-1: linear-gradient(135deg, #7dd3fc 0%, #1e3a8a 100%);
    --gradient-2: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-3: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 100%);
    --gradient-4: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    --gradient-5: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    --gradient-6: linear-gradient(135deg, #fdd7c7 0%, #fca5a5 100%);

    /* Mega gradients - inspired by logo */
    --mega-gradient: linear-gradient(135deg,
            #7dd3fc 0%,
            #3b82f6 15%,
            #1e3a8a 30%,
            #a855f7 50%,
            #7c3aed 65%,
            #fb923c 80%,
            #fca5a5 100%);

    --hero-glow: radial-gradient(ellipse 1400px 800px at 50% -10%,
            rgba(125, 211, 252, 0.15),
            transparent 50%),
        radial-gradient(ellipse 1000px 600px at 80% 20%,
            rgba(168, 85, 247, 0.12),
            transparent 50%),
        radial-gradient(ellipse 1200px 700px at 20% 30%,
            rgba(251, 146, 60, 0.1),
            transparent 50%);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.12);
}

/* Light Theme */
[data-theme="light"] {
    --bg-deep: #fcdfcb;
    --bg-layer: #fef3ec;
    --bg-card: rgba(254, 243, 236, 0.7);
    --nav-bg: rgba(254, 243, 236, 0.95);

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #757575;

    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-highlight: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-glow);
    z-index: -1;
    animation: ambient-shift 20s ease-in-out infinite;
}

@keyframes ambient-shift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ---------------- NAVIGATION ---------------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 64px;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    animation: nav-fade-in 0.6s ease-out;
}

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

@keyframes nav-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--mega-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
    z-index: 1001;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0;
    background: none;
    border-radius: 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5dade2, #a569bd);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: none;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
    border-color: var(--glass-highlight);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* ---------------- HERO ---------------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 140px 64px 100px;
    gap: 80px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, #5dade2, #3498db);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float-1 20s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #a569bd, #6b3fa0);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    animation: float-2 18s ease-in-out infinite;
}

@keyframes float-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, 40px) scale(1.15);
    }
}

.hero-text {
    position: relative;
    z-index: 2;
    animation: hero-text-in 1s ease-out;
}

@keyframes hero-text-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -2px;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #e0e0ff 50%,
            #c0c0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    max-width: 540px;
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: hero-image-in 1.2s ease-out 0.3s both;
}

@keyframes hero-image-in {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-image img {
    width: 100%;
    border-radius: 32px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 200px rgba(93, 173, 226, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 60px 120px rgba(0, 0, 0, 0.6),
        0 0 250px rgba(93, 173, 226, 0.4);
}

/* ---------------- BADGES ---------------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-opensource {
    background: linear-gradient(135deg, rgba(93, 173, 226, 0.15), rgba(52, 152, 219, 0.15));
    border-color: rgba(93, 173, 226, 0.3);
    color: #5dade2;
}

.badge-gpl {
    background: linear-gradient(135deg, rgba(165, 105, 189, 0.15), rgba(107, 63, 160, 0.15));
    border-color: rgba(165, 105, 189, 0.3);
    color: #a569bd;
}

/* ---------------- BUTTONS ---------------- */

.btn-primary {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 42px;
    border-radius: 12px;
    background: var(--mega-gradient);
    background-size: 200% 200%;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(93, 173, 226, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: gradient-shift 8s ease infinite;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 25px 80px rgba(93, 173, 226, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Secondary button style for alternative links */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.btn-secondary:hover {
    border-color: var(--glass-highlight);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Store Buttons with Logos */
.store-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.store-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.store-buttons-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .store-buttons-container {
        gap: 12px;
        flex-direction: column;
    }

    .store-button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .store-button:first-child {
        width: 100%;
    }

    .store-buttons-container> :not(:first-child) {
        width: calc(50% - 6px);
    }

    .store-buttons-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ---------------- SECTIONS ---------------- */

.section {
    padding: 120px 64px;
    position: relative;
}

.section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 64px;
    letter-spacing: -1px;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #d0d0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center {
    text-align: center;
}

.center h2 {
    display: inline-block;
}

.center p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------------- FEATURE GRID ---------------- */

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

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:nth-child(2)::before {
    background: var(--gradient-2);
}

.card:nth-child(3)::before {
    background: var(--gradient-3);
}

.card:nth-child(4)::before {
    background: var(--gradient-4);
}

.card:nth-child(5)::before {
    background: var(--gradient-5);
}

.card:nth-child(6)::before {
    background: var(--gradient-6);
}

.card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93, 173, 226, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-highlight);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    width: 400px;
    height: 400px;
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* ---------------- SCREENSHOT SECTION ---------------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 72px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    aspect-ratio: 9/19;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--glass-highlight);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 150px rgba(93, 173, 226, 0.2);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* ---------------- DESIGN SECTION ---------------- */

.muted {
    background:
        radial-gradient(ellipse 1000px 500px at 50% 0%,
            rgba(165, 105, 189, 0.08),
            transparent 60%),
        var(--bg-layer);
    position: relative;
}

.muted::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px);
    pointer-events: none;
}

.wide-image {
    margin-top: 72px;
    width: 100%;
    border-radius: 40px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 40px 120px rgba(0, 0, 0, 0.5),
        0 0 300px rgba(165, 105, 189, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.wide-image:hover {
    transform: scale(1.01);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 50px 140px rgba(0, 0, 0, 0.6),
        0 0 350px rgba(165, 105, 189, 0.3);
}

/* ---------------- FOOTER ---------------- */

.footer {
    padding: 80px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    background:
        linear-gradient(to bottom, transparent, var(--bg-deep)),
        radial-gradient(ellipse 800px 400px at 50% 100%,
            rgba(165, 105, 189, 0.05),
            transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    margin: 8px 0;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #5dade2, #a569bd);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer a:hover {
    color: var(--text-primary);
}

.footer a:hover::after {
    transform: scaleX(1);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 140px 48px 80px;
        gap: 60px;
    }

    .hero-text h1 {
        font-size: 56px;
    }

    .section {
        padding: 100px 48px;
    }

    .nav {
        padding: 20px 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 32px;
    }

    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: flex;
    }

    /* Mobile menu styles */
    .nav-menu {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background: var(--nav-bg);
        backdrop-filter: blur(40px) saturate(180%);
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        box-shadow: -10px 0 60px rgba(0, 0, 0, 0.8),
            inset 0 0 100px rgba(93, 173, 226, 0.05);
        flex-direction: column;
        gap: 0;
        padding: 32px 24px;
        transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 18px 16px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--text-primary);
        border-radius: 8px;
        margin-bottom: 4px;
        transition: all 0.25s ease;
        transform: translateX(20px);
        opacity: 0;
    }

    .nav-menu.active a {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-menu.active a:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-menu.active a:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-menu.active a:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-menu.active a:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-menu.active a:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-menu a:hover {
        background: rgba(93, 173, 226, 0.1);
        border-bottom-color: rgba(93, 173, 226, 0.3);
        padding-left: 24px;
    }

    .nav-menu a::after {
        display: none;
    }

    /* Light theme mobile nav */
    [data-theme="light"] .nav-menu {
        background: var(--nav-bg);
        border-left: 1px solid rgba(15, 23, 42, 0.12);
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18),
            inset 0 0 60px rgba(255, 255, 255, 0.6);
    }

    [data-theme="light"] .nav-menu a {
        color: #1f2933;
        border-bottom-color: rgba(15, 23, 42, 0.12);
    }

    [data-theme="light"] .nav-menu a:hover {
        background: rgba(59, 130, 246, 0.12);
        border-bottom-color: rgba(59, 130, 246, 0.25);
    }

    .hero {
        padding: 120px 32px 60px;
    }

    .hero-text h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .section {
        padding: 80px 32px;
    }

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

    .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .section h3 {
        font-size: 20px;
    }

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

    .badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 14px 28px;
    }

    .footer {
        padding: 60px 20px;
        font-size: 13px;
    }

    .footer span {
        display: none;
    }

    .footer a {
        display: block;
        margin: 12px 0;
    }
}

/* ---------------- CUSTOM SCROLLBAR ---------------- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5dade2, #a569bd);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #a569bd, #5dade2);
}

/* ---------------- SELECTION ---------------- */

::selection {
    background: rgba(93, 173, 226, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(93, 173, 226, 0.3);
    color: var(--text-primary);
}

/* Light theme text overrides */
[data-theme="light"] h1,
[data-theme="light"] .hero-text h1 {
    background: linear-gradient(135deg,
            #1a1a1a 0%,
            #4a4a4a 50%,
            #2a2a2a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .badge {
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .badge-opensource {
    background: rgba(125, 211, 252, 0.2);
}

[data-theme="light"] .badge-gpl {
    background: rgba(168, 85, 247, 0.2);
}

/* Light theme heading and text fixes */
[data-theme="light"] .section h2,
[data-theme="light"] .center h2,
[data-theme="light"] h2 {
    background: linear-gradient(135deg,
            #1a1a1a 0%,
            #3a3a3a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] h3 {
    color: #1a1a1a;
}

[data-theme="light"] .hero-text p,
[data-theme="light"] .section p,
[data-theme="light"] .center p {
    color: #4a4a4a;
}

[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
}