/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Battambang:wght@400;700&family=Bayon&display=swap');

:root {
    --primary-color: #367cd8;
    --secondary-color: #da0357;
    --background-dark: #121212;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --glass-border: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Battambang', sans-serif;
    background-color: var(--background-dark);
    /* Fallback background if image fails or for overlay */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://www.sachcharak.com/bg/Backgroud.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    height: 100%;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Commented out to prevent conflict with standard headers from rak.css
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo img {
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glow);
}

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

.lang-switch img {
    width: 28px;
    height: auto;
    border-radius: 4px;
    transition: transform var(--transition-speed);
}

.lang-switch:hover img {
    transform: scale(1.1);
}

.contact-btn {
    background: var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
}

.contact-btn:hover {
    background: #2a65b0;
}
*/

/* Breadcrumb nav */
.breadcrumb-nav {
    padding: 15px 5%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumb-nav a {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.breadcrumb-nav a.active {
    background: linear-gradient(135deg, #367cd8 0%, #00c6ff 100%) !important;
    color: #fff !important;
    border: none;
}

.breadcrumb-nav span {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb-nav i {
    font-size: 12px;
    color: var(--text-gray);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
}

.hero-logo {
    width: 120px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #fff, #b3b3b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-gray);
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Custom font family matching other pages */
.section-title {
    font-family: 'Bayon', 'Outfit', sans-serif;
    text-align: center;
    font-size: 1.5rem;
    margin: 40px 0 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* High-End Pricing Grid */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    /* More breathing room */
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    /* Ultra subtle glass */
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    /* JS Tilt will handle transform, but we enable 3D */
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    /* Fast transform for JS */
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Glowing Border Effect using Pseudo-element */
.pricing-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: 25px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 140, 0, 0.2) 70%,
            rgba(255, 215, 0, 0.45));
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

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

/* Inner highlight */
.pricing-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Specific Delays */
.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
    animation-delay: 0.4s;
}

.pricing-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(54, 124, 216, 0.1);
    z-index: 10;
}

/* Premium Badge */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), #ff4d88);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(218, 3, 87, 0.4);
    transform: translateZ(50px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    transform: translateZ(30px);
    /* 3D Pop */
}

.card-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-light);
    transform: translateZ(40px);
    /* 3D Pop */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.card-period {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
}

.card-features {
    text-align: left;
    margin: 20px 0 30px;
    flex-grow: 1;
    /* Pushes button down */
}

