* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page-bg: #ffffff;
    --text: #0b0b0b; /* primary page text */
    --surface: #f6f6f5; /* card / surface color (match logo background) */
    --surface-text: #0b0b0b;
    --accent-1: #0b0b0b; /* neutral accent (black) */
    --accent-2: #444444; /* neutral accent (dark gray) */
    --surface-border: rgba(0,0,0,0.16);
    --muted: #6b6b6b;
    --shadow: rgba(2,6,23,0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--page-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}


/* Navigation */
.navbar {
    background-color: var(--surface);
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo img { height: 36px; width: auto; display: block; }


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu { align-items: center; }

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease;
    display: inline-block; /* ensure consistent box sizing */
    padding: 0.45rem 0; /* standardize vertical spacing for alignment */
}

.nav-menu a:hover {
    color: var(--accent-1);
}

/* Dropdown menu for Platforms */
.nav-dropdown {
    position: relative;
    /* ensure the list item itself can be hovered without losing focus when moving to the menu */
    display: inline-block;
}

.nav-dropdown > a::after {
    content: "▾";
    display: inline-block;
    margin-left: 0.45rem;
    font-size: 0.7rem;
    color: var(--muted);
}

.nav-dropdown > a {
    /* make the parent link a stable hover/focus target and inherit standard padding */
    display: inline-block;
    padding: 0.45rem 0.45rem;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    /* remove the hover gap so pointer can move from parent to menu without leaving hover state */
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    min-width: 160px;
    box-shadow: 0 12px 40px rgba(2,6,23,0.12);
    padding: 0.25rem 0;
    z-index: 1100;
}

.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    font-weight: 600;
}
.nav-dropdown-menu a:hover { background: rgba(0,0,0,0.03); }

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

/* Show menu when JS toggles `open` class (for click interaction) */
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
    animation: fadeInDown 180ms ease both;
}

@keyframes fadeInDown {
    from { transform: translateY(-6px); opacity: 0 }
    to { transform: translateY(0); opacity: 1 }
}

.nav-dropdown > a[aria-expanded="true"]::after {
    transform: rotate(180deg);
    display: inline-block;
    transition: transform 160ms ease;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: 3rem;
    color: var(--accent-1);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.25rem;
    color: #111;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-copy .description {
    font-size: 1rem;
    color: var(--muted);
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 24px rgba(2,6,23,0.12);
}

.btn-outline {
    background: var(--surface);
    border: 2px solid var(--surface-border);
    color: var(--text);
}

.glassy-card {
    background: var(--surface);
    border: 1.5px solid var(--surface-border);
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero-panel {
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* panel-badge removed — kept styles in case badge is reintroduced later */
.panel-badge { display: none; }

.device-mockup {
    width: 260px;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    border-radius: 6px;
    background: var(--surface);
    display: block;
    color: var(--muted);
    border: 1.5px solid var(--surface-border);
    overflow: hidden;
}

/* Stable screenshot slots: images that are added later will fill these without reflow */
.panel-mockup img,
.mockup img,
.device-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Device image variant: show full device inside the mockup without cropping */
.device-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
    background: transparent;
}

.mockup {
    width: 160px;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    border-radius: 9px;
    background: var(--surface);
    display: block;
    color: var(--muted);
    border: 1.5px solid var(--surface-border);
    overflow: hidden;
}

.mockup.phone { width: 160px; }
.mockup.watch { width: 92px; aspect-ratio: 1 / 1; }



/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--surface);
    padding: 1.4rem;
    border-radius: 6px;
    color: var(--surface-text);
    border: 1.5px solid var(--surface-border);
    transition: transform 0.22s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--accent-1);
}

.feature-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #444;
}

/* Platforms */
.platforms {
    text-align: center;
    margin-top: 3rem;
}

.platforms h2 {
    font-size: 2rem;
    color: var(--accent-1);
    margin-bottom: 2rem;
}

.platform-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.4rem;
    background: var(--surface);
    color: var(--surface-text);
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    min-width: 140px;
    border: 1px solid rgba(0,0,0,0.06);
}

.platform-btn:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

