/* ============================================
   BerbaLean Pre-Lander - Modern & Chic Design
   Facebook Retargeting Optimized
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* ============================================
   BACKGROUND & ANIMATIONS
   ============================================ */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 50%, #fff5f8 100%);
    z-index: -2;
}

.floating-element {
    position: fixed;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

.element-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0f3460 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.element-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ff6b6b 0%, transparent 70%);
    bottom: 100px;
    left: -50px;
    animation: float 25s infinite ease-in-out reverse;
}

.element-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation: float 30s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-60px) translateX(-20px);
    }
    75% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0f3460 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #0f3460;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding: 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

.product-showcase {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.glow-effect {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.product-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.badge-ring {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(15, 52, 96, 0.2);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.badge-text {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits {
    margin-bottom: 4rem;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #0f3460;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */

.social-proof {
    background: linear-gradient(135deg, #f8f5ff 0%, #fff5f8 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.proof-header {
    text-align: center;
    margin-bottom: 2rem;
}

.proof-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

.proof-header p {
    color: #666;
    font-size: 1rem;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-mini {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
}

.testimonial-mini p {
    font-size: 0.95rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-style: italic;
}

.name {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f3460;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* ============================================
   SCIENCE SECTION
   ============================================ */

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

.science h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

.science-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

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

.science-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.science-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.science-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f3460;
    margin-bottom: 0.8rem;
}

.science-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   WHY NOW SECTION
   ============================================ */

.why-now {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.why-now h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f3460;
    text-align: center;
    margin-bottom: 2rem;
}

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

.why-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.why-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.95rem;
    color: #666;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.3);
}

.cta-button.primary:active {
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

.section-cta {
    text-align: center;
    padding: 2rem 0;
    margin: 1rem 0;
}

.section-cta .cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.button-text {
    display: inline;
}

.button-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(4px);
}

.cta-subtext {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    text-align: center;
    margin-bottom: 2rem;
}

.trust-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.badge {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #0f3460;
    font-weight: 500;
}

.product-image {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #999;
    font-size: 0.85rem;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-disclaimer {
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .product-showcase {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .main-content {
        padding: 1rem;
    }

    .hero {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

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

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

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .social-proof {
        padding: 2rem 1.5rem;
    }

    .proof-header h2 {
        font-size: 1.6rem;
    }

    .testimonials-carousel {
        grid-template-columns: 1fr;
    }

    .science-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .science h2 {
        font-size: 1.6rem;
    }

    .why-now {
        padding: 2rem 1.5rem;
    }

    .why-now h2 {
        font-size: 1.6rem;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .main-content {
        padding: 0.5rem;
    }

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

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

    .benefit-card {
        padding: 1.2rem;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .science-card {
        padding: 1.5rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .trust-badges {
        gap: 0.5rem;
    }

    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
