:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-muted: #888888;
    --accent: #00f0ff;
    /* Cyber Cyan */
    --accent-glow: rgba(0, 240, 255, 0.4);
    --secondary: #7000ff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --easing: cubic-bezier(0.19, 1, 0.22, 1);

    /* Pricing Colors */
    --color-starter: #00e676;
    --color-pro: #2979ff;
    --color-adv: #d500f9;
}

@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s var(--easing), width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower.active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.5);
    border-color: transparent;
}

/* Canvas Background */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.4;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.fluid {
    width: 95%;
}

.dot {
    color: var(--accent);
}

.outline-text {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    color: transparent;
    transition: 0.3s;
}

.outline-text:hover {
    color: var(--accent);
    -webkit-text-stroke: 0;
}

/* Header */
.header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    mix-blend-mode: difference;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.nav-list {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
}

.nav-list a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.hover-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: 0.3s var(--easing);
}

.hover-link:hover::after {
    width: 100%;
}

.btn-primary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: white;
    color: black;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 50px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-text h1 {
    font-size: 7vw;
    /* Slightly smaller to ensure fit */
    line-height: 1;
    letter-spacing: -2px;
}

.hero-sub {
    margin-top: 20px;
    max-width: 600px;
    text-align: left;
    margin-left: 5px;
    /* Slight alignment fix */
}

.hero-sub p {
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1.4;
}

.scroll-indicator {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: white;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Sections */
.section {
    padding: 150px 0;
    position: relative;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 80px;
}

/* Services */
.services-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0;
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 3fr;
    align-items: center;
    transition: 0.4s var(--easing);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 20px;
    padding-right: 20px;
}

.service-num {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.service-name {
    font-size: 2rem;
}

.service-desc {
    color: var(--text-muted);
}

.service-icon {
    font-size: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.4s var(--easing);
}

.service-item:hover .service-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 20px;
}

.project-card {
    background: #191c29;
    padding: 3px;
    position: relative;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    color: white;
    transition: transform 0.3s;
    /* Aspect ratio or min-height to ensure card shape */
    min-height: 500px;
}

/* Magic Card Glow Effects */
.project-card::before {
    content: "";
    width: 104%;
    height: 102%;
    border-radius: 8px;
    background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2);
    position: absolute;
    z-index: -1;
    top: -1%;
    left: -2%;
    animation: spin 2.5s linear infinite;
}

.project-card::after {
    position: absolute;
    content: "";
    top: 50px;
    /* Adapted from calc(var(--card-height) / 6) */
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.8);
    filter: blur(80px);
    /* Adapted blur */
    background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2);
    opacity: 1;
    transition: opacity .5s;
    animation: spin 2.5s linear infinite;
}

@keyframes spin {
    0% {
        --rotate: 0deg;
    }

    100% {
        --rotate: 360deg;
    }
}

/* Hide glow on hover as per request */
.project-card:hover::before,
.project-card:hover::after {
    animation: none;
    opacity: 0;
}

/* Content inside the card */
.project-img {
    background: #111;
    height: 300px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    z-index: 1;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
    background: #191c29;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.8rem;
    margin: 10px 0 15px;
}

.project-cat {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.view-case {
    display: inline-block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
    font-size: 1rem;
    margin-top: auto;
    width: fit-content;
}

/* About */
.about-content {
    display: block;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 40px;
}

.big-text {
    font-size: 1.5rem;
    /* Reduced from 2.5rem */
    line-height: 1.6;
    margin: 0 auto;
    color: var(--text-muted);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 80px;
}

.stat .num {
    display: inline-block;
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--accent);
}

.stat .label {
    display: block;
    margin-top: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pricing Section */
.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-header .pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
}

.pricing-card {
    background: #0f1014;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* Top colored accent */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--card-color);
}

.pricing-card.starter {
    --card-color: var(--color-starter);
}

.pricing-card.professional {
    --card-color: var(--color-pro);
}

.pricing-card.advanced {
    --card-color: var(--color-adv);
}

/* Glow effect */
.pricing-card.starter {
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.05);
}

.pricing-card.professional {
    box-shadow: 0 0 30px rgba(41, 121, 255, 0.1);
}

.pricing-card.advanced {
    box-shadow: 0 0 30px rgba(213, 0, 249, 0.05);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-pro);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header .icon {
    font-size: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: white;
}

.price {
    margin-bottom: 15px;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--card-color);
    font-family: var(--font-heading);
}

.price .unit {
    color: var(--text-muted);
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    min-height: 50px;
}

.features {
    list-style: none;
    margin-bottom: 40px;
}

.features li {
    margin-bottom: 15px;
    color: #ddd;
    display: flex;
    gap: 10px;
    align-items: center;
}

.features li span {
    color: var(--card-color);
    font-weight: bold;
}

/* Custom Gradient Button for Pricing */
.btn-pricing {
    display: block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    background: #0f1014;
    /* Match card bg */
    z-index: 1;
    overflow: hidden;
    transition: 0.3s;
    margin-top: auto;
}

.btn-pricing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 2px;
    /* Border width */
    background: linear-gradient(45deg, var(--card-color), transparent, var(--card-color));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-pricing:hover {
    background: var(--card-color);
    color: black;
    box-shadow: 0 0 20px var(--card-color);
}


/* Marquee */
.marquee-section {
    padding: 100px 0;
    overflow: hidden;
    background: var(--accent);
    color: black;
    transform: rotate(-2deg) scale(1.1);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-right: 80px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.email-link {
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.email-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.input-group {
    margin-bottom: 40px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 0;
    font-size: 1.5rem;
    font-family: var(--font-body);
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-submit {
    background: white;
    color: black;
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    align-items: center;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.socials a:hover {
    color: var(--accent);
}

/* Response */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 15vw;
    }

    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content .stats-row {
        grid-column: 1;
        margin-top: 40px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 40px;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto;
    }
}

/* CSS for the plus sign in stats */
.stat .plus {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--accent);
}



/* Project Card Overlay & Updates */
.project-card {
    /* Existing styles remain,
    ensuring relative positioning */
    overflow: hidden;
    /* Ensure overlay stays inside */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--easing);
    padding: 20px;
    z-index: 10;
}

.project-img:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.4s var(--easing);
}

.project-img:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.overlay-content strong {
    color: var(--accent);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* Mobile Responsiveness for New Elements */


@media (max-width: 600px) {


    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 12vw;
        /* Ensure hero text fits on mobile */
    }

}
}

/* Re-adding Fit Grid & Profile Image Fixes */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.fit-list {
    list-style: none;
    padding: 0;
}

.fit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.fit-list .icon {
    min-width: 24px;
    margin-top: 3px;
}

.fit-list.good .icon {
    color: #4facfe;
}

.fit-list.bad .icon {
    color: rgba(255, 255, 255, 0.3);
}

/* Profile Image Fix - Reverting to small circle */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: none;
    /* Removed the offset shadow */
}

@media (max-width: 768px) {
    .fit-grid {
        grid-template-columns: 1fr;
    }
}