.platform-btn .icon { color: var(--accent-1); }

.platform-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.platform-btn .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.platform-btn span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Metrics */
.metrics {
    margin: 2rem 0 0 0;
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    justify-content: center;
}

.stat {
    flex: 1 1 0;
    padding: 1rem 1.2rem;
    text-align: center;
    background: var(--surface);
    border: 1.5px solid var(--surface-border);
    border-radius: 6px;
    box-shadow: 0 6px 20px var(--shadow);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--surface-text);
}

.stat-label {
    color: var(--muted);
    margin-top: 0.35rem;
}

/* Device showcase */
.device-showcase {
    padding: 3rem 0 0 0;
}

.device-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center;
}

.device-mockups {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
}

.mockup {
    width: 160px;
    height: auto;
    min-height: 240px;
    border-radius: 9px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
    border: 1.5px solid var(--surface-border);
    overflow: hidden;
}

.mockup img { max-width: 100%; max-height: 320px; height: auto; display: block; }

.section-title {
    color: var(--accent-1);
    margin-bottom: 1rem;
}

.final-cta {
    padding: 3rem 0 6rem 0;
}

.final-cta .content {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

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

@keyframes pulseY {
    0% { transform: translateY(0); opacity: 0.9 }
    50% { transform: translateY(6px); opacity: 1 }
    100% { transform: translateY(0); opacity: 0.9 }
}

.hero-section, .metrics-container, .features, .device-mockups, .final-cta .content {
    animation: fadeInUp 600ms ease both;
}

.scroll-cue { margin-top: 1rem; }
.scroll-cue .chevron { display: inline-block; font-size: 2rem; color: var(--accent-1); animation: pulseY 1.6s ease-in-out infinite; text-decoration: none; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-section, .metrics-container, .features, .device-mockups, .final-cta .content, .scroll-cue .chevron {
        animation: none !important;
        transition: none !important;
    }
}

/* Hover states */
.btn:hover { transform: translateY(-3px); }
.glassy-card:hover { transform: translateY(-6px); }

/* Cross-browser friendly tweaks */
button, .btn { -webkit-tap-highlight-color: transparent; }
.hero-section, .features, .device-mockups { will-change: transform, opacity; }


/* Content Pages */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
+
+.screenshot-slot {
+    display: flex;
+    justify-content: center;
+    margin: 1.5rem 0 2rem 0;
+}

/* Reusable page hero for subpages */
.page-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-media {
    width: 100%;
    height: 320px;
    border-radius: 6px;
    background: var(--surface);
    border: 1.5px solid var(--surface-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media .device-photo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show entire device */
    display: block;
    background: transparent;
}

@media (max-width: 768px) {
    .page-hero { grid-template-columns: 1fr; }
    .hero-media { height: 220px; }
}
    border: 1px solid rgba(0,0,0,0.06);
}

.content-box h1 {
    color: var(--surface-text);
    margin-bottom: 0.9rem;
}

.content-box h2 {
    color: var(--surface-text);
    margin-top: 1rem;
    margin-bottom: 0.6rem;
}

.content-box p {
    margin-bottom: 0.9rem;
    line-height: 1.7;
    color: #242424;
}

.content-box ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.5rem;
    color: var(--muted);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

..form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--text);
    color: var(--page-bg);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2,6,23,0.18);
}
/* Footer */
footer {
    padding: 2rem;
    color: var(--text);
    font-size: 0.95rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-content a { color: var(--text); text-decoration: none; font-weight:700; }
.footer-content a:hover { color: var(--accent-1); }


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section { grid-template-columns: 1fr 320px; gap: 1.5rem; }
    .device-content { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.05rem;
    }

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

    .platform-links {
        flex-direction: column;
        align-items: center;
    }

    .hero-section, .device-content {
        grid-template-columns: 1fr !important;
        padding: 1rem;
        gap: 1rem;
    }

    .device-mockups { flex-direction: row; justify-content: center; }

    .mockup { width: 120px; min-height: 180px; }

    .metrics-container { flex-direction: column; gap: 1rem; align-items: stretch; }
}

