/* ==========================================================================
   Premium Stylesheet: ChatGPT Ebook Sales Landing Page
   Theme: Cyberpunk AI Dark Theme (Teal/Neon-Blue & Gold Accent)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #060913;
    --bg-card: #0c1225;
    --bg-card-light: #161e38;
    --bg-header: rgba(6, 9, 19, 0.85);
    
    --primary: #00f2fe; /* Neon Cyan */
    --primary-hover: #4facfe; /* Neon Blue */
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    
    --accent: #ffd700; /* Gold */
    --accent-hover: #ffaa00;
    --accent-gradient: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
    
    --success: #10b981; /* Green */
    --error: #ef4444; /* Red */
    
    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-muted-light: #cbd5e1;
    
    /* Font Families */
    --font-heading: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Inter', 'Poppins', sans-serif;
    
    /* Borders & Shadow */
    --border-glow: rgba(0, 242, 254, 0.15);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.25);
    --shadow-gold-glow: 0 0 20px rgba(255, 215, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* --- Common Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    width: fit-content;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-glow);
    background: linear-gradient(135deg, #ffaa00 0%, #ff5500 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    background: #059669;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.badge-gold {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent);
    border-color: rgba(255, 215, 0, 0.25);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* --- Header Section --- */
.header {
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 75px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.logo-icon svg {
    color: #000;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0 100px 0;
    background: radial-gradient(circle at 75% 25%, rgba(0, 242, 254, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 15% 75%, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

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

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.hero-title span.ai-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted-light);
    margin-bottom: 30px;
}

.hero-features {
    list-style: none;
    margin-bottom: 35px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.hero-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Hero Pricing Container */
.price-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-actual {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.discount-tag {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 3D Ebook Mockup Container */
.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ebook-container {
    perspective: 1000px;
    width: 280px;
    height: 385px;
    position: relative;
    transition: transform 0.5s ease;
}

.ebook-container:hover {
    transform: rotateY(-10deg) rotateX(10deg);
}

.ebook-mockup {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(5deg);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.8);
    border-radius: 4px 12px 12px 4px;
}

.ebook-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 12px 12px 4px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.ebook-spine {
    position: absolute;
    width: 30px;
    height: 100%;
    background: #090e1f;
    top: 0;
    left: -15px;
    transform: rotateY(-90deg);
    transform-origin: right center;
    z-index: 1;
    box-shadow: inset -5px 0 10px rgba(0,0,0,0.8);
}

.ebook-shadow-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    top: 10px;
    left: 10px;
    z-index: 0;
    filter: blur(15px);
}

/* Mockup glowing background circle */
.mockup-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    z-index: 0;
    filter: blur(20px);
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(6, 9, 19, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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

/* --- Target Audience Section --- */
.audience {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.audience-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.audience-card {
    background: var(--bg-card-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-gold-glow);
}

.audience-card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.audience-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--accent);
}

.audience-card p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-body {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted-light);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: #000;
}

.faq-item.active .faq-body {
    padding-bottom: 22px;
    max-height: 200px;
}

/* --- Checkout Section --- */
.checkout {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080d1d 100%);
    border-bottom: 1px solid var(--border-color);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.checkout-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.checkout-info h2 span {
    color: var(--accent);
}

.checkout-info p {
    color: var(--text-muted-light);
    margin-bottom: 30px;
}

.checkout-badge-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-badge-item div h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.checkout-badge-item div p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Checkout Form Card */
.checkout-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-gold-glow);
    position: relative;
}

.checkout-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.checkout-card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted-light);
}

.form-input-wrapper {
    position: relative;
}

.form-input-wrapper svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Order Summary Box */
.order-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: var(--accent);
}

.secure-payment-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* --- Footer Section --- */
.footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-seals {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    opacity: 0.7;
}

.seal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* ==========================================================================
   Thank You / Success Page Styles (Light Theme)
   ========================================================================== */
.thank-you-page {
    background-color: #f8fafc;
    color: #0f172a;
    font-family: var(--font-body);
}

.ty-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    height: 75px;
    display: flex;
    align-items: center;
}

.ty-header-container {
    display: flex;
    justify-content: center;
}

.ty-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d9488; /* Teal Success Accent */
}

.ty-card {
    background: white;
    max-width: 680px;
    margin: 40px auto;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.ty-card h1 {
    font-size: 2.25rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.ty-card .sub-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 25px;
}

/* Order Details Receipt Box */
.order-details-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: left;
    margin-bottom: 30px;
}

.details-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.details-title-row svg {
    color: #0d9488;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.details-table tr:last-child {
    border-bottom: none;
}

.details-table td {
    padding: 12px 0;
    font-size: 0.95rem;
}

