/* FIRMA HOMEPAGE STYLES - Exact match to WordPress */

:root {
    --color-primary: #2dd4bf;
    --color-primary-dark: #14b8a6;
    --color-dark: #111827;
    --color-text: #374151;
    --color-text-light: #6b7280;
    --color-bg-light: #f8fafc;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
}

.text-teal {
    color: var(--color-primary) !important;
}

/* HERO SECTION */
.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.1;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.rotating-word {
    color: var(--color-primary);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* HERO DECORATIVE ANIMATIONS */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-15px) translateX(10px);
    }
    66% {
        transform: translateY(15px) translateX(-10px);
    }
}

@keyframes float-medium {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) translateX(15px) scale(1.05);
    }
}

@keyframes float-fast {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    75% {
        transform: translateY(10px) rotate(-2deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.4;
        filter: blur(60px);
    }
    50% {
        opacity: 0.6;
        filter: blur(50px);
    }
}

@keyframes float-shape {
    0%, 100% {
        transform: rotate(-15deg) translateY(0px);
    }
    50% {
        transform: rotate(-15deg) translateY(-15px);
    }
}

@keyframes float-shape-2 {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.hero-blob-1 {
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero-blob-2 {
    animation: float-slow 8s ease-in-out infinite;
}

.hero-blob-3 {
    animation: float-medium 7s ease-in-out infinite;
}

.hero-float-shape {
    animation: float-shape 5s ease-in-out infinite;
}

.hero-float-shape-2 {
    animation: float-shape-2 6s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark) !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(45, 212, 191, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark) !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border: 2px solid var(--color-dark);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--color-dark);
    color: #fff !important;
}

.trust-icon {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECTION TYPOGRAPHY */
.section-eyebrow {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    color: var(--color-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 50px;
    color: var(--color-text-light);
}

/* PRODUCTS */
.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 25px -3px rgba(0,0,0,0.1);
}

/* HOW IT WORKS */
.step-card {
    background: transparent;
    text-align: center;
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-6px);
}

.step-image-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    position: relative;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.4);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* REVIEWS */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 10px 25px -3px rgba(0,0,0,0.1);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
    font-style: italic;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

/* CTA SECTION */
.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(17, 24, 39, 0.7);
    margin-bottom: 32px;
}

.btn-cta {
    background: var(--color-dark);
    color: white !important;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 25px -3px rgba(0,0,0,0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -3px rgba(0,0,0,0.4);
}

/* RESPONSIVE */
@media (max-width: 980px) {
    section {
        padding: 70px 40px !important;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Grid to 2 columns for products */
    section#products > div > div:last-child {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Grid to 1 column for steps and reviews */
    section#how-it-works > div > div:last-child,
    section#reviews > div > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 20px !important;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-eyebrow,
    .hero-subtitle {
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-eyebrow {
        font-size: 0.75rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    /* Hero grid to 1 column */
    section:first-child > div > div:first-child {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    /* About grid to 1 column */
    section#about > div > div:first-child {
        grid-template-columns: 1fr !important;
    }

    /* Products grid to 1 column */
    section#products > div > div:last-child {
        grid-template-columns: 1fr !important;
    }

    /* Buttons full width on mobile */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Center trust indicators */
    section:first-child > div > div:first-child > div:nth-child(1) > div:last-child {
        justify-content: center;
    }

    /* Newsletter form stack vertically */
    section#newsletter form {
        flex-direction: column !important;
    }

    section#newsletter form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 0.9375rem;
    }
}
