@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;700;900&family=Plus+Jakarta+Sans:wght@200;400;600;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-rgb: 99, 102, 241;
    --secondary: #a855f7;
    --accent: #f43f5e;
    --bg-black: #050505;
    --card-bg: rgba(15, 15, 15, 0.4);
    --border: rgba(255, 255, 255, 0.05);
    --text-pure: #ffffff;
    --text-muted: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
    /* Custom Cursor */
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-black);
    color: var(--text-pure);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
    max-width: 100vw;
    position: relative;
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* Background Layers */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Hero - Typography Focus */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    text-align: center;
}

h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
}

/* Container */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.bento-item {
    background: var(--card-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 2.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
    background: rgba(20, 20, 20, 0.6);
}

.item-1 {
    grid-column: span 2;
    grid-row: span 1;
}

.item-2 {
    grid-column: span 2;
    grid-row: span 1;
}

.item-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-4 {
    grid-column: span 3;
    grid-row: span 1;
}

.bento-item h3 {
    font-size: 1.8rem;
    font-family: 'Unbounded', sans-serif;
    margin-bottom: 1rem;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Tech Marquee */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 100px 0;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.02);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-family: 'Unbounded', sans-serif;
    font-size: 4rem;
    margin: 0 40px;
    opacity: 0.1;
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Contact Ultra-Card */
.contact-fusion {
    max-width: 1000px;
    margin: 10rem auto;
    padding: 8rem 2rem;
    text-align: center;
    border-radius: 60px;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border: 1px solid var(--border);
    position: relative;
}

.contact-fusion h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

.fusion-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 4rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.25rem;
    transition: 0.4s;
}

.fusion-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    z-index: 1000;
    transition: 0.3s;
}

.logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: 0.5s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: process-counter;
    /* Optional if using counters, but strict numbers are hardcoded */
}

.process-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-item:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.process-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    transition: 0.4s;
    user-select: none;
}

.process-item:hover .process-number {
    color: rgba(99, 102, 241, 0.1);
    transform: scale(1.1) rotate(-5deg);
}

.process-item h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.process-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    padding: 80px 0;
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Why Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: 0.4s;
}

.why-item:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.why-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.why-item h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.why-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #0a0a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 600px;
    width: calc(100% - 2rem);
    z-index: 1001;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    bottom: 20px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-content i {
    color: var(--primary);
    font-size: 1.3rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept,
.cookie-decline {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-accept,
    .cookie-decline {
        width: 100%;
    }
}

/* Showcase Slider (Horizontal Scroll) */
.showcase-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 2rem 4rem 2rem;
    scroll-snap-type: x mandatory;
    margin-top: 2rem;
    -webkit-overflow-scrolling: touch;
}

.showcase-grid::-webkit-scrollbar {
    height: 6px;
}

.showcase-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.showcase-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.project-card {
    min-width: 320px;
    height: 420px;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    scroll-snap-align: center;
    flex-shrink: 0;
}

/* App Screen Simulation - High Contrast */
.project-art {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 0%, #2e1065, #000);
}

.phone-mockup {
    width: 160px;
    height: 280px;
    background: #000;
    border-radius: 20px;
    border: 6px solid #444;
    /* Visible border */
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.6);
    transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .phone-mockup {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
    border-color: #fff;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
}

/* Bright UI Elements */
.ui-header {
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    width: 70%;
}

.ui-block {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
    flex: 1;
}

.ui-row {
    display: flex;
    gap: 8px;
    height: 50px;
}

.ui-col {
    flex: 1;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 8px;
}

.ui-fab {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    align-self: flex-end;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.5);
}

/* AI Specific UI */
.ai-msg {
    height: 35px;
    width: 85%;
    background: #333;
    border-radius: 8px 8px 8px 0;
    margin-bottom: 5px;
}

.ai-reply {
    height: 45px;
    width: 85%;
    background: var(--primary);
    border-radius: 8px 8px 0 8px;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.project-info {
    padding: 2rem;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    z-index: 10;
}

.project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.project-info p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Premium Project Art (No Images Needed) */
.project-art {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: 0.8s ease;
}

.ecommerce-art {
    background: radial-gradient(circle at 30% 30%, #4f46e5, #1e1b4b);
}

.ai-art {
    background: radial-gradient(circle at 70% 70%, #ec4899, #831843);
}

.art-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0.5;
    transition: 0.8s;
}

.project-card:hover .art-glow {
    opacity: 0.8;
    transform: scale(1.2) rotate(15deg);
}

.art-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .art-icon {
    transform: scale(1.2) translateY(-10px);
    color: #fff;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.6));
}

.project-card:hover .project-art {
    filter: brightness(1.1);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 5rem auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-family: 'Unbounded', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Service Deep details */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 100px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4 {
        grid-column: span 1;
    }

    h1 {
        font-size: 3.5rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }
}