.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 5rem 5%;
    min-height: 80vh;
}

.hero-content {
    max-width: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-purple);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-showcase {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-showcase::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6D5DFC, #3B82F6);
    opacity: .18;
    filter: blur(120px);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.website-preview {
    width: min(500px, 100%);
    background: #1A2235;
    border: 1px solid rgba(109, 93, 252, .25);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .35),
        0 0 60px rgba(109, 93, 252, .08);
    animation: floating 6s ease-in-out infinite;
}

.browser {
    height: 45px;
    background: #131B2D;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
}

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

.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.browser-url {
    margin-left: 10px;
    font-size: .75rem;
    color: #64748B;
    background: rgba(148, 163, 184, .08);
    padding: 4px 12px;
    border-radius: 6px;
}

.preview-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.preview-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: #F8FAFC;
    letter-spacing: .02em;
}

.preview-nav-links {
    display: flex;
    gap: 10px;
}

.preview-nav-links span {
    width: 26px;
    height: 6px;
    border-radius: 4px;
    background: rgba(148, 163, 184, .35);
}

.preview-content {
    position: relative;
    padding: 60px 40px 40px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-color: #17203A;
}

.preview-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(139, 92, 246, .45), transparent 55%),
        radial-gradient(circle at 85% 75%, rgba(56, 189, 248, .4), transparent 55%),
        radial-gradient(circle at 60% 10%, rgba(16, 185, 129, .25), transparent 50%);
}

.preview-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 20, 38, 0) 0%, rgba(10, 14, 26, .92) 92%);
}

.preview-content > * {
    position: relative;
    z-index: 1;
}

.tag {
    display: inline-block;
    background: rgba(109, 93, 252, .18);
    color: #A78BFA;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .8rem;
    margin-bottom: 20px;
    width: fit-content;
}

.preview-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.preview-content p {
    color: #CBD5E1;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 32ch;
}

.preview-content button {
    background: linear-gradient(90deg, #6D5DFC, #3B82F6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}

.floating {
    position: absolute;
    background: #111827;
    border: 1px solid rgba(109, 93, 252, .25);
    border-radius: 14px;
    padding: 15px 22px;
    color: white;
    font-size: .95rem;
    white-space: nowrap;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);
    animation: floating 5s ease-in-out infinite;
}

.whatsapp {
    left: -40px;
    top: 80px;
}

.google {
    right: -30px;
    top: 40px;
    animation-delay: 1.5s;
}

.growth {
    right: 20px;
    bottom: -20px;
    animation-delay: .8s;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (prefers-reduced-motion: reduce) {
    .website-preview,
    .floating {
        animation: none;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .preview-content {
        align-items: center;
        text-align: center;
    }
    .tag,
    .preview-content button {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 560px) {
    .floating {
        display: none;
    }
}
