/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #4a5568;
}

/* Hero section */
.hero {
    background: #f7fafc;
    color: #2d3748;
    padding: 80px 0 60px;
    text-align: center;
}

.logo-container {
    margin-bottom: 3rem;
}

.logo {
    height: 60px;
    width: auto;
    filter: brightness(0.8);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.highlight {
    color: #38a169;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    color: #4a5568;
}

.heart-icon {
    color: #e53e3e;
    vertical-align: middle;
    margin: 0 0.25rem;
    transition: transform 0.2s ease;
}

.heart-icon:hover {
    transform: scale(1.2);
}

footer .heart-icon {
    color: #feb2b2;
}

/* Sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #f7fafc;
}

/* Acquisitions section */
.acquisitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.acquisition-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.acquisition-card-link:hover {
    transform: translateY(-2px);
}

.acquisition-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease;
}

.acquisition-card-link:hover .acquisition-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.acquisition-year {
    color: #38a169;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

/* Current products section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.product-card-link:hover {
    transform: translateY(-2px);
}

.product-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease;
}

.product-card-link:hover .product-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-url {
    color: #38a169;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: #38a169;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-screenshot {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-height: 300px;
}

.product-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About section */
.about {
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.info-item strong {
    color: #38a169;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 1rem;
}

footer p {
    margin: 0;
    color: #e2e8f0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    section {
        padding: 40px 0;
    }

    .acquisitions-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .company-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 20px;
    }

    .logo {
        height: 50px;
    }
}

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

    .product-features {
        justify-content: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero {
        background: #667eea !important;
        color: white !important;
    }

    .product-card,
    .acquisition-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
