/* 
=============================================
MANUCHAT - 4K PERFECT STUNNING CSS
=============================================
*/

:root {
    /* Exact colors from the 4K Screenshot Reference */
    --bg-dark: #000810;
    /* Very deep blue-black */
    --bg-surface: #04121F;
    --bg-panel: rgba(255, 255, 255, 0.02);

    --primary: #1ED78B;
    /* Exact vibrant green used in 4K graphic */
    --primary-glow: rgba(30, 215, 139, 0.35);

    --text-main: #F4F8FA;
    --text-muted: #8AA4B6;

    --border: rgba(255, 255, 255, 0.06);

    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.container-center {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 2rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* ================= AMBIENT GLOWS ================= */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(30, 215, 139, 0.4);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(30, 215, 139, 0.2);
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(0, 8, 16, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
}

.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000810;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-super {
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
}

.btn-super i {
    font-size: 1.4rem;
    transition: transform 0.2s;
}

.btn-super:hover i {
    transform: translateX(4px);
}

.btn-glow {
    box-shadow: 0 0 30px var(--primary-glow);
}

/* ================= HERO ================= */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-content {
    padding-right: 2rem;
    position: relative;
    z-index: 20;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 1rem;
    background: rgba(30, 215, 139, 0.05);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 100px;
    margin-bottom: 2rem;
    border: 1px solid rgba(30, 215, 139, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.headline {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: #fff;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 95%;
    font-weight: 400;
}

.cta-wrapper {
    margin-bottom: 3rem;
}

.sub-cta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    font-weight: 500;
}

.stats-row {
    display: flex;
    gap: 3.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}


/* ================= 4K PERFECT 3D MOCKUPS ================= */
.hero-visual {
    position: relative;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1800px;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.phone-frame {
    position: absolute;
    width: 280px;
    height: 600px;
    background: #000;
    border-radius: 44px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Exact 4K Layout Angles */
.phone-left {
    z-index: 1;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotateY(18deg) rotateZ(-3deg) translateZ(-50px) scale(0.88);
    box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.6);
}

.phone-center {
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(80px) scale(1.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 60px rgba(30, 215, 139, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-right {
    z-index: 2;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotateY(-22deg) rotateZ(3deg) translateZ(-80px) scale(0.85);
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.6);
}

/* Elegant slow floats */
.float-anim {
    animation: float-L 12s ease-in-out infinite;
}

.float-anim-center {
    animation: float-C 10s ease-in-out infinite 0.5s;
}

.float-anim-delayed {
    animation: float-R 14s ease-in-out infinite 1s;
}

@keyframes float-L {

    0%,
    100% {
        transform: translateY(-50%) rotateY(18deg) rotateZ(-3deg) translateZ(-50px) scale(0.88);
    }

    50% {
        transform: translateY(-52%) rotateY(16deg) rotateZ(-2deg) translateZ(-50px) scale(0.88);
    }
}

@keyframes float-C {

    0%,
    100% {
        transform: translate(-50%, -50%) translateZ(80px) scale(1.05);
    }

    50% {
        transform: translate(-50%, -48%) translateZ(80px) scale(1.05);
    }
}

@keyframes float-R {

    0%,
    100% {
        transform: translateY(-50%) rotateY(-22deg) rotateZ(3deg) translateZ(-80px) scale(0.85);
    }

    50% {
        transform: translateY(-48%) rotateY(-20deg) rotateZ(2deg) translateZ(-80px) scale(0.85);
    }
}

/* ================= SOCIAL PROOF ================= */
.social-proof {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.rating {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.rating i {
    color: #FBBF24;
    font-size: 1.3rem;
}


/* ================= FEATURES ================= */
.features {
    padding: 8rem 0;
    position: relative;
    z-index: 5;
}

.section-title {
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #fff;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 215, 139, 0.4);
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(30, 215, 139, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ================= BOTTOM CTA ================= */
.bottom-cta {
    padding: 4rem 0 8rem 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 215, 139, 0.2);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(30, 215, 139, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}


/* ================= FOOTER ================= */
footer {
    border-top: 1px solid var(--border);
    padding-top: 5rem;
    background: var(--bg-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .text-muted {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}


/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-content {
        padding-right: 0;
    }

    .hero-badge {
        margin: 0 auto 2rem auto;
    }

    .hero-description {
        margin: 0 auto 3rem auto;
    }

    .cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stats-row {
        justify-content: center;
    }

    .hero-visual {
        height: 600px;
        perspective: 1200px;
        margin-top: 2rem;
    }

    .phone-center {
        left: 50%;
        transform: translate(-50%, -50%) translateZ(60px);
        z-index: 3;
    }

    .phone-left {
        left: 5%;
        transform: translateY(-50%) rotateY(15deg) translateZ(-40px) scale(0.8);
        z-index: 1;
    }

    .phone-right {
        right: 5%;
        transform: translateY(-50%) rotateY(-15deg) translateZ(-40px) scale(0.8);
        z-index: 2;
    }

    .float-anim,
    .float-anim-center,
    .float-anim-delayed {
        animation: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-visual {
        height: 450px;
    }

    .phone-left {
        display: block;
        left: 0%;
        transform: translateY(-30%) rotateY(15deg) translateZ(-40px) scale(0.7);
        width: 200px;
        height: 420px;
        z-index: 1;
    }

    .phone-right {
        display: block;
        right: 0%;
        transform: translateY(-30%) rotateY(-15deg) translateZ(-40px) scale(0.7);
        width: 200px;
        height: 420px;
        z-index: 2;
    }

    .phone-center {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 240px;
        height: 500px;
        z-index: 3;
    }

    .phone-frame {
        border-radius: 36px;
        padding: 6px;
    }

    .phone-screen {
        border-radius: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        margin: 0 auto;
    }
}