/* ============================================
   RO Design Offer Plugin - Frontend Styles
   Colors: Navy #002d5b | Cyan #00beeb | Light #f4f7fa
   Font: Montserrat
   ============================================ */

:root {
    --rdo-navy: #002d5b;
    --rdo-navy-dark: #001a3a;
    --rdo-cyan: #00beeb;
    --rdo-cyan-light: #00d4ff;
    --rdo-cyan-glow: rgba(0, 190, 235, 0.3);
    --rdo-light: #f4f7fa;
    --rdo-white: #ffffff;
    --rdo-gray: #8899aa;
    --rdo-success: #00c48c;
    --rdo-danger: #ff4757;
    --rdo-radius: 16px;
    --rdo-radius-sm: 10px;
    --rdo-shadow: 0 20px 60px rgba(0, 45, 91, 0.12);
    --rdo-shadow-hover: 0 30px 80px rgba(0, 45, 91, 0.18);
    --rdo-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --rdo-font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== MAIN CONTAINER ===== */
.rdo-container {
    font-family: var(--rdo-font);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--rdo-navy);
    line-height: 1.6;
}

.rdo-container * {
    box-sizing: border-box;
}

/* ===== HERO SECTION ===== */
.rdo-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--rdo-white);
    border-radius: var(--rdo-radius);
    box-shadow: var(--rdo-shadow);
    overflow: hidden;
    position: relative;
}

.rdo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--rdo-navy), var(--rdo-cyan), var(--rdo-cyan-light));
}

/* Hero Left - Image */
.rdo-hero-image {
    position: relative;
    background: linear-gradient(135deg, var(--rdo-navy) 0%, var(--rdo-navy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 500px;
    overflow: hidden;
}

.rdo-hero-image::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--rdo-cyan-glow);
    filter: blur(80px);
    top: 20%;
    right: -50px;
    pointer-events: none;
}

.rdo-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rdo-radius-sm);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.rdo-hero-image .rdo-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--rdo-cyan);
    color: var(--rdo-white);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    z-index: 2;
    animation: rdo-pulse 2s ease-in-out infinite;
}

@keyframes rdo-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--rdo-cyan-glow);
    }

    50% {
        box-shadow: 0 0 0 12px transparent;
    }
}

/* SVG Illustration */
.rdo-illustration {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 1;
}

.rdo-illustration svg {
    width: 100%;
    height: 100%;
}

/* Hero Right - Content */
.rdo-hero-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Counter */
.rdo-counter-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rdo-counter-ring {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.rdo-counter-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.rdo-counter-ring .ring-bg {
    stroke: var(--rdo-light);
    fill: none;
    stroke-width: 6;
}

.rdo-counter-ring .ring-fill {
    stroke: var(--rdo-cyan);
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    transition: stroke-dashoffset 1.5s ease-out;
    filter: drop-shadow(0 0 6px var(--rdo-cyan-glow));
}

.rdo-counter-ring .ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 900;
    font-size: 22px;
    color: var(--rdo-navy);
}

.rdo-counter-ring .ring-text .rdo-num-available {
    color: var(--rdo-cyan);
}

.rdo-counter-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--rdo-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rdo-counter-info p {
    margin: 0;
    font-size: 13px;
    color: var(--rdo-gray);
}

.rdo-spots-bar {
    height: 6px;
    background: var(--rdo-light);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.rdo-spots-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rdo-cyan), var(--rdo-cyan-light));
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

/* Title */
.rdo-hero-content h2 {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 10px 0;
    color: var(--rdo-navy);
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.rdo-hero-content h2 span {
    color: var(--rdo-cyan);
}

.rdo-hero-content .rdo-subtitle {
    font-size: 14px;
    color: var(--rdo-gray);
    margin: 0 0 28px 0;
    line-height: 1.6;
}

/* ===== FORM ===== */
.rdo-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rdo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rdo-field {
    position: relative;
}

.rdo-field input,
.rdo-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e8ef;
    border-radius: var(--rdo-radius-sm);
    font-family: var(--rdo-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--rdo-navy);
    background: var(--rdo-white);
    transition: var(--rdo-transition);
    outline: none;
}

.rdo-field input::placeholder,
.rdo-field textarea::placeholder {
    color: #b0bec5;
    font-weight: 400;
}

