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

:root {
    --primary: #0088cc;
    --primary-dark: #006699;
    --bg-dark: #17212b;
    --bg-light: #232e3c;
    --bg-lighter: #2b3a4a;
    --text-primary: #ffffff;
    --text-secondary: #8b9bab;
    --accent-green: #5cb85c;
    --accent-blue: #0088cc;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(23, 33, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--text-primary) !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
}

.hero-logo {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 136, 204, 0.3);
    flex-shrink: 0;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Screenshots */
.screenshots {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.screenshot-item img {
    border-radius: 16px;
    background: var(--bg-lighter);
    border: 2px solid var(--bg-lighter);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

.screenshot-item img:hover {
    transform: scale(2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: relative;
}

.screenshot-portrait img {
    width: 200px;
    height: auto;
}

.screenshot-landscape img {
    width: 340px;
    height: auto;
}

.screenshot-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features h2,
.how-it-works h2,
.examples h2,
.commands h2,
.cta h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-lighter);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-dark);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

/* Examples */
.examples {
    padding: 100px 0;
    background: var(--bg-light);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.example-card {
    background: var(--bg-darker);
    border-radius: 16px;
    overflow: hidden;
    background: #0e1621;
}

.example-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--bg-lighter);
}

.example-tag {
    background: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.example-chat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.chat-message.user {
    background: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-message.bot {
    background: var(--bg-lighter);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.success {
    background: rgba(92, 184, 92, 0.2);
    border: 1px solid var(--accent-green);
}

.chat-message.reminder {
    background: var(--bg-lighter);
    border-left: 3px solid var(--primary);
}

.chat-message.forwarded {
    border-left: 3px solid var(--accent-green);
}

.forward-label,
.reminder-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-green);
    margin-bottom: 5px;
    font-weight: 500;
}

.reminder-label {
    color: var(--primary);
}

.chat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chat-btn {
    background: rgba(0, 136, 204, 0.2);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.chat-btn.selected {
    background: var(--primary);
    color: var(--text-primary);
}

.chat-btn.success-btn {
    background: rgba(92, 184, 92, 0.2);
    color: var(--accent-green);
}

/* Commands */
.commands {
    padding: 100px 0;
    background: var(--bg-dark);
}

.commands-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.command-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.command-item code {
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.95rem;
    white-space: nowrap;
}

.command-item p {
    color: var(--text-secondary);
    padding-top: 6px;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--bg-lighter);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px;
        text-align: center;
    }

    .nav-cta {
        margin-top: 10px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .features h2,
    .how-it-works h2,
    .examples h2,
    .commands h2,
    .cta h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .step {
        gap: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .command-item {
        flex-direction: column;
        gap: 10px;
    }

    .screenshots {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .screenshot-portrait img {
        width: 260px;
    }

    .screenshot-landscape img {
        width: 320px;
        max-width: 90vw;
    }

    .screenshot-item img:hover {
        transform: none;
        box-shadow: none;
    }
}
