/* 
    Mis Social Agency - Ultra Premium Clean
    Rebuilt with maximum compatibility but full elegance.
*/

:root {
    --bg-dark: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-gradient: linear-gradient(90deg, #6366f1, #f43f5e);
    --accent-purple: #a855f7;
    --font-main: 'Outfit', sans-serif;
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.container-wide {
    width: 96%;
    max-width: 1700px;
    margin: 0 auto;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3 {
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 20px; 
    left: 0; 
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    top: 0;
    background: rgba(8, 8, 12, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5px 0;
}

.nav-premium {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 0;
}

.logo {
    justify-self: start;
}

.nav-links {
    justify-self: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 6px 20px;
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
}

.nav-ctas-capsule {
    justify-self: end;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
    opacity: 1;
}

.nav-ctas-capsule {
    gap: 15px;
    padding: 6px 6px 6px 20px;
}

.nav-cta-text {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.nav-cta-pill {
    background: white;
    color: black;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-pill .dot {
    width: 6px;
    height: 6px;
    background: #7c4dff;
    border-radius: 50%;
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0 10px;
    opacity: 0.6;
}

.logo img {
    height: 75px;
    width: auto;
    transition: 0.3s ease;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: white;
    transition: 0.3s;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #000;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 15% 25%, rgba(99, 102, 241, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 65%, rgba(168, 85, 247, 0.3) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 90%, rgba(236, 72, 153, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 10%, rgba(0, 229, 255, 0.2) 0%, transparent 40%);
    filter: blur(60px);
    animation: meshFlow 20s infinite alternate ease-in-out;
    will-change: transform;
    transform: translateZ(0);
    z-index: 1;
    pointer-events: none;
}

@keyframes meshFlow {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
    }

    50% {
        transform: scale(1.1) translate(2%, 3%) rotate(2deg);
    }

    100% {
        transform: scale(1) translate(-2%, -3%) rotate(-1deg);
    }
}

.video-card video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    background: #000;
    z-index: 1;
    opacity: 0.8;
    transition: 0.5s;
}

.video-card.extra-small {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1/1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark) 40%, transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3.2rem, 8.5vw, 6.5rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    color: var(--text-secondary);
    margin: 0 auto 45px;
    max-width: 800px;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 700;
    text-transform: none;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid white;
    text-align: center;
    letter-spacing: 0.02em;
}

.btn.outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

/* Stats */
.stats-section {
    padding: 80px 0;
}

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

.stat-item {
    background: #08080c;
    padding: 60px 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.stat-item h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.stat-item span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
}
/* Process Section */
#process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60%;
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #08080c;
    border: 1px solid var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-weight: 900;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0;
}

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

@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        gap: 50px;
    }
    
    .process-step:not(:last-child)::after {
        left: 50%;
        top: 60px;
        width: 1px;
        height: 50px;
        transform: translateX(-50%);
    }
}
/* Vertical Video Reels Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.video-card {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #08080c;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.2);
    z-index: 10;
}

.video-card video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    transition: 0.5s;
}

.video-card:hover video {
    opacity: 1;
}

.video-info {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
    transform: translateY(10px);
    transition: 0.3s;
    opacity: 0;
}

.video-card:hover .video-info {
    transform: translateY(0);
    opacity: 1;
}

.video-info h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.video-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Services */
.services-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-advanced-card {
    background: #08080c;
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-advanced-card:hover {
    background: #0c0c12;
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-advanced-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-advanced-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.card-num {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--accent-purple);
    margin-bottom: 30px;
    display: block;
    letter-spacing: 0.2em;
}

.service-advanced-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

/* Pricing Detailed */
.pricing-grid-full {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 50px;
    padding: 0 20px;
}

.pricing-card {
    padding: 50px 30px;
    background: #08080c;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.03);
    transform: scale(1.05);
    z-index: 10;
}

.best-value {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-gradient);
    padding: 8px 20px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.pack-name {
    font-weight: 900;
    margin-bottom: 25px;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.price-contact {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 35px;
    line-height: 1.2;
}

.price-contact span {
    font-size: 0.85rem;
    opacity: 0.6;
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 45px;
    text-align: left;
}

.features li {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.features li::before {
    content: '→';
    margin-right: 12px;
    color: var(--accent-purple);
    font-weight: 900;
}

.price-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    transition: var(--transition);
}

/* About Us */
.about-section {
    padding: 120px 0;
    background: #050505;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 0;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-map-side {
    border: 1px solid var(--glass-border);
}

.detail-box {
    background: #08080c;
    padding: 40px;
    border: 1px solid var(--glass-border);
    margin-bottom: 25px;
    transition: var(--transition);
}

.detail-box:hover {
    border-color: white;
}

.detail-box h3 {
    font-size: 0.7rem;
    margin-bottom: 15px;
    color: var(--accent-purple);
    letter-spacing: 0.2em;
}

.detail-box p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer Modernized */
footer {
    padding: 100px 0 50px;
    background: #000;
    border-top: 1px solid var(--glass-border);
}

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

.footer-agency img {
    height: 50px;
    margin-bottom: 25px;
}

.footer-agency p {
    max-width: 300px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.4;
}

/* Lightbox Extras */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.close-lightbox {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .pricing-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .nav-links { display: none; }
    .nav-ctas-capsule { margin-right: 50px; }
    .menu-toggle { display: block; }
}

@media (max-width: 768px) {
    .nav-premium { 
        display: flex; 
        justify-content: space-between; 
        padding: 8px 15px; 
    }

    .logo img {
        height: 45px;
    }

    header.scrolled {
        padding: 4px 0;
    }

    .nav-ctas-capsule { display: none; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        z-index: 1001;
    }

    .menu-toggle .bar {
        width: 20px;
        height: 1px;
        margin: 6px auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .stats-grid,
    .services-advanced-grid,
    .contact-grid,
    .pricing-grid-full {
        grid-template-columns: 1fr;
    }

    .video-info {
        padding: 12px;
    }

    .video-info h3 {
        font-size: 0.8rem;
    }

    .video-info p {
        font-size: 0.65rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .video-card.large,
    .video-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-agency {
        grid-column: span 2;
    }
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-btns {
        flex-direction: row;
        width: auto;
        gap: 10px;
    }

    .btn {
        width: auto;
        padding: 12px 24px;
        font-size: 0.8rem;
    }
}

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

    .footer-agency {
        grid-column: span 1;
    }
}

/* Brands Marquee Styles */
.brands-marquee-section {
    padding: 15px 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 10px 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee 30s linear infinite;
}

.marquee-track img {
    height: 30px;
    width: 100px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.4s ease;
    padding: 0 5px;
}

.marquee-track img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}