/*==========================================================
1. HERO SECTION & CONTAINER
==========================================================*/

.mm-hero {
    position: relative;
    background: #ffffff;
    padding: 40px 0;
    overflow: hidden;
}

.mm-hero .container {
    position: relative;
    z-index: 2;
}


/*==========================================================
2. HERO WRAPPER & BACKGROUND DECORATION
==========================================================*/

.mm-hero-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 68vh;
    padding: 70px;
    border-radius: 36px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
    border: 1px solid rgba(90, 44, 160, .08);
    box-shadow: 0 20px 60px rgba(43, 11, 102, .08);
}

.mm-hero-wrapper::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -220px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(rgba(90, 44, 160, .10), transparent 70%);
}

.mm-hero-wrapper::after {
    content: "π  Σ  √  ∫  Δ  x²";
    position: absolute;
    left: 60px;
    bottom: 40px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 800;
    letter-spacing: 24px;
    color: rgba(90, 44, 160, .025);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}


/*==========================================================
3. LEFT CONTENT & TYPOGRAPHY
==========================================================*/

.mm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    animation: mmHeroLeft .8s ease forwards;
}

.mm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    margin-bottom: 26px;
    border-radius: 50px;
    background: #F5F2FD;
    color: #5A2CA0;
    font-size: clamp(.8rem, 1.2vw, .875rem);
    font-weight: 600;
    transition: .35s ease;
}

.mm-hero-badge:hover {
    transform: translateY(-3px);
}

.mm-hero-badge i {
    color: #9C1F63;
}

.mm-hero-content h1 {
    margin: 0 0 24px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 5.2vw, 3.75rem);
    font-weight: 900;
    line-height: 1.12;
    color: #202124;
}

.mm-hero-content h1 span {
    display: block;
    color: #5A2CA0;
}

.mm-hero-content p {
    max-width: 620px;
    margin-bottom: 36px;
    color: #666;
    font-size: clamp(.92rem, 1.4vw, 1.0625rem);
    line-height: 1.8;
}


/*==========================================================
4. FEATURE LIST & BUTTONS
==========================================================*/

.mm-hero-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.mm-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(.88rem, 1.3vw, 1rem);
    font-weight: 500;
    color: #444;
    transition: .35s ease;
}

.mm-list-item:hover {
    transform: translateX(6px);
}

.mm-list-item i {
    color: #16A34A;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    transition: .35s ease;
}

.mm-list-item:hover i {
    color: #5A2CA0;
}

.mm-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.mm-hero-buttons .mm-btn {
    min-width: 220px;
    height: 58px;
    border-radius: 60px;
    font-size: clamp(.88rem, 1.3vw, 1rem);
    font-weight: 700;
    transition: .35s ease;
}

.mm-hero-buttons .mm-btn:hover {
    transform: translateY(-4px);
}

.mm-hero-buttons .mm-btn-outline {
    background: #ffffff;
    border: 2px solid #5A2CA0;
    color: #5A2CA0;
}

.mm-hero-buttons .mm-btn-outline:hover {
    background: #5A2CA0;
    color: #ffffff;
}


/*==========================================================
5. HERO FORM
==========================================================*/

.mm-hero-form {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(90, 44, 160, .08);
    box-shadow: 0 20px 60px rgba(43, 11, 102, .10);
    transition: .35s ease;
    animation: mmHeroRight .8s ease forwards;
}

.mm-hero-form:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(43, 11, 102, .16);
}

.mm-hero-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #5A2CA0, #9C1F63);
}

.mm-form-header {
    position: relative;
    margin-bottom: 30px;
}

.mm-form-header::after {
    content: "FREE";
    position: absolute;
    top: -12px;
    right: 0;
    padding: 8px 16px;
    border-radius: 40px;
    background: #16A34A;
    color: #ffffff;
    font-size: clamp(.65rem, 1vw, .6875rem);
    font-weight: 700;
    letter-spacing: 1px;
}

.mm-form-header h3 {
    margin-bottom: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 1.875rem);
    font-weight: 800;
    color: #2B0B66;
}

.mm-form-header p {
    margin: 0;
    color: #666;
    font-size: clamp(.85rem, 1.3vw, .9375rem);
    line-height: 1.8;
}

.form-group {
    margin-bottom: 18px;
}

.mm-hero-form .form-control,
.mm-hero-form .form-select {
    width: 100%;
    height: 56px;
    border: 1px solid #E7E7E7;
    border-radius: 14px;
    background: #FCFCFD;
    padding: 0 18px;
    font-size: clamp(.85rem, 1.3vw, .9375rem);
    color: #333;
    transition: .3s ease;
    box-shadow: none;
}

.mm-hero-form .form-select {
    cursor: pointer;
}

.mm-hero-form .form-control::placeholder {
    color: #999;
}

.mm-hero-form .form-control:focus,
.mm-hero-form .form-select:focus {
    outline: none;
    border-color: #5A2CA0;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(90, 44, 160, .12);
}

.mm-hero-form .mm-btn-primary {
    width: 100%;
    height: 58px;
    margin-top: 10px;
    border: none;
    border-radius: 60px;
    font-size: clamp(.88rem, 1.3vw, 1rem);
    font-weight: 700;
    background: linear-gradient(135deg, #2B0B66, #5A2CA0, #9C1F63);
    color: #ffffff;
    transition: .35s ease;
}

.mm-hero-form .mm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(90, 44, 160, .30);
}


/*==========================================================
6. FORM FOOTER & CONTACT
==========================================================*/

.mm-form-footer {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #EEEEEE;
}

.mm-form-contact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mm-form-contact i {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F5F2FD;
    color: #5A2CA0;
    font-size: 18px;
    transition: .35s ease;
    flex-shrink: 0;
}

.mm-form-contact:hover i {
    background: #5A2CA0;
    color: #ffffff;
}

.mm-form-contact strong {
    display: block;
    margin-bottom: 4px;
    color: #2B0B66;
    font-size: clamp(.8rem, 1.2vw, .875rem);
    font-weight: 700;
}

.mm-form-contact a {
    color: #666;
    text-decoration: none;
    font-size: clamp(.85rem, 1.3vw, .9375rem);
    font-weight: 500;
    transition: .3s ease;
}

.mm-form-contact a:hover {
    color: #5A2CA0;
}