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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
}

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

/* Navbar */
.navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.navbar h1 a {
    color: #1f2937;
    text-decoration: none;
}

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

.nav-buttons {
    display: flex;
    gap: 10px;
}

.pro-status {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.pro-status:hover {
    background: #e5e7eb;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

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

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

.btn-secondary {
    background: #e5e7eb;
    color: #1f2937;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* Hero section */
.hero {
    padding: 60px 0;
}

.hero h2 {
    font-size: 28px;
    color: #1f2937;
    margin: 40px 0 20px;
}

.hero h2:first-child {
    margin-top: 0;
}

.problem, .solution {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.solution {
    background: #ecfdf5;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #10b981;
}

.problem {
    background: #fef2f2;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #ef4444;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    margin: 40px 0;
}

.cta-buttons .btn {
    padding: 14px 32px;
    font-size: 16px;
}

/* Features */
.features {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.features li:last-child {
    border-bottom: none;
}

.features strong {
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    font-size: 14px;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pricing-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    text-align: center;
}

.pricing-card.pro {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1f2937;
}

.pricing-card p {
    color: #6b7280;
    font-size: 14px;
    margin: 12px 0;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 20px 0;
}

.pricing-card .unit {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.pricing-card .note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* Why */
.why {
    list-style: none;
    margin: 20px 0;
}

.why li {
    padding: 12px 0;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.why li:last-child {
    border-bottom: none;
}

/* Generator */
.generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 0;
}

.generator-panel, .preview-panel {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.generator-panel h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #1f2937;
}

.preview-panel h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #1f2937;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
}

.pro-input-group {
    display: flex;
    gap: 8px;
}

.pro-input-group input {
    flex: 1;
}

/* Action buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.action-buttons .btn {
    width: 100%;
    padding: 12px;
}

/* Code preview */
.code-preview {
    background: #1f2937;
    color: #f3f4f6;
    padding: 16px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

.code-preview code {
    color: #f3f4f6;
    white-space: pre;
}

.watermark {
    position: relative;
    margin-top: 12px;
    padding: 12px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 4px;
    font-size: 12px;
    color: #92400e;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 32px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #1f2937;
}

.modal h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1f2937;
}

.payment-info {
    background: #f9fafb;
    padding: 16px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 14px;
}

.wallet-address {
    margin: 12px 0;
    padding: 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.wallet-address .network {
    display: block;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 6px;
    font-size: 12px;
}

.wallet-address code {
    display: block;
    word-break: break-all;
    font-size: 12px;
    background: #f3f4f6;
    padding: 8px;
    border-radius: 3px;
    color: #1f2937;
}

.instruction {
    margin: 8px 0;
    font-size: 13px;
    color: #4b5563;
}

.instruction-list {
    list-style: disc;
    margin-left: 20px;
    color: #4b5563;
}

.instruction-list li {
    margin: 6px 0;
    font-size: 13px;
}

.pro-form {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.pro-form input {
    flex: 1;
}

.pro-form .btn {
    padding: 10px 20px;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
    margin-top: 60px;
}

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

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

footer p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .generator-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .navbar-content {
        flex-direction: column;
        gap: 16px;
    }

    .pro-input-group {
        flex-direction: column;
    }
}

/* Pro required visual */
.pro-required {
    border-color: #f97316 !important;
}
