* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f5f7fb;
    color: #1a2634;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, #1f2b38, #2c3e50);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4a627a;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1f2b38;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #f5f7fb 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.year {
    background: #2c3e50;
    color: white;
    font-size: 1rem;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;
    vertical-align: middle;
}

/* Tool Card */
.tool-section {
    padding: 1rem 0 3rem;
}

.tool-card {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.display-area {
    background: #eef2f5;
    padding: 1.8rem;
}

.screen-preview {
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    max-width: 800px;
    margin: 0 auto;
}

.screen-color {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.08s linear;
}

.instruction {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    pointer-events: none;
}

.controls {
    padding: 1.5rem;
}

.color-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.color-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.1s;
}

.color-btn:hover {
    transform: scale(1.05);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    background: #1f2b38;
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 60px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-light {
    background: #eef2fa;
    color: #1f2b38;
    border: 1px solid #cddae9;
}

.info-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #2c5a6e;
    background: #eef2fc;
    display: inline-block;
    width: auto;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
}

/* Features Grid */
.features-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 1.8rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.benefit-item {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
}

.steps {
    background: #eef2fa;
    padding: 1.5rem;
    border-radius: 1.5rem;
}

.step {
    padding: 0.7rem;
    border-bottom: 1px solid #cddae9;
}

/* FAQ Page */
.faq-section {
    padding: 2rem 0 4rem;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    padding: 1.2rem;
    border-radius: 1rem;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #4a627a;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #cddae9;
    border-radius: 0.8rem;
    font-family: inherit;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 0.8rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1a2634;
    color: #a0b3c9;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer a {
    color: #cbd5e6;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .color-btn {
        width: 55px;
        height: 55px;
    }
}
/* Color page styles */
.color-hero {
    text-align: center;
    padding: 3rem 0;
}
.mini-screen {
    width: 280px;
    height: 180px;
    margin: 20px auto;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.mini-screen:hover { transform: scale(1.02); }
.use-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.use-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.use-card h3 { margin-bottom: 0.5rem; color: #2c3e50; }
.btn-large { padding: 12px 32px; font-size: 1.1rem; }