/* style.css */
:root {
    --primary-text-color: #1d1d1f; /* Apple's primary text black/dark grey */
    --secondary-text-color: #6e6e73; /* Apple's secondary grey */
    --link-color: #007aff; /* Apple's standard blue */
    --background-color: #ffffff; /* White background */
    --secondary-background-color: #f5f5f7; /* Light grey for subtle contrast */
    --border-color: #d2d2d7;
    --button-hover-bg: #0071e3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--primary-text-color);
    line-height: 1.6;
    font-size: 17px; /* Common base font size for Apple */
    -webkit-font-smoothing: antialiased; /* Smoother fonts on WebKit */
    -moz-osx-font-smoothing: grayscale; /* Smoother fonts on Firefox */
}

/* --- Navigation --- */
.global-nav {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    position: sticky; /* Make nav stick to top */
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 980px; /* Typical Apple content width */
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Center nav items */
    align-items: center;
    height: 48px; /* Apple's nav height */
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px; /* Spacing between nav items */
}

.nav-item a {
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 14px; /* Slightly smaller nav font */
    transition: color 0.2s ease;
}

.nav-item a:hover {
    color: var(--link-color);
}

.nav-item a.active {
    font-weight: 600; /* Bold for active link */
    color: var(--primary-text-color); /* Ensure active link is clearly visible */
}

/* --- Main Content Area --- */
main {
    padding-top: 20px; /* Space below sticky nav */
}

.container {
    max-width: 980px;
    margin: 30px auto;
    padding: 0 22px; /* Standard Apple padding */
}

.page-title {
    font-size: 40px; /* Large title */
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-text-color);
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

p {
    font-size: 17px;
    margin-bottom: 1.2em;
    color: var(--secondary-text-color); /* Use secondary for body text */
}

strong {
    color: var(--primary-text-color); /* Make strong text primary color */
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Features List (index.html) --- */
.features-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 17px;
    color: var(--primary-text-color); /* Features use primary color */
}

.features-list li::before {
    content: '✓';
    color: var(--link-color); /* Use link color for checkmark */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 1px;
}

/* --- Image Gallery (index.html) --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Subtle rounded corners */
    display: block;
}

/* --- Buttons --- */
.button {
    display: inline-block;
    background-color: var(--link-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 20px; /* Pill shape */
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.button:hover {
    background-color: var(--button-hover-bg);
    color: #fff;
    text-decoration: none;
}

/* --- Download/Contact Links --- */
.link-section p {
    margin-bottom: 20px;
}

/* --- Video Section --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    border-radius: 8px;
}

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

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    font-size: 12px;
    color: var(--secondary-text-color);
    border-top: 1px solid var(--border-color);
    background-color: var(--secondary-background-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    h2 {
        font-size: 24px;
    }
    body {
        font-size: 16px;
    }
    .nav-content {
        justify-content: space-around; /* Spread out on smaller screens if needed */
    }
    .nav-list {
        gap: 15px; /* Reduce gap */
    }
    .nav-item a {
        font-size: 12px; /* Smaller nav text */
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .container {
         padding: 0 15px;
    }
}