:root {
    --bg-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-color: #4f46e5;
    --accent-glow: rgba(79, 70, 229, 0.15);
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-color: rgba(0, 0, 0, 0.05);
    --gradient-start: #4f46e5;
    --gradient-end: #9333ea;
    --font-family: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: pulse 10s infinite alternate;
}

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

    100% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Navbar */
.navbar {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b, #475569);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 4rem;
}

/* Text Content */
.text-content {
    flex: 1;
    max-width: 600px;
    animation: slideUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.badge-beta {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--accent-color);
}

/* Buttons */
.cta-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px var(--accent-glow);
}

.btn-web {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.btn-web:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-glow);
}

.install-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Visual Content */
.visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: fadeIn 1.2s ease-out;
}

.app-card {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.app-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.card-body {
    padding: 2rem;
    position: relative;
    height: 100%;
}

.ui-mockup {
    display: flex;
    height: 100%;
    gap: 1.5rem;
}

.mockup-sidebar {
    width: 60px;
    height: 80%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-header {
    height: 40px;
    width: 60%;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.mockup-row {
    height: 20px;
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
}

.mockup-row.short {
    width: 80%;
}

/* Floating Elements */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
}

.calendar-card {
    top: 30%;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.task-card {
    bottom: 40%;
    left: 20px;
    animation: float 8s ease-in-out infinite reverse;
}

.float-card i {
    color: var(--accent-color);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .text-content {
        max-width: 100%;
    }

    .features-grid {
        justify-content: center;
    }

    .cta-container {
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .app-card {
        height: 300px;
    }
}

/* --- New Sections Styles --- */

.section-padding {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.bento-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.bento-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.bento-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Feature Row */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.feature-tag {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.feature-h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}


/* Roadmap Section */
.roadmap-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.roadmap-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.roadmap-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.roadmap-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.roadmap-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}


/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #22c55e;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin: 1.5rem 0 0.5rem;
}

.price-period {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.pricing-feature i {
    color: #22c55e;
}

.yape-note {
    background: #fdf2f8;
    color: #be185d;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    border: 1px solid #fbcfe8;
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Device Frames & New Visuals --- */

/* Laptop/Monitor Frame (Windows Style) */
.device-browser {
    background: #fff;
    border-radius: 8px;
    /* Sharper corners for Windows feel */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    /* Clean shadow, no 3D transform */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.browser-header {
    background: #fafafa;
    /* Much lighter, almost white */
    padding: 0.5rem 0.8rem;
    /* Slightly smaller padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    /* Very subtle border */
}

.browser-title {
    font-size: 0.75rem;
    /* Smaller font */
    color: #888;
    /* Lighter text */
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.browser-controls {
    display: flex;
    gap: 0.6rem;
    opacity: 0.5;
    /* Fade out controls */
}

.browser-controls:hover {
    opacity: 1;
    /* Reveal on hover */
    transition: opacity 0.2s;
}

.window-control {
    width: 10px;
    height: 10px;
    border: 1px solid #999;
    border-radius: 50%;
    /* Simplified abstract representation, or use SVG icons */
    /* Let's use simple CSS shapes for min/max/close */
}

/* Specific Windows Controls Simulation (Subtler) */
.win-btn {
    width: 10px;
    height: 10px;
    display: inline-block;
    position: relative;
}

.win-min {
    border-bottom: 1px solid #aaa;
    top: -4px;
}

.win-max {
    border: 1px solid #aaa;
}

.win-close {
    width: 10px;
    height: 10px;
}

.win-close::before,
.win-close::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 1px;
    background: #aaa;
    top: 5px;
    left: -1px;
}

.win-close::before {
    transform: rotate(45deg);
}

.win-close::after {
    transform: rotate(-45deg);
}


.browser-content img,
.browser-content video {
    width: 100%;
    display: block;
    height: auto;
}

/* Phone Frame (Android Style) */
.phone-frame {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 280/580;
    background: #1e1e1e;
    /* Dark bezel */
    border-radius: 24px;
    /* Less rounded than iPhone */
    padding: 8px;
    /* Thinner bezel */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 2px solid #333;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 18px;
    /* Match outer radius */
    overflow: hidden;
    position: relative;
}

.phone-screen img,
.phone-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Punch-hole Camera */
.phone-camera {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    z-index: 10;
}

/* Feature Row Updates for mixed media */
.feature-visual.mixed-media {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.desktop-preview {
    flex: 2;
    max-width: 600px;
    min-width: 0;
}

.mobile-preview {
    flex: 1;
    max-width: 280px;
    min-width: 0;
    margin-top: 4rem;
    /* Offset for visual interest */
    transform: translateY(20px);
    /* Simple vertical offset instead of rotate */
}

@media (max-width: 968px) {
    .feature-visual.mixed-media {
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-preview {
        margin-top: -2rem;
        transform: none;
    }
}

/* Pricing Grid Responsive */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .pricing-card {
        padding: 1.5rem !important;
    }

    .section-padding {
        padding: 4rem 1rem !important;
    }
}