/* =====================
   BASE RESET (CRITICAL)
===================== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}




/* =====================
   GLOBAL RESET
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================
   BASE STYLES
===================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0B0F14;
    color: #E5E7EB;
    line-height: 1.6;
    padding-top: 80px;
}

/* =====================
   GLASS CARD BASE
===================== */
.glass-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 41, 55, 0.8);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(59, 255, 154, 0.12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;

    pointer-events: none; /* 🔑 FIX */
}


.glass-card:hover::before {
    opacity: 1;
}


/* =====================
   CONTAINER
===================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================
   LINKS
===================== */
a {
    text-decoration: none;
    color: inherit;
}
/* =====================
   NAVBAR
===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;

    background: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid #1F2937;
    z-index: 1000;
}


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

/* Logo */
.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3BFF9A;
}

/* =====================
   MOBILE NAVBAR
===================== */
/* =====================
   NAVBAR LAYOUT
===================== */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    color: #E5E7EB;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #E5E7EB;
    margin: 5px 0;
}

/* =====================
   MOBILE DROPDOWN MENU
===================== */

.mobile-menu {
    position: absolute;
    top: 80px;              /* dropdown below navbar */
    left: 0;

    width: 100%;
    background-color: #0B0F14;
    border-top: 1px solid #1F2937;

    display: none;
    flex-direction: column;

    z-index: 2000;

    /* animation */
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.25s ease;
}

.mobile-menu a {
    padding: 16px 20px;
    text-decoration: none;
    color: #E5E7EB;
    border-bottom: 1px solid #1F2937;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Active state */
.mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

/* =====================
   MOBILE RULES
===================== */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu.active {
        display: flex;
    }
}




/* =====================
   BUTTONS
===================== */
.btn-primary {
    background-color: #3BFF9A;
    color: #0B0F14;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2be68a;
}

.btn-secondary {
    border: 1px solid #3BFF9A;
    color: #3BFF9A;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(59, 255, 154, 0.1);
}


/* =====================
   HERO SECTION
===================== */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #9CA3AF;
    max-width: 700px;
    margin: 0 auto 30px;
}

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



/* =====================
   TRUST METRICS
===================== */
.metrics {
    padding: 80px 0;
    border-top: 1px solid #1F2937;
    border-bottom: 1px solid #1F2937;
}

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

.metric h2 {
    font-size: 36px;
    font-weight: 700;
    color: #3BFF9A;
    margin-bottom: 8px;
}

.metric p {
    font-size: 14px;
    color: #9CA3AF;
}



/* =====================
   SERVICES
===================== */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: #9CA3AF;
}

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

.service-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #1F2937;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #3BFF9A;
}

.service-link {
    font-size: 14px;
    font-weight: 500;
    color: #3BFF9A;
}


/* =====================
   INDUSTRIES
===================== */
.industries {
    padding: 100px 0;
    background-color: #0F172A;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.industry-tag {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    color: #E5E7EB;
    border: 1px solid #1F2937;
    background-color: #111827;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    border-color: #3BFF9A;
    color: #3BFF9A;
}

/* =====================
   TECH STACK (REFINED)
===================== */
.tech-stack {
    padding: 100px 0;
    background-color: #0B0F14;
}

.tech-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tech-group {
    position: relative;
    background-color: #111827;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #1F2937;
    transition: all 0.35s ease;
}

/* Gradient glow effect */
.tech-group::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(59, 255, 154, 0.6),
        rgba(255, 153, 51, 0.6)
    );
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tech-group:hover::before {
    opacity: 1;
}

.tech-group:hover {
    transform: translateY(-6px);
}

/* Heading */
.tech-group h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #E5E7EB;
}

/* Tech items */
.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-items span {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: #0F172A;
    border: 1px solid #1F2937;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.tech-items span:hover {
    color: #E5E7EB;
    border-color: rgba(59, 255, 154, 0.8);
    background-color: rgba(59, 255, 154, 0.08);
}