.rdo-field input:focus,
.rdo-field textarea:focus {
    border-color: var(--rdo-cyan);
    box-shadow: 0 0 0 4px var(--rdo-cyan-glow);
}

.rdo-field textarea {
    resize: vertical;
    min-height: 80px;
}

.rdo-field .rdo-field-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0bec5;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s;
}

.rdo-field input:focus+.rdo-field-icon {
    color: var(--rdo-cyan);
}

.rdo-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--rdo-cyan), var(--rdo-cyan-light));
    color: var(--rdo-white);
    border: none;
    border-radius: 50px;
    font-family: var(--rdo-font);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--rdo-transition);
    position: relative;
    overflow: hidden;
    margin-top: 6px;
}

.rdo-btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.rdo-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--rdo-cyan-glow);
}

.rdo-btn-submit:hover::before {
    left: 100%;
}

.rdo-btn-submit:active {
    transform: translateY(0);
}

.rdo-btn-submit .rdo-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--rdo-white);
    border-radius: 50%;
    animation: rdo-spin 0.6s linear infinite;
}

.rdo-btn-submit.loading .rdo-spinner {
    display: inline-block;
}

.rdo-btn-submit.loading .rdo-btn-text {
    opacity: 0.6;
}

@keyframes rdo-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Message */
.rdo-form-message {
    padding: 14px 20px;
    border-radius: var(--rdo-radius-sm);
    font-size: 14px;
    font-weight: 600;
    display: none;
    margin-top: 8px;
    animation: rdo-slideIn 0.4s ease;
}

@keyframes rdo-slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rdo-form-message.success {
    display: block;
    background: rgba(0, 196, 140, 0.1);
    color: var(--rdo-success);
    border: 1px solid rgba(0, 196, 140, 0.25);
}

.rdo-form-message.error {
    display: block;
    background: rgba(255, 71, 87, 0.1);
    color: var(--rdo-danger);
    border: 1px solid rgba(255, 71, 87, 0.25);
}

/* ===== SERVICES SECTION ===== */
.rdo-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Free Column */
.rdo-service-card {
    border-radius: var(--rdo-radius);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: var(--rdo-transition);
}

.rdo-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rdo-shadow-hover);
}

.rdo-service-card.rdo-free {
    background: linear-gradient(135deg, var(--rdo-navy) 0%, var(--rdo-navy-dark) 100%);
    color: var(--rdo-white);
    box-shadow: 0 20px 60px rgba(0, 45, 91, 0.3);
}

.rdo-service-card.rdo-free::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--rdo-cyan-glow);
    filter: blur(60px);
    bottom: -40px;
    right: -40px;
    pointer-events: none;
}

.rdo-service-card.rdo-paid {
    background: var(--rdo-white);
    border: 2px solid #e1e8ef;
    box-shadow: var(--rdo-shadow);
}

.rdo-service-card .rdo-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.rdo-free .rdo-card-label {
    background: rgba(0, 190, 235, 0.2);
    color: var(--rdo-cyan);
}

.rdo-paid .rdo-card-label {
    background: var(--rdo-light);
    color: var(--rdo-navy);
}

.rdo-service-card h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rdo-free h3 {
    color: var(--rdo-white);
}

.rdo-paid h3 {
    color: var(--rdo-navy);
}

/* Check List */
.rdo-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.rdo-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rdo-paid .rdo-checklist li {
    border-bottom: 1px solid #eef2f6;
    color: var(--rdo-navy);
}

.rdo-checklist li:last-child {
    border-bottom: none;
}

.rdo-check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    margin-top: 1px;
}

.rdo-free .rdo-check-icon {
    background: rgba(0, 190, 235, 0.25);
    color: var(--rdo-cyan-light);
}

.rdo-paid .rdo-check-icon {
    background: rgba(0, 190, 235, 0.15);
    color: var(--rdo-cyan);
}

.rdo-alert-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 4px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    margin-top: 1px;
    color: #ff4757;
}

.rdo-conditions-block {
    opacity: 0.9;
}

/* ===== PRICING OPTIONS ===== */
.rdo-pricing-option {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rdo-radius-sm);
    padding: 20px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: var(--rdo-transition);
    position: relative;
}

.rdo-paid .rdo-pricing-option {
    background: var(--rdo-light);
    border: 2px solid #e1e8ef;
}

.rdo-pricing-option:hover {
    border-color: var(--rdo-cyan);
    background: rgba(0, 190, 235, 0.05);
}

