/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo h2 {
    color: #2563eb !important;
    font-size: 1.8rem;
    font-weight: bold;
}

a:has(h2) {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-only {
    display: none;
}

.full-only {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #595959;
    display: flex;
    align-items: center;
}

.hero-header {
    text-align: center;
    position: absolute;
    top: 200px;
    width: 100%;
    left: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-header h1 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2563eb;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-header h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text {
    margin-top: 120px;
}

.hero-text p {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 120px);
    height: auto;
    object-fit: contain;
}

/* Section styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #f8fafc;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #1e293b;
}

/* Problem Section */
.problem-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.problem-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.problem-text p {
    margin-bottom: 20px;
}

.problem-text ul {
    list-style: none;
    padding-left: 0;
}

.problem-text li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.problem-text li::before {
    content: '•';
    color: #2563eb;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

.problem-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Scale Section */
.scale-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.scale-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.scale-text > p:first-child {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.scale-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.scale-point h3 {
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.sources {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #64748b;
}

.scale-image img {
    width: 100%;
    border-radius: 10px;
}

/* Solution Section */
.solution {
    background: #1e293b;
    color: white;
    text-align: center;
}

.solution h2 {
    color: white;
}

.solution-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-workflow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.solution img {
    width: 90%;
}

.workflow-step {
    text-align: center;
}

.step-icon {
    background: white;
    color: #1e293b;
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-icon h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2563eb;
}

.step-icon img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
}

.step-action {
    background: #10b981;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}

.provider-text {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 15px;
}

/* Device Features Section */
.features-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.features-list {
    columns: 2;
    column-gap: 40px;
}

.feature-item {
    margin-bottom: 30px;
    display: inline-block;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item h3 {
    color: #2563eb;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    line-height: 1.6;
    color: #64748b;
}

.device-image img {
    width: 100%;
    border-radius: 10px;
    position: sticky;
    top: 100px;
    
}

/* Web App Features Section */
.webapp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.webapp-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.webapp-item h3 {
    color: #2563eb;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.webapp-item p {
    line-height: 1.6;
    color: #64748b;
}

.webapp-image {
    position: sticky;
    top: 100px;
}

.webapp-image img {
    width: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
}

.reading-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.latest-reading, .reading-date {
    font-size: 0.95rem;
}

.consumption-chart img {
    width: 100%;
    margin-bottom: 20px;
}

.view-details-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background: #1d4ed8;
}

/* Monetization Section */
.monetization {
    background: #f8fafc;
}

.revenue-streams {
    margin-bottom: 60px;
}

.revenue-streams h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #1e293b;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-tier {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-5px);
}

.pricing-tier h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 20px;
}

.pricing-tier p {
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

.oem-features {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

.pricing-tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-tier li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #64748b;
    line-height: 1.5;
}

.pricing-tier li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.oem-features ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.oem-features li {
    position: relative;
    padding: 6px 0 6px 20px;
    color: #475569;
    line-height: 1.4;
}

.oem-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-size: 1.2rem;
}

.customer-scenarios {
    margin-top: 60px;
}

.customer-scenarios h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #1e293b;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.scenario {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scenario h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2563eb;
}

.scenario p {
    margin-bottom: 20px;
    color: #64748b;
}

.scenario ul {
    list-style: none;
    padding: 0;
}

.scenario li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #64748b;
}

.scenario li strong {
    color: #10b981;
}

/* Competitor Analysis */
.comparison-table {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.comparison-table .metemon {
    background: #eff6ff;
    color: #1e40af;
    font-weight: 600;
}

.comparison-table .also-good {
    color: #0024d9;
}

.mobile-comparison {
    display: none;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .full-only {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content,
    .problem-content,
    .scale-content,
    .features-content,
    .webapp-content,
    .funding-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-workflow {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-tiers,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        columns: 1;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 50px 0;
    }

    .comparison-table {
        font-size: 0.9rem;
    }
    
    img {
        max-width: 100vw;
        max-height: calc(100vh - 100px);
        aspect-ratio: initial;
        height: auto;
        width: auto;
        object-fit: contain;
    }

    .hero-header {
        position: static;
        margin-bottom: 30px;
    }

    .hero-header h1 {
        font-size: 3rem;
    }

    .hero-header h2 {
        font-size: 1.5rem;
    }

    .hero-text {
        margin-top: 0;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .hero-image {
        text-align: center;
        position: sticky;
        bottom: 0;
    }


    .hero-text {
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.95) 70%,
            rgba(255, 255, 255, 0.8) 85%,
            rgba(255, 255, 255, 0) 100%);
        position: relative;
        z-index: 2;
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 100px;
    }

    .comparison-table {
        display: none;
    }

    .mobile-comparison {
        display: block;
        margin-top: 2em;
    }

    /* Mobile comparison styles */
    .mobile-comparison .comparison-feature {
        margin-bottom: 30px;
        background: white;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .mobile-comparison .comparison-feature h3 {
        margin-bottom: 15px;
        font-size: 1.3rem;
        color: #1e293b;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 10px;
    }

    .mobile-comparison .feature-items {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-comparison .feature-item {
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 12px 15px;
        border-radius: 8px;
        background: #f8fafc;
    }

    .mobile-comparison .feature-item.metemon-item {
        background: #eff6ff;
        border-left: 4px solid #2563eb;
    }

    .mobile-comparison .feature-item.also-good-item {
        background: #f0f9ff;
        border-left: 4px solid #0024d9;
    }

    .mobile-comparison .feature-item .company {
        font-weight: 600;
        color: #374151;
        margin-right: 15px;
    }

    .mobile-comparison .feature-item .value {
        color: #6b7280;
        text-align: right;
        flex: 1;
        line-height: 1.4;
    }

    .mobile-comparison .metemon-item .company {
        color: #1e40af;
    }

    .mobile-comparison .metemon-item .value {
        color: #1e40af;
        font-weight: 600;
    }

    .mobile-comparison .also-good-item .value {
        color: #0024d9;
    }

}