/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(99,102,241,0.15);
    --radius: 16px;
    --radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(99,102,241,0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--dark);
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 600;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-2);
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
    padding: 10px 20px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(99,102,241,0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(99,102,241,0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4, transparent);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.hero-title {
    font-size: 56px;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-subtitle strong {
    color: var(--dark);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(99,102,241,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.45);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.stat h3 {
    font-size: 28px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.5s ease;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
    50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-20px); }
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 42px;
    padding: 12px;
    box-shadow: 
        0 40px 80px rgba(15,23,42,0.35),
        inset 0 0 0 2px rgba(255,255,255,0.05);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: var(--dark);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.floating-card i {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.card-1 {
    top: 60px;
    left: -20px;
    animation: floatCard 5s ease-in-out infinite;
}

.card-2 {
    bottom: 100px;
    right: -30px;
    animation: floatCard 5s ease-in-out infinite 1s;
}

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

/* ============ SECTIONS ============ */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: white;
}

.section-header h2 {
    font-size: 42px;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 17px;
}

/* ============ FEATURES ============ */
.features {
    padding: 100px 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ============ PREVIEW ============ */
.preview {
    padding: 100px 0;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.preview-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--dark);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
}

.preview-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(99,102,241,0.25);
}

.preview-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-item:hover img {
    transform: scale(1.05);
}

.preview-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(15,23,42,0.95), transparent);
    color: white;
    font-weight: 600;
    font-size: 15px;
}

/* ============ DOWNLOAD ============ */
.download {
    padding: 100px 0;
    background: var(--light);
}

.download-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 50%, #312e81 100%);
    border-radius: 32px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.4), transparent);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.download-card::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.3), transparent);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.download-content > p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 500px;
}

.download-info {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
}

.info-item span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item strong {
    font-size: 15px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-download {
    background: white;
    color: var(--dark);
    padding: 14px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

.btn-download i { font-size: 20px; }
.btn-download div { display: flex; flex-direction: column; line-height: 1.2; }
.btn-download span { font-weight: 700; font-size: 15px; }
.btn-download small { font-size: 11px; opacity: 0.6; font-weight: 500; }

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

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.download-note {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.download-visual img {
    width: 240px;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 6px solid rgba(255,255,255,0.1);
}

/* ============ CONTACT ============ */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item span {
    display: block;
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-item a, .contact-item strong {
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
}

.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    background: var(--light);
    transition: all 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-title { color: white; }
.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 320px;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 14px;
}

.socials a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    z-index: 998;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37,211,102,0.6);
}

@keyframes pulseWhatsapp {
    0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 10px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 44px; }
    .hero-visual { order: -1; }
    .phone-frame { width: 260px; height: 520px; }
    .download-card { grid-template-columns: 1fr; padding: 40px; }
    .download-visual { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-links.active { transform: translateY(0); }
    .btn-nav { display: none; }
    .menu-toggle { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; width: 100%; }
    .hero-stats { gap: 20px; }
    .stat h3 { font-size: 22px; }
    .section-header h2 { font-size: 30px; }
    .download-card { padding: 32px 24px; }
    .download-content h2 { font-size: 28px; }
    .download-buttons { flex-direction: column; }
    .download-buttons .btn { width: 100%; justify-content: center; }
    .preview-item img { height: 360px; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
    .floating-card { display: none; }
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}