:root {
    --primary: #ec4899;
    --primary-dark: #be185d;
    --secondary: #f97316;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --border: #e5e7eb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #fce7f3 0%, #fef3c7 100%);
    color: var(--dark);
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-weight: 800;
}

.tagline {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 500;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.prop {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.prop .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.prop h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.prop p {
    font-size: 0.9rem;
    color: var(--gray);
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.cta-note {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.examples {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.examples h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.bio-cards {
    display: grid;
    gap: 20px;
}

.bio-card {
    padding: 20px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.bio-type {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.bio-sample {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
}

.faq {
    margin: 60px 0;
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--gray);
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 15px;
}

/* APP STYLES */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.pro-toggle {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.app-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.input-section, .output-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.input-section h2, .output-section h2 {
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.generate-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 10px;
}

.generate-btn:hover {
    transform: translateY(-2px);
}

.generate-btn:active {
    transform: translateY(0);
}

.bios-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bio-item {
    padding: 16px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.bio-item:hover {
    background: #f3f4f6;
}

.bio-text {
    word-break: break-word;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.bio-char-count {
    font-size: 0.8rem;
    color: var(--gray);
}

.placeholder {
    text-align: center;
    color: var(--gray);
    padding: 40px 20px;
}

.copy-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 15px;
    color: var(--dark);
}

.pro-features {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.pro-features h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1rem;
}

.pro-features ul {
    list-style: none;
}

.pro-features li {
    padding: 8px 0;
    color: var(--dark);
}

.wallet-info {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #10b981;
}

.wallet-info code {
    display: block;
    word-break: break-all;
    font-size: 0.85rem;
    color: #059669;
    font-weight: 600;
    margin-top: 8px;
}

.pro-unlock-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.pro-unlock-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.unlock-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.unlock-note {
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}

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

    .value-props {
        grid-template-columns: 1fr;
    }

    .app-main {
        grid-template-columns: 1fr;
    }

    .app-header {
        flex-direction: column;
        gap: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .pro-unlock-form {
        flex-direction: column;
    }
}