/* =====================
   TECH STACK SCROLL
===================== */
.tech-scroll {
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}

.tech-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.tech-row::-webkit-scrollbar {
    height: 6px;
}

.tech-row::-webkit-scrollbar-thumb {
    background-color: #1F2937;
    border-radius: 10px;
}

.tech-row span {
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: #111827;
    border: 1px solid #1F2937;
    color: #E5E7EB;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tech-row span:hover {
    border-color: #3BFF9A;
    color: #3BFF9A;
    box-shadow: 0 0 12px rgba(59, 255, 154, 0.2);
}


/* =====================
   HOW WE WORK
===================== */
.process {
    padding: 100px 0;
    background-color: #0F172A;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}


.process-step {
    background-color: #111827;
    padding: 32px;
    border-radius: 18px;
    border: 1px solid #1F2937;
    transition: all 0.3s ease;
}

.process-step span {
    font-size: 14px;
    font-weight: 600;
    color: #3BFF9A;
}

.process-step h3 {
    font-size: 18px;
    margin: 12px 0 10px;
}

.process-step p {
    font-size: 14px;
    color: #9CA3AF;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: #3BFF9A;
}


/* =====================
   FINAL CTA
===================== */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(59, 255, 154, 0.08),
        rgba(255, 153, 51, 0.08)
    );
}

.final-cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.final-cta p {
    font-size: 16px;
    color: #9CA3AF;
    margin-bottom: 32px;
}



/* =====================
   FOOTER
===================== */
.footer {
    padding: 60px 0 20px;
    background-color: #0B0F14;
    border-top: 1px solid #1F2937;
}

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

.footer h3, .footer h4 {
    margin-bottom: 12px;
}

.footer a,
.footer p {
    display: block;
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #6B7280;
    margin-top: 30px;
}


/* =====================
   COMING SOON
===================== */
.coming-soon {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.coming-soon h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.coming-soon p {
    font-size: 16px;
    color: #9CA3AF;
    max-width: 600px;
    margin: 0 auto 24px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #0B0F14;
    background: linear-gradient(
        135deg,
        #3BFF9A,
        #FF9933
    );
}


/* =====================
   INNER PAGES
===================== */
.page-hero {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #1F2937;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #9CA3AF;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    background-color: #111827;
    border: 1px solid #1F2937;
    color: #E5E7EB;
    border-radius: 8px;
}


/* =====================
   SERVICES PAGE DETAIL
===================== */
.services-overview {
    padding: 80px 0;
}

.service-detail {
    padding: 80px 0;
}

.alt-bg {
    background-color: #0F172A;
}

.service-desc {
    max-width: 700px;
    margin-bottom: 24px;
    color: #9CA3AF;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    margin-bottom: 10px;
    color: #E5E7EB;
}

/* Project Insights */
.project-insights {
    padding: 100px 0;
}

.section-subtext {
    text-align: center;
    color: #9CA3AF;
    margin-bottom: 40px;
}

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

.insight-card {
    background-color: #111827;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #1F2937;
}





.service-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
}

.service-highlights {
    padding: 28px;
}

.service-highlights h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.highlight-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.highlight-item span {
    color: #3BFF9A;
    font-weight: bold;
}

.highlight-item p {
    font-size: 14px;
    color: #9CA3AF;
}


/* =====================
   MOBILE RESPONSIVENESS
===================== */
@media (max-width: 768px) {

    /* Global spacing */
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }


    .nav-links {
        display: none; /* hide desktop nav for now */
    }

    /* Page hero */
    .page-hero {
        padding: 60px 20px;
    }

    /* Service overview cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Service detail layout */
    .service-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-highlights {
        order: 2;
    }

    .service-text {
        order: 1;
    }

    /* Tech stack cards */
    .tech-groups {
        grid-template-columns: 1fr;
    }

    /* Process steps */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Project insights */
    .insights-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

}


.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-link:hover {
    text-decoration: none;
}

.learn-more {
    display: inline-block;
    margin-top: 12px;
    color: #3BFF9A;
    font-weight: 500;
}


