/* =========================================
   Modern Hosting Order Form – Soft Theme
   ========================================= */

   /* Brand Colors */
:root {
    --brand-green: #6ea064;
    --brand-green-hover: #5a8b54;
    --brand-blue: #2d5992;
    --brand-blue-hover: #244c7a;
    --brand-light-green: rgba(110, 160, 100, 0.12);
    --brand-light-blue: rgba(45, 89, 146, 0.12);
    --success-check: #6ea064;
    --accent-border: rgba(110, 160, 100, 0.3);
}


/* Base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */

.mm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Steps */

.mm-step {
    padding: 80px 0;
}

/* Headers */

.mm-step-header,
.mm-config-header {
    text-align: center;
    margin-bottom: 48px;
}

.mm-step-header h1,
.mm-config-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #0f172a;
}

.mm-step-header p {
    font-size: 16px;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

.mm-step-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* ==========================
   CART 1: Plans (Hosting)
   ========================== */

.mm-step-plans {
    background: linear-gradient(to bottom, #f1f5f9 0%, #f8fafc 100%);
}

/* Grid */

.mm-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* Card */

.mm-plan-card-soft {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mm-plan-card-soft:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

/* Featured */

.mm-plan-card-soft--featured {
    border-color: #4f46e5;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.mm-plan-card-soft--featured:hover {
    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.22);
}

/* Sections */

.mm-plan-top { gap: 16px; }
.mm-plan-middle { flex: 1; }
.mm-plan-bottom { gap: 12px; }

/* Badge */

.mm-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
}

/* Icon */

.mm-plan-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    font-size: 22px;
    flex-shrink: 0;
}

/* Title */

.mm-plan-header h3 {
    font-size: 22px;
    margin: 8px 0 4px;
    color: #0f172a;
    font-weight: 600;
}

.mm-plan-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Price */

.mm-plan-price-row {
    margin-top: 4px;
}

.mm-price-soft {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

.mm-price-soft span {
    font-size: 18px;
    font-weight: 500;
}

.mm-price-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.mm-price-period {
    font-size: 13px;
    color: #94a3b8;
}

.mm-price-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Features */

.mm-features-soft {
    font-size: 15px;
    color: #475569;
}

.mm-features-soft ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mm-features-soft li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.mm-features-soft li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-weight: 900;
    color: #10b981;
    font-size: 14px;
}

/* CTA */

.mm-btn-soft {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mm-btn-soft:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.mm-btn-soft--disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Footnote */

.mm-plan-footnote {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    text-align: center;
}

/* ==========================
   CART 2: Configuration
   ========================== */

.mm-config-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.mm-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.mm-card h4 {
    font-size: 19px;
    margin: 0 0 20px;
    color: #0f172a;
    font-weight: 600;
}

.mm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.mm-field label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.mm-field input,
.mm-field select,
.mm-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fafbfc;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
}

.mm-field input:focus,
.mm-field select:focus,
.mm-field textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.mm-summary {
    background: #fff;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    /* Breaks the discount code */
    /* position: sticky; */
    top: 32px;
    height: fit-content;
}

.mm-btn-primary {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
}

.mm-btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Responsive */

@media (max-width: 1024px) {
    .mm-config-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .mm-step {
        padding: 60px 0;
    }
    
    .mm-step-header h1,
    .mm-config-header h1 {
        font-size: 28px;
    }
    
    .mm-plan-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .mm-plan-card-soft {
        padding: 28px 24px;
    }
}

/* Force button hover override - fix anchor tag issues */
.mm-btn-soft:hover,
.mm-btn-soft:focus,
.mm-btn-primary:hover,
.mm-btn-primary:focus {
    text-decoration: none !important;
    color: inherit !important;
}

.mm-btn-soft:hover,
.mm-btn-primary:hover {
    transform: translateY(-2px) !important;
}

/* Back button */
.mm-back-section {
    margin-bottom: 16px;
}

.mm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-align: center;
}

.mm-btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.mm-btn-secondary:active {
    transform: translateY(0);
}
