/* style.css */
body {
  font-family: 'Inter', sans-serif; /* Changed font to Inter for consistency */
  background-color: #09071b; /* Darker background from previous theme */
  color: white; /* Default text color for dark theme */
  scroll-behavior: smooth;
  line-height: 1.6; /* Ensure readability */
}

/* Base container for all content */
.container {
    max-width: 900px;
    margin: 30px auto;
    background: #0f0c29; /* Dark background for container */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3); /* Darker shadow */
    border: 1px solid rgba(255,255,255,0.1); /* Subtle border */
    display: flex; /* Added for payment page layout */
    flex-direction: column; /* Added for payment page layout */
    align-items: center; /* Center content horizontally within container */
}

h1, h3 {
    color: white; /* White for headings */
    text-align: center;
    margin-bottom: 25px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #ff4d6d, #9d4edd); /* Gradient for headings */
}

h1 {
    font-size: 2.5rem; /* Larger heading */
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ccc; /* Slightly lighter for sub-headings */
    background-image: none; /* No gradient for H3 unless specified */
    -webkit-text-fill-color: inherit;
}

/* Plan Grid and Cards (for index.html) */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    width: 100%; /* Ensure grid takes full width of container */
}

.plan-card {
    background: rgba(15, 12, 41, 0.7); /* Similar to content-card from previous theme */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Darker shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.3); /* Secondary color shadow on hover */
    border-color: #9d4edd; /* Highlight border on hover */
}

.plan-card h2 {
    color: white; /* White for plan names */
    font-size: 26px;
    margin-bottom: 10px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #ff4d6d, #9d4edd); /* Gradient for plan name */
}

.plan-card .price {
    font-size: 34px;
    font-weight: 700;
    color: #ff4d6d; /* Primary color for price */
    margin-bottom: 15px;
}

.plan-card .price small {
    font-size: 18px;
    font-weight: 400;
    color: #ccc; /* Lighter gray for small text */
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.plan-card ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #bbb; /* Light gray for list items */
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card ul li.included::before {
    content: '✓';
    color: #28a745; /* Green for included features */
    margin-right: 8px;
    font-weight: bold;
}

.plan-card ul li.not-included::before {
    content: '✕';
    color: #dc3545; /* Red for not-included features */
    margin-right: 8px;
    font-weight: bold;
}

.plan-card ul li h4 { /* For DesiMixd note */
    font-size: 15px;
    color: #ccc;
    margin-top: 10px;
    text-align: center;
}

.buy-button {
    display: inline-block;
    background-image: linear-gradient(to right, #ff4d6d, #9d4edd); /* Gradient for buy button */
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease; /* Smoother transition */
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.buy-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(157, 78, 221, 0.4); /* Secondary color shadow on hover */
}

.ribbon {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #ff4d6d; /* Primary color for ribbon */
    color: white;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.note {
    font-size: 14px;
    color: #aaa; /* Lighter gray for notes */
    margin-top: 25px;
    text-align: center;
    padding: 0 15px;
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 14px;
    color: #bbb; /* Lighter gray for footer text */
    background: #0f0c29; /* Dark background */
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(255,255,255,0.1); /* Subtle top border */
    width: 100%; /* Ensure footer takes full width */
}

@media screen and (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 20px;
    }
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles specific to payment.html (adapted for dark theme) */
.payment-page-container {
    max-width: 600px;
    /* Removed text-align: center; here as parent .container now handles centering of content */
    /* Updated background/border for consistency with general .container */
}
.payment-page-container h1, .payment-page-container h3 {
    background-image: linear-gradient(to right, #ff4d6d, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white; /* Fallback for non-webkit */
}

.plan-details {
    background-color: #1a1538; /* Darker background for plan details box */
    border: 1px solid #302b63; /* Secondary color border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    width: 100%; /* Ensure it takes full available width */
    text-align: left; /* Keep text aligned left within details box */
    color: #eee; /* Lighter text color */
}
.plan-details p {
    margin: 8px 0;
    font-size: 17px;
}
.plan-details p strong {
    color: #ff4d6d; /* Primary color for strong text */
    min-width: 120px; /* Adjusted min-width for better alignment */
    display: inline-block;
}
.plan-details .ios-warning {
    color: white; /* Changed from #ff4d6d to white */
    font-weight: bold;
    font-size: 15px;
    margin-top: 10px;
}
.payment-section {
    display: flex; /* Use flexbox to center content */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    width: 100%; /* Take full width */
}

.payment-section img {
    width: 250px; /* Slightly larger QR */
    border: 4px dashed #9d4edd; /* Secondary color dashed border */
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
    background-color: white; /* QR code itself is usually white, so make background explicit */
    padding: 5px; /* Padding inside border */
    /* Removed margin: 0 auto; as flexbox align-items handles centering */
}
.payment-section img:hover {
    transform: scale(1.05); /* Stronger hover effect */
}
.upi-id {
    margin: 15px 0;
    font-size: 24px; /* Larger UPI ID */
    font-weight: bold;
    color: #ff4d6d; /* Primary color for UPI ID */
    word-break: break-all;
    background: #1a1538; /* Darker background for UPI ID */
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #302b63;
    /* display: inline-block; */ /* Removed as parent is flex, width 100% works better here */
    width: fit-content; /* Adjust width to content */
}
.instructions {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc; /* Light gray text */
    margin-bottom: 10px;
    text-align: center; /* Center instructions */
}
.instructions a {
    color: #9d4edd; /* Secondary color for links */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.instructions a:hover {
    color: #ff4d6d; /* Primary color on hover */
    text-decoration: underline;
}
.payment-page-container h2 {
    color: #eee; /* White for "Send Payment Receipt" heading */
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #ff4d6d, #9d4edd);
}

/* Media query specific to payment.html */
@media screen and (max-width: 600px) {
    .container {
        margin: 20px auto;
        padding: 20px;
    }
    .payment-section img {
        width: 180px; /* Adjust QR size for smaller screens */
    }
    .upi-id {
        font-size: 20px;
        padding: 8px;
    }
    h1 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .payment-page-container h2 {
        font-size: 1.5rem;
    }
}