@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

:root {
    --bg-container: #ffffff;
    --border-color: #cbd5e1;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.15);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --accent-pink: #ec4899;
    --accent-pink-hover: #db2777;
    --slate-700: #334155;
}

/* Modernized Pricing Page Styles */

.pricing-card-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    margin: 40px auto;
    max-width: 1300px;
    padding: 0 16px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-container);
    border: 3px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-pink);
}

.pricing-card.three-card-layout {
    width: 290px;
    min-height: 480px;
}

.pricing-card.four-card-layout {
    width: 230px;
    min-height: 440px;
}

.pricing-card.selected {
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.25), var(--shadow-lg);
}

/* Slanted Comic Header */
.pricing-card > div:first-child {
    font-family: 'Bangers', cursive;
    font-size: 32px;
    background: linear-gradient(135deg, var(--accent-pink), #db2777);
    color: white;
    padding: 12px 12px 24px 12px;
    margin: -28px -28px 24px -28px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1.5px;

    /* Vertical centering and fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-sizing: border-box;
}

.pricing-card.selected > div:first-child {
    background: linear-gradient(135deg, #f472b6, #ec4899);
}

/* Suggested Card Highlights */
.pricing-card.suggested {
    border-color: #fbbf24;
    border-width: 4px;
    position: relative;
}

.pricing-card.suggested::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444; /* Crimson Red */
    color: white;
    font-family: 'Bangers', cursive;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transform: rotate(5deg);
    letter-spacing: 0.5px;
}

.pricing-card.suggested > div:first-child {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    text-shadow: 0 2px 4px #78350f;
}

.pricing-card.suggested .subscribe-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.pricing-card.suggested .subscribe-btn:hover {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 6px 15px rgba(217, 119, 6, 0.45);
}

.pricing-card.suggested:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Plan details & pricing */
.price-detail {
    font-weight: 800;
    color: var(--text-primary);
}

.price-detail-slash {
    position: absolute;
    border-top: 3px solid #ef4444; /* red-500 */
    left: 0;
    right: 0;
    top: 50%;
    transform: rotate(-15deg);
    transform-origin: center;
}

.pricing-card > div:nth-child(3) {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 8px 0 16px 0;
}

.pricing-card ul {
    margin: 16px 0;
    padding-left: 20px;
    color: var(--text-secondary);
    text-align: left;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.subscribe-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-pink), #db2777);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    transition: all 0.2s ease-in-out;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #f472b6, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(236, 72, 153, 0.45);
}

.subscribe-btn:active {
    transform: translateY(0);
}

/* Ruby Program Discount Section */
.rubyprogram {
    margin: 40px auto 24px auto;
    width: 100% !important;
    max-width: 960px !important;
    background: #fff5f7;
    border: 3px dashed #fbcfe8;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    box-sizing: border-box;
    box-shadow: var(--shadow-md);
}

.rubylogo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.rubytext {
    font-size: 16px;
    color: var(--slate-700);
    line-height: 1.6;
}

.rubyprogramtext {
    color: #db2777;
    font-weight: 800;
    font-size: 18px;
}

/* Landing Page video embedded player styling */
.embed-youtube {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.embed-youtube iframe,
.embed-youtube object,
.embed-youtube embed {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.alpaca-holder {
    width: 375px;
}

/* Custom Plan Horizontal Banner Styles */
.customplan-banner {
    margin: 32px auto 0 auto;
    width: 100% !important;
    max-width: 960px !important;
    background: #f0f9ff; /* Light Sky Blue */
    border: 3px dashed #bae6fd; /* Light Sky Dashed Border */
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    box-sizing: border-box !important;
    box-shadow: var(--shadow-md);
    cursor: default;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.customplan-banner:hover {
    transform: none; /* Override standard lift-up animation for banners */
    box-shadow: var(--shadow-lg);
    border-color: #7dd3fc;
}

.customplan-text-container {
    flex-grow: 1;
}

.customplan-title {
    font-family: 'Bangers', cursive;
    font-size: 32px;
    color: #0369a1; /* Sky-700 */
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(3, 105, 161, 0.1);
}

.customplan-body {
    font-size: 16px;
    color: var(--slate-700);
    line-height: 1.6;
}

.customplan-action {
    flex-shrink: 0;
}

.customplan-action .subscribe-btn {
    width: 180px;
    background: linear-gradient(135deg, #0284c7, #0369a1); /* Sky gradient */
    box-shadow: 0 4px 10px rgba(3, 105, 161, 0.3);
}

.customplan-action .subscribe-btn:hover {
    background: linear-gradient(135deg, #38bdf8, #0369a1);
    box-shadow: 0 6px 15px rgba(3, 105, 161, 0.45);
}

@media (max-width: 768px) {
    .customplan-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .customplan-action {
        width: 100%;
    }
    .customplan-action .subscribe-btn {
        width: 100%;
    }
}

/* Features Grid Redesign styling */
.allInclude {
    text-align: center;
    margin-bottom: 48px;
}

.allInclude .h2 {
    font-family: 'Bangers', cursive;
    font-size: 42px;
    letter-spacing: 1.5px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 32px !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.feature-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.2);
}

.feature-title {
    font-family: 'Bangers', cursive;
    font-size: 22px;
    letter-spacing: 1px;
    color: #fbbf24; /* Amber/gold title */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.feature-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
