@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070a13;
    --bg-card: rgba(17, 24, 43, 0.7);
    --bg-card-hover: rgba(26, 37, 65, 0.9);
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-cyan: #06b6d4;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    animation: float-slow 20s infinite alternate;
}

.glow-orb-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(100px);
    animation: float-slow 25s infinite alternate-reverse;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-text {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Navigation Header */
header {
    width: 100%;
    padding: 20px 5%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #f59e0b 0%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-badge {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Layout Sections */
.section-padding {
    padding: 100px 5% 80px 5%;
}

/* Hero Section */
.hero-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding-top: 140px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.hero-tag .bullet {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 3D Book Mockup Section */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-mockup-wrapper {
    perspective: 1500px;
    position: relative;
    width: 320px;
    height: 460px;
}

.book-mockup {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-22deg) rotateX(10deg);
    transition: transform 0.5s ease;
    cursor: pointer;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.7);
}

.book-mockup:hover {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.03);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 4px 12px 12px 4px;
    overflow: hidden;
    z-index: 2;
    transform: translateZ(15px);
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px 25px;
    box-shadow: inset 4px 0 10px rgba(255,255,255,0.1), inset -4px 0 10px rgba(0,0,0,0.5);
}

.book-spine {
    position: absolute;
    width: 30px;
    height: 100%;
    background: #0f172a;
    top: 0;
    left: -15px;
    transform: rotateY(-90deg);
    transform-origin: right center;
    z-index: 1;
    border-radius: 4px 0 0 4px;
    box-shadow: inset -3px 0 5px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #090d16 0%, #1e293b 100%);
}

.book-pages {
    position: absolute;
    width: 100%;
    height: calc(100% - 10px);
    background: #e5e7eb;
    top: 5px;
    left: 10px;
    transform: translateZ(-15px);
    border-radius: 0 8px 8px 0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    background: linear-gradient(to right, #e5e7eb 0%, #ffffff 100%);
    border: 1px solid #d1d5db;
}

/* Custom design inside cover */
.cover-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 15px;
    border-radius: 4px;
}

.cover-inner-header {
    text-align: center;
}

.cover-inner-tag {
    font-size: 0.65rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.cover-inner-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-top: 10px;
    line-height: 1.2;
}

.cover-inner-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.cover-inner-badge {
    align-self: center;
    border: 1px solid var(--accent-gold);
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cover-inner-author {
    font-size: 0.85rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

/* Call to Action Buttons */
.cta-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #000;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Trust Badges / Social Proof logos */
.trust-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}

.trust-logos span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-logo-list {
    display: flex;
    gap: 20px;
}

.trust-logo-list img, .trust-logo-list span {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
}

/* Highlights / Chapters Grid */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.chapter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 30px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chapter-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: var(--glass-shadow);
}

.chapter-badge {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.chapter-card-title {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
}

.chapter-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Interactive ROAS Calculator Widget */
.calc-section {
    background: linear-gradient(180deg, rgba(17, 24, 43, 0.4) 0%, rgba(7, 10, 19, 1) 100%);
    border-top: 1px solid var(--border-color);
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: rgba(13, 18, 33, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
}

.input-label span.unit {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.calc-input {
    background: rgba(7, 10, 19, 0.8);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    outline: none;
    transition: var(--transition-smooth);
}

.calc-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

/* Range sliders */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    outline: none;
    margin-top: 10px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background: rgba(7, 10, 19, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-gold) 100%);
}

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

.results-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-main {
    margin-top: 10px;
}

.result-main-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.result-main-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.result-grid-item {
    display: flex;
    flex-direction: column;
}

.result-grid-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.result-grid-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Zone Safety Gauge Indicator */
.safety-indicator {
    margin-top: 30px;
    text-align: center;
}

.safety-bar-bg {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 5px;
    position: relative;
    margin: 15px 0 8px 0;
}

.safety-marker {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.safety-text {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Ebook Creator (Author Section) */
.creator-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
    background: rgba(17, 24, 43, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(12px);
}

.creator-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.creator-avatar-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--glass-shadow);
}

/* Author Avatar - Fallback to beautiful CSS styled avatar in case of no image */
.creator-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
}

.creator-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.creator-name {
    font-size: 2.2rem;
    color: #fff;
}

.creator-title {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.creator-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.creator-experience {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 10px;
}

/* Testimonials / Feedbacks Carousel */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
}

.review-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.98rem;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.review-user-info {
    display: flex;
    flex-direction: column;
}

.review-user-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.review-user-shop {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Lead Capture Order Form Section */
.order-section {
    position: relative;
}

.order-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(17, 24, 43, 0.8) 0%, rgba(10, 15, 30, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    backdrop-filter: blur(20px);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.order-price-badge {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discounted-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

.countdown-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.countdown-timer {
    font-family: monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-input {
    background: rgba(7, 10, 19, 0.6);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: var(--transition-smooth);
}

.order-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

/* FAQ Accordion Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s ease;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
}

/* Footer style */
footer {
    border-top: 1px solid var(--border-color);
    padding: 50px 5% 30px 5%;
    text-align: center;
    background: #04060d;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1.5px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #555866;
    margin-top: 10px;
}

/* Animations */
@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* Responsiveness */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 40px;
    }
    
    .hero-tag, .cta-group, .trust-logos {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .calc-container, .creator-container, .order-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
}
