/* Modern Professional Landing Page Styles */

:root {
    --primary: #5E3AEE;
    --primary-dark: #4A2FBE;
    --secondary: #00D4AA;
    --dark: #0F0F23;
    --dark-light: #1A1A3E;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --gradient: linear-gradient(135deg, #5E3AEE 0%, #00D4AA 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-ghost, .btn-whatsapp {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    border-color: var(--primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #1EBE56;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary.large, .btn-whatsapp.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary.full-width {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero-background {
    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 320"><path fill="%235E3AEE" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.problem-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.solution-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex: 1;
    max-width: 400px;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-header i {
    font-size: 2rem;
    color: var(--primary);
}

.solution-header h3 {
    font-size: 1.4rem;
    color: var(--dark);
}

.solution-features {
    list-style: none;
}

.solution-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
}

.solution-features i {
    color: var(--success);
    font-size: 1.1rem;
}

.solution-plus {
    font-size: 3rem;
    color: var(--primary);
    font-weight: bold;
}

.solution-result {
    text-align: center;
    background: white;
    padding: 2rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.solution-result h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.solution-result p {
    color: var(--gray);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: white;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.process-connector {
    position: absolute;
    top: 30px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 1;
}

/* Tech Section */
.tech-section {
    padding: 80px 0;
    background: var(--dark);
    color: white;
}

.tech-section .section-title {
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.tech-logo {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.tech-card i {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ROI Section */
.roi-section {
    padding: 80px 0;
    background: white;
}

.roi-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.roi-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    flex: 1;
    max-width: 350px;
}

.roi-card.investment {
    border: 3px solid var(--danger);
}

.roi-card.savings {
    border: 3px solid var(--success);
}

.roi-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.roi-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.roi-card.investment .roi-value {
    color: var(--danger);
}

.roi-card.savings .roi-value {
    color: var(--success);
}

.roi-value span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.roi-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.roi-card li {
    padding: 0.5rem 0;
    color: var(--gray);
}

.roi-vs {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray);
}

.roi-guarantee {
    background: linear-gradient(135deg, #10B98115 0%, #10B98130 100%);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.roi-guarantee i {
    font-size: 3rem;
    color: var(--success);
}

.roi-guarantee h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.roi-guarantee p {
    color: var(--gray);
}

/* Cases Section */
.cases-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.case-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.case-card h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.case-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-urgency {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.cta-urgency i {
    color: var(--warning);
}

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

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

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1rem;
}

.footer-links p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    /* Let the form scroll on short screens; otherwise the submit button can sit below the fold */
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--dark);
}

.modal-header {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    opacity: 0.9;
}

#leadForm {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-consent label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-consent input {
    width: auto;
    margin-top: 0.2rem;
}

.form-status {
    text-align: center;
    color: #EF4444;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-disclaimer {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.form-disclaimer i {
    color: var(--success);
    margin-right: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .solution-wrapper {
        flex-direction: column;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .process-connector {
        display: none;
    }
    
    .roi-comparison {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* Contact/scheduling elements stay hidden until cta.js finds them configured */
[hidden] {
    display: none !important;
}

/* Wave 5: sprint ladder */
.section-lead {
    text-align: center;
    color: var(--gray);
    font-size: 1.15rem;
    max-width: 760px;
    margin: -1.5rem auto 2.5rem;
}

.section-lead.light,
.section-note.light {
    color: rgba(255, 255, 255, 0.85);
}

.section-note {
    text-align: center;
    color: var(--gray);
    margin-top: 2rem;
}

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

.ladder-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.ladder-card.highlight {
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.ladder-card .step-number {
    margin: 0 auto 1rem;
}

.ladder-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ladder-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.ladder-card p.ladder-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.roi-card.offer {
    border: 3px solid var(--primary);
    max-width: 420px;
}

.roi-card.offer .roi-value {
    color: var(--primary);
}

.offer-scope {
    color: var(--dark);
    font-weight: 500;
}

.offer-note {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.terms-list {
    list-style: none;
    max-width: 760px;
    margin: 0 auto;
}

.terms-list li {
    padding: 0.4rem 0;
    color: var(--dark);
}

.terms-list i {
    color: var(--primary);
    width: 1.75rem;
}

.pricing-basis {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    max-width: 760px;
    margin: 2rem auto 0;
}

.first-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.btn-primary.on-gradient {
    background: white;
    color: var(--primary);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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