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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
}

/* Color Variables */
:root {
    --navy: #1E293B;
    --amber: #F59E0B;
    --slate: #64748B;
    --mint: #10B981;
    --light-bg: #F8FAFC;
    --white: #ffffff;
    --border: #E2E8F0;
}

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

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 80px 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--slate);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

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

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

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

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

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

.section-subtitle {
    font-size: 18px;
    color: var(--slate);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

/* Platform Overview */
.platform-overview {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--slate);
    line-height: 1.6;
}

/* Research Section */
.research-benefits {
    list-style: none;
    margin: 30px auto 0;
    max-width: 600px;
    text-align: left;
}

.research-benefits li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--slate);
}

.research-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mint);
    font-weight: bold;
}

/* Centered Sections */
.centered-section {
    text-align: center;
}

.centered-section .container > * {
    text-align: center;
}

.centered-section .research-benefits {
    text-align: left;
}

/* Tools Section */
.tools-section {
    background-color: var(--light-bg);
}

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

.tool-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tool-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tool-card h3 {
    padding: 24px 24px 16px;
}

.tool-card p {
    padding: 0 24px 24px;
    color: var(--slate);
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

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

.product-card {
    background-color: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: left;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 16px;
}

.product-description {
    color: var(--slate);
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--slate);
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: bold;
}

.product-btn {
    width: 100%;
    justify-content: center;
}

/* Case Studies */
.case-studies {
    background-color: var(--light-bg);
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.case-study-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-card h3 {
    padding: 24px 24px 16px;
    color: var(--navy);
}

.case-study-card p {
    padding: 0 24px 24px;
    color: var(--slate);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h4 {
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--slate);
}

.contact-form {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 16px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--amber);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: space-between;
}

.footer-section:first-child {
    flex: 2;
    min-width: 300px;
}

.footer-links-section {
    flex: 1;
    min-width: 150px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-description {
    color: #94A3B8;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94A3B8;
}

/* Placeholder Images */
.placeholder-image {
    background-color: var(--light-bg);
    border: 2px dashed var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image.small {
    height: 120px;
    margin-bottom: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--slate);
}

.close:hover {
    color: var(--navy);
}

.order-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section:first-child,
    .footer-links-section {
        flex: none;
        min-width: auto;
    }
    
    .features-grid,
    .tools-grid,
    .products-grid,
    .case-study-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 30px;
    }
}