.rdo-pricing-option.selected {
    border-color: var(--rdo-cyan);
    background: rgba(0, 190, 235, 0.08);
    box-shadow: 0 0 0 3px var(--rdo-cyan-glow);
}

.rdo-pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.rdo-pricing-name {
    font-weight: 700;
    font-size: 15px;
}

.rdo-pricing-price {
    font-weight: 900;
    font-size: 20px;
    color: var(--rdo-cyan);
}

.rdo-pricing-price small {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
}

.rdo-pricing-bonus {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--rdo-success);
    color: var(--rdo-white);
    margin-top: 6px;
}

.rdo-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #c0cdd8;
    position: relative;
    flex-shrink: 0;
    transition: var(--rdo-transition);
}

.rdo-pricing-option.selected .rdo-radio-dot {
    border-color: var(--rdo-cyan);
}

.rdo-pricing-option.selected .rdo-radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rdo-cyan);
}

/* Stripe Buy Button */
.rdo-btn-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    margin-top: 16px;
    border: none;
    border-radius: 50px;
    font-family: var(--rdo-font);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--rdo-transition);
}

.rdo-btn-pay.rdo-btn-stripe {
    background: linear-gradient(135deg, var(--rdo-cyan), var(--rdo-cyan-light));
    color: var(--rdo-white);
}

.rdo-btn-pay.rdo-btn-stripe:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--rdo-cyan-glow);
}

.rdo-btn-pay.rdo-btn-stripe:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== TRANSPARENCY NOTE ===== */
.rdo-transparency {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--rdo-navy) 0%, var(--rdo-navy-dark) 100%);
    border-radius: var(--rdo-radius);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--rdo-white);
    box-shadow: 0 20px 60px rgba(0, 45, 91, 0.2);
    position: relative;
    overflow: hidden;
}

.rdo-transparency::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--rdo-cyan-glow);
    filter: blur(50px);
    right: 30px;
    top: -20px;
    pointer-events: none;
}

.rdo-transparency-icon {
    font-size: 36px;
    background: rgba(0, 190, 235, 0.15);
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.rdo-transparency-text {
    position: relative;
    z-index: 1;
}

.rdo-transparency-text h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rdo-cyan);
}

.rdo-transparency-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.6;
}

.rdo-transparency-text strong {
    color: var(--rdo-cyan);
}

/* ===== EXTRA SERVICES ===== */
.rdo-extras {
    margin-top: 30px;
    background: var(--rdo-white);
    border-radius: var(--rdo-radius);
    padding: 35px 40px;
    box-shadow: var(--rdo-shadow);
    border: 2px solid #e1e8ef;
}

.rdo-extras h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--rdo-navy);
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.rdo-extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rdo-extra-item {
    background: var(--rdo-light);
    border: 2px solid transparent;
    border-radius: var(--rdo-radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--rdo-transition);
    cursor: pointer;
}

.rdo-extra-item:hover {
    border-color: var(--rdo-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 190, 235, 0.1);
}

.rdo-extra-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.rdo-extra-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--rdo-navy);
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.rdo-extra-item p {
    font-size: 12px;
    color: var(--rdo-gray);
    margin: 0 0 10px 0;
}

.rdo-extra-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--rdo-cyan);
}

.rdo-extra-price small {
    font-size: 11px;
    font-weight: 500;
    color: var(--rdo-gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .rdo-hero {
        grid-template-columns: 1fr;
    }

    .rdo-hero-image {
        min-height: 300px;
        padding: 30px;
    }

    .rdo-hero-content {
        padding: 35px 30px;
    }

    .rdo-services {
        grid-template-columns: 1fr;
    }

    .rdo-extras-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rdo-transparency {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .rdo-container {
        padding: 0;
        margin: 0;
    }

    .rdo-hero-content {
        padding: 24px 20px;
    }

    .rdo-hero-content h2 {
        font-size: 20px;
    }

    .rdo-form-row {
        grid-template-columns: 1fr;
    }

    .rdo-counter-ring {
        width: 70px;
        height: 70px;
    }

    .rdo-counter-ring .ring-text {
        font-size: 18px;
    }

    .rdo-service-card {
        padding: 28px 22px;
    }

    .rdo-extras-grid {
        grid-template-columns: 1fr;
    }

    .rdo-pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .rdo-btn-submit {
        width: 100%;
    }
}