/* CSS Variables */
:root {
    --primary-color: #134074;
    --primary-dark: #0f2f5a;
    --primary-light: #1a4d8a;
    --accent-color: #25d366;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --background-light: #fafbfc;
    --background-white: #ffffff;
    --shadow-light: 0 4px 20px rgba(19, 64, 116, 0.08);
    --shadow-medium: 0 8px 40px rgba(19, 64, 116, 0.12);
    --shadow-heavy: 0 20px 60px rgba(19, 64, 116, 0.15);
    --border-radius: 16px;
    --border-radius-large: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
    color: var(--text-light);
}

/* Text Selection Rules */
p, h1, h2, h3, h4, h5, h6, .footer-section p, .footer-section a, .feature-list, .status-title, .status-time, .mockup-content, .advantage-content, .step p, .step h3 {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.logo, .btn, .whatsapp-btn, .feature-btn, .step-icon, .advantage-icon, .phone-mockup, .time-slot-icon, .mockup-button, .hero-decoration, .step-number, .feature-badge, .time-slot, .modal-close {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, button, select, textarea, a {
    touch-action: manipulation;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(19, 64, 116, 0.1);
    color: var(--primary-color);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.whatsapp-btn {
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20c555;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(19, 64, 116, 0.9) 0%, rgba(26, 77, 138, 0.9) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" fill="white" opacity="0.1"><g><path d="M200,300 Q300,200 400,300 T600,300"/><circle cx="800" cy="200" r="40"/><rect x="100" y="500" width="60" height="40" rx="5"/><path d="M900,600 L950,550 L1000,600 L950,650 Z"/><circle cx="300" cy="150" r="25"/><rect x="700" y="450" width="80" height="50" rx="8"/><path d="M150,600 Q200,550 250,600"/><circle cx="1000" cy="300" r="30"/><rect x="50" y="200" width="40" height="30" rx="3"/><path d="M800,500 Q850,450 900,500"/></g></svg>') center/cover no-repeat;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.03"><circle cx="50" cy="50" r="40"/></svg>');
    background-size: 200px 200px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

/* Floating elements animation */
.hero-decoration {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.decoration-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    letter-spacing: -0.01em;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* How it works section */
.how-it-works {
    padding: 120px 0;
    background: var(--background-light);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 20%, var(--primary-color) 80%, transparent 100%);
    z-index: 1;
    opacity: 0.3;
}

.step {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(19, 64, 116, 0.08);
}

.step:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Schedule section */
.schedule {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.03"><circle cx="50" cy="50" r="40"/></svg>');
    background-size: 200px 200px;
}

.schedule-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.schedule h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

.schedule p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 25px;
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.time-slot:hover::before {
    left: 100%;
}

.time-slot:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.time-slot-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.time-slot-hours {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.time-slot-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.time-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: var(--border-radius-large);
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    min-width: 400px;
    margin-top: 20px;
}

/* App Showcase Section */
.app-showcase {
    padding: 120px 0;
    background: var(--background-light);
    position: relative;
}

.showcase-grid {
    margin-top: 80px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.showcase-item.reverse .showcase-content {
    order: 2;
}

.showcase-item.reverse .showcase-image {
    order: 1;
}

.showcase-content {
    padding: 40px;
}

.feature-badge {
    display: inline-block;
    background: rgba(19, 64, 116, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.showcase-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
}

.feature-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* App Screenshots Styles */
.showcase-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.app-screenshot {
    position: relative;
    max-width: 540px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;

}



.screenshot-img {
    width: 125%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.screenshot-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--background-light) 0%, #f0f2f5 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 40px 20px;
    border: 2px dashed rgba(19, 64, 116, 0.2);
    border-radius: 20px;
    min-height: 400px;
}

.screenshot-placeholder small {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
    opacity: 0.7;
}

/* Hide placeholder when image loads */
.screenshot-img:not([src=""]):not([src="images/app-form.jpg"]):not([src="images/app-tracking.jpg"]):not([src="images/app-dashboard.jpg"]) + .screenshot-placeholder {
    display: none;
}

/* Show placeholder when image fails to load */
.screenshot-img[src=""] + .screenshot-placeholder,
.screenshot-img[src="images/app-form.jpg"] + .screenshot-placeholder,
.screenshot-img[src="images/app-tracking.jpg"] + .screenshot-placeholder,
.screenshot-img[src="images/app-dashboard.jpg"] + .screenshot-placeholder {
    display: flex;
}

/* Advantages section */
.advantages {
    padding: 120px 0;
    background: white;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(19, 64, 116, 0.08);
    background: white;
}

.advantage:hover {
    background: var(--background-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-light);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(19, 64, 116, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.advantage-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300" fill="white" opacity="0.05"><path d="M0,100 Q250,50 500,100 T1000,100 L1000,300 L0,300 Z"/></svg>');
    background-size: cover;
}

.cta-section-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    animation: pulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20c555;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}