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

:root {
    --bg-color: #030408;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-hover-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: rgba(79, 172, 254, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-blue: #4facfe;
    --accent-cyan: #00f2fe;
    --accent-pink: #f093fb;
    --accent-peach: #f5576c;
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-mixed: linear-gradient(135deg, #4facfe 0%, #f093fb 50%, #f5576c 100%);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background effects */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, rgba(79, 172, 254, 0.15) 0%, rgba(3, 4, 8, 0) 50%),
        radial-gradient(circle at 10% 100%, rgba(240, 147, 251, 0.05) 0%, rgba(3, 4, 8, 0) 40%);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero .description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

/* Products Grid */
.products {
    padding: 2rem 0 8rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(79, 172, 254, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card>* {
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 172, 254, 0.15);
}

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

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(79, 172, 254, 0.08);
    border: 1px solid rgba(79, 172, 254, 0.2);
    margin-bottom: 1.75rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(-2deg);
    background: rgba(79, 172, 254, 0.15);
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 8px 16px rgba(0, 242, 254, 0.2);
}

.product-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 4px rgba(79, 172, 254, 0.4));
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: '→';
    margin-right: 0.75rem;
    color: var(--accent-blue);
    font-weight: bold;
    font-family: system-ui;
}

.learn-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.product-card:hover .learn-more {
    gap: 0.75rem;
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: var(--card-hover-bg);
    color: var(--text-primary);
    border-color: rgba(79, 172, 254, 0.3);
}

.filter-btn.active {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-blue);
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.15);
}

/* Product Tags */
.product-tags {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    z-index: 2;
    max-width: calc(100% - 100px);
}

.tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.product-credit {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.4;
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    font-weight: 400;
}

.product-credit svg {
    width: 10px;
    height: 10px;
}

.product-card.hidden {
    display: none;
}

/* SVGs Definition class */
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: var(--text-secondary);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero h1,
.hero .description,
.hero .badge,
.products-grid>* {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

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