/* ====================================
   1. Global Resets & Typography
   ==================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    color: #3c4043;
    background-color: #f8f9fa;
    line-height: 1.75; /* Increased line height for readability */
    font-weight: 400; /* Explicitly set base font weight */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1024px; /* Wider for more whitespace */
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: #1a73e8;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
}

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

/* ====================================
   2. Header & Navigation
   ==================================== */
.main-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(248, 249, 250, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid #e8eaed;
    z-index: 100;
}

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

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

.logo img {
    height: 32px;
    opacity: 0.95;
    transition: opacity 0.2s ease-in-out;
}

.logo:hover img {
    opacity: 1;
}

.logo-text {
    font-size: 21px; /* Slightly larger */
    font-weight: 700; /* Bolder */
    margin-left: 12px;
    letter-spacing: 0.5px; /* Wider spacing for a more premium feel */
    
    /* Gradient Fill */
    background: linear-gradient(to bottom, #3c4043, #202124);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* Subtle Highlight */
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    
    transition: all 0.2s ease-in-out;
}

.main-nav a {
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #5f6368;
}

.main-nav a:hover {
    color: #1a73e8;
    text-decoration: none;
}

/* ====================================
   3. Hero Section
   ==================================== */
.hero {
    text-align: center;
    padding: 120px 0 140px 0; /* Increased vertical padding */
}

.hero-logo {
    max-width: 480px; /* Set max-width for the wide logo */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto 50px auto; /* Center and increase bottom margin */
}

.hero-title {
    font-size: 56px;
    font-weight: 700; /* Bolder for impact */
    margin-bottom: 24px;
    color: #202124;
    letter-spacing: -0.75px;
}

.hero-subtitle {
    font-size: 22px;
    color: #5f6368;
    max-width: 680px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 32px; /* Larger padding */
    font-size: 17px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #1a73e8;
    color: #fff;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: #185abc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
    text-decoration: none;
}

/* ====================================
   4. Page Sections & Titles
   ==================================== */
.section-title {
    font-size: 40px;
    font-weight: 600; /* Bolder */
    color: #202124;
    text-align: center;
    margin-bottom: 70px;
}

/* ====================================
   5. Product Showcase Section
   ==================================== */
.product-showcase {
    padding: 100px 0;
    background-color: #fff;
    border-top: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px; /* More rounded corners */
    padding: 40px; /* More internal padding */
    text-align: center;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 1px 4px rgba(60, 64, 67, 0.1); /* Subtle default shadow */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(60, 64, 67, 0.15); /* More prominent hover shadow */
    border-color: rgba(255, 255, 255, 0);
}

.product-card:hover .product-icon {
    background: linear-gradient(to bottom, #e8f0fe, #dbe8ff);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.product-card:hover .product-icon-img {
    transform: scale(1.1);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px auto; /* Increased bottom margin */
    background-color: #e8f0fe; /* Restored light blue background */
    border-radius: 50%; /* Perfectly circular */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px; /* Add padding to contain the icon */
    box-sizing: border-box; /* Ensure padding is included in the size */
        transition: box-shadow 0.25s ease-in-out; /* Only transition properties that animate smoothly */
}

.product-icon-img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.25s ease-in-out;
}

.product-title {
    font-size: 24px;
    font-weight: 600; /* Bolder */
    margin-bottom: 16px;
    color: #202124;
}

.product-description {
    color: #5f6368;
    margin-bottom: 28px;
    line-height: 1.75;
}

.product-link {
    font-weight: 500;
    font-size: 16px;
}

/* ====================================
   6. Philosophy Section
   ==================================== */
.philosophy {
    padding: 120px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    text-align: center;
}

.feature-title {
    font-size: 24px;
    font-weight: 600; /* Bolder */
    margin-bottom: 16px;
}

.feature-item p {
    color: #5f6368;
    line-height: 1.75;
}

/* ====================================
   7. Footer
   ==================================== */
.main-footer {
    padding: 40px 0;
    border-top: 1px solid #e8eaed;
    color: #5f6368;
    font-size: 14px;
    background-color: #fff;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.footer-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left span {
    margin-right: 20px;
}

.footer-left a {
    color: #5f6368;
    text-decoration: none;
}

.footer-left a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.footer-right .footer-nav a {
    margin-left: 25px;
    font-weight: 500;
    color: #5f6368;
}

.footer-right .footer-nav a:hover {
    color: #1a73e8;
    text-decoration: none;
}

/* ====================================
   8. Responsive Adjustments
   ==================================== */
@media (max-width: 768px) {
    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-left {
        flex-direction: column;
        margin-bottom: 15px;
    }
    .footer-left span {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .footer-right .footer-nav a {
        margin: 0 10px;
    }
}

/* ====================================
   9. Content Page Specific Styles
   ==================================== */
.content-page {
    padding: 80px 0;
    background-color: #fff;
}

.content-header {
    text-align: center;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.content-header h1 {
    font-size: 40px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
}

.content-header p {
    font-size: 14px;
    color: #5f6368;
    margin: 4px 0 0 0;
}

.content-body {
    max-width: 720px; /* Optimal width for reading */
    margin: 0 auto;
}

.content-body h2 {
    font-size: 28px;
    font-weight: 600;
    color: #202124;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 10px;
}

.content-body p, .content-body li {
    font-size: 16px;
    line-height: 1.8;
    color: #3c4043;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.content-body li {
    margin-bottom: 10px;
}

.content-body strong {
    font-weight: 600;
    color: #202124;
}
