/* Reset and 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: #333;
    background: 
        linear-gradient(135deg, #f8f6f0 0%, #f0ede6 100%),
        radial-gradient(circle at 20% 80%, rgba(160, 82, 45, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(205, 133, 63, 0.03) 0%, transparent 50%);
    background-attachment: scroll;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-placeholder {
    font-weight: 700;
    font-size: 18px;
    color: #8b4513;
}

.logo-link:hover .logo-placeholder {
    color: #a0522d;
}

.logo-image {
    height: 100px;
    margin: -20px 0px -20px 0px;
    width: auto;
    max-width: 250px;
    object-fit: cover;
    object-position: center;
    /* Crop top/bottom 20% and left/right 8% */
    clip-path: inset(20% 8% 20% 8%);
    /* Make it more visible */
    filter: contrast(1.2) brightness(1.1);
}

.logo-link:hover .logo-image {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.account-icon {
    display: flex;
    align-items: center;
}

.account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -15px 0px -15px 0px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-link:hover {
    background: #8b4513;
    color: white;
    transform: scale(1.05);
}

.account-link svg {
    width: 30px;
    height: 30px;
}

/* Conversion Area */
.conversion-area {
    background: url('waxbg.jpg') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.conversion-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.conversion-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cards" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23cards)"/></svg>');
    opacity: 0.3;
}

.conversion-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.conversion-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

.conversion-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #008c05;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-button:hover {
    background: #006103;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}


/* Why Sell Section */
.why-sell {
    padding: 80px 0;
    background: rgba(248, 246, 240, 0.9);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e0;
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #fef7e0 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
}

.feature-card:nth-child(1) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
}

.feature-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: rgba(248, 246, 240, 0.9);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    min-height: 300px;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    padding: 40px 20px;
    min-height: 200px;
    flex-direction: column;
    justify-content: center;
}

.testimonial-slide.active {
    display: flex;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #374151;
    line-height: 1.7;
    font-weight: 500;
}

.testimonial-author {
    font-weight: 600;
    color: #6b7280;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.carousel-btn {
    background: #e5e7eb;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #8b4513;
    color: white;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: rgba(248, 246, 240, 0.9);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1f2937;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #6b7280;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: rgba(248, 246, 240, 0.9);
}

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

.contact-info {
    text-align: left;
}

.contact-intro {
    text-align: left;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 0;
    max-width: none;
}

.contact-form {
    max-width: none;
    margin: 0;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
}

.submit-btn {
    width: 100%;
    background: #8b4513;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #a0522d;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: #f9fafb;
}

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

.social-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #374151;
}

.social-link:hover {
    color: white;
    background: #a0522d;
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8b4513;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Mobile Optimizations for iPhone 15 Pro Max */
@media (max-width: 430px) {
    .conversion-title {
        font-size: 2.8rem;
    }
    
    .conversion-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-intro {
        text-align: center;
    }
}

/* Removed smooth scrolling to improve performance */

/* Performance optimizations */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
