* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
    font-size: inherit;
}

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

/* Header */
.header {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

/* Hero Section */
.hero {
    background: #ffffff;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: #666666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Tools Showcase */
.tools-showcase {
    padding: 6rem 0;
    background-color: #fafafa;
}

.tools-showcase h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

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

.tool-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.tool-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.tool-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-image img {
    transform: scale(1.05);
}

.clickable-image {
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #667eea;
    text-decoration: none;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
    font-size: 16px;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tool-header h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.tool-badge {
    background: #1a1a1a;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-description {
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    font-weight: 300;
}

.tool-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.tool-features li {
    color: #555555;
    margin-bottom: 0.6rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.9rem;
    font-weight: 300;
}

.tool-features li::before {
    content: "•";
    color: #1a1a1a;
    font-weight: normal;
    position: absolute;
    left: 0;
}

.tool-link {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-link:hover {
    background: #333333;
    transform: translateY(-1px);
}

/* Benefits Section */
.benefits {
    background: #ffffff;
    padding: 6rem 0;
    border-top: 1px solid #f0f0f0;
}

.benefits h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.benefit-item p {
    color: #666666;
    line-height: 1.6;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #999999;
    line-height: 1.6;
    font-weight: 300;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .tools-showcase,
    .benefits {
        padding: 2rem 0;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
}