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

/* Language Selector */
.language-selector-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-selector-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.lang-select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-select:hover {
    border-color: var(--primary-color);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 174, 214, 0.1);
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.platform-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 174, 214, 0.3);
}

.platform-link svg {
    width: 16px;
    height: 16px;
}

:root {
    --primary-color: #02AED6;
    --primary-dark: #0288a3;
    --gray-light: #A6A6A6;
    --gray-medium: #A8A8A8;
    --gray-dark: #666666;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gradient-start: #02AED6;
    --bg-gradient-end: #0288a3;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(2, 174, 214, 0.85), rgba(2, 136, 163, 0.95)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero-logo {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    clip-path: polygon(0% 0%, 100% 0%, 35% 100%, 0% 100%);
    transform: rotate(-45deg);
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 0% 100%);
    transform: rotate(45deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--bg-light);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(2, 174, 214, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(2, 174, 214, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* What meterKiT meters Section */
.meters-section {
    padding: 100px 20px;
    background: var(--white);
}

.meters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.meter-item {
    text-align: center;
    transition: all 0.3s ease;
}

.meter-item:hover {
    transform: translateY(-5px);
}

.meter-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(2, 174, 214, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.meter-item:hover .meter-icon {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.meter-icon svg {
    width: 40px;
    height: 40px;
}

.meter-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.meter-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Meter Specific Colors */
.meter-item.water .meter-icon { color: #2196F3; border-color: rgba(33, 150, 243, 0.2); }
.meter-item.water:hover .meter-icon { background: #2196F3; border-color: #2196F3; }

.meter-item.heating .meter-icon { color: #F44336; border-color: rgba(244, 67, 54, 0.2); }
.meter-item.heating:hover .meter-icon { background: #F44336; border-color: #F44336; }

.meter-item.electricity .meter-icon { color: #FFC107; border-color: rgba(255, 193, 7, 0.2); }
.meter-item.electricity:hover .meter-icon { background: #FFC107; border-color: #FFC107; }

.meter-item.gas .meter-icon { color: #4CAF50; border-color: rgba(76, 175, 80, 0.2); }
.meter-item.gas:hover .meter-icon { background: #4CAF50; border-color: #4CAF50; }

/* Partners Section */
.partners-section {
    padding: 60px 20px;
    background: var(--white);
    border-top: 1px solid var(--bg-light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.partners-grid:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-dark);
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

/* Use Cases Section */
.use-cases-section {
    padding: 100px 20px;
    background: var(--bg-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2, 174, 214, 0.15);
}

.use-case-image {
    height: 200px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.use-case-content {
    padding: 2.5rem;
}

.use-case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(2, 174, 214, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.use-case-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.use-case-result {
    padding: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.use-case-result p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Main Features Section */
.main-features {
    padding: 100px 20px;
    background: var(--white);
}

.main-features-content {
    max-width: 850px;
    margin: 0 auto;
}

.main-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem 3rem;
    background: #F8F9FA; /* Premium subtle gray */
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.main-feature-item:hover {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-bullet {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 10px; /* Perfect alignment with h3 text */
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(2, 174, 214, 0.15); /* Soft glowing border around the dot */
}

.feature-text {
    flex-grow: 1;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A202C; /* Deep charcoal */
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-text p {
    font-size: 1rem;
    color: #718096; /* Elegant gray */
    line-height: 1.6;
    margin: 0;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(2, 174, 214, 0.05), rgba(2, 136, 163, 0.05));
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text .section-title {
    margin-bottom: 2rem;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 700;
}

.brand-name-gray {
    color: var(--gray-medium);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

.cta .btn-primary:hover {
    background: var(--bg-light);
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright,
.footer-version {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-selector-top {
        padding: 8px 0;
    }

    .lang-selector-wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .platform-link {
        justify-content: center;
    }

    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }

    .hero-logo {
        top: 60px;
    }

    .logo-img {
        max-height: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features,
    .main-features,
    .about,
    .cta {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .main-feature-item {
        flex-direction: column;
        gap: 1rem;
    }

    .about-description {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.main-feature-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

