/* ========================================
   Cannalips - Estilos de la Tienda Online
   ======================================== */

/* Variables CSS */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #D7CCC8;
    --secondary-dark: #A1887F;
    --accent-color: #F57F17;
    --accent-light: #FFB74D;
    --text-dark: #37474F;
    --text-light: #78909C;
    --background-light: #FAFAFA;
    --background-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 127, 23, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 50%, #f5f5f5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-price {
    margin-bottom: 30px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.trust-badges i {
    color: var(--primary-color);
}

/* Product Showcase */
.product-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    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-container {
    position: relative;
    z-index: 1;
}

.product-tube {
    width: 80px;
    height: 200px;
    background: linear-gradient(180deg, #8D6E63 0%, #6D4C41 100%);
    border-radius: 40px 40px 10px 10px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.tube-cap {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: linear-gradient(180deg, #5D4037 0%, #4E342E 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tube-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    letter-spacing: 2px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--background-white);
}

.benefits h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--background-light);
    padding: 40px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Ingredients Section */
.ingredients {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f5f0 0%, #f5f0eb 100%);
}

.ingredients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ingredients-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.ingredients-text > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.ingredient-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.ingredient-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.ingredient-circle:hover {
    transform: scale(1.1);
}

.ingredient-circle i {
    font-size: 40px;
    margin-bottom: 10px;
}

.ingredient-circle span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.cacao {
    background: linear-gradient(135deg, #8D6E63, #A1887F);
    color: white;
    top: 0;
    left: 0;
    box-shadow: 0 10px 30px rgba(141, 110, 99, 0.4);
}

.hemp {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    bottom: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.4);
}

.ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ingredient-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ingredient-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 3px;
}

.ingredient-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.ingredient-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* How to Use Section */
.how-to-use {
    padding: 100px 0;
    background: var(--background-white);
}

.how-to-use h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 14px;
}

.usage-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.stars i {
    margin-right: 2px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

/* Purchase Section */
.purchase {
    padding: 100px 0;
    background: var(--background-light);
}

.purchase-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.purchase-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.price-display {
    margin-bottom: 15px;
}

.original-price {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 15px;
}

.intro-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
}

.intro-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.quantity-selector {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--background-light);
    border-radius: 10px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--text-dark);
}

.quantity-prices {
    text-align: center;
    margin-top: 15px;
}

#qty-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.savings-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5e9;
    color: var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

.savings-notice i {
    font-size: 18px;
}

/* Purchase Form */
.purchase-form {
    background: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.purchase-form h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#paypal-container {
    margin: 25px 0;
    min-height: 150px;
}

#paypal-button-container {
    min-height: 150px;
}

.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}

.secure-notice i {
    color: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    padding: 30px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.faq-item h3 i {
    color: var(--primary-color);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    color: #b0bec5;
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    font-size: 14px;
    color: #b0bec5;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: #78909C;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 450px;
    margin: 20px;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-icon.success {
    color: var(--primary-color);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.order-number {
    font-weight: 600;
    color: var(--text-dark) !important;
}

.order-number span {
    color: var(--primary-color);
}

.modal-content .btn {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .product-showcase {
        margin-top: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients-content {
        grid-template-columns: 1fr;
    }
    
    .ingredients-text {
        order: -1;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-content {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .price-amount {
        font-size: 32px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .ingredients h2,
    .how-to-use h2,
    .testimonials h2,
    .faq h2 {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .hero-text h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .intro-price {
        font-size: 32px;
    }
    
    .purchase-content {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 22px;
    }
}

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

.benefit-card,
.testimonial-card,
.faq-item {
    animation: fadeIn 0.6s ease forwards;
}

.benefit-card:nth-child(2),
.testimonial-card:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(3),
.testimonial-card:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.3s;
}
