/* Global Styles */
:root {
    --primary: #3B82F6;
    --dark: #0F172A;
    --light: #FFFFFF;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --purple: #8B5CF6;
    --pink: #EC4899;
    --indigo: #6366F1;
    --linkedin: #0A66C2;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #2563EB;
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-purple {
    background-color: var(--purple) !important;
}

.text-purple {
    color: var(--purple) !important;
}

/* Pink utilities */
.bg-pink {
    background-color: var(--pink) !important;
}

.text-pink {
    color: var(--pink) !important;
}

.btn-pink {
    background-color: var(--pink);
    border-color: var(--pink);
}

.btn-pink:hover, .btn-pink:focus {
    background-color: #db2777;
    border-color: #db2777;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* Gradient Primary Button */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--primary), #6366F1);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient-primary:hover, .btn-gradient-primary:focus {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-gradient-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563EB, #4F46E5);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-gradient-primary:hover::after {
    opacity: 1;
}

/* Purple button styles */
.btn-purple {
    background-color: var(--purple);
    border-color: var(--purple);
    color: white;
}

.btn-purple:hover, .btn-purple:focus {
    background-color: #7c3aed;
    border-color: #7c3aed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--light) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MDAiIGhlaWdodD0iNjAwIiB2aWV3Qm94PSIwIDAgNjAwIDYwMCI+PHBhdGggZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIgZD0iTTQwMCAyMDBjMC03Ny4yLTYyLjgtMTQwLTE0MC0xNDBTMTIwIDEyMi44IDEyMCAyMDBzNjIuOCAxNDAgMTQwIDE0MHMxNDAtNjIuOCAxNDAtMTQweiIvPjwvc3ZnPg==');
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Product Cards */
.card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.bundle-card {
    border: 2px solid var(--primary) !important;
    position: relative;
    overflow: hidden;
}

.bundle-card::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 3px 30px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto;
}

/* How It Works */
.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

/* Testimonials */
.testimonial-card .card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 5rem 0;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 3rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

/* Utility Classes */
.section-padding {
    padding: 5rem 0;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.rounded-3 {
    border-radius: 0.75rem !important;
}

/* Custom Button Styles */
.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #2563EB;
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-light:hover {
    color: var(--primary);
    background-color: var(--light);
}

/* Custom Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Form Controls */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Custom Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Custom Badge */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
}

/* Custom Backgrounds */
.bg-light {
    background-color: #F9FAFB !important;
}

/* Custom Utilities */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}
/* Products Grid Tweaks */
.products-grid { row-gap: 1rem !important; }
@media (min-width: 1200px) {
  /* Force 4 cards per row on xl+ for a tighter layout */
  .products-grid > [class*='col-'] { flex: 0 0 25%; max-width: 25%; }
}

/* Playful card hover effects */
#products .card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: radial-gradient(1200px 1200px at 50% -20%, rgba(59,130,246,0.05), transparent 40%) #fff;
  transform-origin: center;
  position: relative;
}
#products .card:hover {
  transform: translateY(-8px) rotate3d(1, -1, 0, 0.5deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.18);
}
#products .card .icon-box { transition: transform 0.35s ease, box-shadow 0.35s ease; }
#products .card:hover .icon-box { transform: scale(1.08) rotate(3deg); box-shadow: 0 10px 18px rgba(0,0,0,0.10); }
@media (min-width: 992px) {
  #products .card-body { padding: 1.5rem; }
  #products .card .text-center.mb-4 { margin-bottom: 1rem !important; }
}
/* Subtle shine on hover */
#products .card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.25) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.6s ease; pointer-events: none;
}
#products .card:hover::after { transform: translateX(120%); }
/* Equal height product cards */
#products .card .card-body { display: flex; flex-direction: column; height: 100%; }
#products .card .card-body > .text-center { flex: 0 0 auto; }
#products .card .card-body > ul { flex: 1 1 auto; margin-bottom: 0; }
#products .card .card-body > .d-grid { flex: 0 0 auto; margin-top: 1rem; }
/* Equal height product cards */
#products .card .card-body { display: flex; flex-direction: column; height: 100%; }
#products .card .card-body > .text-center { flex: 0 0 auto; }
#products .card .card-body > ul { flex: 1 1 auto; margin-bottom: 0; }
#products .card .card-body > .d-grid { flex: 0 0 auto; margin-top: 1rem; }
