/* =====================================================
   INTAKE FORM DESIGN SYSTEM v1.0
   Standardized form styles for all TeamGrow intake forms
   ===================================================== */

/* ===== Lead Magnet Pages Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0fe 50%, #f0f4ff 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(92, 122, 255, 0.08) 0%, transparent 70%);
    animation: floatBg 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    animation: floatBg 25s ease-in-out infinite reverse;
}

@keyframes floatBg {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, -20px);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section {
        padding: 100px 0 60px;
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: #5C7AFF;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ===== Badge Styling ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(92, 122, 255, 0.1);
    border: 1px solid rgba(92, 122, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5C7AFF;
    margin-bottom: 24px;
}

.badge.green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #059669;
}

.badge.orange {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
    color: #ea580c;
}

/* ===== Feature List ===== */
.features-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-weight: 500;
    color: #1e293b;
}

.feature-item svg,
.feature-item i {
    width: 20px;
    height: 20px;
    color: #10B981;
    flex-shrink: 0;
}

/* ===== Book Card (Lead Magnet Thumbnail) ===== */
.book-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 24px;
}

.book-cover {
    width: 100px;
    height: 130px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    color: white;
}

.book-cover h3 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.book-cover p {
    font-size: 0.6rem;
    opacity: 0.9;
}

.book-stats {
    display: flex;
    gap: 20px;
}

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

.book-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.book-stats .stat span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Form Card ===== */
.form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5C7AFF, #10B981);
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

/* ===== Form Groups ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5C7AFF;
    background: white;
    box-shadow: 0 0 0 4px rgba(92, 122, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Submit Button ===== */
.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== Form Notes & CTA Points ===== */
.form-cta-points {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    font-size: 0.875rem;
    color: #64748b;
}

.form-cta-points span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===== Content Section (After Form Submit) ===== */
.content-section {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
    padding: 100px 0;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.success-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.success-header h1 svg {
    color: #10B981;
}

.success-header p {
    color: #64748b;
    margin-top: 8px;
}

/* ===== Playbook Content ===== */
.playbook {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.playbook .pb-cover {
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-bottom: 32px;
}

.playbook .pb-cover h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.playbook .pb-cover p {
    opacity: 0.9;
}

.playbook .pb-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f1f5f9;
}

.playbook .pb-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.playbook .pb-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.playbook .pb-section h3 svg {
    width: 20px;
    height: 20px;
    color: #5C7AFF;
}

.playbook .pb-section ul {
    list-style: none;
    padding: 0;
}

.playbook .pb-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #374151;
}

.playbook .pb-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #5C7AFF;
}

.playbook .template-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    border-left: 4px solid #5C7AFF;
}

/* ===== CTA Box ===== */
.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-box .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #5C7AFF;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 16px;
}

.cta-box .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-box .print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.cta-box .print-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ===== Print Styles ===== */
@media print {

    .nav,
    .footer,
    .cta-box,
    .success-header {
        display: none !important;
    }

    .playbook {
        box-shadow: none;
        padding: 0;
    }

    .content-section {
        padding: 0;
        background: white;
    }
}