

body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #334155;
    margin: 0;
}

.renew-hero-section {
    padding: 100px 0 160px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%),
                url('../assets/images/hero/main.png') center/cover no-repeat;
    text-align: center;
    color: #fff;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.renew-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.renew-hero-container h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.renew-hero-container p {
    font-size: 16px;
    color: #bfdbfe;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.5;
}

.renew-main-container {
    max-width: 800px;
    margin: -80px auto 100px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.existing-user-banner {
    background: #f0f6ff;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #3b82f6;
    margin-bottom: 40px;
    font-weight: 500;
}

.existing-user-banner a {
    color: #2563eb;
    font-weight: 700;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto 40px;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 60px;
    background: #f8fafc;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.step.active .step-circle {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #fff;
}

.step.active .step-label {
    color: #4f46e5;
}

.step.completed .step-circle {
    border-color: #22c55e;
    background: #22c55e;
    color: transparent;
    position: relative;
}

.step.completed .step-circle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 8px;
}

.stepper-progress {
    position: absolute;
    top: 16px;
    left: 40px;
    height: 2px;
    background: #4f46e5;
    z-index: 1;
    transition: width 0.3s ease;
    width: 0%;
}

.stepper[data-step="2"] .stepper-progress { width: 50%; }
.stepper[data-step="3"] .stepper-progress { width: 100%; background: #22c55e; }

.stepper-line {
    position: absolute;
    top: 16px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.renew-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 40px;
    box-shadow: 0 12px 24px -4px rgba(0,0,0,0.05);
    display: none;
}

.renew-card.active {
    display: block;
}

.step-lookup {
    text-align: center;
}

.step-lookup h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.step-lookup p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 32px;
}

.form-group-center {
    max-width: 400px;
    margin: 0 auto 32px;
    text-align: left;
}

.form-group-center label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group-center input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.form-group-center input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group-center .helper-text {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
}

.btn-primary {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 400px;
}

.btn-primary:hover {
    background: #4338ca;
}

.step-review {
    text-align: left;
}

.policy-summary-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    position: relative;
    background: #fafaf9;
}

.policy-summary-box .badge-active {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #dcfce3;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.policy-summary-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item span {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
}

.summary-item strong {
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}

.duration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.duration-card:hover {
    border-color: #cbd5e1;
}

.duration-card.selected {
    border-color: #4f46e5;
    background: #f5f3ff;
    box-shadow: 0 0 0 1px #4f46e5;
}

.duration-card.recommended::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f46e5;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.duration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.duration-header span {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.radio-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration-card.selected .radio-circle {
    border-color: #4f46e5;
}

.duration-card.selected .radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4f46e5;
}

.duration-price {
    font-size: 20px;
    font-weight: 800;
    color: #4f46e5;
    margin-bottom: 8px;
}

.duration-sub {
    font-size: 11px;
    color: #64748b;
}

.save-badge {
    color: #16a34a;
    font-weight: 600;
}

.payment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.total-amount-wrapper span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.total-amount-wrapper strong {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.secure-text {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 16px;
}

.step-done {
    text-align: center;
}

.success-icon-big {
    width: 64px;
    height: 64px;
    background: #dcfce3;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
}

.step-done h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.step-done p {
    font-size: 14px;
    color: #64748b;
    max-width: 360px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.step-done p strong {
    color: #0f172a;
}

.downloads-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fafaf9;
    padding: 24px;
    max-width: 400px;
    margin: 0 auto 32px;
    text-align: left;
}

.downloads-title {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.download-item:hover {
    border-color: #cbd5e1;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-outline {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.btn-primary-blue {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary-blue:hover {
    background: #4338ca;
}

@media (max-width: 768px) {
    .duration-grid {
        grid-template-columns: 1fr 1fr;
    }
    .payment-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }
    .total-amount-wrapper {
        margin-bottom: 8px;
    }
}

a { text-decoration: none; }

.footer {
    background: #0f172a;
    padding: 72px 0 32px;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 36px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    color: #64748b;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-row svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-row span {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-links h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
    color: #94a3b8;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.footer-newsletter p {
    font-size: 13px;
    margin-bottom: 16px;
    color: #64748b;
    line-height: 1.5;
}

.newsletter-input {
    display: flex;
}

.newsletter-input input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px 0 0 10px;
    border: 1px solid #334155;
    border-right: none;
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input input:focus {
    border-color: #0284c7;
}

.newsletter-input input::placeholder {
    color: #64748b;
}

.newsletter-input button {
    padding: 0 20px;
    border: none;
    background: #0284c7;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: background 0.25s;
}

.newsletter-input button:hover {
    background: #0369a1;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
    color: #475569;
}

@media (max-width: 768px) {
    .renew-hero { padding: 100px 20px 40px !important; }
    .renew-container { padding: 20px 16px !important; }
    .renew-grid { grid-template-columns: 1fr !important; }
    .renew-form-card { padding: 20px !important; }
    .renew-form-grid { grid-template-columns: 1fr !important; }
    .renew-summary-card { padding: 20px !important; }
    .renew-plan-details { flex-direction: column !important; gap: 8px; }
    .renew-action-buttons { flex-direction: column !important; gap: 10px; }
    .renew-action-buttons a, .renew-action-buttons button { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {

    .renew-hero {
        padding: 90px 24px 32px !important;
        min-height: auto !important;
    }

    .renew-hero-title {
        font-size: 26px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    .renew-hero-sub {
        font-size: 14px !important;
        color: #64748b !important;
    }

    .renew-container,
    .renew-page-container {
        padding: 20px 16px 100px !important;
    }

    .renew-lookup-card {
        border-radius: 14px !important;
        padding: 20px !important;
        margin-bottom: 16px !important;
    }

    .renew-lookup-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }

    .renew-lookup-input-wrap {
        position: relative !important;
    }

    .renew-lookup-input {
        width: 100% !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        border: 2px solid #e2e8f0 !important;
    }

    .renew-lookup-btn {
        margin-top: 10px !important;
        width: 100% !important;
        min-height: 50px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        justify-content: center !important;
    }

    .renew-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .renew-form-card,
    .renew-summary-card {
        border-radius: 14px !important;
        padding: 18px !important;
    }

    .renew-form-card h3,
    .renew-summary-card h3 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin-bottom: 14px !important;
    }

    .renew-form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .renew-form-grid input,
    .renew-form-grid select {
        font-size: 16px !important;
        padding: 13px 14px !important;
        border-radius: 8px !important;
    }

    .renew-plan-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .renew-plan-row {
        display: flex !important;
        justify-content: space-between !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        font-size: 13px !important;
    }
    .renew-plan-row:last-child { border-bottom: none !important; }

    .renew-action-buttons {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        padding: 12px 16px !important;
        background: #fff !important;
        border-top: 1px solid #e2e8f0 !important;
        z-index: 100;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    }

    .renew-action-buttons a,
    .renew-action-buttons button {
        flex: 1 !important;
        min-height: 46px !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 768px) {
    .container,
    [class$="-container"],
    [class*="hero-container"],
    [class*="page-container"],
    [class*="section-container"],
    .checkout-grid,
    .quote-main {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

