/* ============================================
   PeptídeosPRO - Landing Page Styles
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #25D366;
    --accent-hover: #1ebe57;
    --accent-glow: rgba(37, 211, 102, 0.3);
    --gradient: linear-gradient(135deg, #25D366, #128C7E);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1a1a2e 50%, #16213e 100%);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --text-dark-muted: #64748b;
    --surface: #1e293b;
    --surface-light: #f8fafc;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(37, 211, 102, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-dark-muted);
    font-size: 1.05rem;
}

.section {
    padding: 100px 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-whatsapp {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-whatsapp:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-nav {
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.logo i {
    font-size: 1.5rem;
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 999;
    padding: 100px 24px 40px;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 211, 102, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(18, 140, 126, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(37, 211, 102, 0.04) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1), transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 140, 126, 0.08), transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: #fff;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.6s ease-out 0.3s both;
    margin-bottom: 50px;
}

.hero-cta-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Products Section
   ============================================ */
.products {
    background: var(--surface-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.featured {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: var(--shadow-glow);
}

.product-card.featured::before {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(37, 211, 102, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 3;
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.product-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.product-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    position: relative;
}

.product-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background: #f1f5f9;
    padding: 10px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 24px 30px 30px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    text-align: left;
}

.product-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark-muted);
}

.product-features li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.products-cta {
    text-align: center;
}

.products-cta p {
    color: var(--text-dark-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 211, 102, 0.2);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(37, 211, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 1.4rem;
    color: var(--accent);
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-dark-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    background: var(--surface-light);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 40px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 211, 102, 0.2);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(37, 211, 102, 0.15);
    flex-shrink: 0;
    min-width: 60px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.step-connector {
    width: 2px;
    height: 30px;
    background: rgba(37, 211, 102, 0.15);
    margin: 0 auto;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--surface-light);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
    font-size: 0.9rem;
}

.testimonial-card > p {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background: var(--surface-light);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(37, 211, 102, 0.2);
}

.faq-item.active {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-hover);
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CTA Final Section
   ============================================ */
.cta-final {
    background: #fff;
    padding: 80px 0 100px;
}

.cta-box {
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(37, 211, 102, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(18, 140, 126, 0.08) 0%, transparent 50%);
}

.cta-box > * {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
}

.cta-trust span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-trust span i {
    color: var(--accent);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.disclaimer {
    margin-top: 8px;
    font-size: 0.8rem !important;
    font-style: italic;
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--accent-glow);
    z-index: 998;
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px var(--accent-glow);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px var(--accent-glow); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.5); }
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .products-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-divider {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .products-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }

    .step-number {
        min-width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 12px auto 0;
    }

    .cta-box {
        padding: 50px 24px;
    }

    .cta-trust {
        flex-direction: column;
        gap: 12px;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .products-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .product-card-body {
        padding: 20px 20px 24px;
    }
}
