/* Agent Packages Section */
.packages-section {
    padding: 100px 40px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.packages-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(54, 117, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.packages-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.packages-header {
    text-align: center;
    margin-bottom: 60px;
}

.packages-header h2 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.packages-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Changed to 3 columns */
    gap: 24px;
    align-items: center;
    /* Center items vertically if they have different heights, or stretch? 'stretch' is better for cards. */
    align-items: stretch;
    max-width: 1200px;
    /* Increased width for 3 cards */
    margin: 0 auto;
    /* Center the grid */
}

/* Card Styles */
.package-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Featured/Prime Card specific styles */
.package-card.prime {
    border-color: #3675ff;
    box-shadow: 0 10px 30px rgba(54, 117, 255, 0.1);
    background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
}

/* Card Header */
.package-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-card.prime .package-name {
    color: #3675ff;
}

.package-price {
    font-size: 48px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    letter-spacing: -0.02em;
}

.package-price span {
    font-size: 18px;
    font-weight: 400;
    color: #64748b;
}

.package-desc {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Features List */
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.package-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #334155;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: #3675ff;
    flex-shrink: 0;
}

/* Buttons */
.package-btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.package-btn.outline {
    border: 2px solid #e2e8f0;
    color: #0f172a;
    background: transparent;
}

.package-btn.outline:hover {
    border-color: #0f172a;
    background: #0f172a;
    color: white;
}

.package-btn.primary {
    background: #3675ff;
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(54, 117, 255, 0.2);
}

.package-btn.primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(54, 117, 255, 0.3);
}

.package-btn.light {
    background: white;
    color: #0f172a;
    border: none;
}

.package-btn.light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 968px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .packages-header h2 {
        font-size: 36px;
    }
}
/* Popular Tag */
.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3675ff;
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(54, 117, 255, 0.2);
    z-index: 10;
    white-space: nowrap;
}
