/* public/css/welcome.css */
/* A professional, clean style for the Welcome/Landing page. */

/* --- General & Body --- */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #F7F9FB; /* Neutral Light Gray */
    color: #2E2E2E; /* Dark Charcoal */
    line-height: 1.6;
}

/* --- Header --- */
.main-header {
    background-color: #F7F9FB;
    padding: 15px 0;
    border-bottom: 1px solid #e0e6ed;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-img {
    height: 40px;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #0F4C81; /* Navy Blue */
}
.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
}
.auth-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-login {
    color: #0056D2; /* Royal Blue */
}
.btn-login:hover {
    background-color: #E8F1FA;
}
.btn-signup {
    background-color: #0056D2; /* Royal Blue */
    color: #FFFFFF;
}
.btn-signup:hover {
    background-color: #0F4C81;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 80px 20px; /* Increased top padding */
}
.pricing-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-header h1 {
    font-size: 42px; /* Adjusted size */
    font-weight: 800;
    color: #2E2E2E;
    margin: 0 0 15px 0;
}
.pricing-header h1 span {
    color: #0056D2; /* Royal Blue */
}
.pricing-header p {
    font-size: 18px; /* Adjusted size */
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background-color: #e0e6ed;
    border-radius: 8px;
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.toggle-btn {
    padding: 10px 25px;
    border: none;
    background-color: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toggle-btn.active {
    background-color: #FFFFFF;
    color: #0056D2; /* Royal Blue */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Pricing Slider */
.pricing-slider-container {
    position: relative;
    max-width: 1200px;
    /* margin: 20px auto; */
    padding: 0 40px;
    margin-left: 50px;
    margin-right: 50px;
}
.pricing-slider-wrapper {
    overflow: hidden;
}
.pricing-slider {
    display: none;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 20px 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}
.pricing-slider::-webkit-scrollbar {
    display: none;
}
.pricing-slider.active {
    display: flex;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid #e0e6ed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #0F4C81;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}
.slider-arrow:hover {
    background-color: #0056D2;
    color: #FFFFFF;
    border-color: #0056D2;
}
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/*
================================================================================
  REVISED PRICING CARD STYLING
================================================================================
*/
.pricing-card {
    flex: 0 0 210px; /* ✅ UPDATED: Reduced width */
    /* height: 350px;  */
    height: 400px;
    /* ✅ UPDATED: Reduced height */
   min-width: 250px;
    background-color: #FFFFFF; /* ✅ UPDATED: White background */
    border: 1px solid #0F4C81; /* ✅ UPDATED: Softer border */
    border-radius: 12px;
    padding: 25px; /* ✅ UPDATED: Reduced padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2E2E2E;
    margin: 0 0 15px 0;
    transition: color 0.4s ease;
}
.pricing-card .price {
    font-size: 38px;
    font-weight: 700;
    color: #0056D2;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}
.pricing-card .price sup {
    font-size: 18px;
    font-weight: 600;
    vertical-align: top;
    margin-right: 4px;
}
.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    flex-grow: 1;
}
.pricing-card .features li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    transition: color 0.4s ease;
}
.pricing-card .features i {
    color: #00B388; /* Accent Green */
    margin-right: 10px;
}
.btn-choose {
    display: block;
    width: 90%;
    padding: 12px;
    border-radius: 6px;
    background-color: #0056D2;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Card Hover State */
.pricing-card:hover {
    transform: scale(1.05) translateY(-10px);
    background-color: #0F4C81; /* Navy Blue */
    border-color: #0F4C81;
    box-shadow: 0 15px 30px rgba(15, 76, 129, 0.2);
}
.pricing-card:hover h3, .pricing-card:hover .features li {
    color: #E8F1FA; /* Faded White */
}
.pricing-card:hover .price {
    color: #FFFFFF; /* Bright White */
}
.pricing-card:hover .btn-choose {
    background-color: #00B388; /* Accent Green */
    color: #FFFFFF;
    border: none;
}
/*
================================================================================
  END OF REVISED CARD STYLING
================================================================================
*/


/* --- Footer --- */
.main-footer {
    background-color: #2E2E2E; /* Dark Charcoal */
    color: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
}
.social-icons {
    margin-bottom: 20px;
}
.social-icons a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 20px;
    margin: 0 12px;
    transition: color 0.2s ease;
}
.social-icons a:hover {
    color: #bbd5f0; /* Sidebar Hover BG */
}
.copyright {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .pricing-header h1 { font-size: 32px; }
    .pricing-header p { font-size: 16px; }
    .slider-arrow { display: none; }
    .pricing-slider-container { padding: 0; }
    .pricing-slider {
        padding: 20px;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: -20px;
        margin-right: -20px;
    }
    .pricing-card { flex: 0 0 80%; }
}

/* public/css/welcome.css */

/* ... all your existing styles ... */

/*
================================================================================
  NEW STYLES FOR CURRENCY SELECTOR & NO-PLANS MESSAGE
================================================================================
*/

/* --- Currency Selector in Header --- */
.currency-selector-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #E8F1FA; /* Light Blue BG */
    border: 1px solid #cdd9e5;
    border-radius: 6px;
    padding: 8px 30px 8px 12px;
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #0F4C81; /* Navy Blue */
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-selector:hover {
    border-color: #0056D2;
    background-color: #e0eaf3;
}

.currency-selector:focus {
    outline: none;
    border-color: #0056D2;
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.2);
}

.currency-selector-wrapper::after {
    content: '\f078'; /* Font Awesome caret-down icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #0F4C81;
    pointer-events: none; /* Allows clicks to pass through to the select */
}

/* --- No Plans Available Message Box --- */
.no-plans-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.no-plans-container .icon {
    font-size: 48px;
    color: #0056D2; /* Royal Blue */
    margin-bottom: 20px;
}

.no-plans-container h3 {
    font-size: 24px;
    color: #2E2E2E;
    margin: 0 0 10px 0;
}

.no-plans-container p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

/* Make the fallback selector slightly larger */
/* .no-plans-container .currency-selector {
    padding: 10px 35px 10px 15px;
    font-size: 16px;
   
} */

/* ✅ FIX: Center the currency selector wrapper within the container */
.no-plans-container .currency-selector-wrapper {
    display: inline-block; /* This makes the wrapper respect the text-align: center of its parent */
    /* The position: relative is inherited, which is fine for the ::after pseudo-element */
}


/* Make the fallback selector slightly larger */
.no-plans-container .currency-selector {
    padding: 10px 35px 10px 15px;
    font-size: 16px;
}

/* public/css/welcome.css */

/* ... at the end of the file, before media queries if possible ... */

/*
================================================================================
  NEW STYLES FOR PRICING CARD 'SAVE' TAG
================================================================================
*/
.pricing-card {
    /* Add these two properties to the existing .pricing-card rule */
    position: relative;
    overflow: hidden; /* This is crucial for the ribbon effect */
}

.save-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.save-tag span {
    position: absolute;
    width: 150%;
    height: 30px;
    background-color: #00B388; /* Your Accent Green */
    transform: rotate(45deg) translateY(-20px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    line-height: 30px;
    text-transform: uppercase;
}