/*=========================================
 * Vitanor ERECPLUS - Premium Landing Page
 * Colors: Deep Black, Bright Red, White
 *========================================*/

 :root {
    --primary-red: #D20000; /* Matching logo red roughly */
    --primary-red-hover: #A00000;
    --dark-bg: #111111;
    --darker-bg: #080808;
    --text-light: #F4F4F4;
    --text-dark: #333333;
    --success-green: #00B853;
    --gradient-red: linear-gradient(135deg, #FF3333 0%, #B30000 100%);
    --card-bg: #1A1A1A;
    --border-color: #333333;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-red: 0 4px 25px rgba(210, 0, 0, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-mid: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.text-center { text-align: center; }
.text-red { color: var(--primary-red); }
.text-green { color: var(--success-green); }
.bg-dark { background-color: var(--darker-bg); }
.w-100 { width: 100%; }

.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-red);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-large {
    padding: 18px 32px;
    font-size: 1.2rem;
    border-radius: 12px;
}

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

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(210, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(210, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(210, 0, 0, 0); }
}

/* Header */
.main-header {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 40px; /* Adjust based on actual logo */
    border-radius: 4px; /* Optional slight rounding for jpeg bg */
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(210,0,0,0.15) 0%, rgba(17,17,17,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

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

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(210,0,0,0.1);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #AAAAAA;
    margin-bottom: 30px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    border-right: 4px solid var(--primary-red);
    display: inline-flex;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-red);
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #777;
}

.hero-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-item i {
    color: var(--success-green);
}

/* Hero Image area */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.product-mockup {
    max-height: 500px;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    filter: blur(80px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 0;
}

/* Ingredients Section */
.ingredients-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #AAA;
    max-width: 600px;
    margin: 0 auto;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ingredient-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition-mid);
}

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

.ing-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(210,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ingredient-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ingredient-card p {
    color: #999;
}

/* Order Section */
.order-section {
    padding: 100px 0;
}

.order-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-color);
}

.order-info {
    text-align: center;
    padding: 40px 30px;
    border-bottom: 1px solid var(--border-color);
}

.order-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.order-info p {
    color: #AAA;
    margin-bottom: 20px;
}

.urgency-banner {
    background: rgba(210,0,0,0.15);
    color: var(--primary-red);
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

.order-form-container {
    padding: 40px 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #EEE;
}

.required {
    color: var(--primary-red);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 16px 16px 16px 45px; /* Space for icon on right (RTL) */
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #FFF;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(210,0,0,0.2);
}

/* Fix RTL icon positioning */
[dir="rtl"] .input-wrapper input {
    padding-right: 45px;
    padding-left: 16px;
}

[dir="ltr"] .input-wrapper i {
    right: auto;
    left: 15px;
}
[dir="ltr"] .input-wrapper input {
    padding-right: 16px;
    padding-left: 45px;
}


.order-summary-box {
    background: var(--darker-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-right: 4px solid var(--primary-red);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.total {
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Footer */
.main-footer {
    background: var(--darker-bg);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-top: 1px solid var(--border-color);
    z-index: 99;
    display: none; /* Hidden by default on desktop */
}

/* Utility Margins */
.mb-15 { margin-bottom: 15px; }
.mt-20 { margin-top: 20px; }

/* About Section */
.about-section {
    padding: 80px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 1.1rem;
    color: #CCC;
    margin-bottom: 20px;
}
.treatment-list {
    list-style: none;
    margin-top: 15px;
}
.treatment-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    border-right: 3px solid var(--primary-red);
}
.rounded-img {
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
}
.floating-slow {
    animation: floatSlow 8s ease-in-out infinite;
}
@keyframes floatSlow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.benefit-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-mid);
}
.benefit-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}
.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.benefit-card p {
    color: #999;
}

/* Usage Section */
.usage-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}
.usage-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.usage-step {
    text-align: center;
    position: relative;
}
.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(210,0,0,0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 1px solid var(--primary-red);
}
.usage-step h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.usage-step p {
    color: #AAA;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
}
.review-card::before {
    content: '\201D'; /* Right quote for RTL */
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(210,0,0,0.1);
    font-family: serif;
    line-height: 1;
}
.stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #DDD;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.reviewer {
    font-weight: 700;
    color: var(--primary-red);
}
.reviewer span {
    color: #777;
    font-weight: 400;
    font-size: 0.9rem;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 15px;
    position: relative;
    z-index: 1;
}
.avatar-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.reviewer-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #FFF;
}
.reviewer-info .stars {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-container { gap: 30px; }
}

@media (max-width: 768px) {
    .header-cta { display: none; } /* Hide header button on mobile */
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .product-mockup {
        max-height: 350px;
    }
    
    .hero-price {
        justify-content: center;
        width: 100%;
    }
    
    .hero-benefits {
        display: inline-block;
        text-align: right; /* Keep ticks aligned */
    }
    
    .mobile-sticky-cta {
        display: block; /* Show on mobile */
    }
    
    body {
        padding-bottom: 80px; /* Space for sticky CTA */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .treatment-list li {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .current-price { font-size: 1.8rem; }
    
    .order-form-container {
        padding: 30px 20px;
    }
    .order-info {
        padding: 30px 20px;
    }
}