/* =====================
   MICRO ANIMATIONS
===================== */

/* Service cards */
.service-card {
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-link:hover .service-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}


.learn-more {
    transition: transform 0.2s ease;
}

.service-link:hover .learn-more {
    transform: translateX(6px);
}



/* Button micro animations */

.btn-primary,
.btn-secondary {
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


/* =====================
   CONTACT FORM UX
===================== */
.contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.contact-subtext {
    margin-bottom: 24px;
    color: #9CA3AF;
}

.contact select {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    background-color: #111827;
    border: 1px solid #1F2937;
    color: #E5E7EB;
    border-radius: 8px;
}

.contact-note {
    font-size: 13px;
    color: #6B7280;
    margin-top: 12px;
}

.small-hero {
    padding: 60px 20px;
    text-align: center;
}


/* =====================
   CONTACT PAGE LAYOUT
===================== */
.contact {
    padding: 80px 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info p {
    color: #9CA3AF;
    margin-bottom: 24px;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.contact-points li {
    margin-bottom: 10px;
    color: #E5E7EB;
}

.contact-trust {
    font-size: 14px;
    color: #6B7280;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}



.contact-box * {
    position: relative;
    z-index: 1;
}



/* =====================
   FORM SUCCESS MESSAGE
===================== */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success h3 {
    margin-bottom: 12px;
    color: #3BFF9A;
}

.form-success p {
    color: #9CA3AF;
    font-size: 15px;
}


/* =====================
   ABOUT PAGE
===================== */
.about-section {
    padding: 80px 20px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.about-card ul,
.diff-list {
    list-style: none;
    padding: 0;
}

.about-card li,
.diff-list li {
    margin-bottom: 10px;
}

.centered {
    text-align: center;
}

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

.about-cta {
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .about-layout,
    .thinking-grid {
        grid-template-columns: 1fr;
    }
}


.about-single {
    max-width: 900px;
}

.about-lead {
    font-size: 18px;
    margin-bottom: 16px;
    color: #E5E7EB;
}

.about-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-top: 32px;
    color: #9CA3AF;
    font-size: 14px;
}


.thinking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.thinking-item h4 {
    margin-bottom: 8px;
}

.thinking-item p {
    color: #9CA3AF;
    line-height: 1.6;
}


.about-diff {
    max-width: 900px;
    margin: 0 auto;
}

.about-diff h2 {
    margin-bottom: 24px;
}

.diff-list {
    list-style: none;
    padding: 0;
}

.diff-list li {
    margin-bottom: 14px;
    font-size: 16px;
    color: #E5E7EB;
}


/* =====================
   CTA SPACING FIX
===================== */

.about-cta {
    padding: 60px 20px 80px;
}

.cta-box {
    text-align: center;
    padding: 40px 32px;
}

.cta-box h2 {
    margin-bottom: 12px;
}

.cta-box p {
    margin-bottom: 28px; /* 🔑 KEY FIX */
    color: #9CA3AF;
    line-height: 1.6;
}

.cta-box .btn-primary {
    margin-top: 8px;
}


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

    .about-focus {
        flex-direction: column;
        gap: 12px;
    }
}


/* =====================
   FOOTER
===================== */

.footer {
    background: #0B0F14;
    border-top: 1px solid #1F2937;
    padding: 80px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer h3,
.footer h4 {
    margin-bottom: 12px;
}

.footer-tagline {
    color: #9CA3AF;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-cta {
    display: inline-block;
    margin-top: 8px;
    color: #3BFF9A;
    font-weight: 500;
    text-decoration: none;
}

.footer-links a,
.footer-contact a {
    display: block;
    margin-bottom: 10px;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-cta:hover {
    color: #3BFF9A;
}

.footer-social {
    margin-top: 16px;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #1F2937;
    text-align: center;
    font-size: 13px;
    color: #6B7280;
}

/* =====================
   FOOTER MOBILE
===================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-cta {
        margin-top: 12px;
    }
}
