/* ============================================
   HOME PAGE STYLES — Createrix Labs
   ============================================ */

/* ---- Hero Section ---- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
}

.hero-glow {
    top: -150px;
    left: -150px;
    width: 700px;
    height: 700px;
    opacity: 0.12;
}

.hero-glow-secondary {
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 184, 255, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Hero Tag Pill */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(0, 87, 255, 0.08);
    border: 1px solid rgba(0, 87, 255, 0.2);
    border-radius: 50px;
    color: var(--cyan-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 32px;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-accent);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero Image Overlay */
.hero-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    opacity: 0.25;
    z-index: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
}

.hero-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Typography */
.hero-title {
    font-size: clamp(42px, 5.5vw, 82px);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-muted-blue);
    margin-bottom: 50px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Cards */
.hero-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 38%;
    height: 80%;
    pointer-events: none;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease;
}

.card-1 { top: 8%; right: 0; width: 260px; transform: rotate(-4deg); }
.card-2 { bottom: 22%; right: 18%; width: 230px; transform: rotate(6deg); z-index: 2; }
.card-3 { top: 43%; right: 28%; width: 250px; transform: rotate(-2deg); }

.card-icon-large {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
    border-radius: 10px;
    margin-bottom: 18px;
}

.card-line-full { height: 4px; width: 100%; background: var(--glass-border); border-radius: 2px; margin-bottom: 8px; }
.card-line-partial { height: 4px; width: 60%; background: var(--glass-border); border-radius: 2px; }

.card-dots { display: flex; gap: 10px; margin-bottom: 18px; }
.dot-outline { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--cyan-accent); }
.dot-fill { width: 18px; height: 18px; border-radius: 50%; background: var(--cyan-accent); }

.card-visual-box {
    height: 90px;
    background: linear-gradient(135deg, rgba(0,87,255,0.15), rgba(0,184,255,0.05));
    border-radius: 10px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    width: 38px;
    height: 38px;
    border: 2px dashed rgba(0, 184, 255, 0.4);
    border-radius: 50%;
}

/* ---- Scroll Cue Indicator ---- */
.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: scroll-bob 2s ease-in-out infinite;
}

.scroll-cue span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted-blue);
    font-weight: 600;
}

.scroll-cue-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
}

@keyframes scroll-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Stats Bar ---- */
.stats-bar {
    padding: 60px 0;
    background: var(--bg-dark-navy);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--glass-border);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-number .stat-suffix {
    background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ---- Services Preview ---- */
.services-preview {
    background: var(--bg-near-black);
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
    gap: 30px;
}

.services-header-left {
    max-width: 580px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
    font-size: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.12;
    color: var(--text-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 44px 36px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,87,255,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(0, 87, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 87, 255, 0.08), 0 0 0 1px rgba(0, 87, 255, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 87, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary-blue);
    font-size: 22px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(0, 87, 255, 0.15);
}

.service-icon.cyan { background: rgba(0, 184, 255, 0.08); color: var(--cyan-accent); }
.service-icon.cyan:hover { background: rgba(0, 184, 255, 0.15); }
.service-icon.white { background: var(--glass-border); color: var(--text-white); }

.service-card h3 { font-size: 22px; margin-bottom: 16px; color: var(--text-white); }
.service-card p { color: var(--text-muted-blue); margin-bottom: 28px; line-height: 1.7; font-size: 15px; }

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.service-link:hover { gap: 14px; }

/* ---- Products Showcase — New Vertical Card Design ---- */
.products-section {
    background: var(--bg-dark-navy);
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0.3;
}

.products-header {
    text-align: center;
    margin-bottom: 100px;
}

.products-header .section-title {
    font-size: clamp(36px, 4.5vw, 60px);
    max-width: 700px;
    margin: 16px auto 24px;
}

.products-header p {
    color: var(--text-muted-blue);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Product Cards */
.product-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.product-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.product-showcase-card.reverse {
    direction: rtl;
}

.product-showcase-card.reverse > * {
    direction: ltr;
}

/* Product Content */
.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-brand-logo {
    height: 60px;
    width: auto;
    margin-bottom: 28px;
    object-fit: contain;
    object-position: left;
}

.product-card-content h3 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
    color: var(--text-white);
    margin-bottom: 20px;
}

.product-card-content p {
    color: var(--text-muted-blue);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 480px;
}

.product-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.product-pill {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}

.product-pill.gold {
    background: rgba(192, 169, 126, 0.08);
    border-color: rgba(192, 169, 126, 0.25);
    color: #c0a97e;
}

.product-pill.red {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

/* Product Visual */
.product-card-visual {
    position: relative;
}

.product-visual-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

/* Luxora gold accent */
.product-visual-frame.luxora-frame {
    border: 1px solid rgba(192, 169, 126, 0.2);
    background: rgba(192, 169, 126, 0.03);
    box-shadow: 0 40px 100px rgba(0,0,0,0.3), 0 0 0 1px rgba(192, 169, 126, 0.1);
}

.product-visual-frame.luxora-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c0a97e, transparent);
    z-index: 2;
}

/* ButcheryX red accent */
.product-visual-frame.butcheryx-frame {
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.03);
    box-shadow: 0 40px 100px rgba(0,0,0,0.3), 0 0 0 1px rgba(239, 68, 68, 0.1);
}

