/* assets/css/style.css */
/* Fonts are now loaded in HTML head for performance */

:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(20, 20, 25, 0.65);
    --gold-primary: #e4ae3a;
    --gold-light: #f3c65f;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #f5d061 0%, #e4ae3a 50%, #b8860b 100%);
    --text-primary: #f4f4f7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(228, 174, 58, 0.15);
    --border-hover: rgba(228, 174, 58, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Common Layout & Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 12, 0.8);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 12, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 1px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #0a0a0c;
    box-shadow: 0 4px 15px rgba(228, 174, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 174, 58, 0.5);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #d97706 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(228, 174, 58, 0.05);
    border-color: var(--gold-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 80% 20%, rgba(228, 174, 58, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(228, 174, 58, 0.05) 0%, transparent 40%);
}

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

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-primary);
    margin-bottom: 24px;
    font-style: italic;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .hero-actions .btn {
        padding: 10px 20px;
        font-size: 12px;
        width: auto;
        flex: 1;
        min-width: 120px;
        letter-spacing: 0.5px;
    }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-card-container {
    perspective: 1000px;
    width: 320px;
    height: 480px;
}

.book-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
}

.book-card-container:hover .book-card {
    transform: rotateY(180deg);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #111115;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.book-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #111115;
    overflow: hidden;
    transform: rotateY(180deg);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.book-spine-effect {
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 10;
}

.book-cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
    object-fit: cover;
}

.book-header {
    z-index: 2;
    text-align: center;
}

.book-header .author {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
}

.book-title-area {
    z-index: 2;
    text-align: center;
    margin-top: 40px;
}

.book-title-area h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.book-title-area p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.book-footer {
    z-index: 2;
    text-align: center;
    border-top: 1px solid rgba(228, 174, 58, 0.2);
    padding-top: 15px;
}

.book-footer .badge {
    font-size: 10px;
    background: var(--gold-gradient);
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

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

/* Concept Section (Flyers) */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.concept-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.concept-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.concept-text li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.concept-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

/* Flyer Slider */
.slider-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: rgba(0, 0, 0, 0.4);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 450px;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 30px 20px 20px;
    color: var(--text-primary);
}

.slide-caption h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--gold-primary);
}

.slide-caption p {
    font-size: 13px;
    color: var(--text-secondary);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 12, 0.75);
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--gold-primary);
    color: #000;
}

.slider-btn-prev {
    left: 16px;
}

.slider-btn-next {
    right: 16px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold-primary);
    width: 24px;
    border-radius: 4px;
}

/* Quotes & Social Proof */
.quotes-section {
    background: radial-gradient(circle at center, rgba(228, 174, 58, 0.05) 0%, transparent 70%);
}

.quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 60px;
    color: rgba(228, 174, 58, 0.15);
    position: absolute;
    top: 20px;
    left: 40px;
    font-family: serif;
    line-height: 1;
}

.quote-content {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 18px;
    margin-bottom: 4px;
}

.author-title {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quote-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.quote-avatar:hover {
    transform: scale(1.05);
    border-color: var(--gold-light);
    box-shadow: 0 6px 15px rgba(228, 174, 58, 0.25);
}

/* Author Profile Section */
.author-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.author-img-wrapper {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.author-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #2b2315 0%, #0d0c0a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: scale(0.95);
    z-index: 2;
}

.author-img-wrapper:hover .author-img {
    transform: scale(1.05);
    opacity: 0;
}

.author-img-wrapper:hover .author-img-hover {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.author-img-hover-initials {
    font-size: 80px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.author-img-hover-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.author-img-hover-title {
    font-size: 13px;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
}

.author-bio h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.author-bio h3 span {
    font-size: 16px;
    display: block;
    color: var(--gold-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    font-family: var(--font-body);
}

.author-bio p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Pricing / Features Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px 35px;
    position: relative;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(228, 174, 58, 0.15);
}

.pricing-card.featured {
    border-color: var(--gold-primary);
    background: radial-gradient(circle at 100% 0%, rgba(228, 174, 58, 0.08) 0%, transparent 40%),
                rgba(20, 20, 25, 0.8);
}

.badge-popular {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--gold-gradient);
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.pricing-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 35px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 16px;
}

/* Form Styles (Checkout / Login) */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(228, 174, 58, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

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

.form-alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    display: none;
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    display: block;
}

.form-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    display: block;
}

/* Simulation Payment Option style */
.payment-options {
    margin-bottom: 24px;
}

.payment-option {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.3);
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: rgba(228, 174, 58, 0.3);
}

