/* 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: #374151;
    background-color: #fefefe;
}

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

.centered {
    text-align: center;
}

.centered .principles-content {
    text-align: left;
}

.centered .analytics-content {
    text-align: left;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, #faf5f0 0%, #f4f1eb 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: -0.025em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #faf5f0 0%, #f4f1eb 100%);
    padding: 5rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.principles-image-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.analytics-image-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    color: #1f2937;
}

.hero-content p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.cta-button {
    background: #4f46e5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background: #4338ca;
}

.image-placeholder {
    background: #e5e7eb;
    border: 2px dashed #9ca3af;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: #6b7280;
    font-weight: 500;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #faf5f0 0%, #f4f1eb 100%);
}

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

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
}

.step p {
    color: #6b7280;
    font-size: 1rem;
}

/* Principles Section */
.principles {
    padding: 5rem 0;
    background: white;
}

.principles-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.principles-text h2 {
    text-align: left;
}

.principle-list {
    margin-top: 2rem;
}

.principle-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 1rem;
}

.principle-item:last-child {
    border-bottom: none;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: linear-gradient(135deg, #faf5f0 0%, #f4f1eb 100%);
}

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

.product-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    position: relative;
}

.product-card.featured {
    border: 2px solid #4f46e5;
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: #6b7280;
}

.features-list li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-button {
    background: #4f46e5;
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.product-button:hover {
    background: #4338ca;
}

/* Analytics Section */
.analytics {
    padding: 5rem 0;
    background: white;
}

.analytics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.analytics-text h2 {
    text-align: left;
}

.analytics-features {
    margin-top: 2rem;
}

.analytics-feature {
    margin-bottom: 2rem;
}

.analytics-feature h4 {
    color: #4f46e5;
}

.analytics-feature p {
    color: #6b7280;
    font-size: 1rem;
}

/* Community Section */
.community {
    padding: 5rem 0;
    background: linear-gradient(135deg, #faf5f0 0%, #f4f1eb 100%);
    text-align: center;
}

.community-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #6b7280;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Contacts Section */
.contacts {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #fafafa;
    border-radius: 12px;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin: 0;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 2;
    max-width: 400px;
}

.footer-brand .logo-section .brand-name {
    color: white;
}

.footer-brand p {
    color: #d1d5db;
    margin-top: 1rem;
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

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

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Modal Styles */
.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: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: black;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-button {
    background: #4f46e5;
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background: #4338ca;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .principles-content,
    .analytics-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .image-placeholder {
        height: 200px;
        padding: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}