body {margin: 0px;}

* {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.nav-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-bar nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-bar ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.nav-bar ul li a {
    color: #4a5568;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s ease;
}

.nav-bar ul li a:hover {
    color: #1a202c;
}

.nav-right button {
    background-color: #1a202c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.nav-right button:hover {
    background-color: #2d3748;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-github {
    color: #4a5568;
    font-size: 22px;
    line-height: 1;
    transition: color 0.15s ease;
}

.nav-github:hover {
    color: #1a202c;
}

[data-theme="dark"] .nav-github {
    color: #a0aec0;
}

[data-theme="dark"] .nav-github:hover {
    color: #f6f7fa;
}

.hero {
    height: 1000px;
    background-color: #f0f4f8;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    box-sizing: border-box;
    overflow: hidden;
    gap: 40px;
}
body h1 {
    margin-top: 250px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 60px;
    width: 600px;
    flex-shrink: 0;
}

.laptop-mockup {
    margin-top: 200px;
    width: 400px;
    max-width: 680px;
    height: 250px;
    flex-shrink: 1;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.2));
}

.nav-logo {
    position: relative;
}

.nav-logo img {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
    height: 24px;
    width: auto;
}

.theme-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #1a202c;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Dark mode */
[data-theme="dark"] body {
    background-color: #0a0d16;
    color: #f6f7fa;
}

[data-theme="dark"] .nav-bar {
    background-color: #121726;
    border-bottom-color: #232a3d;
}

[data-theme="dark"] .nav-logo,
[data-theme="dark"] .nav-bar ul li a:hover {
    color: #f6f7fa;
}

[data-theme="dark"] .nav-bar ul li a {
    color: #a0aec0;
}

[data-theme="dark"] .nav-right button {
    background-color: #f6f7fa;
    color: #121726;
}

[data-theme="dark"] .nav-right button:hover {
    background-color: #e2e8f0;
}

[data-theme="dark"] .hero {
    background-color: #0a0d16;
}

[data-theme="dark"] .laptop-mockup {
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.6));
}

[data-theme="dark"] .theme-toggle {
    background-color: #121726;
    border-color: #232a3d;
    color: #ffd84a;
}
