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

:root {
    --primary-indigo: #1a1f3a;
    --electric-teal: #00d4aa;
    --soft-graphite: #6b7280;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #334155;
    --white: #ffffff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-indigo), #2d3561);
    color: var(--white);
    padding: 60px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    background: var(--electric-teal);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #00b89a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-dashboard-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.sdk-code-image,
.dashboard-screenshot {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Features Overview */
.features-overview {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
}

.features-overview h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

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

/* SDK Section */
.sdk-section {
    padding: 80px 0;
    text-align: center;
}

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

.sdk-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
}

.sdk-text p {
    font-size: 1.1rem;
    color: var(--soft-graphite);
    margin-bottom: 2rem;
}

.sdk-text ul {
    list-style: none;
}

.sdk-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.sdk-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--electric-teal);
    font-weight: 700;
}

/* Dashboard Section */
.dashboard-section {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
}

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

.dashboard-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
}

.dashboard-text p {
    font-size: 1.1rem;
    color: var(--soft-graphite);
    margin-bottom: 2rem;
}

.dashboard-text ul {
    list-style: none;
}

.dashboard-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.dashboard-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--electric-teal);
    font-weight: 700;
}

/* Testing Section */
.testing-section {
    padding: 80px 0;
    text-align: center;
}

.testing-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--soft-graphite);
    margin-bottom: 3rem;
}

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

.testing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--medium-gray);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.testing-card:hover {
    border-color: var(--electric-teal);
    transform: translateY(-3px);
}

.testing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

.testing-card p {
    color: var(--soft-graphite);
    line-height: 1.6;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
}

.products-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

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

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-card.featured {
    border-color: var(--electric-teal);
    transform: scale(1.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--electric-teal);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--soft-graphite);
}

.product-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.product-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.product-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--electric-teal);
    font-weight: 700;
}

.product-button {
    background: var(--electric-teal);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background: #00b89a;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    text-align: center;
}

.benefits-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 3rem;
}

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

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

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--soft-graphite);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--soft-graphite);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--medium-gray);
    border-radius: 50%;
}

.testimonial-author strong {
    color: var(--primary-indigo);
    display: block;
}

.testimonial-author span {
    color: var(--soft-graphite);
    font-size: 0.9rem;
}

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

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 0.25rem;
}

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

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--electric-teal);
}

.contact-form button {
    background: var(--electric-teal);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background: #00b89a;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--electric-teal);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* 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: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: var(--soft-graphite);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

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

.modal h2 {
    color: var(--primary-indigo);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--primary-indigo);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    background: var(--electric-teal);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #00b89a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-dashboard-image {
        height: 200px;
    }
    
    .sdk-code-image,
    .dashboard-screenshot {
        height: 200px;
    }
    
    .sdk-content,
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
}