﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0f1117;
    color: #f5f7fb;
}

/* =========================
   LAYOUT
========================= */

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: #151925;
    border-bottom: 1px solid #2a3140;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

/* =========================
   LOGO
========================= */

.brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    width: auto;
}

/* =========================
   NAVIGATION (FIXED)
========================= */

.nav-links {
    display: flex;
    gap: 20px;
}

    .nav-links a {
        padding: 10px 18px;
        border-radius: 10px;
        text-decoration: none;
        color: #e5e7eb;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        transition: 0.2s ease;
        font-size: 0.95rem;
    }

        .nav-links a:hover {
            background: rgba(139,92,246,0.2);
            border-color: #8b5cf6;
        }

/* =========================
   HERO (UPGRADED)
========================= */

.hero {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10,13,22,0.96) 0%, rgba(7,9,16,0.98) 100%);
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 35%, rgba(139,92,246,0.28), transparent 38%), radial-gradient(circle at 20% 85%, rgba(139,92,246,0.16), transparent 22%), radial-gradient(circle at 80% 85%, rgba(139,92,246,0.16), transparent 22%);
        pointer-events: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 80px 80px;
        mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
        -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
        opacity: 0.18;
        pointer-events: none;
    }


.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-waves {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-wave-left,
.hero-wave-right {
    position: absolute;
    bottom: -40px;
    width: 42%;
    height: 280px;
    opacity: 0.55;
    filter: blur(2px);
    background: radial-gradient(circle at center, rgba(168,85,247,0.45) 0%, rgba(168,85,247,0.12) 35%, transparent 72%);
}

.hero-wave-left {
    left: -8%;
    transform: rotate(-10deg);
    clip-path: polygon(0 100%, 12% 84%, 24% 78%, 36% 72%, 48% 76%, 60% 68%, 72% 73%, 84% 65%, 100% 74%, 100% 100%);
}

.hero-wave-right {
    right: -8%;
    transform: rotate(10deg);
    clip-path: polygon(0 74%, 16% 65%, 28% 73%, 40% 68%, 52% 76%, 64% 72%, 76% 78%, 88% 84%, 100% 100%, 0 100%);
}

.hero-hex-left,
.hero-hex-right {
    position: absolute;
    top: 40px;
    width: 220px;
    height: 320px;
    opacity: 0.12;
    background-image: url("images/hex-pattern.svg");
    background-repeat: repeat;
    background-size: 120px;
    pointer-events: none;
}

.hero-hex-left {
    left: 0;
}

.hero-hex-right {
    right: 0;
}



.hero-text {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #c8d0db;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #7c4df0, #5b21b6);
    }

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid #3c465a;
}

    .btn-secondary:hover {
        background: #1a2030;
    }

/* =========================
   FEATURES
========================= */

.features {
    padding: 60px 0 80px;
}

    .features h2 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 2rem;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.feature-card {
    background: #151925;
    border: 1px solid #2a3140;
    border-radius: 14px;
    padding: 24px;
}

    .feature-card h3 {
        margin-top: 0;
        margin-bottom: 12px;
        color: #f5f7fb;
    }

    .feature-card p {
        margin: 0;
        color: #c8d0db;
        line-height: 1.6;
    }

/* =========================
   FOOTER
========================= */

.site-footer {
    border-top: 1px solid #2a3140;
    padding: 22px 0;
    text-align: center;
    color: #9ba6b5;
    background: #0d1016;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        height: 60px;
    }

    .nav-links {
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 80px 0 60px;
    }

        .hero h1 {
            font-size: 2.1rem;
        }

    .hero-text {
        font-size: 1rem;
    }

}

.screenshot-section {
    margin-top: 4rem;
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

    .screenshot-section h2 {
        margin-bottom: 0.5rem;
    }

    .screenshot-section p {
        color: #cfc7ff;
        margin-bottom: 1.5rem;
    }

.screenshot-gallery {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.screenshot-card {
    min-width: 280px;
    max-width: 280px;
    flex: 0 0 auto;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    scroll-snap-align: start;
}

    .screenshot-card img {
        width: 100%;
        height: 160px;
        object-fit: contain;
        border-radius: 12px;
        background: #ffffff;
        display: block;
    }

    .screenshot-card span {
        display: block;
        margin-top: 0.75rem;
        font-weight: 600;
        text-align: center;
    }

/* ===== Image Modal ===== */

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

    .image-modal img {
        max-width: 90%;
        max-height: 85%;
        border-radius: 12px;
    }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* =========================
   PRODUCT FEATURE ICON CARDS
========================= */

.product-feature-grid {
    align-items: stretch;
}

.product-feature-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 30px;
    background: radial-gradient(circle at 18% 16%, rgba(139, 92, 246, 0.22), transparent 34%), linear-gradient(180deg, rgba(21, 25, 37, 0.96), rgba(13, 16, 26, 0.98));
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .product-feature-card:hover {
        transform: translateY(-4px);
        border-color: rgba(139, 92, 246, 0.7);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    }

    .product-feature-card::before {
        content: "";
        position: absolute;
        inset: -1px;
        background: radial-gradient(circle at 22% 14%, rgba(139, 92, 246, 0.18), transparent 30%), radial-gradient(circle at 90% 90%, rgba(109, 40, 217, 0.12), transparent 32%);
        pointer-events: none;
    }

    .product-feature-card h3,
    .product-feature-card p,
    .product-feature-card .feature-icon {
        position: relative;
        z-index: 1;
    }

.feature-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 28px;
    color: #8b5cf6;
    filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.45));
    opacity: 0.96;
}

    .feature-icon svg {
        width: 100%;
        height: 100%;
    }

        .feature-icon svg circle,
        .feature-icon svg rect,
        .feature-icon svg path {
            fill: none;
            stroke: currentColor;
            stroke-width: 4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

            .feature-icon svg circle:first-child {
                fill: rgba(139, 92, 246, 0.16);
            }

@media (max-width: 768px) {
    .product-feature-card {
        min-height: auto;
    }

    .feature-icon {
        width: 74px;
        height: 74px;
        margin-bottom: 22px;
    }
}

/* Real image icons inside product feature cards */
.feature-icon.image-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin-bottom: 28px;
    filter: none;
}

    .feature-icon.image-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.45));
    }

@media (max-width: 768px) {
    .feature-icon.image-icon {
        width: 74px;
        height: 74px;
        margin-bottom: 22px;
    }
}
