/* ========================================
   GENERAL STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', sans-serif;
    background-color: #F8FAFC;
    color: #1A1A1A;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button {
    cursor: pointer;
    border: none;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 300ms ease, backdrop-filter 300ms ease;
}

.header.scrolled {
    background-color: rgba(10, 31, 68, 0.65);
    backdrop-filter: blur(8px);
}

.navbar {
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo-icon {
    width: 3rem;
    height: 3rem;
}

.navbar-logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-menu {
    display: none;
    gap: 2.5rem;
}

.navbar-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 300ms;
}

.navbar-link:hover {
    color: white;
}

.navbar-contact {
    display: none;
}

.navbar-toggle {
    display: flex;
    background: none;
    color: white;
    cursor: pointer;
}

.navbar-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    background-color: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 1rem;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-link {
    color: white;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem 0;
    transition: color 300ms;
}

.mobile-menu-link:hover {
    color: #00B4D8;
}

.btn-outline {
    border: 1px solid rgba(248, 250, 252, 0.7);
    color: #F8FAFC;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 300ms;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #F8FAFC;
    color: #1A1A1A;
}

.btn-outline-mobile {
    width: 100%;
    text-align: center;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    background-color: #0A1F44;
    color: white;
    padding-top: 9rem;
    padding-bottom: 8rem;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 1.3;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20fill%3D%22%2300B4D8%22%20fill-opacity%3D%220.1%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M0%2040L40%200H20L0%2020zM40%2040V20L20%2040z%22/%3E%3C/g%3E%3C/svg%3E");
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0A1F44, rgba(10, 31, 68, 0.8), transparent);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: #00B4D8;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.3);
    transition: all 300ms;
    margin-top: 2rem;
}

.btn-primary:hover {
    background-color: #F8FAFC;
    color: #1A1A1A;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    background-color: #F8FAFC;
    padding-top: 5rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    transform: translateY(-12rem);
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.features-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0px 0px 25px 17px rgba(0, 0, 0, 0.1);
}

.features-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.features-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    color: #00B4D8;
    width: 2rem;
    height: 2rem;
}

.feature-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #1E293B;
    font-size: 0.875rem;
    line-height: 1.625;
}

.dashboard-preview {
    background-color: #0e2a57;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: white;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-weight: 700;
    color: #CBD5E1;
}

.dashboard-content {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.dashboard-circle {
    width: 100%;
    height: 100%;
}

.dashboard-progress {
    stroke-dasharray: 301.59;
    stroke-dashoffset: 54.28;
}

.dashboard-stats {
    flex: 1;
}

.dashboard-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
}

.dashboard-unit {
    font-size: 1.5rem;
    color: #94A3B8;
    font-weight: 500;
}

.dashboard-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.dashboard-bar {
    width: 100%;
    background-color: #4B5563;
    border-radius: 9999px;
    height: 0.5rem;
}

.dashboard-list {
    font-size: 0.875rem;
}

.dashboard-list-title {
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 0.5rem;
}

.device-list {
    list-style: none;
}

.device-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.device-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.device-icon {
    color: #94A3B8;
    width: 1rem;
    height: 1rem;
}

.device-name {
    font-weight: 500;
    color: #CBD5E1;
}

.device-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.status-active {
    color: #4ADE80;
}

.device-arrow {
    color: #475569;
    width: 1rem;
    height: 1rem;
}

/* ========================================
   LIVE DASHBOARD SECTION
   ======================================== */

.live-dashboard {
    background-color: #4B5563;
    padding: 5rem 1.5rem;
}

