/* 
 * T-PRIME Product Order Form Styles
 * Main stylesheet for the product landing page
 */

:root {
    --gold: #D4AF37;
    --gold-dark: #c09c30;
    --black-1: #0d0d0d;
    --black-2: #161616;
    --gray-dark: #2b2b2b;
    --white: #FFFFFF;
    --light-gray: #d1d1d1;
    --success: #10b981;
    --error: #ef4444;
}

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

body {
    font-family: 'Cairo', sans-serif;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--black-1), var(--black-2));
    padding: 60px 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/1431282/pexels-photo-1431282.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-img {
    max-height: 500px;
    margin: 0 auto 40px;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background-color: var(--gold);
}

.hero p {
    font-size: 20px;
    color: var(--light-gray);
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

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

.btn:hover::before {
    left: 100%;
}

/* Benefits Section */
.benefits {
    background-color: var(--black-2);
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: var(--white);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

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

.benefit-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--gold);
}

/* Ingredients Section */
.ingredients {
    background-color: var(--black-1);
    padding: 100px 0;
    position: relative;
}

.ingredients-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px auto;
    max-width: 800px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ingredients-table th, 
.ingredients-table td {
    padding: 20px;
    text-align: right;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.ingredients-table th {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-weight: 700;
}

.ingredients-table tr:last-child td {
    border-bottom: none;
}

/* How to Use Section */
.how-to-use {
    background-color: var(--gray-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.steps {
    max-width: 700px;
    margin: 0 auto;
    text-align: right;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.step {
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    padding-right: 30px;
}

.step:last-child {
    margin-bottom: 0;
}

.step::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    right: 0;
    top: 0;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.9)), 
                url('https://images.pexels.com/photos/1552242/pexels-photo-1552242.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
    padding: 100px 0;
    position: relative;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 30px 0;
    margin: 0 -20px;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    background-color: var(--black-2);
    padding: 100px 0;
    position: relative;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
}

.faq-question {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--gold);
}

/* Trust Badges Section */
.trust-badges {
    background-color: var(--black-1);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.badge:hover {
    transform: translateY(-10px);
}

.badge-icon {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 15px;
}

/* Form Section */
.order-form {
    background-color: var(--black-1);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: translateY(-10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--gold);
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-note {
    font-size: 14px;
    color: var(--light-gray);
    margin-top: 25px;
}

/* Footer */
footer {
    background-color: var(--black-1);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-col {
    padding: 20px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 20px;
}

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

.social-icon {
    color: var(--white);
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-img {
        max-height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 85%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .ingredients-table th,
    .ingredients-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
}