/* TopBid Website Styles */

/* Global Styles */
:root {
    --primary-color: #40B3A2;
    --primary-dark: #2E8A7D;
    --secondary-color: #F9F7F7;
    --accent-color: #E8AA33;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #F5F5F5;
    --border-color: #E0E0E0;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

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

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active {
    background-color: rgba(64, 179, 162, 0.1);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Features Highlight */
.features-highlight {
    padding: 80px 0;
    background-color: var(--background-light);
}

.features-highlight h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .primary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .primary-btn:hover {
    background-color: transparent;
    color: var(--white);
}

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

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

.footer-column h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Detailed */
.features-detailed {
    padding: 80px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 1rem;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Guide Styles */
.guide-content {
    padding: 60px 0;
}

.guide-content .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.guide-navigation {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    align-self: start;
}

.guide-navigation h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.guide-navigation ul li {
    margin-bottom: 0.5rem;
}

.guide-sections section {
    margin-bottom: 60px;
}

.guide-sections h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.guide-sections h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.guide-image {
    margin: 20px 0;
}

.guide-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.important-note {
    background-color: rgba(232, 170, 51, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.guide-download {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.guide-download h3 {
    border-bottom: none;
}

/* Support Styles */
.support-content {
    padding: 60px 0;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.support-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.support-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 1rem;
}

.support-card p {
    margin-bottom: 1.5rem;
}

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

.faqs-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    background-color: var(--background-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
}

.toggle-icon {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 20px;
    display: none;
    /* Will be toggled with JavaScript */
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
    margin-bottom: 1rem;
}

.faq-answer ul li,
.faq-answer ol li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form-section p {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .feature-row {
        flex-direction: column;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .guide-content .container {
        grid-template-columns: 1fr;
    }

    .guide-navigation {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .app-store-badge {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .features-highlight,
    .testimonials,
    .cta-section,
    .features-detailed,
    .guide-content,
    .support-content {
        padding: 40px 0;
    }

    .app-store-badge {
        height: 30px;
    }
}

/* Subscription Tiers */
.subscription-tiers {
    padding: 60px 0;
    background-color: var(--background-light);
}

.subscription-tiers h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.tier-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.tier-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.tier-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tier-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.tier-card ul {
    text-align: left;
    margin-bottom: 1.5rem;
}

.tier-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.tier-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.subscription-terms {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.subscription-terms a {
    color: #3498db;
    text-decoration: none;
}

.subscription-terms a:hover {
    text-decoration: underline;
}

.subscription-terms p {
    margin: 0.5rem 0;
}

/* App Store Badge Styles */
.app-store-badge {
    display: inline-block;
    height: 40px;
    margin: 10px 0;
    transition: transform 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.app-store-badge-img {
    height: 100%;
    width: auto;
    display: block;
    pointer-events: none;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .app-store-badge {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .app-store-badge {
        height: 30px;
    }
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    transition: background-color 0.2s ease;
}

.app-store-btn:hover {
    background-color: #333;
}

.app-store-icon {
    font-size: 20px;
    margin-right: 8px;
}

.app-store-text {
    display: flex;
    flex-direction: column;
}

.app-store-label {
    font-size: 10px;
    opacity: 0.8;
}

.app-store-name {
    font-size: 16px;
    font-weight: 600;
}

/* Downloads Section Styles */
.downloads-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.download-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.download-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-card .btn i {
    font-size: 1rem;
    margin: 0;
}

.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}