* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    width: 90%;
    max-width: 1200px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    z-index: 1000;
    transition: 0.35s ease;
}

.navbar.scrolled {
    top: 10px;
    padding: 14px 28px;
    background: rgba(8,8,8,0.92);
    box-shadow: 0 15px 50px rgba(0,0,0,0.45);
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
}

.logo span {
    color: #aaa;
    margin-left: 4px;
}

.navbar nav {
    display: flex;
    gap: 32px;
}

.navbar nav a {
    position: relative;
    color: #bdbdbd;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #fff;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.navbar nav a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 12px 22px;
    background: #fff;
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.nav-btn:hover,
.btn:hover,
.cta-btn:hover {
    transform: translateY(-5px);
}

/* Mobile Menu */
.menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(10,10,10,0.96);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: .4s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 400px;
}

.mobile-menu a {
    padding: 18px 24px;
    color: #cfcfcf;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.mobile-menu a:hover {
    color: #fff;
    background: #111;
}

/* Hero */
.hero {
    min-height: 100vh;
    padding: 160px 8% 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.08), transparent 28%),
        #000;
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
    top: -250px;
    right: -150px;
    pointer-events: none;
}

.hero-content {
    animation: fadeUp 1s ease forwards;
    position: relative;
    z-index: 2;
}

.tagline {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 26px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 92px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
    margin-bottom: 26px;
}

.hero h1 span {
    color: #bdbdbd;
}

.hero-text {
    max-width: 620px;
    color: #b5b5b5;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons,
.contact-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn,
.cta-btn {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.primary,
.cta-btn {
    background: #fff;
    color: #000;
    box-shadow: 0 0 35px rgba(255,255,255,0.18);
}

.secondary {
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
}

.secondary:hover {
    background: #fff;
    color: #000;
}

.hero-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(18,18,18,0.9);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 90px rgba(255,255,255,0.08);
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-row:last-child {
    border-bottom: none;
}

.card-row span {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.card-row strong {
    color: #aaa;
    font-size: 22px;
}

/* Sections */
.services,
.featured-work,
.why-section,
.process-section,
.testimonials,
.contact-section {
    padding: 100px 8%;
    background: #000;
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.section-header p {
    color: #aaa;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    min-height: 280px;
    padding: 30px;
    border-radius: 24px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.35s;
}

.service-card span {
    color: #777;
    font-size: 12px;
    font-weight: 900;
}

.service-card h3 {
    margin: 18px 0 12px;
    font-size: 23px;
    line-height: 1.15;
    color: #fff;
}

.service-card p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.65;
}

.coming-soon {
    opacity: .85;
}

/* Work */
.work-showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.showcase-card {
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 50px;
    transition: 0.35s;
}

.showcase-card span {
    color: #777;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
}

.showcase-card h3 {
    font-size: clamp(28px,4vw,48px);
    margin: 18px 0;
    font-weight: 900;
}

.showcase-card p {
    max-width: 700px;
    color: #9f9f9f;
    line-height: 1.8;
    font-size: 16px;
}

/* Why */
.why-grid,
.process-container,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card,
.process-card,
.testimonial-card {
    padding: 40px;
    border-radius: 28px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.35s;
}

.why-card h3,
.process-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #fff;
}

.why-card p,
.process-card p {
    color: #aaa;
    line-height: 1.8;
}

/* Process */
.process-card span {
    font-size: 64px;
    font-weight: 900;
    color: #222;
    display: block;
    margin-bottom: 20px;
}

/* CTA */
.cta-banner {
    margin: 100px 8%;
    padding: 100px 40px;
    text-align: center;
    border-radius: 40px;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.08), transparent 60%),
        #0d0d0d;
    border: 1px solid rgba(255,255,255,.1);
}

.cta-banner p {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-banner h2 {
    max-width: 900px;
    margin: auto;
    font-size: clamp(42px,6vw,82px);
    line-height: 1;
    font-weight: 900;
    margin-bottom: 40px;
}

/* Testimonials */
.testimonial-card p {
    color: #d4d4d4;
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 16px;
}

.testimonial-card h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px;
}

.testimonial-card span {
    color: #888;
    font-size: 14px;
}

/* Contact */
.contact-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.contact-content p {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 18px;
}

.contact-content h2 {
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1;
    font-weight: 900;
    margin-bottom: 24px;
}

.contact-content span {
    display: block;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.contact-buttons {
    justify-content: center;
}

/* Footer */
.footer {
    padding: 34px 8%;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    transition: .3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Hover Effects */
.service-card:hover,
.showcase-card:hover,
.why-card:hover,
.process-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    background: #161616;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 25px 70px rgba(255,255,255,0.08);
}

/* Scroll Reveal */
.service-card,
.showcase-card,
.why-card,
.process-card,
.testimonial-card,
.cta-banner,
.contact-content {
    opacity: 0;
    transform: translateY(40px);
}

.service-card.show,
.showcase-card.show,
.why-card.show,
.process-card.show,
.testimonial-card.show,
.cta-banner.show,
.contact-content.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

/* Responsive */
@media(max-width: 1000px) {
    .navbar nav,
    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 150px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .services-grid,
    .why-grid,
    .process-container,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .services-grid,
    .why-grid,
    .process-container,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .showcase-card,
    .cta-banner {
        padding: 38px 26px;
    }
}

.service-card,
.showcase-card,
.why-card,
.process-card,
.testimonial-card,
.hero-card {
    animation: subtleFloat 5s ease-in-out infinite;
}

.service-card:nth-child(2),
.showcase-card:nth-child(2),
.why-card:nth-child(2),
.process-card:nth-child(2),
.testimonial-card:nth-child(2) {
    animation-delay: .4s;
}

.service-card:nth-child(3),
.showcase-card:nth-child(3),
.why-card:nth-child(3),
.process-card:nth-child(3),
.testimonial-card:nth-child(3) {
    animation-delay: .8s;
}

.service-card:hover,
.showcase-card:hover,
.why-card:hover,
.process-card:hover,
.testimonial-card:hover,
.hero-card:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 35px 90px rgba(255,255,255,.12);
}

@keyframes subtleFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}
.cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: .08s linear;
}

/* Updated Demo Template Gallery */
.demo-section {
    padding: 100px 8%;
    background: #000;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: auto;
}

.demo-card {
    background: #111;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 30px;
    padding: 34px;
    transition: .35s;
    animation: subtleFloat 5s ease-in-out infinite;
}

.demo-card:hover {
    transform: translateY(-14px) scale(1.03);
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 35px 90px rgba(255,255,255,.12);
}

.demo-tag {
    display: inline-block;
    color: #888;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.demo-card h3 {
    font-size: 27px;
    margin-bottom: 16px;
    color: #fff;
}

.demo-card p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 28px;
}

.demo-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media(max-width:1000px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:650px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }
}