.details-label {
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 180px;
}

.details-label svg {
    color: #64748b;
}

.details-val {
    color: #1e293b;
    font-weight: 500;
    word-break: break-all;
}

.badge-status {
    background: #dcfce7;
    color: #16a34a;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* Ebook Ready Download Section */
.ebook-ready-box {
    border: 2px dashed #cbd5e1;
    background: #fdfdfd;
    border-radius: var(--radius-md);
    padding: 30px;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 25px;
    align-items: center;
    text-align: left;
    margin-bottom: 35px;
}

.ebook-ready-cover {
    width: 100%;
    position: relative;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.15);
    border-radius: 4px;
}

.ebook-ready-cover img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.ready-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: #0d9488;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.ready-info h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.ready-info p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 20px;
}

.mail-info-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
}

.mail-info-note svg {
    color: #0d9488;
}

/* Next Steps Steps Block */
.next-steps-section {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 35px;
}

.next-steps-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 25px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 20px 15px;
}

.step-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.step-card h4 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* Trust footer in receipt card */
.ty-footer-trust {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 45px;
    padding-top: 30px;
}

.ty-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    width: 50%;
}

.ty-trust-item svg {
    color: #0d9488;
    flex-shrink: 0;
}

.ty-trust-item div strong {
    display: block;
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.ty-trust-item div span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}

.ty-ending {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}
/* Floating Buy Now Button */
.floating-buy-btn {
    position: fixed;
    bottom: -80px; /* Start hidden */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #000 !important;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4), var(--shadow-glow);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-buy-btn:hover {
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.6), var(--shadow-glow);
    transform: translateX(-50%) scale(1.05);
}

.floating-buy-btn.active {
    bottom: 25px; /* Slide up to show */
}

@keyframes wiggle {
    0%, 100% { transform: translateX(-50%) scale(1); }
    15% { transform: translateX(-50%) translateY(-6px) rotate(-2deg); }
    30% { transform: translateX(-50%) translateY(0) rotate(2deg); }
    45% { transform: translateX(-50%) translateY(-4px) rotate(-1deg); }
    60% { transform: translateX(-50%) translateY(0) rotate(1deg); }
    75% { transform: translateX(-50%) translateY(-2px) rotate(0); }
}

.floating-buy-btn.wiggle {
    animation: wiggle 0.8s ease-in-out;
}

/* ==========================================================================
   Simulated Razorpay Payment Modal
   ========================================================================== */
.rp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.rp-modal-card {
    background: #0f172a;
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), var(--shadow-glow);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    font-family: var(--font-body);
}

.rp-header {
    background: #090f1e;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.rp-logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-logo-icon {
    width: 24px;
    height: 24px;
    background: #0284c7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 0.9rem;
}

.rp-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.rp-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

.rp-close:hover {
    color: white;
}

.rp-body {
    padding: 25px;
}

.rp-amount-display {
    text-align: center;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}

.rp-amount-display .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.rp-amount-display .amt {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent);
}

.rp-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.rp-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.rp-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.rp-tab-content {
    min-height: 120px;
    display: none;
}

.rp-tab-content.active {
    display: block;
}

.rp-upi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-upi-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.rp-upi-option:hover {
    background: rgba(0, 242, 254, 0.05);
    border-color: var(--primary);
}

.rp-upi-option svg {
    color: var(--primary);
}

.rp-upi-option span {
    font-weight: 600;
    font-size: 0.9rem;
}

.rp-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.rp-btn-action {
    width: 100%;
    padding: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.rp-btn-success {
    background: var(--success);
    color: white;
}

.rp-btn-success:hover {
    background: #059669;
}

.rp-btn-failure {
    background: rgba(239, 68, 68, 0.1);
    border: 1px dashed var(--error);
    color: #f87171;
}

.rp-btn-failure:hover {
    background: rgba(239, 68, 68, 0.2);
}

.rp-loading-spinner {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 242, 254, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .price-container {
        justify-content: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.35rem;
    }
    
    .section-header h2 {
        font-size: 1.85rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ty-footer-trust {
        flex-direction: column;
        gap: 25px;
    }
    
    .ty-trust-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .checkout-card {
        padding: 25px;
    }
    
    .ty-card {
        padding: 25px;
        margin: 20px auto;
    }
    
    .ebook-ready-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .ebook-ready-cover {
        max-width: 130px;
        margin: 0 auto;
    }
    
    /* Table Responsive Stack Layout (Ensures long emails / payment IDs fit) */
    .details-table tr {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }
    
    .details-table td {
        padding: 4px 0;
    }
    
    .details-label {
        width: 100%;
    }
    
    .details-val {
        width: 100%;
        padding-left: 22px;
        font-size: 0.9rem;
    }
}