.product-visual-frame.butcheryx-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    z-index: 2;
}

.product-dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card-visual:hover .product-dashboard-img {
    transform: scale(1.04);
}

/* Decorative glow behind visual */
.product-visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.luxora-glow {
    background: #c0a97e;
    bottom: -80px;
    right: -80px;
}

.butcheryx-glow {
    background: #ef4444;
    bottom: -80px;
    left: -80px;
}

/* Number badge on card */
.product-number-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    z-index: 3;
}

.product-number-badge.gold {
    background: linear-gradient(135deg, #c0a97e, #8a6d2f);
    color: #fff;
    box-shadow: 0 8px 24px rgba(192, 169, 126, 0.4);
}

.product-number-badge.red {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

/* Divider between products */
.product-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
    margin: 0 auto;
}

/* ---- Tech Strip Marquee ---- */
.tech-strip {
    background: var(--bg-near-black);
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    animation: marquee 25s linear infinite;
    gap: 0;
}

.tech-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--glass-border);
    margin: 0 50px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tech-item:hover {
    color: var(--primary-blue);
}

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

/* ---- Process Teaser ---- */
.process-teaser {
    background: var(--bg-near-black);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.process-teaser::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--cyan-accent), var(--primary-blue), transparent);
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.process-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    position: relative;
    transition: all 0.4s ease;
}

.process-step:hover .process-step-number {
    background: rgba(0, 87, 255, 0.1);
    border-color: rgba(0, 87, 255, 0.4);
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 87, 255, 0.2);
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-white);
}

.process-step p {
    font-size: 14px;
    color: var(--text-muted-blue);
    line-height: 1.6;
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--bg-dark-navy);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 87, 255, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-inner p {
    color: var(--text-muted-blue);
    font-size: 18px;
    margin-bottom: 48px;
    line-height: 1.7;
}

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

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

/* Large Tablet — hide floating hero cards */
@media (max-width: 1100px) {
    .hero-visual {
        display: none !important;
    }

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

    .product-showcase-card {
        gap: 50px;
    }

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

    .stat-item:not(:last-child)::after {
        display: none;
    }
}

/* Tablet / Mobile — major layout collapse */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: clamp(34px, 8vw, 52px) !important;
    }

    .hero-sub {
        font-size: 15px !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
        gap: 20px;
    }

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

    .service-card {
        padding: 32px 24px;
    }

    /* Products */
    .products-section {
        padding: 90px 0;
    }

    .products-header {
        margin-bottom: 60px;
    }

    .product-showcase-list {
        gap: 60px;
    }

    .product-showcase-card,
    .product-showcase-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 36px;
    }

    .product-card-content {
        order: 2;
    }

    .product-card-visual {
        order: 1;
    }

    .product-showcase-card.reverse .product-card-content {
        order: 2;
    }

    .product-showcase-card.reverse .product-card-visual {
        order: 1;
    }

    .product-brand-logo {
        height: 60px;
    }

    .product-card-content p {
        max-width: 100%;
    }

    .product-number-badge {
        top: -12px;
        right: -12px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    /* Stats */
    .stats-bar {
        padding: 40px 0;
    }

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

    .stat-number {
        font-size: 36px;
    }

    /* Process */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-grid::before {
        display: none;
    }

    /* CTA */
    .cta-section {
        padding: 90px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Tech Strip */
    .tech-item {
        font-size: 22px;
        margin: 0 30px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .hero-buttons {
        gap: 12px;
    }

    .product-feature-pills {
        gap: 8px;
    }

    .product-pill {
        font-size: 12px;
        padding: 5px 12px;
    }
}
