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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
  height: 60px;   /* Only image size changes */
  width: auto;
  display: block;
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.logo-icon {
    position: relative;
}

.book-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.book {
    width: 30px;
    height: 8px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 2px;
    position: relative;
    animation: bookGlow 2s ease-in-out infinite alternate;
}

.book:nth-child(2) {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    animation-delay: 0.3s;
}

.book:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation-delay: 0.6s;
}

@keyframes bookGlow {
    0% { box-shadow: 0 0 5px rgba(74, 222, 128, 0.3); }
    100% { box-shadow: 0 0 20px rgba(74, 222, 128, 0.6); }
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 10px;
    color: #a1a1aa;
    letter-spacing: 0.5px;
    margin-top: -2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
}


/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 0;
}

/* Product Gallery */
.product-gallery {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    touch-action: pan-x;
    user-select: none;
    cursor: grab;
}

.product-image:active {
    cursor: grabbing;
}

/* Product Info */
.product-info {
    margin: 40px 0;
}

.product-header {
    margin-bottom: 30px;
}

.brand {
    color: #4ade80;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    color: #fbbf24;
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.review-count {
    color: #a1a1aa;
    font-size: 14px;
}

/* Pricing */
.pricing-section {
    margin: 30px 0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 18px;
    color: #6b7280;
    text-decoration: line-through;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.sale-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

/* Purchase Section */
.purchase-section {
    margin: 40px 0;
}

.buy-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #4ade80;
    color: #ffffff;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.buy-now-btn:hover .btn-glow {
    left: 100%;
}

/* Countdown Timer */
.countdown-container {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    color: #000000;
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.3);
}

.countdown-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-header p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.time-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.time-label {
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    opacity: 0.8;
}

.time-separator {
    font-size: 24px;
    font-weight: 700;
    margin: 0 5px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.feature-icon {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.4;
}

.ebook-description {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 40px;
  font-size: 15px; /* 👈 size chhota kiya yahan */
  line-height: 1.6;
  color: #80c486;
  font-family: 'Arial', sans-serif;
  text-align: left;
}



/* Device Preview */
.single-image-preview {
  text-align: center;
  padding: 40px 0;
}

.single-image-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


.device {
    position: relative;
    transition: all 0.5s ease;
}

.device:hover {
    transform: translateY(-10px) rotateY(5deg);
}

.tablet {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.laptop {
    width: 250px;
    height: 180px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}

.laptop::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 10px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 0 0 15px 15px;
}

.phone {
    width: 120px;
    height: 200px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-screen img {
    width: 40%;
    height: 85s%;
    object-fit: cover;
    border-radius: 8px;
}

/* Content Preview */
.content-preview {
    margin: 60px 0;
}

.content-preview h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.content-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.content-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: #4ade80;
}

.item-number {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
    line-height: 1.6;
}

.item-content strong {
    color: #4ade80;
    font-weight: 600;
}

/* Reviews Section */
.reviews-section {
    margin: 60px 0;
}

.reviews-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.review-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.review-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.featured-review {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: #4ade80;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-date {
    color: #a1a1aa;
    font-size: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
    overflow: hidden;
}

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

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 14px;
}

.purchase-info {
    color: #a1a1aa;
    font-size: 12px;
}

.verified-purchase {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4ade80;
    font-size: 12px;
}

.review-text {
    line-height: 1.6;
    color: #e5e5e5;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.page-btn:hover, .page-btn.active {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000000;
    transform: translateY(-2px);
}

/* Payment Methods */
.payment-methods {
    margin: 40px 0;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.amex {
    background: linear-gradient(135deg, #2e86ab 0%, #a23b72 100%);
    color: white;
    font-weight: 700;
}

.visa {
    background: linear-gradient(135deg, #1a1f71 0%, #0f3460 100%);
    color: white;
    font-weight: 700;
}

.mc-circles {
    display: flex;
    align-items: center;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.circle.red {
    background: #eb001b;
    margin-right: -8px;
}

.circle.yellow {
    background: #ff5f00;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content p {
    color: #6b7280;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 9px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .countdown-timer {
        gap: 5px;
    }
    
    .time-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .status-bar {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .browser-bar {
        padding: 10px 15px;
    }
    
    .main-content {
        padding: 0 15px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Focus States */
button:focus,
input:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .product-image-container {
        border: 2px solid #ffffff;
    }
    
    .review-item {
        border: 2px solid #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Payment Page Styles */
.payment-content {
    max-width: 600px;
    margin: 140px auto 0;
    padding: 0 20px;
}

.payment-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.payment-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-header p {
    color: #a1a1aa;
    font-size: 16px;
}

.order-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #4ade80;
}

.order-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.order-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.item-price {
    color: #4ade80;
    font-size: 18px;
    font-weight: 700;
}

.order-total {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 700;
    color: #4ade80;
}

.payment-form h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #4ade80;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.payment-method {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
}

.payment-method.active {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.payment-method i {
    font-size: 20px;
    color: #4ade80;
}

.payment-method span {
    font-size: 12px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e5e5e5;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4ade80;
    background: rgba(255, 255, 255, 0.08);
}

.pay-button {
    width: 100%;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border: none;
    border-radius: 15px;
    padding: 18px;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.4);
}

.pay-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 12px;
}

.badge i {
    color: #4ade80;
}

@media (max-width: 768px) {
    .payment-content {
        padding: 0 15px;
    }
    
    .payment-container {
        padding: 20px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
}}