:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --accent: #f59e0b;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --grad-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Fondo Dinámico con Blobs --- */
#app-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #fff;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    animation: move 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; background: rgba(99, 102, 241, 0.1); }
.blob-2 { bottom: -10%; right: -10%; background: rgba(245, 158, 11, 0.08); animation-delay: -5s; }
.blob-3 { top: 40%; left: 30%; width: 400px; height: 400px; background: rgba(168, 85, 247, 0.08); animation-delay: -10s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

/* --- Navbar --- */
.navbar {
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo-icon-wrapper {
    background: var(--grad-main);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.btn-ghost {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 1.5rem;
    transition: color 0.2s;
}

.btn-outline {
    text-decoration: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- Hero --- */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    padding: 6rem 2rem;
    align-items: center;
}

.announcement {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background: var(--text-main);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.coming-soon {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Preview App (Mockup) --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.app-mockup {
    background: #111;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.15), 0 15px 35px rgba(0,0,0,0.1);
    border: 6px solid #222;
    position: relative;
    width: 300px;
    height: 600px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.app-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.screen .slide.active {
    opacity: 1;
}

.mockup-dots {
    display: flex;
    gap: 8px;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* --- Features --- */
.features {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.f-card {
    background: white;
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.f-card:hover { transform: translateY(-10px); }

.f-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.f-icon.purple { background: #a855f7; }
.f-icon.blue { background: #3b82f6; }
.f-icon.orange { background: #f59e0b; }
.f-icon.green { background: #10b981; }
.f-icon.red { background: #ef4444; }
.f-icon.teal { background: #14b8a6; }

.f-card h3 { margin-bottom: 0.75rem; font-weight: 700; }
.f-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Footer --- */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: var(--text-muted);
}

/* --- Buttons --- */
.btn-secondary {
    background: white;
    color: var(--text-main);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-secondary:hover {
    background: #fdfdfd;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }
.delay-6 { animation-delay: 1.2s; }

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

@media (max-width: 968px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    h1 { font-size: 3rem; letter-spacing: -1.5px; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .feature-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.4rem; letter-spacing: -1px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .hero-btns { flex-direction: column; gap: 1rem; }
    .navbar { padding: 1rem 0; }
    .logo { font-size: 1.15rem; }
    .logo-icon-wrapper { width: 32px; height: 32px; }
    .btn-ghost { margin-right: 0.75rem; font-size: 0.85rem; }
    .btn-outline { padding: 0.4rem 0.75rem; font-size: 0.85rem; border-radius: 10px; }
}
