/* ==========================================================================
   CSS Variables & Custom Properties
   ========================================================================== */
:root {
    /* Primary Colors */
    --bg-deep-slate: #0F1721;
    --bg-deep-slate-alt: #162231;
    --color-coral: #E63946;
    --color-green: #2A9D8F;
    
    /* Secondary & Neutrals */
    --color-off-white: #A8B2C1;
    --color-white: #FFFFFF;
    
    /* Glassmorphism & Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Animation Speeds */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep-slate);
    color: var(--color-off-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 0;
}

.text-center { text-align: center; }
.text-coral { color: var(--color-coral) !important; }
.text-green { color: var(--color-green) !important; }
.text-grey { color: var(--color-off-white) !important; }
.coral-bg { background-color: var(--color-coral) !important; color: white; }
.green-bg { background-color: var(--color-green) !important; color: white; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-coral) 0%, #ff5260 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

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

.btn.text-coral-outline {
    border-color: var(--color-coral);
    color: var(--color-coral);
}
.btn.text-coral-outline:hover {
    background: var(--color-coral);
    color: white;
}

.btn.text-green-outline {
    border-color: var(--color-green);
    color: var(--color-green);
}
.btn.text-green-outline:hover {
    background: var(--color-green);
    color: white;
}

.btn-block { width: 100%; }

.btn.lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.arrow-icon {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}
.btn:hover .arrow-icon { transform: translateX(5px); }


/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 33, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s, padding 0.3s;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 45px; width: 45px; border-radius: 8px; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}
.logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--color-off-white);
    margin-top: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-green);
    transition: width 0.3s ease;
}

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

.btn-header {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
}
.btn-header::after { display: none; }
.btn-header:hover {
    background: var(--color-coral);
    border-color: var(--color-coral);
    color: white;
}

.header-social-links {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    border-left: 1px solid var(--glass-border);
    padding-left: 1rem;
    margin-left: -0.5rem;
}
.header-social-links a {
    color: var(--color-off-white);
    display: flex;
    transition: var(--transition-fast);
}
.header-social-links a:hover {
    color: var(--color-coral);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-deep-slate);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s, transform 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 5%;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--color-white);
    cursor: pointer;
}

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition-fast);
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .menu-link {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* ==========================================================================
   Hero Section & Swiper 
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fullscreen-slider {
    width: 100%;
    height: 100%;
}

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

.fullscreen-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 10s linear;
}

.swiper-slide-active .fullscreen-bg {
    transform: scale(1.1);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(42, 157, 143, 0.2);
    color: var(--color-green);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(42, 157, 143, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; justify-content: center; }

.hero .swiper-pagination {
    bottom: 30px;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--color-green);
    opacity: 1;
}

/* Update section title styles for responsiveness */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-description { font-size: 1rem; }
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.align-start { align-items: flex-start; }

.section-title { font-size: 3rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.15rem; max-width: 600px; margin: 0 auto 3rem; color: var(--color-off-white); }

.glass-card {
    background: var(--bg-deep-slate-alt);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: var(--glass-shadow);
}
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

/* ==========================================================================
   Our Process Section [NEW]
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border: 8px solid var(--bg-deep-slate);
    transition: var(--transition-medium);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(42, 157, 143, 0.5);
}

.process-step h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* ==========================================================================
   Distribution Section [NEW]
   ========================================================================== */
.distribution-section .dist-content {
    background: linear-gradient(to right, rgba(15,23,33,1) 0%, rgba(42,157,143,0.1) 100%);
    border: 1px solid var(--color-green);
    padding: 4rem 2rem;
}

.dist-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.platform {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    font-weight: 600;
    color: var(--color-white);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.platform:hover {
    background: var(--color-green);
    color: var(--bg-deep-slate);
    transform: translateY(-5px);
}

/* ==========================================================================
   Testimonials Section [NEW]
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-deep-slate-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    transition: var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-coral);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimony {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
}

/* ==========================================================================
   Services Section Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-deep-slate-alt);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Packages & Pricing Design
   ========================================================================== */
.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 1rem 0 1.5rem;
    background: linear-gradient(135deg, var(--color-coral) 0%, #ff8a73 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 15px rgba(230, 57, 70, 0.4));
    display: inline-block;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: 0.15rem;
}

.price .price-duration {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-off-white);
    -webkit-text-fill-color: var(--color-off-white);
    margin-left: 0.25rem;
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-deep-slate);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

