@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    background-color: #F8FAFC; /* White/Light background */
    color: #0F172A; /* Dark text */
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.py-90 {
    padding: 90px 0;
}

/* Typography */
.se-head {
    text-align: center;
    margin-bottom: 4rem;
}

.se-title-1 {
    color: #0060fe;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.se-title-2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: #0F172A; /* Dark text */
    font-family: 'Poppins', sans-serif;
}

/* Grid Layout for Plans */
.plans .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Plan Card Styling (Glassmorphism Light) */
.plan {
    background: #ffffff; /* Solid white card */
    border: 1px solid #e2e8f0; /* Light border */
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    position: relative;
    box-sizing: border-box;
}

/* Plan Hover */
.plan:hover {
    transform: translateY(-10px);
    border-color: #0060fe;
    box-shadow: 0 20px 25px -5px rgba(0, 96, 254, 0.15), 0 8px 10px -6px rgba(0, 96, 254, 0.1);
    background: #ffffff;
}

/* Popular Plan Highlight */
.plan.popular-plan {
    border-color: #0060fe;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(0, 96, 254, 0.1);
    transform: scale(1.03);
    z-index: 2;
}

.plan.popular-plan:hover {
    transform: scale(1.03) translateY(-10px);
}

/* Plan Header */
.plan-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #0F172A; /* Dark text */
    font-family: 'Poppins', sans-serif;
}

.plan-para {
    color: #475569; /* Muted dark text */
    font-size: 0.85rem;
    font-weight: 500; /* Slightly bolder */
    margin: 0;
    min-height: 2.8rem; /* Keeps alignment even if text breaks into 2 lines */
}

/* Pricing Section */
.plan-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800; /* Extra bold */
    margin: 0;
    color: #0F172A; /* Dark text */
    display: block; /* Removed flex to stack Billed Yearly below */
    font-family: 'Poppins', sans-serif;
}

.price-comment {
    display: block;
    font-size: 0.8rem;
    color: #475569; /* Muted dark text */
    font-weight: 500; /* Slightly bolder */
    margin-top: 0.25rem;
    font-family: 'Roboto', sans-serif;
}

/* Action Button */
.actions {
    margin-bottom: 2.5rem;
}

.btn-fill-primary {
    display: block;
    text-align: center;
    background: #0060fe;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px; /* Sharper corners like screenshot */
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-fill-primary:hover {
    background: #0073ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 96, 254, 0.3);
}

/* Feature Lists */
.group {
    margin-bottom: 1.75rem;
    flex-grow: 1; /* Pushes footer lists down */
}

.title-4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1rem 0 0.75rem;
    color: #0F172A; /* Dark text */
    font-family: 'Poppins', sans-serif;
}

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

.list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem; /* More spacing between items */
    color: #475569; /* Muted dark text */
    font-size: 0.9rem; /* Matches screenshot */
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    cursor: pointer;
}

.list li img {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230060fe'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.fw-bold {
    font-weight: 700;
    color: #0F172A; /* Darker to stand out */
}

.dashed-text {
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 2px;
}

/* Tooltips (Triggered on List Item Hover) */
.float-box {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Tooltip Text Bubble (Theme style) */
.float-box::after {
    content: attr(data-text); /* Gets the text from HTML */
    display: none;
    position: absolute;
    bottom: 130%; 
    left: 1rem; /* Aligns with the text slightly */
    background: #0060fe; /* Theme blue color */
    color: #ffffff;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem; /* Increased size */
    font-weight: 500; /* Bolder text */
    font-family: 'Poppins', sans-serif;
    width: max-content;
    max-width: 250px;
    box-shadow: 0 10px 25px -5px rgba(0, 96, 254, 0.4); /* Matches tooltip background */
    z-index: 20;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    line-height: 1.5;
}

/* Tooltip Arrow */
.float-box::before {
    content: '';
    display: none;
    position: absolute;
    bottom: 100%; /* Just above the text */
    left: 2rem;
    border-width: 6px;
    border-style: solid;
    border-color: #0060fe transparent transparent transparent; /* Theme blue arrow */
    z-index: 20;
}

/* Show Tooltip when hovering anywhere on the list item */
.list li {
    cursor: pointer;
}

.list li:hover .float-box::after,
.list li:hover .float-box::before {
    display: block;
}

/* Footer Section */
.se-footer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0; /* Light border */
}

.se-footer .line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b; /* Muted dark text */
    font-size: 0.95rem;
}

.se-footer .icon {
    width: 24px;
    height: 24px;
    filter: invert(29%) sepia(87%) saturate(2250%) hue-rotate(209deg) brightness(101%) contrast(106%); /* Makes it blue to match theme */
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .plan.popular-plan {
        transform: scale(1);
    }
    .plan.popular-plan:hover {
        transform: translateY(-10px);
    }
}
