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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    width: 32px;
    height: 32px;
}

.logo h1 {
    font-size: 1.0rem;
    font-weight: 600;
    color: #374151;
}

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

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #374151;
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(340deg, #a27d4c 0%, #382b21 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-logo {
    width: 256px;
    height: 256px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #374151;
}

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

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #374151;
    transform: translateY(-2px);
}

/* Screenshot Section */
.screenshot {
    padding: 4rem 0;
    background: #fff;
}

.screenshot h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.screenshot-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    margin-top: -2em;
}

.screenshot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f8f8;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #374151;
}

.feature p {
    color: #64748b;
}

/* Download Section */
.download {
    padding: 6rem 0;
    text-align: center;
    background: #e9e9e9;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.download p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #333;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #374151;
}

.btn-download span {
    font-size: 2rem;
}

.btn-download div {
    text-align: left;
}

.btn-download strong {
    display: block;
    font-size: 1.1rem;
    color: #1e293b;
}

.btn-download small {
    color: #64748b;
    font-size: 0.9rem;
}

.build-info {
    margin-top: 2rem;
    color: #64748b;
}

.build-info a {
    color: #374151;
    text-decoration: none;
}

.build-info a:hover {
    text-decoration: underline;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e293b;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.about h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #374151;
}

.shortcuts {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

.shortcuts td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.shortcuts td:first-child {
    font-weight: 500;
    color: #374151;
}

kbd {
    background: #374151;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.about ul {
    list-style: none;
    padding-left: 0;
}

.about li {
    padding: 0.5rem 0;
    color: #475569;
}

.about li strong {
    color: #374151;
}

/* Footer */
footer {
    background: #68472c;
    color: #cbc4ae;
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: #d1cebc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .download-buttons {
        gap: 1rem;
    }
    
    .btn-download {
        padding: 1.2rem 1.5rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 0;
    }
    
    nav {
        padding: 0.75rem 15px;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    nav ul li {
        text-align: center;
        padding: 0.5rem 0;
    }
    
    nav ul li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        display: block;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    nav ul li a:hover {
        background-color: #f3f4f6;
    }
    
    main {
        margin-top: 40px;
    }
    
    .hero {
        padding: 4rem 0 3rem 0;
    }
    
    .hero-logo {
        width: 160px;
        height: 160px;
        margin-bottom: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .screenshot {
        padding: 3rem 0;
    }
    
    .screenshot h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 200px;
        text-align: center;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .download {
        padding: 4rem 0;
    }
    
    .download h2 {
        font-size: 2.2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 320px;
        margin: 0 auto 2rem auto;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 1.5rem;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about h2 {
        font-size: 2.2rem;
    }
    
    .shortcuts {
        font-size: 0.9rem;
    }
    
    .shortcuts td {
        padding: 0.75rem 0;
    }
    
    footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    nav {
        padding: 0.5rem 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 3rem 0 2.5rem 0;
    }
    
    .hero-logo {
        width: 140px;
        height: 140px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    .screenshot {
        padding: 2.5rem 0;
    }
    
    .screenshot h2 {
        font-size: 1.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        min-width: 180px;
        padding: 12px 24px;
    }
    
    .features h2, .download h2, .about h2 {
        font-size: 1.9rem;
    }
    
    .feature {
        padding: 1.25rem;
    }
    
    .btn-download {
        padding: 1rem 1.25rem;
    }
    
    .btn-download span {
        font-size: 1.5rem;
    }
    
    .btn-download strong {
        font-size: 1rem;
    }
}