/* Estilo inspirado no design original (StreamChat Unified) */
:root {
    --bg-main: #020617; /* slate-950 */
    --bg-secondary: #0f172a; /* slate-900 */
    --accent: #ea580c; /* orange-600 */
    --accent-hover: #c2410c; /* orange-700 */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8; /* slate-400 */
    --border: rgba(234, 88, 12, 0.2);
}

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

body {
    font-family: 'JetBrains Mono', monospace, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: bold;
    transition: color 0.3s;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-hover);
}

/* Menu Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero p {
    max-width: 600px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(234, 88, 12, 0.1);
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    align-items: stretch;
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card .price {
    margin: 1.5rem 0;
    display: block;
    width: 100%;
}

.pricing-card ul {
    margin-top: auto;
    padding-top: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: var(--accent);
    word-wrap: break-word;
    word-break: break-word;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

input, select {
    width: 100%;
    padding: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: white;
    border-radius: 4px;
    font-family: inherit;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Sections */
section {
    padding: 80px 0;
}

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

footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.98);
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 300px;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

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

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

    .hero p {
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }

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

    .card {
        padding: 1.5rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    nav {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.2rem;
    }

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

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

    .hero p {
        font-size: 0.8rem;
        max-width: 100%;
    }

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

    .price {
        font-size: 1.5rem;
    }

    .pricing-card h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .card {
        padding: 1rem;
    }

    .nav-links {
        top: 50px;
    }
}
