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

:root {
    --bg-color: #0b0c10;
    --text-primary: #ffffff;
    --text-secondary: #8b9298;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    --brand-sifen: #10b981;
    /* Green */
    --brand-hw: #3b82f6;
    /* Blue */
    --brand-sw: #8b5cf6;
    /* Purple */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Apple/Stripe Style */
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Glassmorphism Navbar */
.store-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.store-nav .navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.store-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
}

.store-nav .nav-link:hover {
    color: #fff;
}

/* Glow Buttons */
.btn-glow {
    position: relative;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 32px;
    border: none;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    color: #000;
}

.btn-glow-dark {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-glow-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

/* Mesh Gradient Hero Background */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.mesh-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1), transparent 40%);
    z-index: -1;
    animation: mesh-breath 15s ease-in-out infinite alternate;
}

@keyframes mesh-breath {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Bento Grid (Apple/Stripe Style) */
.bento-section {
    padding: 6rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    auto-rows: 400px;
}

.bento-card {
    background: linear-gradient(180deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Specific Card Layouts */
.card-sifen {
    grid-column: span 12;
    min-height: 500px;
}

.card-hw {
    grid-column: span 6;
}

.card-sw {
    grid-column: span 6;
}

@media (max-width: 991px) {

    .card-hw,
    .card-sw {
        grid-column: span 12;
    }
}

.card-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.tag-sifen {
    color: var(--brand-sifen);
}

.tag-hw {
    color: var(--brand-hw);
}

.tag-sw {
    color: var(--brand-sw);
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 400px;
}

/* Abstract Illustrations Inside Cards */
.abstract-visual {
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 60%;
    height: 80%;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.bento-card:hover .abstract-visual {
    transform: rotate(0deg) scale(1.02);
}

/* SIFEN Graphic */
.graphic-sifen {
    right: 5%;
    bottom: -5%;
    width: 45%;
    height: 90%;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0));
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
}

.receipt-line {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.receipt-line.short {
    width: 60%;
}

.receipt-line.green {
    background: var(--brand-sifen);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* HW Graphic */
.graphic-hw {
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.2), transparent);
    right: -10%;
    bottom: -10%;
    width: 70%;
    height: 80%;
    border-radius: 50%;
}

/* Floating Elements */
.float-1 {
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Footer */
.store-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    color: var(--text-secondary);
}