:root {
    /* Colors */
    --primary: #1b4332;
    --primary-dark: #081c15;
    --primary-light: #2d5a27;
    --secondary: #2f3e46;
    --accent: #52796f;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1b4332 50%, #2f3e46 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f7fdf7;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --rounded-sm: 0.375rem;
    --rounded: 0.5rem;
    --rounded-lg: 0.75rem;
    --rounded-xl: 1rem;
    --rounded-2xl: 1.5rem;
    --rounded-3xl: 2rem;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-50);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    min-height: 70px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition);
}

.nav-logo i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    position: relative;
    transition: var(--transition-fast);
    padding: var(--space-2) 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: #ffcc05;
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--rounded-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1003;
    position: relative;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.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 1440 800"><defs><linearGradient id="wave1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0.05)"/></linearGradient></defs><path d="M0,400 C320,200 480,600 720,400 C960,200 1120,600 1440,400 L1440,800 L0,800 Z" fill="url(%23wave1)"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.6;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-6);
}

.hero-text .highlight {
    color: #52796f;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-12);
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--rounded-lg);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-12);
    border-radius: var(--rounded-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #FFC107;
    color: var(--gray-900);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    color: var(--gray-900);
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #333, #666);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(27, 67, 50, 0.3);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(27, 67, 50, 0.4);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.section {
    padding: var(--space-24) 0;
    width: 100%;
    box-sizing: border-box;
}

.section-white {
    background: white;
}

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-24);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-12);
}

.feature-card {
    background: var(--gradient-card);
    padding: var(--space-12);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--rounded-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(27, 67, 50, 0.4);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    color: var(--gray-700);
    font-size: 0.875rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Download Section */
.download-buttons {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-12);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--gray-900);
    color: white;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--rounded-xl);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.download-icon {
    font-size: 2rem;
}

.download-text {
    flex: 1;
}

.download-text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.download-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-6);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: var(--space-12);
    opacity: 0.9;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(27, 67, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(27, 67, 50, 0.5);
    background: linear-gradient(135deg, #2d5a27 0%, #1b4332 100%);
}

.back-to-top:active {
    transform: translateX(-50%) translateY(-2px) scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero {
        min-height: 80vh;
        padding: var(--space-16) 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
        gap: var(--space-4);
    }

    .btn {
        flex: 1;
        max-width: 280px;
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .back-to-top {
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .badge {
        font-size: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .back-to-top {
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* ========================================
   RESPONSIVIDADE MOBILE - BOTÕES LARGURA TOTAL
   ======================================== */

/* Botões com largura total em mobile */
@media (max-width: 768px) {
    /* Hero Actions - botões principais */
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        text-align: center;
        flex: 1;
        box-sizing: border-box;
    }

    /* Todos os botões principais */
    .btn {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Container dos botões de ação */
    .cta .hero-actions,
    .section .hero-actions {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
        align-items: stretch;
        margin: 0 auto;
    }

    /* Botões de download se houver */
    .download-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
        align-items: stretch;
    }

    .download-btn {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    /* Badges dos botões para não quebrar layout */
    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        justify-content: center;
        margin-bottom: var(--space-6);
    }

    .hero-badges .badge {
        font-size: 0.75rem;
        padding: var(--space-1) var(--space-3);
    }
}