/* Global */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header / Nav */
header nav {
    background: #050819;
    color: #fff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    color: #fff;
    margin-left: 16px;
    text-decoration: none;
    font-size: 14px;
}

header nav a:hover {
    text-decoration: underline;
}

/* Hero */
.hero {
    background: #0a0f2d;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background: #008cff;
    color: white;
    padding: 14px 28px;
    border: none;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
}

/* Sections */
section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
}

h1, h2 {
    color: #0a0f2d;
}

h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 8px 0;
    padding-left: 24px;
    background: url('https://cdn-icons-png.flaticon.com/512/845/845646.png') no-repeat left center;
    background-size: 16px;
}

/* Comparison tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 14px;
    text-align: center;
}

.comparison-table th {
    background-color: #f4f4f4;
}

.comparison-table td:first-child {
    text-align: left;
}

/* CTA */
.cta {
    background: #f7faff;
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    margin-bottom: 10px;
}

.cta p {
    margin-bottom: 20px;
}

.btn-secondary {
    background: #0a0f2d;
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
}

/* Footer */
footer {
    background: #0a0f2d;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Slider */
.slider-container {
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.slider-item {
    min-width: 260px;
    max-width: 260px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.slider-item h3 {
    margin-top: 12px;
    font-size: 18px;
    color: #0a0f2d;
}

.slider-item p {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 40px);
    left: -20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.slider-btn {
    background: rgba(10,15,45,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    pointer-events: auto;
}

/* Device grid */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.device-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.device-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.device-card h3 {
    margin-top: 12px;
    font-size: 18px;
    color: #0a0f2d;
}

.device-card p {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

/* Section pagination / wizard nav */
.section-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.section-nav a {
    color: #008cff;
    text-decoration: none;
}

.section-nav a:hover {
    text-decoration: underline;
}

/* Testimonials / case studies */
.testimonial {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.testimonial h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

.testimonial p {
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .slider-item {
        min-width: 220px;
        max-width: 220px;
    }

    .section-nav {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
