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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b0b1a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

:root {
    --bg: #0b0b1a;
    --surface: #1a1a2e;
    --surface-light: #23233a;
    --text: #e0e0e0;
    --text-muted: #a0a0b0;
    --accent: #c77dff;
    --accent-soft: #b084f5;
    --pink: #f72585;
    --border: rgba(199, 125, 255, 0.15);
    --radius: 18px;
    --transition: 0.3s ease;
}

h1, h2, h3 {
    font-weight: 600;
}

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

ul {
    list-style: none;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav__container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
}

.nav__logo-icon {
    font-size: 1.8rem;
}

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0e17 0%, #1a1a2e 50%, #16213e 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background: radial-gradient(circle at 20% 50%, #c77dff 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #f72585 0%, transparent 50%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-soft);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

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

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.2rem;
    font-weight: 400;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #0b0b1a;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.hero__cta:hover {
    background: var(--accent-soft);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(199, 125, 255, 0.5);
}

/* ========== WORK ========== */
.work {
    padding: 5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.work__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.work__title {
    font-size: 2.5rem;
    color: #fff;
}

.work__stats {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.work__stats span {
    background: var(--surface);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
}

.work__filters {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.3rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition);
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--accent);
    color: #0b0b1a;
    border-color: var(--accent);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Video Card */
.video-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(199, 125, 255, 0.2);
    border-color: var(--accent-soft);
}

.video-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--pink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.video-card__thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: #1e1e30;
}

.video-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.video-card:hover .video-card__thumbnail img {
    transform: scale(1.05);
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card__play::after {
    content: '';
    border-left: 16px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 3px;
}

.video-card__info {
    padding: 1rem 1.2rem 1.4rem;
}

.video-card__title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.video-card__category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

/* ========== CLIENTS ========== */
.clients {
    padding: 4rem 2rem;
    background: var(--surface);
}

.clients__container {
    max-width: 1300px;
    margin: 0 auto;
}

.clients__title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}

.clients__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.client-card {
    background: var(--surface-light);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    min-width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.client-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(199, 125, 255, 0.15);
    border-color: var(--accent-soft);
}

.client-card__logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #2a2a40;
}

.client-card__name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.client-card__subs {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.clients__empty {
    text-align: center;
    color: var(--text-muted);
    display: none;
}

/* ========== ABOUT ========== */
.about {
    padding: 5rem 2rem;
}

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

.about__title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.about__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.about__text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: flex-start;
}

.skill-tag {
    background: rgba(199, 125, 255, 0.15);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========== POLICY ========== */
.policy {
    padding: 4rem 2rem;
    background: var(--surface);
    text-align: center;
}

.policy__container {
    max-width: 700px;
    margin: 0 auto;
}

.policy__title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.policy__list {
    text-align: left;
    display: inline-block;
}

.policy__list li {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.policy__list li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy__list li strong {
    color: var(--accent-soft);
}

/* ========== FEEDBACK (CAROUSEL) ========== */
.feedback {
    padding: 4rem 2rem;
}

.feedback__container {
    max-width: 1300px;
    margin: 0 auto;
}

.feedback__title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}

.feedback__carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.feedback__carousel::-webkit-scrollbar {
    height: 6px;
}

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

.feedback__card {
    min-width: 300px;
    max-width: 400px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border);
    scroll-snap-align: start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feedback__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(199, 125, 255, 0.15);
    border-color: var(--accent-soft);
}

.feedback__text {
    font-size: 1rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feedback__author {
    font-weight: 600;
    color: var(--accent);
}

/* ========== ESTIMATOR ========== */
.estimator {
    padding: 4rem 2rem;
    background: var(--surface);
}

.estimator__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.estimator__title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.estimator__subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.estimator__steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
}

.estimator__step {
    background: var(--surface-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.estimator__question {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.estimator__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.estimator__option {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition);
}

.estimator__option:hover {
    border-color: var(--accent);
    color: #fff;
}

.estimator__option.selected {
    background: var(--accent);
    color: #0b0b1a;
    border-color: var(--accent);
}

.estimator__result {
    margin-top: 2rem;
    padding: 1.2rem;
    background: var(--surface-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.estimator__result p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.estimator__send {
    background: var(--accent);
    color: #0b0b1a;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
}

.estimator__send:hover {
    background: var(--accent-soft);
    box-shadow: 0 0 20px rgba(199, 125, 255, 0.4);
}

/* ========== CONTACT ========== */
.contact {
    padding: 5rem 2rem;
    text-align: center;
}

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

.contact__title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.contact__subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact__response {
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact__form input,
.contact__form textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s;
}

.contact__form input:focus,
.contact__form textarea:focus {
    border-color: var(--accent);
}

.contact__submit {
    background: var(--accent);
    color: #0b0b1a;
    border: none;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
}

.contact__submit:hover {
    background: var(--accent-soft);
    box-shadow: 0 0 25px rgba(199, 125, 255, 0.5);
}

.contact__socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact__social-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
}

.contact__social-link img {
    display: block;
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(70%) sepia(10%) saturate(200%) hue-rotate(200deg) brightness(90%) contrast(90%);
    transition: filter 0.3s, transform 0.3s;
}

.contact__social-link:hover img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(80%) saturate(3000%) hue-rotate(250deg) brightness(100%) contrast(100%);
    transform: scale(1.1);
}

/* ========== FOOTER ========== */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer__privacy {
    font-size: 0.85rem;
    color: var(--accent-soft);
    text-decoration: underline;
    transition: color 0.3s;
}

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

/* ========== MODAL ========== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
}

.modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--surface-light);
    border-radius: 20px;
    padding: 1.5rem;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal.active .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal__video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.modal__video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal__video-title {
    color: #fff;
    font-weight: 600;
}

.modal__video-category {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ========== STICKY CTA ========== */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: #0b0b1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(199, 125, 255, 0.3);
    z-index: 999;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.sticky-cta:hover {
    background: var(--accent-soft);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
}

@media (min-width: 769px) {
    .sticky-cta {
        display: none;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: right 0.4s;
        border-left: 1px solid var(--border);
    }
    .nav__links.active {
        right: 0;
    }
    .nav__hamburger {
        display: flex;
    }
    .about__grid {
        flex-direction: column;
    }
}