/* Bell AI Solutions — Shared Styles for Content Offers */

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

body {
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 12pt;
    line-height: 1.7;
    color: #2D3748;
    background: #fff;
}

a {
    color: #2A9D8F;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   Opt-in Landing Page (full-page design)
   ══════════════════════════════════════════ */

.opt-in-page {
    min-height: 100vh;
    background: linear-gradient(170deg, #0f1b33 0%, #1B2A4A 40%, #1a2d4f 100%);
    font-family: 'DM Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.opt-in-page .grid-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(42,157,143,0.06) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.opt-in-container {
    max-width: 960px;
    width: 100%;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

/* ── Badge ── */

.opt-in-badge {
    display: inline-block;
    background: rgba(42,157,143,0.15);
    border: 1px solid rgba(42,157,143,0.3);
    color: #2A9D8F;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.6s ease 0.2s forwards;
}

/* ── Headline ── */

.opt-in-headline {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s ease 0.3s forwards;
}

.opt-in-headline .accent {
    color: #2A9D8F;
}

/* ── Sub-headline ── */

.opt-in-subheadline {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin: 0 0 44px 0;
    max-width: 780px;
    opacity: 0;
    animation: fadeIn 0.7s ease 0.5s forwards;
}

/* ── Two-column layout ── */

.opt-in-two-col {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ── 3D Book Mockup ── */

.book-area {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    padding-top: 12px;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease 0.6s forwards;
}

.book-wrapper {
    position: relative;
    width: 220px;
    height: 310px;
    perspective: 800px;
}

.book-spine {
    position: absolute;
    left: -8px;
    top: 6px;
    width: 16px;
    height: 298px;
    background: linear-gradient(90deg, #1a6b60, #2A9D8F);
    transform: skewY(-2deg);
    border-radius: 2px 0 0 2px;
    z-index: 1;
}

.book-cover {
    position: relative;
    width: 220px;
    height: 310px;
    background: linear-gradient(145deg, #1e3a5f 0%, #1B2A4A 50%, #162340 100%);
    border-radius: 0 6px 6px 0;
    border: 1px solid rgba(42,157,143,0.3);
    overflow: hidden;
    transform: rotateY(-8deg);
    transform-origin: left center;
    z-index: 2;
    box-shadow: 8px 8px 30px rgba(0,0,0,0.4), inset 0 0 60px rgba(42,157,143,0.05);
}

.book-inner {
    padding: 28px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #E76F51;
    margin-bottom: 14px;
}

.book-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.book-divider {
    width: 40px;
    height: 3px;
    background: #2A9D8F;
    border-radius: 2px;
    margin-bottom: 14px;
}

.book-subtitle {
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255,255,255,0.6);
    margin-bottom: auto;
}

.book-author {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2A9D8F;
    margin-bottom: 4px;
}

.book-pages {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
}

.book-shadow {
    position: absolute;
    bottom: -12px;
    left: 20px;
    right: 10px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, transparent 70%);
    filter: blur(6px);
    z-index: 0;
}

/* ── Right column (bullets + form) ── */

.opt-in-right-col {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.6s forwards;
}

.bullets-intro {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    margin-top: 0;
}

.bullet {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
}

.bullet-icon {
    color: #2A9D8F;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.punchy-copy {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 28px 0;
    border-left: 3px solid rgba(42,157,143,0.3);
    padding-left: 16px;
    font-style: italic;
}

/* ── Form box ── */

.opt-in-form-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 24px 20px;
}

.opt-in-form-box .form-label {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 16px;
}

.opt-in-form-box input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #FFFFFF;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s ease;
}

.opt-in-form-box input::placeholder {
    color: rgba(255,255,255,0.35);
}

.opt-in-form-box input:focus {
    border-color: #2A9D8F;
}

.opt-in-form-box .form-error {
    color: #E76F51;
    font-size: 13px;
    margin-bottom: 8px;
    display: none;
}

.cta-button {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #E76F51 0%, #d4563a 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(231,111,81,0.3);
}

.cta-button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(231,111,81,0.5);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.opt-in-form-box .privacy {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin: 0;
}

/* ── Footer ── */

.opt-in-footer {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.opt-in-footer .footer-logo {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
}

.opt-in-footer .footer-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-style: italic;
}

/* ── Success State ── */

.success-page {
    min-height: 100vh;
    background: linear-gradient(170deg, #0f1b33 0%, #1B2A4A 40%, #1a2d4f 100%);
    font-family: 'DM Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.success-content {
    text-align: center;
    max-width: 480px;
}

.success-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2A9D8F, #1e7a6f);
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 30px rgba(42,157,143,0.3);
}

.success-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px;
}

.success-content .success-text {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 8px;
    line-height: 1.5;
}

.success-content .success-subtext {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ══════════════════════════════════════════
   Offer Content (for inline-reveal offers)
   ══════════════════════════════════════════ */

.offer-content {
    display: none;
}

.offer-content.visible {
    display: block;
}

.page {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 50px;
}

.cover {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(160deg, #1B2A4A 0%, #1e3a5f 100%);
    color: #fff;
}

.cover-tag {
    font-size: 10pt;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2A9D8F;
    margin-bottom: 30px;
    font-weight: 500;
}

.cover h1 {
    font-size: 28pt;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #fff;
}

.cover .subtitle {
    font-size: 13pt;
    line-height: 1.6;
    color: #CBD5E0;
    max-width: 520px;
    margin-bottom: 50px;
    font-style: italic;
}

.cover .author-block {
    border-top: 2px solid #2A9D8F;
    padding-top: 24px;
}

.cover .author-name {
    font-size: 13pt;
    font-weight: 700;
    color: #fff;
}

.cover .author-company {
    font-size: 11pt;
    color: #2A9D8F;
    margin-top: 4px;
}

.page h2 {
    font-size: 17pt;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 20px;
    margin-top: 10px;
    line-height: 1.3;
}

.page p {
    margin-bottom: 16px;
}

.pull-quote {
    border-left: 4px solid #2A9D8F;
    padding: 16px 24px;
    margin: 28px 0;
    font-size: 13pt;
    font-weight: 500;
    color: #1B2A4A;
    font-style: italic;
    background: #F7FAFC;
}

.action-box {
    background: #F7FAFC;
    border: 2px solid #2A9D8F;
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px 0;
}

.action-box .action-label {
    font-size: 10pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2A9D8F;
    margin-bottom: 8px;
}

.action-box p {
    margin-bottom: 0;
}

.signature-block {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid #E2E8F0;
}

.signature-block .sig-name {
    font-weight: 700;
    font-size: 13pt;
    color: #1B2A4A;
}

.signature-block .sig-title {
    color: #4A5568;
    font-size: 11pt;
}

.signature-block .sig-contact {
    color: #2A9D8F;
    font-size: 11pt;
    margin-top: 4px;
}

.page-number {
    text-align: center;
    color: #A0AEC0;
    font-size: 9pt;
    margin-top: 40px;
}

/* ── Animations ── */

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

/* ── Print ── */

@media print {
    .opt-in-page { display: none !important; }
    .success-page { display: none !important; }
    .offer-content { display: block !important; }
    body { font-size: 11pt; }
    .page { page-break-after: always; }
    .page:last-child { page-break-after: auto; }
    .cover { page-break-after: always; }
}

/* ── Mobile ── */

@media (max-width: 720px) {
    .opt-in-page {
        padding: 24px 16px;
    }

    .opt-in-two-col {
        flex-direction: column;
        gap: 32px;
    }

    .book-area {
        flex: none;
        width: 100%;
    }

    .opt-in-right-col {
        min-width: 0;
    }

    .page, .cover {
        padding: 40px 24px;
    }

    .cover h1 {
        font-size: 22pt;
    }

    .page h2 {
        font-size: 15pt;
    }
}
