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

:root {
    /* Color System */
    --primary: #4F46E5; /* Indigo */
    --secondary: #84CC16; /* Wasabi */
    --accent: #F97316; /* Orange */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Neutrals */
    --charcoal: #374151;
    --charcoal-light: #6B7280;
    --charcoal-dark: #1F2937;
    --off-white: #FAFAF9;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --line-height-body: 1.5;
    --line-height-heading: 1.2;
    
    /* Spacing */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-body);
    color: var(--charcoal);
    background-color: var(--off-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

/* Header */
.header {
    background: var(--white);
    padding: var(--space-3) 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: inherit;
}

.logo-brand a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: inherit;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--off-white) 0%, #F0F4FF 100%);
    padding: var(--space-10) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--charcoal-dark);
    margin-bottom: var(--space-3);
}

.hero p {
    font-size: 1.25rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-5);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-2);
    justify-content: flex-start;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #3730A3;
    border-color: #3730A3;
}

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

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

/* Image Placeholders */
.image-placeholder {
    background: var(--gray-200);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light);
    font-weight: 500;
    min-height: 200px;
    width: 100%;
}

/* Section Styles */
section {
    padding: var(--space-10) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--charcoal-dark);
    margin-bottom: var(--space-2);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--charcoal-light);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
    justify-items: center;
}

.feature-card {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    width: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--charcoal-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    justify-items: center;
}

.service-item {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.service-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--charcoal-dark);
}

/* Products Section */
.products {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    justify-items: center;
}

.product-card {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    max-width: 320px;
    width: 100%;
}

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

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--charcoal-dark);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal-light);
}

.product-card ul {
    list-style: none;
    margin-bottom: var(--space-4);
}

.product-card li {
    padding: var(--space-1) 0;
    color: var(--charcoal);
}

.product-card li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: var(--space-1);
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-5);
    justify-items: center;
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 450px;
    width: 100%;
}

.article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: var(--space-4);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.article-content h3 a {
    text-decoration: none;
    color: var(--charcoal-dark);
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-date {
    font-size: 0.875rem;
    color: var(--charcoal-light);
}

/* Benefits Section */
.benefits {
    background: var(--white);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.benefits-text {
    text-align: center;
}

.benefits h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--charcoal-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--charcoal-light);
    margin-top: var(--space-1);
}

.benefits-img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Local Services */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
    justify-items: center;
}

.service-type {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    width: 100%;
}

.service-type h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--charcoal-dark);
}

/* Contact Section */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--charcoal-dark);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-form input,
.contact-form textarea {
    padding: var(--space-2);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer */
.footer {
    background: var(--charcoal-dark);
    color: var(--white);
    padding: var(--space-8) 0 var(--space-4) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-brand .brand-name {
    color: var(--white);
}

.footer-brand p {
    margin-top: var(--space-2);
    color: var(--gray-300);
}

.footer-links {
    display: flex;
    gap: var(--space-4);
    flex: 2;
    justify-content: flex-end;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-1);
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--charcoal);
    padding-top: var(--space-4);
    text-align: center;
    color: var(--gray-300);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --space-10: 60px;
        --space-12: 80px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-2);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 200px;
    }
}