/* Reset & General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.6;
}

.adf-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Step 1: Plans Grid */
.adf-plans-heading {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

.adf-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.adf-plan-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 100%;
}

.adf-plan-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    text-align: center;
}

.adf-plan-card-price {
    margin-bottom: 20px;
    text-align: center;
}

.adf-plan-card-price-label {
    font-size: 13px;
    color: #ff2d92;
    font-weight: 500;
    margin-bottom: 5px;
}

.adf-plan-card-subtitle {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.adf-plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.adf-plan-card-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.adf-plan-card-features .feature-check {
    color: #4caf50;
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.adf-plan-card-features .feature-text {
    color: #333;
}

.adf-plan-card-button {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    background: #ff2d92;
    color: white;
    text-align: center;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: auto;
    font-size: 14px;
}

.adf-plan-card-button:hover {
    background: #e61980;
    color: white;
}

.adf-no-plans {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 30px;
}

/* Step 2: Plan Details Page */
.adf-plan {
    display: flex;
    gap: 40px;
}

.adf-plan-content-wrapper {
    flex: 1;
}

.adf-plan-image-wrapper {
    width: 300px;
    flex-shrink: 0;
}

.adf-plan-image {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.adf-plan-image img {
    width: 100%;
    height: auto;
    display: block;
}

.adf-plan-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.adf-step-back {
    display: inline-block;
    color: #ff2d92;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
}

.adf-step-back:hover {
    text-decoration: underline;
}

.adf-plan-content p {
    margin-bottom: 10px;
    color: #555;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #000;
}

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

.adf-plan-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ff2d92;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.adf-plan-features li:hover {
    background-color: #fff0f6;
}

.adf-plan-features li.selected {
    background-color: #fff0f6;
    border-width: 2px;
}

.feature-left {
    display: flex;
    align-items: center;
}

.feature-checkbox {
    margin-right: 10px;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ff2d92;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.feature-checkbox:checked {
    background-color: #ff2d92;
}

.feature-checkbox:checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.feature-text {
    color: #333;
}

.feature-price {
    color: #ff2d92;
    font-weight: 600;
}

.adf-plan-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adf-plan-price {
    display: flex;
    align-items: baseline;
}

.adf-plan-price .currency {
    font-size: 16px;
    font-weight: 600;
}

.adf-plan-price .amount {
    font-size: 24px;
    font-weight: 700;
    margin: 0 2px;
}

.adf-plan-price .vat {
    font-size: 14px;
    color: #777;
}

.adf-plan-button {
    display: inline-block;
    padding: 12px 25px;
    background: #ff2d92;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.adf-plan-button:hover {
    background: #e61980;
    color: white;
}

/* Step 3: Selected Features Display */
.adf-selected-features {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.adf-selected-features h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.adf-selected-category {
    margin-bottom: 15px;
}

.adf-selected-category h5 {
    color: #444;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.adf-selected-category ul {
    list-style: none;
    padding: 0;
}

.adf-selected-category li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.feature-name {
    color: #555;
}

.feature-extra-price {
    color: #ff2d92;
    font-weight: 600;
}

.adf-base-plan-info {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.base-plan-price {
    display: flex;
    justify-content: space-between;
    color: #333;
    font-weight: 500;
}

.adf-price-summary {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
}

.total-price span {
    color: #ff2d92;
}

/* Customization Page (Step 2) */
.adf-step-indicator {
    display: flex;
    margin-bottom: 30px;
}

.adf-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    color: #777;
    position: relative;
    margin-right: 5px;
}

.adf-step:last-child {
    margin-right: 0;
}

.adf-step.active {
    background: #ff2d92;
    color: white;
    font-weight: 500;
}

/* Responsive styles */
@media (max-width: 768px) {
    .adf-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .adf-plan {
        flex-direction: column;
    }
    
    .adf-plan-image-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .adf-plan-footer {
        flex-direction: column;
    }
    
    .adf-plan-price {
        margin-bottom: 15px;
    }
}

/* Special styling for the Google Ads Plans layout */
.adf-plans-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.adf-plan-card {
    border: 1px solid #e0e0e0;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 15px;
}

.adf-plan-card-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 5px;
}

.adf-plan-card-price-label {
    font-size: 12px;
}

.adf-plan-card-features {
    margin-top: 15px;
}

.adf-plan-card-features .feature-check {
    color: #4caf50;
}

/* Second step/customization page styling */
.adf-plan-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.adf-plan-section.integrations,
.adf-plan-section.pages {
    margin-top: 20px;
}

.section-title {
    margin-bottom: 10px;
    color: #333;
}

.adf-plan-features li {
    margin-bottom: 8px;
    border-radius: 25px;
    border: 1px solid #ff2d92;
    padding: 12px 15px;
}

.adf-plan-section.integrations .feature-left,
.adf-plan-section.pages .feature-left {
    flex: 1;
}

.adf-plan-section.integrations .feature-price,
.adf-plan-section.pages .feature-price {
    color: #ff2d92;
    font-weight: 600;
}

/* Cart/summary page styling */
.adf-total-price-display {
    text-align: right;
    font-size: 18px;
    margin: 20px 0;
}

.adf-total-price {
    font-weight: 700;
    color: #ff2d92;
}

/* Checkout Step Styles */
.adf-checkout-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.adf-checkout-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.adf-checkout-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.adf-checkout-item:last-child {
    border-bottom: none;
}

.adf-checkout-item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 20px;
}

.adf-checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adf-checkout-item-details {
    flex: 1;
}

.adf-checkout-item-details h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.adf-checkout-item-description {
    color: #666;
    font-size: 14px;
}

.adf-checkout-features {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.adf-checkout-features li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 13px;
    color: #555;
}

.adf-checkout-item-price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-left: 20px;
}

.adf-checkout-totals {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.adf-checkout-subtotal,
.adf-checkout-vat,
.adf-checkout-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.adf-checkout-total {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.adf-checkout-actions {
    margin-top: 30px;
    text-align: center;
}

.adf-checkout-button {
    display: inline-block;
    background: #ff2d92;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.adf-checkout-button:hover {
    background: #e61980;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 45, 146, 0.2);
} 