.payment-option.active {
    border-color: var(--gold-primary);
    background: rgba(228, 174, 58, 0.05);
}

.payment-option input[type="radio"] {
    accent-color: var(--gold-primary);
}

/* Custom File Upload Input Styling */
input[type="file"] {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-body);
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: var(--transition);
}

input[type="file"]::file-selector-button {
    background: var(--gold-gradient);
    color: #0a0a0c;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 15px;
    font-family: var(--font-body);
}

input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #d97706 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(228, 174, 58, 0.2);
}

input[type="file"]:hover {
    border-color: var(--border-hover);
    background: rgba(0, 0, 0, 0.5);
}

/* Success Screen Styles */
.success-card {
    text-align: center;
    max-width: 650px;
    margin: 40px auto 0;
    padding: 50px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease-out;
}

/* Admin Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-primary);
}

.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

th, td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

th {
    background: rgba(0,0,0,0.3);
    color: var(--gold-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

tr:hover td {
    background: rgba(255,255,255,0.02);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Footer Section */
footer {
    background: #060608;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 350px;
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* Animations */
@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 44px;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .author-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .author-img-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        gap: 24px;
    }
    .nav-menu.active {
        left: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    .footer-newsletter {
        grid-column: 1 / -1;
        margin-top: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Password Toggle Styles */
.password-input-container {
    position: relative;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: var(--transition);
    z-index: 10;
}

.password-toggle-btn:hover {
    color: var(--gold-primary);
}

.password-toggle-btn svg {
    display: block;
    stroke: currentColor;
}

/* Quotes Slider Layout & Transitions */
.quotes-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px; /* Space for dots indicators */
}

.quotes-slider-wrapper {
    position: relative;
    width: 100%;
}

.quote-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Make slider chevrons float nicely on desktops */
#quotes-prev {
    left: -60px;
}

#quotes-next {
    right: -60px;
}

/* Responsive styles for quotes slider */
@media (max-width: 1080px) {
    .quotes-slider-container {
        padding-left: 60px;
        padding-right: 60px;
    }
    #quotes-prev {
        left: 10px;
    }
    #quotes-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .quotes-slider-container {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 50px;
    }
    #quotes-prev, #quotes-next {
        display: none; /* Hide buttons on mobile for touch swipe space and aesthetics */
    }
    .quote-card {
        padding: 40px 20px;
    }
    .quote-content {
        font-size: 16px;
        line-height: 1.6;
    }
    .quote-icon {
        font-size: 40px;
        top: 10px;
        left: 20px;
    }
    .pricing-title {
        font-size: 16px;
    }
    .pricing-price {
        font-size: 32px;
    }
    .pricing-card .btn {
        font-size: 13px;
        padding: 12px 20px;
    }
    .badge-popular {
        font-size: 9px;
        padding: 3px 8px;
        top: 15px;
        right: 15px;
    }
}

/* ══════════════════════════════════════════
   BLOG GLOBAL STYLES
   ══════════════════════════════════════════ */

/* Expose bg-primary alias (used by blog-post.php hero overlay) */
:root {
    --bg-primary: #0a0a0c;
}

/* Blog section shared */
.blog-section {
    padding: 80px 0;
}

