/* Reset and base styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #c41e3a;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-radius: 8px;
    --container-padding: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Header styles */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
}

.logo {
    height: 40px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    padding: 0.5rem;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero section */
.hero {
    background-color: var(--light-gray);
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    padding: 0 1rem;
}

.trust-badges span {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Products section */
.products {
    padding: 3rem 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    width: 100%;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card a:not(.cta-button) {
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.product-card a:not(.cta-button):hover {
    opacity: 0.9;
}

.product-card a:not(.cta-button):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background-color: var(--light-gray);
    padding: clamp(0.5rem, 2vw, 1rem);
    transition: transform 0.3s ease;
}

.product-card a:not(.cta-button):hover img {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 1rem;
    color: var(--primary-color);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.3;
}

.product-card p {
    padding: 0 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.cta-button {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.cta-button:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Benefits section */
.benefits {
    background-color: var(--light-gray);
    padding: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

.benefit-item {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.benefit-item i {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Testimonials section */
.testimonials {
    padding: 3rem 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.testimonial {
    max-width: min(600px, 90%);
    margin: 0 auto;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.stars {
    color: gold;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
}

.testimonial p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 2rem);
}

.footer-links {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    .nav ul {
        gap: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .products {
        padding: 2rem 0;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Touch device optimization */
@media (hover: none) {
    .product-card:hover {
        transform: none;
    }

    .cta-button {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #800000;
    }
} 