:root {
    --pitch-black: #000000;
    --dark-navy: #0a0e27;
    --deep-blue: #0f172a;
    --royal-blue: #1e3a8a;
    --bright-blue: #2563eb;
    --sky-blue: #3b82f6;
    --cyan-accent: #06b6d4;
    --light-cyan: #67e8f9;
    --electric-blue: #60a5fa;
    --white: #ffffff;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: var(--pitch-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.btn.nav-cta {
    padding: 0.7rem 1.4rem;
    font-size: 0.92rem;
    flex-shrink: 0;
    margin-left: 1rem;
    border-radius: 50px;
    line-height: 1.2;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--cyan-accent);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/* Mobile-only Get Started button inside the nav slide panel */
.nav-mobile-cta {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #0a0e27 40%, #1e3a8a 100%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--cyan-accent);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--sky-blue);
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--bright-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero .tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--light-cyan);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bright-blue), var(--cyan-accent));
    color: var(--white);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, var(--cyan-accent), var(--electric-blue));
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cyan-accent);
    border-color: var(--cyan-accent);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--pitch-black) 0%, var(--dark-navy) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(-40px);
    will-change: transform, opacity;
}

.service-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.service-card:nth-child(5) {
    transition-delay: 0.5s;
}

.service-card:nth-child(6) {
    transition-delay: 0.6s;
}

.service-card:nth-child(7) {
    transition-delay: 0.7s;
}

.service-card:nth-child(8) {
    transition-delay: 0.8s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bright-blue), var(--cyan-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--cyan-accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--bright-blue), var(--cyan-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan-accent);
    font-weight: bold;
}

/* Process Section */
.process {
    background: var(--pitch-black);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}



.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--royal-blue), var(--bright-blue));
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0a0e27 0%, #1e3a8a 100%);
    color: var(--white);
}

.about .section-header h2,
.about .section-header p {
    color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.highlight-box h4 {
    font-size: 2.5rem;
    color: var(--light-cyan);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Technologies Section */
.technologies {
    background: var(--dark-navy);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, opacity 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
    border: 2px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
    will-change: transform, opacity;
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1);
}

.tech-item:nth-child(1) {
    transition-delay: 0.05s;
}

.tech-item:nth-child(2) {
    transition-delay: 0.1s;
}

.tech-item:nth-child(3) {
    transition-delay: 0.15s;
}

.tech-item:nth-child(4) {
    transition-delay: 0.2s;
}

.tech-item:nth-child(5) {
    transition-delay: 0.25s;
}

.tech-item:nth-child(6) {
    transition-delay: 0.3s;
}

.tech-item:nth-child(7) {
    transition-delay: 0.35s;
}

.tech-item:nth-child(8) {
    transition-delay: 0.4s;
}

.tech-item:hover {
    border-color: var(--cyan-accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

.tech-item .tech-icon {
    margin-bottom: 1rem;
    color: var(--cyan-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.tech-item .tech-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.tech-item p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    background: var(--pitch-black);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(37, 99, 235, 0.2);
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease, background 0.6s ease;
    position: relative;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(60px);
    will-change: transform, opacity;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    transition-delay: 0.3s;
}

.pricing-card:nth-child(3) {
    transition-delay: 0.5s;
}

.pricing-card.featured {
    border-color: var(--cyan-accent);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
    background: rgba(15, 23, 42, 0.7);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--bright-blue), var(--cyan-accent));
    color: var(--white);
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(6, 182, 212, 0.3);
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--cyan-accent);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 3rem;
    color: var(--cyan-accent);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-card .price-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding-left: 1.8rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan-accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--royal-blue), var(--bright-blue));
    color: var(--white);
}

.pricing-card .btn:hover {
    background: linear-gradient(135deg, var(--bright-blue), var(--cyan-accent));
}

/* FAQ Section */
.faq {
    background: var(--dark-navy);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 23, 42, 0.5);
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
}

.faq-question {
    padding: 1.8rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.1);
}

.faq-question h3 {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--cyan-accent);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.8rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #000000 0%, #0a0e27 50%, #1e3a8a 100%);
    color: var(--white);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.contact-method h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--light-cyan);
}

.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-method a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--light-cyan);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-cyan);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: var(--white);
    color: var(--royal-blue);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    background: var(--light-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: var(--pitch-black);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
}

footer p {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--light-cyan);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.4);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-cyan);
}

/* Responsive Design */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .btn.nav-cta,
    .logo-text {
        display: none;
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 0.5rem;
    }

    .nav-mobile-cta .btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(37, 99, 235, 0.3);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero {
        padding-top: 120px;
    }

    section {
        padding: 4rem 1.5rem;
    }

    /* ── Mobile performance: remove expensive backdrop-filter blurs ── */
    nav,
    .service-card,
    .tech-item,
    .pricing-card,
    .faq-item,
    .contact-method,
    .contact-form,
    .highlight-box,
    .legal-content {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Disable the looping floating-shape animation on mobile */
    .floating-shape {
        animation: none;
        display: none;
    }

    /* Reduce entrance animation distance for smoother feel */
    .service-card {
        transform: translateX(-20px);
    }

    .pricing-card {
        transform: translateY(30px);
    }

    .tech-item {
        transform: scale(0.9);
    }
}

@media (max-width: 640px) {
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .tech-item {
        padding: 1rem 0.5rem;
        min-width: 0;
    }

    .tech-item p {
        font-size: 0.8rem;
        word-break: break-word;
    }

    .tech-item .tech-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Legal Pages */
.legal-page {
    background: var(--pitch-black);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.5);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
}

.legal-date {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--light-cyan);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--cyan-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--light-cyan);
    text-decoration: underline;
}

.contact-box {
    background: rgba(37, 99, 235, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    margin: 1.5rem 0;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.back-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.back-home .btn {
    display: inline-block;
}

/* ─── Prevent accidental text selection during touch scrolling (mobile & tablet) ─── */
@media (max-width: 1024px) {
    * {
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Re-enable selection inside inputs, textareas, and contenteditable elements */
    input,
    textarea,
    [contenteditable="true"] {
        -webkit-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}