/* Shared blog image placeholder */
.blog-no-cover-placeholder {
    background: linear-gradient(135deg, rgba(228,174,58,0.08) 0%, rgba(10,10,12,0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-radius: 12px;
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}

/* Blog reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold-gradient);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Responsive: hide blog cover on tiny screens */
@media (max-width: 480px) {
    .post-cover-banner {
        max-height: 220px;
    }
}


/* =========================================
   EXTRACTED INLINE CSS
   ========================================= */

/* Extracted from blog.php */
/* ─── Blog Listing Page Styles ─── */
        .blog-hero-section {
            padding: 140px 0 60px;
            text-align: center;
            background: radial-gradient(ellipse at top center, rgba(228,174,58,0.06) 0%, transparent 65%);
        }
        .blog-hero-section .tag { margin-bottom: 16px; display: inline-block; }
        .blog-hero-section h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
        .blog-hero-section p  { color: var(--text-secondary); max-width: 540px; margin: 0 auto; }

        /* Category filter pills */
        .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin: 36px 0 50px;
        }
        .cat-pill {
            padding: 6px 18px;
            border-radius: 999px;
            border: 1px solid rgba(228,174,58,0.25);
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            transition: var(--transition);
            background: transparent;
        }
        .cat-pill:hover,
        .cat-pill.active {
            background: var(--gold-gradient);
            color: #0a0a0c;
            border-color: transparent;
        }

        /* Post grid */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            margin-bottom: 60px;
        }
        @media (max-width: 900px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 580px)  { .blog-grid { grid-template-columns: 1fr; } }

        /* Card */
        .blog-card {
            background: rgba(22, 22, 29, 0.7);
            border: 1px solid rgba(228,174,58,0.12);
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .blog-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
            border-color: rgba(228,174,58,0.35);
        }
        .blog-card-img {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 */
            overflow: hidden;
            background: rgba(15,15,18,0.8);
            flex-shrink: 0;
        }
        .blog-card-img img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .blog-card:hover .blog-card-img img { transform: scale(1.05); }
        .blog-card-img .no-img {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 42px;
            background: linear-gradient(135deg, rgba(228,174,58,0.1), rgba(228,174,58,0.03));
        }
        .blog-card-body {
            padding: 22px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .blog-card-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .blog-card-cat {
            background: rgba(228,174,58,0.12);
            color: var(--gold-primary);
            padding: 2px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 600;
            text-decoration: none;
        }
        .blog-card h3 {
            font-size: 17px;
            line-height: 1.4;
            margin-bottom: 10px;
            color: var(--text-primary);
        }
        .blog-card h3 a {
            text-decoration: none;
            color: inherit;
            transition: color 0.2s;
        }
        .blog-card h3 a:hover { color: var(--gold-primary); }
        .blog-card-excerpt {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            flex: 1;
            margin-bottom: 18px;
        }
        .blog-card-read-more {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: var(--gold-primary);
            text-decoration: none;
            transition: gap 0.2s;
        }
        .blog-card-read-more:hover { gap: 10px; }
        .blog-card-read-more svg { flex-shrink: 0; }

        /* Empty state */
        .blog-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 80px 20px;
            color: var(--text-muted);
        }
        .blog-empty .empty-icon { font-size: 48px; margin-bottom: 16px; }
        .blog-empty h3 { font-size: 20px; color: var(--text-secondary); margin-bottom: 8px; }

        /* Pagination */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding-bottom: 80px;
        }
        .page-link {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            border: 1px solid rgba(228,174,58,0.2);
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .page-link:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
        .page-link.active { background: var(--gold-gradient); color: #0a0a0c; border-color: transparent; }
        .page-link.disabled { opacity: 0.3; pointer-events: none; }
        .page-link-wide { width: auto; padding: 0 16px; }

/* Extracted from blog-post.php */
/* ─── Single Post Styles ─── */
        .post-hero {
            padding-top: 80px;
            position: relative;
        }
        .post-cover-banner {
            width: 100%;
            max-height: 480px;
            object-fit: cover;
            display: block;
            filter: brightness(0.75);
        }
        .post-cover-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(10,10,12,0.1) 0%, rgba(10,10,12,0.7) 70%, var(--bg-primary) 100%);
        }
        .post-hero-content {
            position: relative;
            z-index: 2;
            padding: 60px 0 40px;
            text-align: center;
        }
        /* When no cover image */
        .post-hero-no-cover {
            padding: 130px 0 50px;
            background: radial-gradient(ellipse at top center, rgba(228,174,58,0.07) 0%, transparent 65%);
            text-align: center;
        }

        .post-breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .post-breadcrumb a { color: var(--gold-primary); text-decoration: none; }
        .post-breadcrumb a:hover { text-decoration: underline; }

        .post-header-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .post-cat-badge {
            background: rgba(228,174,58,0.15);
            color: var(--gold-primary);
            padding: 3px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
        }

        .post-title-hero {
            font-size: clamp(1.8rem, 4vw, 3rem);
            line-height: 1.2;
            max-width: 820px;
            margin: 0 auto 16px;
        }

        /* Content area */
        .post-layout {
            display: grid;
            grid-template-columns: 1fr min(720px, 100%) 1fr;
            padding-bottom: 80px;
        }
        .post-layout > * { grid-column: 2; }

        .post-divider {
            width: 60px;
            height: 3px;
            background: var(--gold-gradient);
            border-radius: 2px;
            margin: 30px auto 40px;
        }

        /* Rich content typography */
        .post-content {
            font-size: 17px;
            line-height: 1.85;
            color: var(--text-secondary);
            word-break: break-word;
        }
        .post-content h2 { font-size: 1.6rem; color: var(--text-primary); margin: 2em 0 0.6em; }
        .post-content h3 { font-size: 1.3rem; color: var(--text-primary); margin: 1.8em 0 0.5em; }
        .post-content h4 { font-size: 1.1rem; color: var(--gold-primary); margin: 1.5em 0 0.5em; }
        .post-content p  { margin: 0 0 1.2em; }
        .post-content ul, .post-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
        .post-content li { margin-bottom: 0.5em; }
        .post-content a  { color: var(--gold-primary); text-underline-offset: 3px; }
        .post-content a:hover { opacity: 0.85; }
        .post-content blockquote {
            border-left: 4px solid var(--gold-primary);
            padding: 16px 24px;
            margin: 24px 0;
            background: rgba(228,174,58,0.05);
            border-radius: 0 8px 8px 0;
            color: var(--text-primary);
            font-style: italic;
            font-size: 1.05em;
        }
        .post-content code {
            background: rgba(255,255,255,0.06);
            padding: 2px 7px;
            border-radius: 4px;
            font-size: 0.88em;
            font-family: 'Courier New', monospace;
        }
        .post-content pre {
            background: rgba(0,0,0,0.4);
            border: 1px solid rgba(228,174,58,0.15);
            border-radius: 8px;
            padding: 20px;
            overflow-x: auto;
            margin: 24px 0;
        }
        .post-content pre code { background: none; padding: 0; }
        .post-content img {
            max-width: 100%;
            border-radius: 10px;
            margin: 20px 0;
        }
        .post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
        .post-content th, .post-content td {
            border: 1px solid rgba(228,174,58,0.2);
            padding: 10px 14px;
            font-size: 14px;
        }
        .post-content th { background: rgba(228,174,58,0.08); color: var(--gold-primary); }

        /* Author card */
        .post-author-card {
            display: flex;
            align-items: center;
            gap: 18px;
            background: rgba(22,22,29,0.7);
            border: 1px solid rgba(228,174,58,0.15);
            border-radius: 14px;
            padding: 22px;
            margin: 50px 0 0;
        }
        .post-author-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--gold-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 700;
            color: #0a0a0c;
            flex-shrink: 0;
        }
        .post-author-info strong { color: var(--text-primary); font-size: 15px; display: block; }
        .post-author-info small { color: var(--text-muted); font-size: 13px; }

        /* Related posts */
        .related-section { padding: 60px 0 80px; border-top: 1px solid rgba(228,174,58,0.1); }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 30px;
        }
        @media (max-width: 800px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }

        .related-card {
            background: rgba(22,22,29,0.6);
            border: 1px solid rgba(228,174,58,0.1);
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            display: block;
            transition: transform 0.3s, border-color 0.3s;
        }
        .related-card:hover { transform: translateY(-4px); border-color: rgba(228,174,58,0.3); }
        .related-card-img {
            width: 100%;
            padding-top: 52%;
            position: relative;
            background: rgba(10,10,12,0.5);
            overflow: hidden;
        }
        .related-card-img img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }
        .related-card:hover .related-card-img img { transform: scale(1.04); }
        .related-card-img .no-img-sm {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
        }
        .related-card-body { padding: 16px; }
        .related-card-body h4 { font-size: 14px; color: var(--text-primary); line-height: 1.4; margin-bottom: 6px; }
        .related-card-body small { font-size: 11px; color: var(--text-muted); }

        /* Back to top */
        .back-to-top {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--text-muted);
            font-size: 13px;
            text-decoration: none;
            margin: 10px auto 0;
            transition: color 0.2s;
        }
        .back-to-top:hover { color: var(--gold-primary); }


