/* Professional Design System for Logyc Contabilidade */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
* {
    max-width: 100%;
}

/* Specific elements that need width constraints */
img, video, canvas, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Prevent text overflow */
p, h1, h2, h3, h4, h5, h6, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

:root {
    /* Core Brand Colors */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(210, 40%, 8%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(210, 40%, 8%);
    
    /* Professional Blue Theme */
    --primary: hsl(213, 94%, 26%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(213, 94%, 40%);
    --primary-glow: hsl(120, 60%, 70%);
    
    /* Success Green for trust elements */
    --success: hsl(150, 86%, 28%);
    --success-foreground: hsl(0, 0%, 100%);
    --success-light: hsl(150, 86%, 50%);
    
    /* Professional Gray Scale */
    --secondary: hsl(210, 14%, 95%);
    --secondary-foreground: hsl(210, 40%, 8%);
    
    --muted: hsl(210, 14%, 97%);
    --muted-foreground: hsl(210, 40%, 50%);
    
    --accent: hsl(213, 94%, 96%);
    --accent-foreground: hsl(213, 94%, 26%);
    
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 98%);
    
    --border: hsl(214, 31%, 91%);
    --input: hsl(214, 31%, 91%);
    --ring: hsl(213, 94%, 26%);
    
    /* Shadows */
    --shadow-soft: 0 2px 20px -2px hsla(213, 94%, 26%, 0.08);
    --shadow-medium: 0 8px 40px -8px hsla(213, 94%, 26%, 0.15);
    --shadow-strong: 0 16px 60px -16px hsla(213, 94%, 26%, 0.25);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --radius: 0.75rem;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.container-small {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title.center {
    text-align: center;
}

.section-title.white {
    color: var(--primary-foreground);
}

.text-primary {
    color: var(--primary);
}

.text-primary-glow {
    color: var(--primary-glow);
}

.section-header {
    margin-bottom: 4rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    min-height: 3rem;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-medium);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
}

.btn-hero-outline:hover {
    background: var(--primary-foreground);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-cta {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    color: var(--success-foreground);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-medium);
    width: 100%;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/hero-entrepreneur.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsla(213, 94%, 26%, 0.9) 0%, 
        hsla(213, 84%, 35%, 0.7) 50%, 
        hsla(213, 74%, 45%, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    color: var(--primary-foreground);
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 3rem;
    color: hsla(0, 0%, 100%, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsla(0, 0%, 100%, 0.5);
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
}

.scroll-indicator-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: hsla(0, 0%, 100%, 0.7);
    border-radius: 0.125rem;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Pain Points Section */
.pain-points-section {
    padding: 5rem 0;
    background-color: var(--muted);
}

.pain-points-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    width: 100%;
}

.pain-point-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-align: center;
}

.center-card {
    margin: 0 auto;
    max-width: 320px;
    grid-column: 1 / -1;
    justify-self: center;
}

.pain-point-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.pain-point-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.pain-point-icon svg {
    width: 100%;
    height: 100%;
}

.icon-calculator {
    color: hsl(213, 94%, 40%);
}

.icon-file-text {
    color: hsl(45, 93%, 47%);
}

.icon-users {
    color: hsl(200, 80%, 50%);
}

.icon-trending-up {
    color: hsl(120, 60%, 50%);
}

.pain-point-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.pain-point-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Video Section */
.video-section {
    display: none;
    padding: 5rem 0;
    background-color: var(--background);
}

.video-container {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, 
        hsla(213, 94%, 26%, 0.2) 0%, 
        hsla(213, 84%, 65%, 0.2) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-placeholder:hover {
    background: linear-gradient(135deg, 
        hsla(213, 94%, 26%, 0.3) 0%, 
        hsla(213, 84%, 65%, 0.3) 100%
    );
}

.video-play-button {
    width: 5rem;
    height: 5rem;
    background: hsla(213, 94%, 26%, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 1.25rem solid var(--primary);
    border-top: 0.75rem solid transparent;
    border-bottom: 0.75rem solid transparent;
    margin-left: 0.25rem;
}

.video-text {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.video-subtext {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.video-description {
    padding: 2rem;
    background: var(--card);
}

.video-description p {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-style: italic;
}

/* Lead Capture Section */
.lead-capture-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        hsla(213, 94%, 98%, 1) 0%, 
        hsla(213, 84%, 96%, 1) 100%
    );
}

.lead-capture-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--success-light);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Lead Capture Icons */
.icon-check-circle {
    color: var(--success-light);
}

.benefit-item p {
    color: var(--foreground);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-column {
    text-align: center;
}

.ebook-cover {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    margin-bottom: 2rem;
    display: inline-block;
}

.ebook-cover img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.lead-form input {
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.lead-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(213, 94%, 26%, 0.1);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    width: 100%;
}

.benefit-card {
    text-align: center;
}

.benefit-card p {
    text-align: justify;
}

.benefit-card:hover {
    transform: translateY(-16px);
}

.benefit-card > div {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.benefit-card:hover > div {
    box-shadow: var(--shadow-strong);
}

.benefit-icon-container {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(180deg, 
        hsla(213, 94%, 98%, 1) 0%, 
        hsla(213, 84%, 96%, 1) 100%
    );
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-container {
    transform: scale(1.1);
}

.benefit-card-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

/* Benefits Section Icons */
.icon-document {
    color: hsl(213, 94%, 40%);
}

.icon-message {
    color: hsl(25, 95%, 53%);
}

.icon-monitor {
    color: hsl(142, 71%, 45%);
}

.benefit-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.benefit-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: var(--muted);
}

.process-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    width: 100%;
}

.process-step {
    position: relative;
    text-align: center;
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-16px);
}

.process-step > div:last-child {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 10;
}

.process-step:hover > div:last-child {
    box-shadow: var(--shadow-strong);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-icon {
    margin-bottom: 1.5rem;
}

.step-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
}

/* Process Section Icons */
.icon-search {
    color: hsl(213, 94%, 40%);
}

.icon-shield {
    color: hsl(142, 71%, 45%);
}

.icon-rocket {
    color: hsl(25, 95%, 53%);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.step-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    width: 100%;
}

.testimonial-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-photo {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: var(--transition-smooth);
}

.author-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.author-name {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.author-business {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--primary-foreground);
    text-align: center;
}

.final-cta-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 3rem;
    color: hsla(0, 0%, 100%, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 320px;
    text-decoration: none;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: 2px solid #25D366;
    box-shadow: var(--shadow-medium);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.whatsapp-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.final-cta-benefits {
    margin-top: 3rem;
    color: hsla(0, 0%, 100%, 0.8);
}

.final-cta-benefits p {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--muted);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
}

.faq-question:hover {
    background: hsla(210, 14%, 97%, 0.5);
}

.faq-question span {
    padding-right: 1rem;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 3rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: hsla(0, 0%, 100%, 0.2);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-glow);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item span {
    color: hsla(0, 0%, 100%, 0.8);
}

.info-item {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--success);
    color: var(--success-foreground);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    transform: translateX(400px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1000;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Mobile First Responsive Design */

/* Extra Small Devices (iPhone SE, Galaxy S series) */
@media (max-width: 374px) {
    .container,
    .container-small {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid,
    .process-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Devices (iPhone X4, iPhone 12 mini) */
@media (min-width: 375px) and (max-width: 413px) {
    .container,
    .container-small {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Standard Mobile Devices (iPhone 12, 13, 14, Galaxy S series) */
@media (min-width: 414px) and (max-width: 639px) {
    .container,
    .container-small {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Tablet Portrait */
@media (min-width: 640px) and (max-width: 767px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .container,
    .container-small {
        padding: 0 1.5rem;
    }
}

/* Tablet Landscape and Small Desktop */
@media (min-width: 768px) and (max-width: 1023px) {
    .lead-capture-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .container-small {
        padding: 0 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Specific iPhone Models */
/* iPhone SE (375x667) */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 667px) 
  and (-webkit-device-pixel-ratio: 2) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.1;
    }
}

/* iPhone X4, iPhone 12 mini (375x812) */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 812px) 
  and (-webkit-device-pixel-ratio: 3) {
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
    }
}

/* iPhone 12, 13, 14 (390x844) */
@media only screen 
  and (device-width: 390px) 
  and (device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3) {
    .container,
    .container-small {
        padding: 0 1.25rem;
    }
}

/* Samsung Galaxy devices (360px and 412px widths) */
@media only screen and (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

@media only screen and (min-width: 412px) and (max-width: 414px) {
    .container,
    .container-small {
        padding: 0 1.25rem;
    }
}

/* Disabled Button Styles */
.btn.disabled,
.btn:disabled {
    background: var(--muted) !important;
    color: var(--muted-foreground) !important;
    border-color: var(--border) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

.btn.disabled:hover,
.btn:disabled:hover {
    background: var(--muted) !important;
    color: var(--muted-foreground) !important;
    border-color: var(--border) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Form Input Error Styles */
.lead-form input.error {
    border-color: var(--destructive) !important;
    box-shadow: 0 0 0 2px hsla(0, 84%, 60%, 0.1) !important;
    background-color: hsla(0, 84%, 60%, 0.02);
}

/* Enhanced form validation feedback */
.lead-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(213, 94%, 26%, 0.1);
    transition: var(--transition-smooth);
}

.lead-form input:valid:not(:placeholder-shown) {
    border-color: var(--success);
}

.lead-form input:invalid:not(:placeholder-shown) {
    border-color: var(--destructive);
}

/* WhatsApp Floating Button - Elegant Design */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
}

.whatsapp-float-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.25),
        0 2px 8px rgba(37, 211, 102, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 200px;
    justify-content: center;
    border: none;
    outline: none;
    animation: whatsappSubtlePulse 4s infinite;
}


.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(37, 211, 102, 0.3),
        0 3px 12px rgba(37, 211, 102, 0.2);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.15);
}

.whatsapp-float-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.whatsapp-float-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.whatsapp-float-btn:hover .whatsapp-float-icon {
    transform: scale(1.05);
}

.whatsapp-float-text {
    white-space: nowrap;
    letter-spacing: 0.3px;
}

@keyframes whatsappSubtlePulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.25),
            0 2px 8px rgba(37, 211, 102, 0.15);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.35),
            0 2px 8px rgba(37, 211, 102, 0.25);
    }
}

/* Responsive adjustments for WhatsApp button - Subtle */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float-btn {
        min-width: 60px;
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        border: none;
        outline: none;
        box-shadow: 
            0 3px 15px rgba(37, 211, 102, 0.25),
            0 1px 6px rgba(37, 211, 102, 0.15);
    }
    
    .whatsapp-float-btn:hover {
        transform: translateY(-2px);
        box-shadow: 
            0 4px 18px rgba(37, 211, 102, 0.3),
            0 2px 8px rgba(37, 211, 102, 0.2);
    }
    
    .whatsapp-float-text {
        display: none;
    }
    
    .whatsapp-float-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .whatsapp-float-btn:hover .whatsapp-float-icon {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float-btn {
        min-width: 56px;
        width: 56px;
        height: 56px;
        border: none;
        outline: none;
        box-shadow: 
            0 2px 12px rgba(37, 211, 102, 0.25),
            0 1px 4px rgba(37, 211, 102, 0.15);
    }
    
    .whatsapp-float-btn:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 3px 15px rgba(37, 211, 102, 0.3),
            0 1px 6px rgba(37, 211, 102, 0.2);
    }
    
    .whatsapp-float-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 360px) {
    .whatsapp-float {
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .whatsapp-float-btn {
        min-width: 52px;
        width: 52px;
        height: 52px;
        border: none;
        outline: none;
    }
    
    .whatsapp-float-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .whatsapp-float {
        bottom: 0.5rem;
        right: 1rem;
    }
    
    .whatsapp-float-btn {
        min-width: 48px;
        width: 48px;
        height: 48px;
        border: none;
        outline: none;
    }
    
    .whatsapp-float-icon {
        width: 1.125rem;
        height: 1.125rem;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Ensure all sections have proper padding */
    section {
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
    
    /* Fix hero section for mobile */
    .hero-content {
        width: 100%;
        max-width: none;
        padding: 0 1rem;
    }
    
    /* Ensure buttons don't overflow */
    .hero-buttons {
        width: 100%;
        max-width: 100%;
    }
    
    .btn-hero,
    .btn-hero-outline,
    .btn-cta {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Fix form layout */
    .lead-form {
        width: 100%;
        max-width: 100%;
    }
    
    .lead-form input {
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure cards don't overflow */
    .pain-point-card,
    .benefit-card > div,
    .process-step,
    .testimonial-card,
    .faq-item {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    /* Fix text alignment for mobile */
    .benefit-card p {
        text-align: left;
    }
    
    /* Adjust spacing for mobile */
    .section-header {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* Fix FAQ for mobile */
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--primary-foreground);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-info {
    text-align: center;
    max-width: 600px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-foreground);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-disclaimer {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-section {
        padding: 2.5rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-info {
        padding: 0 1rem;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .footer-company-name {
        font-size: 1.25rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
    }
    
    .footer-disclaimer {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 2rem 0 1.25rem;
    }
    
    .footer-info {
        padding: 0 1.5rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

