.cc-calculator {
    background: #181818a3;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(30, 34, 53, .08);
    width: 100%;
    padding: 25px 52px 25px;
}

h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.cc-step-label {
    text-align: center;
    color: #f0a500;
    font-weight: 700;
    font-size: 1rem;
    margin: 8px 0 16px;
}

.cc-progress-wrap {
    width: 100%;
    height: 6px;
    background: #e0e3eb;
    border-radius: 99px;
    margin-bottom: 36px;
    overflow: hidden;
}

.cc-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #f0a500);
    border-radius: 99px;
    transition: width .4s ease;
}

/* Steps */
.cc-step {
    display: none;
}

.cc-step.cc-active {
    display: block;
    animation: fadeUp .35s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cc-question {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
}

/* Option cards — hidden input + visible label */
.cc-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.cc-options-grid.cc-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cc-options-grid.cc-cols-4 {
    grid-template-columns: repeat(2, 1fr);
}

.cc-option-card input[type="checkbox"],
.cc-option-card input[type="radio"] {
    display: none;
}

.cc-option-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 2px solid #676767;
    border-radius: 14px;
    padding: 28px 16px 22px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
    background: #121212;
    min-height: 130px;
    user-select: none;
}

.cc-option-card label:hover {
    border-color: #adadad;
    transform: translateY(-2px);
}

.cc-option-card input:checked+label {
    background: #ffffff;
    border-color: #fff;
}

.cc-option-card input:checked+label svg path,
.cc-option-card input:checked+label svg circle,
.cc-option-card input:checked+label svg rect,
.cc-option-card input:checked+label svg polygon {
    fill: #1e2235 !important;
}

.cc-card-label {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.4;
}

.cc-option-card input:checked+label .cc-card-label {
    color: #1e2235;
}

/* text-only (step 8) */
.cc-option-card.cc-text-only label {
    min-height: 90px;
    padding: 15px 18px;
    gap: 0;
}

.cc-option-card.cc-text-only .cc-card-label {
    font-size: 18px;
}

/* Textarea */
textarea {
    width: 100%;
    min-height: 220px;
    border: 2px solid #676767;
    border-radius: 14px;
    padding: 18px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    color: #fff;
    resize: vertical;
    outline: none;
    transition: border-color .2s;
    margin-bottom: 36px;
    background: none;
}

textarea:focus {
    border-color: #676767;
    background: none;
}

textarea::placeholder {
    color: #6b7280;
}

/* Contact form */
.cc-contact-form {
    margin-bottom: 36px;
}

.cc-form-field {
    border: 2px solid #676767;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: none;
    transition: border-color .2s;
}

.cc-form-field:focus-within {
    border-color: #c1c1c1;
    background: none;
}

.cc-form-field input {
    border: none;
    outline: none;
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    color: #fff;
    width: 100%;
    background: transparent;
}

.cc-form-field input::placeholder {
    color: #6b7280;
}

.cc-form-note {
    font-size: .82rem;
    color: #e74c3c;
    font-weight: 600;
    margin-top: 6px;
}

/* Validation */
.cc-val-msg {
    display: none;
    color: #e74c3c;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cc-val-msg.cc-show {
    display: block;
}

/* Buttons */
.cc-btn-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    transition: transform .2s, box-shadow .2s;
}

.cc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

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

.cc-btn-prev,
.cc-btn-next {
    background: linear-gradient(88.38deg, #ee3232 0%, #f2bb11 189.84%);
}

.cc-btn-quote {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* Thank you */
.cc-thankyou {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: fadeUp .5s ease both;
}

.cc-thankyou.active {
    display: block;
}

.cc-check-icon {
    width: 80px;
    height: 80px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: #fff;
}

.cc-thankyou h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e2235;
    margin-bottom: 12px;
}

.cc-thankyou p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}



.dedicated-img img {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    object-fit: contain;
}

section.dedicated-software {
    margin-top: 76px;
    background: linear-gradient(169deg, #356279, transparent);
    padding-bottom: 20px;
}

.dedicated-team-text {
    background: #49494900;
    padding: 15px 30px;
    border-radius: 20px;
}

span.quote img {
    height: 35px;
}

.dev-quote2 {
    background: #181818a3;
}

span.quote {
    margin-bottom: 15px;
    display: inline-block;
}

.dedicated-auth {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.dedicated-auth img {
    height: 65px;
}

.dedicated-auth .name p {
    margin: 0;
}

span.quote p {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
}

.calculator-work-img img {
    width: 100%;
    padding: 10px;
}

span.bg-text {
    font-weight: 500;
    background: #ff6166;
}

@media(max-width:600px) {
    .cc-calculator {
        padding: 28px 18px;
    }

    .cc-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cc-option-card label {
        min-height: 100px;
        padding: 18px 10px 14px;
    }
}