.live-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.live-dashboard-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.stats-container {
    margin-top: 3rem;
    background-color: rgba(30, 41, 59, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(51, 65, 85, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

.stats-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.stat-card {
    background-color: rgba(75, 85, 99, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
}

.stat-title {
    color: #CBD5E1;
    font-size: 0.875rem;
}

.stat-value {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.stat-unit {
    font-size: 1.125rem;
    color: #CBD5E1;
}

.stat-change {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
}

.stat-change.increase {
    color: #4ADE80;
}

.stat-change.decrease {
    color: #F87171;
}

.stats-chart {
    background-color: rgba(75, 85, 99, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
}

.chart-title {
    color: white;
    font-weight: 600;
}

.chart-label {
    font-size: 0.75rem;
    color: #94A3B8;
}

.chart-svg {
    width: 100%;
    height: auto;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products {
    display: flex;
    flex-direction: column;
}

.product-section {
    width: 100%;
}

.product-light {
    background-color: white;
}

.product-dark {
    background-color: #F8FAFC;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.product-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.product-layout-reverse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.product-icon {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.product-icon img {
    width: 15rem;
    color: #1A1A1A;
}

.product-content {
    text-align: center;
}

.product-subtitle {
    color: #00B4D8;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.product-description {
    color: #1E293B;
    line-height: 1.625;
}

.product-link {
    color: #00B4D8;
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
}

.link-underline {
    display: block;
    width: 0;
    height: 0.5rem;
    background-color: #00B4D8;
    margin-top: 0.25rem;
    transition: width 300ms ease;
}

.product-link:hover .link-underline {
    width: 100%;
}

/* ========================================
   USE CASES SECTION
   ======================================== */

.use-cases {
    background-color: #E2E8F0;
    padding: 5rem 1.5rem;
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.use-cases-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1A1A1A;
}

.use-cases-subtitle {
    margin-top: 1rem;
    color: #1E293B;
}

.usecase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.usecase-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.usecase-icon {
    color: #00B4D8;
    margin-bottom: 1rem;
}

.usecase-name {
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.usecase-description {
    font-size: 0.875rem;
    color: #1E293B;
}

/* ========================================
   ANALYTICS SECTION
   ======================================== */

.analytics {
    background-color: #F8FAFC;
    padding: 5rem 1.5rem;
}

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.analytics-content {
    text-align: center;
}

.analytics-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1A1A1A;
}

.analytics-description {
    margin-top: 1.5rem;
    color: #1E293B;
    line-height: 1.625;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.analytics-chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.analytics-chart {
    position: relative;
    width: 100%;
    max-width: 28rem;
    aspect-ratio: 1 / 1;
}

.chart-inner {
    position: absolute;
    inset: 2rem;
    background-color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-graph {
    width: 100%;
    height: 100%;
    color: #E2E8F0;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners {
    background-color: #E2E8F0;
    padding: 5rem 1.5rem;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.partners-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1A1A1A;
}

.partners-subtitle {
    margin-top: 1rem;
    color: #1E293B;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 300ms;
    color: #1E293B;
    font-weight: 600;
    text-align: center;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partner-testimonial {
    margin-top: 5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-box {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 3rem;
    height: 3rem;
    background-color: #00B4D8;
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    font-weight: 700;
}

.testimonial-text {
    color: #1E293B;
    font-style: italic;
    line-height: 1.625;
}

.testimonial-author {
    margin-top: 1rem;
    display: block;
    font-weight: 700;
    color: #1A1A1A;
    font-style: normal;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    background-color: #0A1F44;
    padding: 5rem 1.5rem;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-box {
    background: linear-gradient(to right, #00B4D8, #0077B6);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
}

.cta-subtitle {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-cta-primary {
    width: 100%;
    background-color: #F8FAFC;
    color: #1A1A1A;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    display: inline-block;
    transition: all 300ms;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-cta-primary:hover {
    background-color: #00B4D8;
    color: white;
    transform: scale(1.05);
}

.btn-cta-secondary {
    width: 100%;
    border: 2px solid rgba(248, 250, 252, 0.7);
    color: #F8FAFC;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    display: inline-block;
    transition: all 300ms;
    text-align: center;
    background-color: transparent;
}

.btn-cta-secondary:hover {
    background-color: #F8FAFC;
    color: #1A1A1A;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #4B5563;
    color: #CBD5E1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 0;
}

.footer-brand {
    grid-column: span 1;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.25rem;
    height: 2.25rem;
}

.footer-logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand-text {
    max-width: 20rem;
    color: #94A3B8;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.footer-email {
    font-size: 0.875rem;
    color: #CBD5E1;
    display: inline-block;
    margin-top: 0.5rem;
    transition: color 300ms;
}

.footer-email:hover {
    color: white;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.footer-section-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #CBD5E1;
    font-size: 0.875rem;
    transition: color 300ms;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid #475569;
    padding-top: 2rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #94A3B8;
    gap: 1rem;
}

.footer-copyright {
    color: #94A3B8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #CBD5E1;
    display: inline-flex;
    transition: color 300ms;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */

@media (min-width: 640px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 12rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .usecase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: row;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: auto;
    }

    .stats-column {
        grid-template-columns: 1fr;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .stats-column {
        grid-column: span 1;
    }

    .stats-chart {
        grid-column: span 2;
    }
}

/* ========================================
   RESPONSIVE DESIGN - DESKTOP
   ======================================== */

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }

    .navbar-contact {
        display: flex;
    }

    .navbar-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: span 2;
        margin-bottom: 0;
    }

    .usecase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-layout {
        flex-direction: row;
        gap: 5rem;
    }

    .product-layout-reverse {
        flex-direction: row-reverse;
        gap: 5rem;
    }

    .product-icon {
        width: 50%;
    }

    .product-content {
        width: 50%;
        text-align: left;
    }

    .analytics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .analytics-content {
        text-align: left;
    }
}

/* ========================================
   RESPONSIVE DESIGN - LARGE DESKTOP
   ======================================== */

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: span 1;
    }

    .usecase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stats-column {
        grid-column: span 1;
    }

    .stats-chart {
        grid-column: span 2;
    }
}

/* ========================================
   FOCUS & ACCESSIBILITY
   ======================================== */

button:focus,
a:focus {
    outline: 2px solid #00B4D8;
    outline-offset: 2px;
}