.card-features li {
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.card-features li::before {
    content: '✓';
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

.feature-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 15px 0;
}

.feature-heading {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.buy-btn {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    margin-top: auto;
    transform: translateZ(30px);
    /* 3D Pop */
    box-shadow: 0 5px 15px rgba(54, 124, 216, 0.4);
}

.buy-btn:hover {
    background: #2860a8;
}

/* Payment Instructions */
.payment-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 5%;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.payment-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.payment-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.footer-logo {
    width: 60px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.footer-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    margin-top: 15px;
    font-weight: 600;
}
/* Custom Contact Card & Button Styling */
.contact-card-custom {
  background: var(--card-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px !important;
  padding: 30px 25px !important;
  max-width: 500px !important;
  margin: 40px auto 20px auto !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  text-align: center !important;
}

/* For light mode shadow */
@media (prefers-color-scheme: light) {
  .contact-card-custom {
    box-shadow: 0 8px 30px rgba(54, 124, 216, 0.06) !important;
  }
}

.contact-card-custom img {
  width: 100px !important;
  height: 100px !important;
  margin: 10px !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid var(--glass-border) !important;
}

.contact-card-custom h1 {
  margin: 0 0 5px 0 !important;
  font-size: 25px !important;
  color: var(--text-light) !important;
  font-weight: 700 !important;
}

.contact-card-custom p {
  margin: 0 0 20px 0 !important;
  font-size: 15px !important;
  color: var(--text-gray) !important;
}

.contact-btn-custom {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #da0357, #ff4d88) !important;
  color: #ffffff !important;
  padding: 12px 30px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(218, 3, 87, 0.35) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  border: none !important;
  width: auto !important;
}

.contact-btn-custom:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(218, 3, 87, 0.5) !important;
  color: #ffffff !important;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    width: 50px;
    transition: width 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.social-item:hover {
    width: 200px;
    background: rgba(0, 0, 0, 0.9);
}

.social-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
}

.social-text {
    margin-left: 15px;
    font-size: 13px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-item:hover .social-text {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .sticky-sidebar {
        display: none;
        /* Hide sticky on mobile usually better ux */
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --background-dark: #f6f8fa;
        --card-bg: rgba(255, 255, 255, 0.85);
        --text-light: #0f172a;
        --text-gray: #475569;
        --glass-border: rgba(54, 124, 216, 0.15);
        --hover-bg: rgba(54, 124, 216, 0.06);
    }
    
    body, html {
        background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('https://www.sachcharak.com/bg/Backgroud.png') !important;
        color: var(--text-light) !important;
    }
    
    header {
        background: rgba(255, 255, 255, 0.8) !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }
    
    .breadcrumb-nav a {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #475569 !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .breadcrumb-nav a:hover {
        background: rgba(0, 0, 0, 0.1) !important;
        color: #0f172a !important;
    }
    
    .breadcrumb-nav span {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #475569 !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .breadcrumb-nav i {
        color: #475569 !important;
    }
    
    .hero-title {
        background: linear-gradient(45deg, #0f172a, #475569) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
    
    .pricing-card {
        background: var(--card-bg) !important;
        border: 1px solid var(--glass-border) !important;
        box-shadow: 0 8px 30px rgba(54, 124, 216, 0.06) !important;
    }
    
    .pricing-card:hover {
        border-color: rgba(54, 124, 216, 0.45) !important;
        box-shadow: 0 12px 35px rgba(54, 124, 216, 0.15) !important;
    }
    
    .pricing-card .card-price {
        color: #0f172a !important;
    }
    
    .pricing-card .feature-list li {
        color: #0f172a !important;
    }
    
    .pricing-card .feature-list li i {
        color: var(--primary-color) !important;
    }
    
    .pricing-card .card-button {
        color: #ffffff !important;
    }
    
    .info-card, .transaction-form {
        background: var(--card-bg) !important;
        border: 1px solid var(--glass-border) !important;
        box-shadow: 0 8px 30px rgba(54, 124, 216, 0.06) !important;
        color: #0f172a !important;
    }
    
    .info-card h3, .transaction-form h3 {
        color: #0f172a !important;
    }
    
    .form-group label {
        color: #475569 !important;
    }
    
    .form-group input, .form-group select {
        background: rgba(0, 0, 0, 0.04) !important;
        border: 1px solid var(--glass-border) !important;
        color: #0f172a !important;
    }
    
    .form-group input:focus, .form-group select:focus {
        background: rgba(0, 0, 0, 0.06) !important;
        border-color: var(--primary-color) !important;
    }
    
    .file-input-wrapper {
        background: rgba(0, 0, 0, 0.02) !important;
        border: 2px dashed var(--glass-border) !important;
        color: #475569 !important;
    }
    
    .file-input-wrapper:hover {
        background: rgba(54, 124, 216, 0.05) !important;
        border-color: var(--primary-color) !important;
    }
    
    .file-input-wrapper i {
        color: var(--primary-color) !important;
    }
    
    .contact-sidebar {
        background: rgba(255, 255, 255, 0.9) !important;
        border-left: 1px solid var(--glass-border) !important;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.05) !important;
    }
    
    .contact-sidebar h3 {
        color: #0f172a !important;
    }
    
    .contact-link {
        background: rgba(0, 0, 0, 0.04) !important;
        border: 1px solid var(--glass-border) !important;
        color: #0f172a !important;
    }
    
    .contact-link:hover {
        background: rgba(54, 124, 216, 0.08) !important;
        border-color: var(--primary-color) !important;
    }
}