/* =====================================================
   AgroAPPs Landing Page - Disruptive Design
   Inspired by magnify.partners
   GSAP + ScrollTrigger Animations
   ===================================================== */

/* CSS Variables - Magnify Partners Palette */
:root {
    /* Primary Colors */
    --black: #000000;
    --red-accent: #F20C1B;
    --red-dark: #C00A15;
    --off-white: #FFFBF5;
    --cream: #F5F0E8;

    /* Neutrals */
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-400: #999999;
    --gray-600: #666666;
    --gray-800: #333333;

    /* UI */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Sizing */
    --container-max: 1400px;
    --container-padding: clamp(1.5rem, 5vw, 4rem);

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    /* GSAP handles smooth scroll */
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-main);
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-fluid {
    padding: 0 var(--container-padding);
}

/* =====================================================
   NAVIGATION - Minimal & Bold
   ===================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    mix-blend-mode: difference;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.nav-logo span {
    color: var(--red-accent);
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--red-accent);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
    background: var(--white);
    color: var(--black);
    transform: scale(1.05);
}

/* Hamburger (mobile) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.nav-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION - Full Impact
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 10rem 0 6rem;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-accent);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--red-accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-inner {
    display: block;
    transform: translateY(120%);
}

.hero-title .outline {
    -webkit-text-stroke: 2px var(--white);
    -webkit-text-fill-color: transparent;
}

.hero-title .accent {
    color: var(--red-accent);
}

.hero-description {
    max-width: 500px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: var(--red-accent);
    color: var(--white);
    border-radius: 100px;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 100px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
    opacity: 0.15;
}

.hero-visual-inner {
    position: relative;
    aspect-ratio: 1;
}

.hero-graphic {
    width: 100%;
    height: 100%;
    font-size: 25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0;
    scale: 0.8;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--red-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =====================================================
   MARQUEE - Infinite Scroll
   ===================================================== */
.marquee-section {
    padding: 4rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.marquee {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.marquee-item::after {
    content: '◆';
    font-size: 0.5rem;
    color: var(--red-accent);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
   APPS SECTION - Cards with Scroll Animation
   ===================================================== */
.apps-section {
    padding: 10rem 0;
    background: var(--off-white);
    color: var(--black);
    position: relative;
}

.section-header {
    margin-bottom: 6rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-accent);
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--red-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.section-title .accent {
    color: var(--red-accent);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.app-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--app-color, var(--red-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: var(--app-gradient, linear-gradient(135deg, var(--red-accent), var(--red-dark)));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform 0.5s var(--ease-out-expo);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(-5deg);
}

.app-badge {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
}

.app-badge.android {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.app-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.app-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
    transition: color 0.3s ease;
}

.app-link:hover {
    color: var(--red-accent);
}

.app-link svg {
    transition: transform 0.3s ease;
}

.app-link:hover svg {
    transform: translateX(5px);
}

/* Featured App (larger) */
.app-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 4rem;
}

.app-card.featured .app-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-card.featured .app-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    opacity: 0.8;
}

/* =====================================================
   ABOUT SECTION - Split Layout
   ===================================================== */
.about-section {
    padding: 10rem 0;
    background: var(--black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text .section-label {
    color: var(--red-accent);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-institution {
    font-size: 1.25rem;
    color: var(--red-accent);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 3rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--red-accent);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
}

.about-card-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
}

.about-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-card-subtitle {
    color: var(--gray-400);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    padding: 10rem 0;
    background: var(--red-accent);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: var(--white);
    color: var(--black);
    border-radius: 100px;
}

.btn-white:hover {
    background: var(--black);
    color: var(--white);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 4rem 0;
    background: var(--black);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-brand span {
    color: var(--red-accent);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* =====================================================
   PAGE TRANSITIONS & LOADER
   ===================================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.loader-logo span {
    color: var(--red-accent);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--border-light);
    border-radius: 100px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--red-accent);
    width: 0%;
}

/* =====================================================
   APP PAGE STYLES
   ===================================================== */
.app-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 6rem;
    position: relative;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--white);
}

.app-hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.app-hero-icon {
    width: 150px;
    height: 150px;
    background: var(--app-gradient, var(--red-accent));
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.app-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.app-hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 600px;
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
    background: var(--off-white);
    color: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-check {
    width: 32px;
    height: 32px;
    background: var(--red-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

/* Support Page */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.support-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.support-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* FAQ */
.faq-section {
    padding: 6rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-dark);
}

.faq-item summary {
    padding: 2rem 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--red-accent);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding-bottom: 2rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* Legal Pages */
.legal-section {
    padding: 10rem 0 6rem;
    background: var(--off-white);
    color: var(--black);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--gray-400);
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
    color: var(--red-accent);
}

.legal-content p,
.legal-content ul {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Error Page */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 700;
    line-height: 1;
    color: var(--red-accent);
}

.error-content h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 1rem 0;
}

.error-content p {
    color: var(--gray-400);
    margin-bottom: 2rem;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .app-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-hero-icon {
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   GSAP & SCROLL ANIMATION UTILITIES
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

/* =====================================================
   BENTO GRID - Enhanced Apps Section
   ===================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
    text-decoration: none;
    color: var(--white);
}

.bento-card .bento-bg {
    position: absolute;
    inset: 0;
    background: var(--app-gradient);
    transition: transform 0.5s var(--ease-out-expo);
}

.bento-card:hover .bento-bg {
    transform: scale(1.05);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.bento-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.5s var(--ease-out-expo);
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(-5deg);
}

.bento-icon.small {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-badges {
    display: flex;
    gap: 0.5rem;
}

.bento-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-badge.featured {
    background: var(--red-accent);
}

.bento-badge.android {
    background: rgba(33, 150, 243, 0.8);
}

.bento-badge.mini {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
}

.bento-body {
    flex: 1;
}

.bento-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.bento-title.small {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.bento-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bento-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--red-accent);
    border-radius: 50%;
}

.bento-footer {
    margin-top: auto;
}

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: gap 0.3s ease;
}

.bento-card:hover .bento-cta {
    gap: 0.75rem;
}

.bento-cta svg {
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-cta svg {
    transform: translateX(5px);
}

.bento-visual {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    font-size: 8rem;
    opacity: 0.15;
    z-index: 1;
    transition: all 0.5s var(--ease-out-expo);
}

.bento-card:hover .bento-visual {
    opacity: 0.25;
    transform: scale(1.1) rotate(5deg);
}

/* Card Sizes */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 180px;
}

.bento-wide {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-body-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex: 1;
}

.bento-stats {
    display: flex;
    gap: 2rem;
}

.bento-stat {
    text-align: center;
}

.bento-stat .stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.bento-stat .stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Bottom Stats */
.apps-bottom-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-dark);
}

.abs-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.abs-icon {
    font-size: 2rem;
}

.abs-info {
    display: flex;
    flex-direction: column;
}

.abs-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.abs-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* Bento Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-body-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .apps-bottom-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: span 1;
    }

    .bento-visual {
        display: none;
    }

    .apps-bottom-stats {
        gap: 1.5rem;
    }

    .abs-stat {
        flex: 1 1 40%;
    }
}