:root {
    --bg: #050505;
    --card-bg: #0f0f0f;
    --accent: #8b5cf6;
    /* Modern Purple */
    --accent-blue: #3b82f6;
    /* Modern Blue */
    --accent-hover: #7c3aed;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.06);
    --font-sans: 'Inter', sans-serif;
    --glass: rgba(10, 10, 10, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 8rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    border-radius: 0.5rem;
}

.text-accent {
    color: var(--accent);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, border 0.3s ease;
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0;
    transition: opacity 0.3s ease;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    color: var(--text-primary);
}

.logo:hover {
    opacity: 0.8;
}

.logo .zyra,
.logo .network {
    display: inline-block;
    line-height: 1;
}

.logo .network {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s forwards 0.8s;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #1a1a1a;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
}

.mockup-header {
    height: 32px;
    background: #262626;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.hero-mockup img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
    animation: fadeInUp 1s forwards 1s;
}

.hero-trust i {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.service-icon {
    color: var(--accent);
    margin-bottom: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (min-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -1rem;
        padding: 0 1rem 1rem 1rem;
    }
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }
    .portfolio-item {
        flex: 0 0 calc(100vw - 2rem);
        scroll-snap-align: center;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.portfolio-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: var(--card-bg);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.portfolio-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 0.2rem;
    margin-top: auto;
}

.portfolio-item:hover .card-cta {
    gap: 0.8rem;
    color: var(--accent);
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    text-align: center;
}

.why-item {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.15);
}

.why-item i {
    width: 64px;
    height: 64px;
    color: var(--accent);
    margin-bottom: 1.75rem;
    background: rgba(139, 92, 246, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.why-item i::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1.25rem;
    background: linear-gradient(45deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.why-item:hover i {
    background: var(--accent);
    color: white;
    transform: translateY(-4px) rotate(8deg);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.4);
}

.why-item:hover i::after {
    opacity: 0.2;
}

.why-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.why-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
    text-align: center;
    border-radius: 2rem;
    padding: 4rem 2rem;
    margin: 4rem 0;
    border: 1px solid var(--border);
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: #080808;
    border-top: 1px solid var(--border);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.trust-badges {
    display: grid;
    gap: 1.25rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--card-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-badge:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.05);
}

.trust-badge i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.about-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

.about-card img {
    width: 100%;
    display: block;
    filter: grayscale(0.2) contrast(1.1);
    transition: all 0.5s ease;
}

.about-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1.1);
}


@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-text {
        order: 2;
    }
    .about-card {
        order: 1;
        max-width: 450px;
        margin: 0 auto;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    color: var(--text-primary);
}

.footer-logo .network {
    color: var(--accent);
}

.footer-brand {
    max-width: 400px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Floating WhatsApp */
.wa-float-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}

.wa-float-container * {
    pointer-events: auto;
}

.wa-bubble {
    background: white;
    color: #1a1a1a;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.wa-float-container:hover .wa-bubble,
.wa-bubble.show {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .wa-bubble {
        display: none;
    }

    .wa-float-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
}

/* Testimonials Section Styles */
.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    text-align: center;
}

.rating-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.review-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 60%);
    pointer-events: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-stars {
    display: flex;
    gap: 0.1rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cta-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.cta-more:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .reviews-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0.5rem 0.5rem 1.5rem 0.5rem;
        margin: 0 -1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        padding: 1.5rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    z-index: 2000;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.active {
    display: grid;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-scroll-area {
    padding: 2.5rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.modal-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header i {
    color: var(--accent);
}

.modal-header h3 {
    font-size: 1.75rem;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-features {
    list-style: none;
    margin-bottom: 2rem;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.modal-features li i {
    color: var(--accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.modal-portfolio-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

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

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

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        transform: translateX(0);
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-mockup {
        transform: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-trust {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1001;
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

    /* Staggered link animation */
    .nav-links a {
        opacity: 0;
        transform: translateX(30px);
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links a:not(.btn) {
        font-size: 1.1rem;
        letter-spacing: 0.15em;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero {
        text-align: center;
        padding-top: 5rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content div {
        justify-content: center;
    }

    .modal-overlay {
        padding: 1rem;
    }

    .modal-content {
        border-radius: 1.25rem;
    }

    .modal-scroll-area {
        padding: 2rem 1.5rem;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-body p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .modal-features li {
        font-size: 0.9rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
    }

    .hero-content div {
        flex-direction: column;
    }
}

/* Animation Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}