/* =========================================
   EXTRACTED FROM admin/dashboard.php
   ========================================= */

.admin-layout {
            padding-top: 120px;
            padding-bottom: 60px;
            min-height: 100vh;
        }
        .admin-nav {
            display: flex;
            gap: 10px;
            border-bottom: 1px solid rgba(228, 174, 58, 0.2);
            padding-bottom: 10px;
            margin-bottom: 30px;
        }
        .admin-tab-btn {
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 600;
            padding: 10px 20px;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            border-radius: 6px;
        }
        .admin-tab-btn:hover {
            color: var(--gold-primary);
            background: rgba(228, 174, 58, 0.05);
        }
        .admin-tab-btn.active {
            color: #0a0a0c;
            background: var(--gold-gradient);
        }
        .alert-bar {
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 25px;
            font-size: 14px;
        }
        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            color: #10b981;
        }
        .alert-danger {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }
.inbox-filters { display:flex; gap:8px; margin-bottom:20px; }
                .inbox-filter-btn { padding:6px 16px; border-radius:6px; text-decoration:none; font-size:13px; font-weight:600; border:1px solid rgba(228,174,58,0.2); color:var(--text-secondary); transition:var(--transition); }
                .inbox-filter-btn:hover { border-color:var(--gold-primary); color:var(--gold-primary); }
                .inbox-filter-btn.active { background:var(--gold-gradient); color:#0a0a0c; border-color:transparent; }
                .msg-row { transition:background 0.2s; }
                .msg-row.unread { background:rgba(228,174,58,0.04); }
                .msg-row.unread td:first-child { border-left:3px solid var(--gold-primary); }
                .msg-expand { background:rgba(10,10,14,0.5); border-top:1px solid rgba(228,174,58,0.1); }
                .msg-body-text { white-space:pre-wrap; font-size:14px; line-height:1.7; color:var(--text-secondary); padding:18px; }


/* =========================================
   EXTRACTED FROM admin/login.php
   ========================================= */

.login-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: radial-gradient(circle at 50% 50%, rgba(228, 174, 58, 0.05) 0%, transparent 80%);
        }

/* =========================================
   SMART CHAT WIDGET
   ========================================= */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-widget-toggle {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0a0a0c;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(228, 174, 58, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-widget-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(228, 174, 58, 0.4);
}

.chat-widget-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid rgba(228, 174, 58, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform-origin: bottom right;
    transform: scale(0.5);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.chat-widget-window.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--bg-dark);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(228, 174, 58, 0.1);
}

.chat-header h4 {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
}

.chat-header button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
}

.chat-header button:hover {
    color: var(--gold-primary);
}

.chat-body {
    padding: 20px;
}

@media (max-width: 576px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    .chat-widget-window {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: calc(100vw - 40px);
    }
}
