/* ========================================
   MODERN PROFESSIONAL DESIGN
   Bà Nà Hills Affiliate Site 2026
======================================== */

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
    min-height: 100vh;
}

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

/* --- URGENCY BANNER --- */
.urgency-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* --- HERO SECTION --- */
/* Note: Background image should be set in page-specific CSS file */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 30px 120px 30px;
    border-radius: 0;
    margin: -20px -20px 0 -20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23f5f7fa" d="M0,50 Q360,0 720,50 T1440,50 L1440,100 L0,100 Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10;
}

.hero h1 { 
    color: #fff; 
    font-size: 42px; 
    font-weight: 700;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3); 
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.hero p { 
    font-size: 20px; 
    opacity: 0.95; 
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-weight: 300;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.4), 0 0 10px rgba(0,0,0,0.2);
}

/* Rating Section in Hero */
.rating-section {
    margin: 15px 0 20px 0;
    position: relative;
    z-index: 1;
}

.stars {
    font-size: 24px;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.rating-text {
    font-size: 16px;
    opacity: 0.95;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
}

/* Hero Button */
.btn-hero {
    display: inline-block;
    width: auto;
    padding: 15px 40px;
    margin: 0 auto;
}

/* --- FEATURES GRID --- */
.features-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.feature-item { 
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.feature-icon { 
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-title { 
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: #ff6f00;
}

.feature-desc { 
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* --- SECTION HEADING --- */
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6f00 0%, #ff8f00 100%);
    border-radius: 2px;
}

/* --- PRODUCT CARDS --- */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(255, 111, 0, 0.25);
    border-color: #ff6f00;
    cursor: pointer;
}

.product-card.top-pick {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.product-card.top-pick::before {
    width: 6px;
    background: linear-gradient(180deg, #ff6b6b 0%, #ff8e53 100%);
}

.product-card.top-pick:hover {
    border-color: #667eea;
}

/* Badge */
.badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 8px 45px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    letter-spacing: 1px;
}

/* Product Info */
.product-info {
    margin-bottom: 25px;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.product-features li strong {
    color: #2c3e50;
}

/* Product Action */
.product-action {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.product-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.savings-highlight {
    background: #fff3e0;
    padding: 8px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
    color: #e65100;
    font-weight: 600;
}

.social-proof {
    font-size: 11px;
    margin-top: 5px;
    color: #666;
}

.urgency-text {
    font-size: 11px;
    margin-top: 5px;
    color: #d32f2f;
    font-weight: 700;
}

.product-note {
    font-size: 11px;
    margin-top: 5px;
    color: #666;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    font-weight: 400;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.save-tag {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.save-tag-hot {
    font-size: 15px;
    padding: 6px 15px;
}

.product-card-basic {
    opacity: 0.95;
}

/* --- BUTTONS --- */
.btn {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* CTA Button - Orange/Red for high conversion */
.btn-cta {
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ffa726 100%);
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
    }
    50% { 
        box-shadow: 0 6px 30px rgba(255, 111, 0, 0.7), 0 0 0 10px rgba(255, 111, 0, 0);
    }
    100% { 
        box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
    }
}

/* --- NOTICE BOX --- */
.notice-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 5px solid #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.notice-box strong {
    color: #f57c00;
    font-size: 16px;
}

.notice-box ul {
    margin: 15px 0 0 0;
    padding-left: 25px;
}

.notice-box li {
    margin: 8px 0;
    color: #666;
}

/* --- TRUST SECTION --- */
.trust-section {
    text-align: center;
    margin: 50px 0;
}

.trust-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    margin-top: 50px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

footer h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

footer p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

footer .footer-description {
    max-width: 600px;
    margin: 0 auto 15px;
}

footer .footer-disclaimer {
    color: #999;
    font-size: 13px;
}

footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        margin: -20px -20px 30px -20px;
        border-radius: 0 0 20px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .stars {
        font-size: 20px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 25px 20px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .price {
        font-size: 26px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .badge {
        font-size: 10px;
        padding: 6px 40px;
    }
}

/* --- STICKY MOBILE CTA BUTTON --- */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 12px 15px;
    border-top: 3px solid #ff6f00;
    transition: transform 0.3s ease;
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.sticky-cta-text {
    flex: 1;
}

.sticky-cta-label {
    font-size: 12px;
    color: #fff;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.sticky-cta-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
}

.sticky-cta-discount {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse-discount 2s infinite;
}

@keyframes pulse-discount {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
    }
}

.sticky-cta-button {
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sticky-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.6);
}

/* Show sticky button only on mobile when scrolled */
@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }
    
    body {
        padding-bottom: 70px; /* Prevent content from being hidden behind sticky button */
    }
    
    .sticky-cta-label {
        color: #666 !important;
    }
    
    .sticky-cta-price {
        color: #ff6f00 !important;
    }
}