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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.5;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-icon {
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: #3b82f6;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.nav-cta:hover {
    background: #2563eb;
}

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

.hero {
    text-align: center;
    padding: 120px 0 60px;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.hero p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 24px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #2563eb;
}

.btn-outline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #334155;
}

.btn-outline:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.features {
    padding: 40px 0;
    text-align: center;
}

.features h2 {
    font-size: 1.3rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 24px;
}

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

.feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.feature-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.feature p {
    font-size: 0.85rem;
    color: #64748b;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 0 50px;
}

.detail-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.detail-card h3 {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 500;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-list span {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.pricing {
    padding: 70px 0;
    text-align: center;
}

.pricing h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.pricing-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 650px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
}

.plan {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-header {
    min-height: 100px;
}

.plan-pro {
    border-color: #3b82f6;
}

.plan-yearly {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #3b82f6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-value {
    background: #22c55e;
}

.plan h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.plan .price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.plan .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.plan .price .price-original {
    font-size: 1.8rem;
    color: #64748b;
    text-decoration: line-through;
    margin-right: 8px;
}

.plan ul {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.plan li::before {
    content: "✓ ";
    color: #22c55e;
}

.plan .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.recover-section {
    text-align: center;
    padding: 20px 0 60px;
    color: #64748b;
    font-size: 0.9rem;
}

.link-btn {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.link-btn:hover {
    color: #60a5fa;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 20px;
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
}

.footer-links a:hover {
    color: #94a3b8;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1e293b;
    padding: 32px;
    border-radius: 12px;
    max-width: 380px;
    width: 90%;
    position: relative;
}

.close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
}

.close:hover {
    color: #fff;
}

.modal h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.modal p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal input {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #fff;
    font-size: 0.95rem;
}

.modal input::placeholder {
    color: #475569;
}

.modal input:focus {
    outline: none;
    border-color: #3b82f6;
}

#recoverResult {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
}

#recoverResult.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

#recoverResult.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

@media (max-width: 768px) {
    .pricing-grid.three-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .features-grid,
    .details,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    
    .pricing h2 {
        font-size: 1.5rem;
    }
}
