/* Landing Page Specific Styles */
/* Global styles are in maya-global.css */

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FFFFFF;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Blob 1 - Large, top right, slow */
.blob-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #fef3f2 0%, #fee5e2 100%);
    top: -10%;
    right: -15%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float1 25s 0s infinite;
}

/* Blob 2 - Medium, bottom left, medium speed */
.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #fee5e2 0%, #fecfca 100%);
    bottom: -5%;
    left: -10%;
    filter: blur(90px);
    opacity: 0.35;
    animation: float2 20s 5s infinite;
}

/* Blob 3 - Small, top center, fast with rotation */
.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ffebe9 0%, #ffd6d1 100%);
    top: 15%;
    left: 30%;
    filter: blur(70px);
    opacity: 0.25;
    animation: float3 18s 2s infinite;
}

/* Blob 4 - Large, middle right, slow with rotation */
.blob-4 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #fecfca 0%, #fdb9b3 100%);
    top: 40%;
    right: -5%;
    filter: blur(85px);
    opacity: 0.3;
    animation: float4 28s 8s infinite;
}

/* Blob 5 - Medium, bottom center, medium speed */
.blob-5 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #ffe0dd 0%, #ffccc7 100%);
    bottom: 10%;
    left: 50%;
    filter: blur(75px);
    opacity: 0.28;
    animation: float5 22s 12s infinite;
}

/* Blob 6 - Small, middle left, fast */
.blob-6 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fff5f4 0%, #ffe5e2 100%);
    top: 50%;
    left: 5%;
    filter: blur(65px);
    opacity: 0.32;
    animation: float6 16s 15s infinite;
}

/* Different animation paths for each blob */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(40px, -80px) scale(1.15) rotate(15deg); }
    50% { transform: translate(-30px, -40px) scale(0.95) rotate(-10deg); }
    75% { transform: translate(20px, 60px) scale(1.05) rotate(20deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    30% { transform: translate(-50px, 70px) scale(1.1) rotate(-15deg); }
    60% { transform: translate(40px, -30px) scale(0.9) rotate(10deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(60px, 40px) scale(1.2) rotate(25deg); }
    40% { transform: translate(-40px, -60px) scale(0.85) rotate(-20deg); }
    60% { transform: translate(30px, 50px) scale(1.1) rotate(30deg); }
    80% { transform: translate(-20px, -30px) scale(0.95) rotate(-15deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-60px, -50px) scale(1.08) rotate(-12deg); }
    66% { transform: translate(50px, 40px) scale(0.92) rotate(18deg); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(45px, -70px) scale(1.12) rotate(22deg); }
    50% { transform: translate(-55px, 30px) scale(0.88) rotate(-18deg); }
    75% { transform: translate(35px, 55px) scale(1.05) rotate(15deg); }
}

@keyframes float6 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(-45px, 65px) scale(1.15) rotate(-25deg); }
    40% { transform: translate(55px, -45px) scale(0.9) rotate(20deg); }
    60% { transform: translate(-35px, -55px) scale(1.08) rotate(-10deg); }
    80% { transform: translate(40px, 35px) scale(0.95) rotate(28deg); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    color: #1F2937;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-primary {
    background: var(--primary);
    color: white;
    padding: 1.15rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(220, 59, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(220, 59, 38, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.cta-secondary:hover {
    color: var(--primary);
}

.casa-badge {
    margin-top: 1.25rem;
    animation: fadeInUp 0.8s ease 0.25s backwards;
}

.casa-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

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

.badge-icon {
    color: var(--success);
    font-size: 1.25rem;
}

.hero-visual {
    position: relative;
    animation: fadeIn 1s ease 0.4s backwards;
}

.hero-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    background: #f3f4f6;
    padding: 6rem 2rem;
    position: relative;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 3.25rem;
    color: #1F2937;
    margin-bottom: 1rem;
    font-weight: 800;
}

.features-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FEF3F2;
    color: var(--primary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

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

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

.feature-icon--green {
    background: #D1FAE5;
    color: var(--success);
}

.feature-icon--red {
    background: #FEE2E2;
    color: var(--danger);
}

.features-cta-group {
    text-align: center;
    margin-top: 3rem;
}

.features-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #111827;
    color: white;
    padding: 1.15rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.features-cta:hover {
    background: #374151;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.features-sub-cta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* How It Works - 30% Secondary Color */
.how-it-works {
    background: #fef3f2;
    padding: 6rem 2rem;
}

.how-it-works-content {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 3.25rem;
    color: #1F2937;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(220, 59, 38, 0.15);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(220, 59, 38, 0.3);
}

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

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

/* Testimonials Section - 60% Primary */
.testimonials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.testimonials h2 {
    font-size: 3.25rem;
    color: #1F2937;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--gradient-surface);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.25rem;
}

.author-info h4 {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ Section - 30% Secondary Color */
.faq-section {
    background: #fef3f2;
    padding: 6rem 2rem;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-content h2 {
    font-size: 3.25rem;
    color: #1F2937;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--gradient-surface);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Final CTA */
.final-cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

.cta-box {
    background: var(--gradient-primary);
    padding: 5rem 3rem;
    border-radius: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(220, 59, 38, 0.3);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.cta-box h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-box-button {
    background: white;
    color: var(--primary);
    padding: 1.15rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-box-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: var(--accent-light);
    color: white;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 4rem 1.5rem 3rem;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .features-header h2,
    .how-it-works h2,
    .testimonials h2,
    .faq-content h2,
    .cta-box h2 {
        font-size: 2.25rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-mobile-cta.visible {
    transform: translateY(0);
}

.sticky-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(220, 59, 38, 0.3);
    transition: all 0.3s ease;
}

.sticky-cta-button:hover,
.sticky-cta-button:active {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(220, 59, 38, 0.4);
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }
}