@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0071e3;
    --primary-hover: #0077ed;
    --accent: #00d4aa;
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-muted: #86868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fbfbfd;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary) !important;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(0, 113, 227, 0.4);
    outline-offset: 2px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Header & Navigation */
.site-header .navbar {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.site-header .navbar-brand {
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.site-header .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    padding: 8px 16px;
}

.site-header .navbar-nav .nav-link:hover {
    color: var(--text-primary);
}

.site-header .navbar-brand img {
    height: 28px;
    width: auto;
    margin-right: 0.5rem;
}

/* Sections */
main section {
    padding: 5rem 0;
    scroll-margin-top: 5rem;
}

.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.hero__header {
    margin-bottom: 1.5rem;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.hero__lead {
    max-width: 540px;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.hero__video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 2rem auto 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__video:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header {
    margin-bottom: 3rem;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.capabilities__summary {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
}

.capabilities__summary p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.capabilities__summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.capabilities__summary-list li {
    position: relative;
    padding-left: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.capabilities__summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.capability-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.capability-card__icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    background: var(--bg-secondary);
}

.capability-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.capability-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.capability-card--eco .capability-card__icon {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.25), rgba(61, 220, 132, 0.32));
}

.comparison-table {
    position: relative;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.comparison-table .table-responsive {
    position: relative;
    z-index: 1;
}

.comparison-table__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
}

.comparison-table__table caption {
    text-align: left;
}

.comparison-table__table thead th {
    padding: 0 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table__table tbody th,
.comparison-table__table tbody td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table__table tbody tr:last-child th,
.comparison-table__table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table__table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-card img {
    max-height: 180px;
}

.device-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.device-card__tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--bg-primary);
    color: var(--text-muted);
}

.device-card--highlight {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.06), rgba(0, 212, 170, 0.06));
    box-shadow: var(--shadow-sm);
}

.device-card--highlight .device-card__tagline {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--primary);
}

.device-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.spec-label {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spec-label img,
.spec-label svg {
    width: 40px;
    height: 40px;
}

.spec-label svg {
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 1.5;
}

.spec-label__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.spec-label__hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.spec-value {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.spec-value__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(107, 94, 138, 0.12);
    color: #4c1d95;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comparison-table__table tbody td:nth-child(2) {
    background: rgba(0, 113, 227, 0.04);
}

.comparison-table__table tbody td:nth-child(2) .spec-value {
    color: var(--primary);
    font-weight: 600;
}

.comparison-table__table tbody tr:nth-child(odd) td:not(:nth-child(2)),
.comparison-table__table tbody tr:nth-child(odd) th {
    background-color: var(--bg-tertiary);
}

.comparison-table__table tbody tr:hover td:not(:nth-child(2)),
.comparison-table__table tbody tr:hover th {
    background-color: var(--bg-secondary);
}

.color-variations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.color-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.color-card img {
    max-width: 160px;
    margin: 0 auto 1.5rem;
}

.color-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.color-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.rainbow-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.cta .btn {
    background-color: #ffffff;
    border: none;
    color: var(--primary);
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

/* Footer */
.site-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    gap: 0.5rem;
    color: var(--text-primary);
}

.site-footer__tagline {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.site-footer__nav {
    display: inline-flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.site-footer__nav a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: var(--primary);
}

.site-footer__legal {
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    main section {
        padding: 3rem 0;
    }

    .hero__header {
        margin-bottom: 1rem;
    }

    .capabilities__summary {
        padding: 2rem 1.5rem;
    }

    .capability-card {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero {
        padding-top: 3.5rem;
    }

    .hero__video {
        border-radius: 24px;
    }

    .cta {
        padding: 3rem 1.5rem;
    }

    .comparison-table {
        padding: 1.5rem;
    }

    .device-card img {
        max-height: 140px;
    }

    .comparison-table__table tbody th,
    .comparison-table__table tbody td {
        padding: 1.25rem 0.75rem;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }
}

@media (min-width: 992px) {
    .hero__video {
        margin-top: 0;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
