
:root {
    --primary: #0f172a;
    --accent: #14b8a6;
    --accent-light: #f0fdfa;
    --orange: #fb923c;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --bg-dark: #0f172a;
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Form Section (Left) */
.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-light);
}

.content-wrapper {
    max-width: 480px;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Conversion Form */
.conversion-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

.primary-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.3);
}

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

.icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.primary-btn:hover .icon {
    transform: translateX(4px);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.lock-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

/* Social Proof */
.social-proof {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.proof-label {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-cloud {
    display: flex;
    justify-content: space-between;
    filter: grayscale(1);
    opacity: 0.4;
    font-size: 12px;
    font-weight: 900;
    gap: 1rem;
}

/* Visual Section (Right) */
.visual-section {
    flex: 1;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.glow-top, .glow-bottom {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-top {
    top: -100px;
    right: -100px;
    background: #06b6d4;
}

.glow-bottom {
    bottom: -100px;
    left: -100px;
    background: #f97316;
}

.book-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    perspective: 1000px;
}

.book-mockup {
    position: relative;
    transform: rotateY(-15deg);
    transition: var(--transition);
}

.book-cover {
    width: 100%;
    height: auto;
    border-radius: 4px 8px 8px 4px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.5);
    display: block;
}

.book-spine {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
    border-radius: 4px 0 0 4px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.book-mockup:hover {
    transform: rotateY(-5deg) translateY(-10px);
}

.reader-stats {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar-stack {
    display: flex;
    margin-left: 12px;
}

.avatar-stack img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    margin-left: -12px;
    object-cover: center;
}

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

.stars {
    color: var(--orange);
    font-size: 18px;
    margin-bottom: 4px;
}

.stat-text p {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.stat-text p span {
    color: #38bdf8;
    font-weight: 800;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: #f0fdfa;
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg { width: 40px; height: 40px; }

.modal-card h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.instruction-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 16px;
}

.step-num {
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step p {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    line-height: 1.5;
}

.ack-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
}

.hidden { display: none; }

/* Desktop Adjustment */
@media (min-width: 1024px) {
    .page-container {
        flex-direction: row;
    }
    .visual-section {
        order: 2;
        padding: 5rem;
    }
    .form-section {
        order: 1;
        padding: 5rem;
    }
    .hero-header h1 {
        margin-left: -4px;
    }
}
