/* xPath Selector Chrome Extension Landing Page Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #9f7963;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #ffffff;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

* {
    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(--light-bg);
}

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

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

a:hover {
    color: var(--secondary-color);
}

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

header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

/* Hero Section */
.hero {
    background-color: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/home_background_2.png');
    background-size: cover;
    background-position: top;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--white);
}

.features h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 300px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-bg);
}

.feature-icon .material-icons {
    font-size: 40px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--light-bg);
}

.contact h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: #666;
}

.contact-link {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    margin: 0 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .features h2 {
        font-size: 1.8rem;
    }
    
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}
