/* Base Reset & Design Tokens */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary: #ff5722; /* Funnel conversion orange */
    --primary-hover: #e64a19;
    --secondary: #ffafbd;
    --secondary-hover: #ffc3a0;
    --dark: #1e293b;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --success: #10b981;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.5;
}

/* ==========================================
   NAVIGATION COMPONENT
   ========================================== */
.navbar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--primary);
}

.nav-cta .btn-call {
    display: inline-block;
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-cta .btn-call:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* ==========================================
   HERO FUNNEL SPLIT LAYOUT
   ========================================== */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Tablet / E-Reader Mockup */
.tablet-visual {
    width: 280px;
    height: 380px;
    background-color: #0f172a;
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    border: 4px solid #334155;
}

.tablet-screen {
    background-image: url('Book_Cover.png');
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 20px;
    text-align: center;
     background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
}

.tablet-screen .screen-tag,
.tablet-screen .screen-title {
    display: none !important;
}

.screen-tag {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.screen-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}




/* Capture Form Section */
.hero-form-container {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    max-width: 480px;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h2 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 800;
}

.form-header p {
    font-size: 14px;
    color: var(--text-muted);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    color: var(--dark);
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.form-footer-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* ==========================================
   COMPANY LOGO LOADER SCREEN OVERLAY
   ========================================== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98); /* Deep corporate dark backdrop */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* State Trigger Class for JavaScript activation */
.loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Animated Corporate Brand Mark Logo Vibe */
.loader-logo {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -1px;
    animation: pulseLogo 1.5s infinite ease-in-out;
}

.loader-logo span {
    color: var(--primary);
}

/* Sleek Linear Loading Metrics Track */
.progress-bar-container {
    width: 240px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.loader-status-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-top: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Loader Animations */
@keyframes pulseLogo {
    0% { transform: scale(0.97); opacity: 0.8; }
    50% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(0.97); opacity: 0.8; }
}

/* ==========================================
   THANK YOU / DELIVERABLE LANDING PAGE
   ========================================== */
.thankyou-wrapper {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.success-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(239, 137, 35, 0.25);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px auto;
}

.success-card h1 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.success-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

/* Content Resource Delivery Block */
.download-resource-block {
    background-color: var(--light-bg);
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 25px;
}

.resource-info h4 {
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
}

.resource-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-download-now {
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 4px 15px rgba(179, 61, 24, 0.25);
    transition: all 0.2s ease;
}

.btn-download-now:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 14px var(16, 185, 129, 0.3);
    transform: translateY(3px);
}

/* Secondary Instructions Block */
.next-steps-list {
    text-align: left;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
}

.next-steps-list h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.step-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-main);
}

.step-number {
    background-color: var(--dark);
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-form-container {
        width: 100%;
        max-width: 100%;
    }
    .tablet-visual {
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
}