.pricing-card:hover { transform: translateY(-15px); border-color: var(--color-coral); }
.pricing-card.popular {
    border-color: var(--color-green);
    transform: scale(1.05);
    background: linear-gradient(180deg, var(--bg-deep-slate) 0%, rgba(42, 157, 143, 0.05) 100%);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-green);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    color: #cbd5e1;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: bold;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    background: var(--bg-deep-slate-alt);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.book-img-wrapper {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book-img-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-img-wrapper img { transform: scale(1.05); }

.book-info { padding: 2rem; text-align: center; }

/* ==========================================================================
   Footer & Contact
   ========================================================================== */
input, select, textarea {
    width: 100%;
    background: rgba(15, 23, 33, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    background: rgba(15, 23, 33, 0.8);
}

.footer { background-color: #080b0f; padding: 5rem 0 2rem; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--glass-border); }

/* ==========================================================================
   Book Pricing Additions
   ========================================================================== */
.book-desc {
    font-size: 0.9rem;
    color: var(--color-off-white);
    margin-bottom: 1rem;
    min-height: 45px;
}

.book-pricing {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.price-strikethrough {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.1rem;
}

.price-current {
    font-size: 1.5rem;
}

/* ==========================================================================
   Get in Touch Additions
   ========================================================================== */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    margin-top: 1px;
}

/* Social Links styling */
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition-fast);
}
.social-links a:hover {
    background: var(--color-coral);
    transform: translateY(-3px);
}
.glow-panel {
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.05);
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-details h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-details p {
    color: var(--color-off-white);
    margin: 0;
}

/* ==========================================================================
   Restored Sections (About, Ebook, Footer)
   ========================================================================== */
.ebook-banner {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(42, 157, 143, 0.1) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto 5rem;
}

.ebook-content h2 { color: var(--color-coral); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; }
.ebook-content h3 { font-size: 2.5rem; margin-bottom: 1rem; }
.ebook-content p { max-width: 600px; margin-bottom: 1.5rem; }

.ebook-price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}
.ebook-price span { font-size: 1.1rem; font-weight: 500; color: var(--color-off-white); }
.royalty { font-weight: 600; color: var(--color-green); }

.about-section {
    background-color: var(--bg-deep-slate-alt);
}
.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}
.about-image {
    position: relative;
    z-index: 1;
}
.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-coral), var(--color-green));
    border-radius: 20px;
    top: 15px;
    left: -15px;
    z-index: -1;
    opacity: 0.3;
}

.footer-logo {
    margin-bottom: 1.5rem;
}
.footer-desc {
    color: var(--color-off-white);
    max-width: 400px;
}
.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a:hover {
    color: var(--color-coral);
    padding-left: 5px;
}
.footer-contact p {
    margin-bottom: 1rem;
    color: var(--color-off-white);
}
.footer-bottom {
    padding-top: 2rem;
    color: var(--color-off-white);
    font-size: 0.9rem;
}
.dev-credits {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .section-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero { flex-direction: column; padding-top: 8rem; text-align: center; }
    .hero-title { font-size: 3.5rem; }
    .hero-visual { width: 100%; height: 400px; }
    .process-steps::after { display: none; } /* Remove connecting line on tablet/mobile */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .ebook-banner { flex-direction: column; text-align: center; gap: 2rem; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-title { font-size: 2.8rem; }
    .pricing-card.popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr; }
    
    /* Contact Section Fixes */
    .glass-panel { padding: 1.5rem; }
    .info-block { gap: 1rem; align-items: flex-start; flex-direction: column; text-align: center; align-items: center; }
    .info-icon { margin-bottom: 0; }
    .info-details { width: 100%; }
    .contact-form-wrapper h3 { font-size: 1.5rem; }
    .section-grid { gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2.2rem; }
    .btn { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
    .process-step h4 { font-size: 1.1rem; }
}
