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

:root {
    --bg-dark: #1D2127;
    --bg-alt: #2C323B;
    --text-light: #E9EDF2;
    --text-muted: #9AA7B8;
    --accent: #F08A24;
    --card-bg: #3B4656;
    --border: #3B4656;
    --link: #E2413B;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    backdrop-filter: blur(10px);
    background-color: rgba(29, 33, 39, 0.95);
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.nav-brand img {
    width: 200px;
    height: auto;
}

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

nav .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger button, shown on phones only */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a:not(.btn) {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:not(.btn):hover {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/full-panel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

.logo-text {
color: var(--text-light);
}.logo-text .red {
    color: #E2413B;
}
.logo-text .orange {
    color: #F08A24;
}
.logo-text .yellow {
    color: #F2C531;
}

/* Cards */

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background-color: var(--bg-dark);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-image {
    width: 100%;
    height: 75px;
    margin-bottom: 1rem;
    overflow: hidden;    
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-card .feature-image img {
    border-radius: 4px;
}

/* Download Section */
.download {
    padding: 6rem 2rem;
    background-color: var(--bg-alt);
}

.download-content {
    text-align: center;
}

.download-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-box {
    border: 2px solid var(--border);
}

.download-box:hover {
    border-color: var(--accent);
}

.download-box h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.download-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.download-box img {
    max-width: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.download-box .btn {
    width: 100%;
    margin-bottom: 1rem;
}

.macOS-info {
    margin-top: 2rem;
    text-align: left;
}

.macOS-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.macOS-info pre {
    background-color: var(--bg-dark);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

/* Creators Section */
.creators {
    padding: 6rem 2rem;
}

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

.creator-card {
    padding: 2rem 1rem;
    text-align: center;
}

.creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.creator-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.creator-avatar img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-role {
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 1rem;
}

.creator-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.about-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .nav-brand img {
        width: 160px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        background-color: rgba(29, 33, 39, 0.98);
        border-bottom: 1px solid var(--border);
    }

    nav.open .nav-links {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.9rem 1.5rem;
        text-align: right;
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
    .container {
        padding: 0;
    }

    .features,
    .download,
    .creators,
    .about {
        padding: 3rem 1rem;
    }

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

    .section-title {
        margin-bottom: 0;
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }
}
