/* Basic reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #050608;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: #3aa8ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.narrow {
    max-width: 800px;
}

/* Header */

.site-header {
    background: #101214;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Circular Logo */

.logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
}

.logo-img {
    width: 100%;
    height: auto;
}

/* Nav */

.main-nav a {
    margin-left: 16px;
    font-size: 0.95rem;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
}

.main-nav a.active {
    border-bottom-color: #ffb833;
}

.main-nav a:hover {
    border-bottom-color: rgba(255, 184, 51, 0.6);
}

/* Hero */

.hero {
    background: radial-gradient(circle at top, #138f3a, #050608 55%);
    padding: 40px 0 48px;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.hero-text {
    flex: 1 1 280px;
}

.hero-media {
    flex: 1 1 260px;
    display: flex;
    justify-content: center;
}

.hero-screenshot {
    width: 320px;
    border-radius: 28px;
    box-shadow: 0 24px 40px rgba(0,0,0,0.6);
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}

h1 {
    font-size: 2.2rem;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.hero-small {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}

.btn-primary {
    background: #ffb833;
    color: #222;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    background: #ffd46e;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f5f5f5;
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 1);
}

/* Sections */

.section {
    padding: 32px 0;
}

.section-alt {
    background: #111317;
}

/* Cards / grids */

.grid-3 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
    background: #151820;
    border-radius: 16px;
    padding: 18px 18px 20px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.feature-card h2 {
    margin-bottom: 8px;
}

.link-more {
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
}

/* Two-column layout (App page) */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 32px;
}

/* Bullet list */

.bullet-list {
    padding-left: 18px;
}

.bullet-list li {
    margin-bottom: 6px;
}

/* Screens grid (App page screenshots) */

.screens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.screens-grid img {
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

/* Videos grid */

.video-list {
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.video-card {
    background: #151820;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-body {
    padding: 12px 14px 14px;
}

.video-title {
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.video-meta {
    font-size: 0.8rem;
    opacity: 0.8;
}

.centre {
    text-align: center;
}

/* Footer */

.site-footer {
    background: #050608;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Responsive */

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-inner {
        flex-direction: column;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

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

    .hero-screenshot {
        width: 260px;
    }

    .logo-circle {
        width: 52px;
        height: 52px;
    }
}
