/* Demo Hero Theme CSS */
body {
    background-color: #050814; /* Beige background */
    color: #F8FAFC;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.hero-section {
    background: #050814;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.hero-section .highlight {
    color: #0060fe; /* Light cyan text */
}

.hero-section p {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
}

.btn-get-started {
    display: inline-block;
    background: white;
    color: #050814;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-get-started:hover {
    transform: scale(1.05);
}

.pricing-integration {
    background-color: #030510; /* Very dark background fallback */
    background-image: 
        linear-gradient(rgba(3, 5, 16, 0.88), rgba(3, 5, 16, 0.88)), /* Increased dark overlay for an even subtler background */
        url('../assets/hero-bg-no-boys.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Ensure content stays above the background */
.se-iii {
    position: relative;
    z-index: 1;
}



/* ----- PRICING TABLE STYLES ADAPTED FOR THEME ----- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');



/* 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: 1rem;
    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: #F8FAFC; /* 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: rgba(255, 255, 255, 0.03); /* Solid white card */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 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: rgba(255, 255, 255, 0.05);
}

/* Popular Plan Highlight */
.plan.popular-plan {
    border-color: #0060fe;
    background: linear-gradient(180deg, rgba(0, 96, 254, 0.15) 0%, rgba(255, 255, 255, 0.03) 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 rgba(255, 255, 255, 0.1);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #F8FAFC; /* Dark text */
    font-family: 'Poppins', sans-serif;
}

.plan-para {
    color: #94A3B8; /* 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;
    min-height: 105px; /* Standardizes height so buttons align horizontally across all cards */
}

.price {
    font-size: 2.5rem;
    font-weight: 800; /* Extra bold */
    margin: 0;
    color: #F8FAFC; /* 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: #94A3B8; /* 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: #0060fe;
    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 */
}

/* Standardize heights of feature groups so that sub-headings perfectly align horizontally across all 4 cards */
.plan > .group:nth-child(4) {
    min-height: 280px; /* Increased to accommodate up to 6 items */
}
.plan > .group:nth-child(5) {
    min-height: 170px; /* Increased to accommodate 3 items */
}

.title-4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1rem 0 0.75rem;
    color: #F8FAFC; /* Dark text */
    font-family: 'Poppins', sans-serif;
}

.list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list li {
    display: flex;
    align-items: center; /* Center align checkmark with text */
    gap: 0.5rem; /* Reduced gap slightly to save space */
    margin-bottom: 1rem; 
    color: #F8FAFC; 
    font-size: 0.85rem; /* Slightly smaller to fit long text on one line */
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    cursor: pointer;
    white-space: nowrap; /* Forces text to stay on a single line */
}

.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: 500; /* Matching weight for uniformity */
    color: #F8FAFC; 
}

/* Tooltips (Triggered on List Item Hover) */
.float-box {
    /* Removed position: absolute so ::after/::before position relative to the <li> */
    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: 1.5rem; /* Aligns the left edge of the tooltip near the text */
    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: 220px; /* Constrain width */
    white-space: normal; /* Ensure text wraps correctly */
    text-align: left; /* Left-aligned text like the reference image */
    box-shadow: 0 10px 25px -5px rgba(0, 96, 254, 0.4); /* Matches tooltip background */
    z-index: 20;
    line-height: 1.5;
}

/* Tooltip Arrow */
.float-box::before {
    content: '';
    display: none;
    position: absolute;
    bottom: 110%; /* Just above the text */
    left: 2.5rem; /* Arrow pointing near the start of the text */
    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 rgba(255, 255, 255, 0.1); /* Light border */
}

.se-footer .line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #F8FAFC; /* Bright text for better visibility */
    font-size: 1rem; /* Increased size for better visibility */
}

.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);
    }
}
