.home-redesign-v2 {
    background: #ffffff;
    color: #1a2037;
    font-family: "main-font-family", "Helvetica Neue", Arial, sans-serif;
}

.home-redesign-v2 h1,
.home-redesign-v2 h2,
.home-redesign-v2 h3,
.home-redesign-v2 h4,
.home-redesign-v2 .v2-btn,
.home-redesign-v2 .v2-btn-small,
.home-redesign-v2 .v2-outline-btn {
    font-family: "main-font-family", "Helvetica Neue", Arial, sans-serif;
}

.v2-container {
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
}

.v2-hero {
    height: clamp(260px, 34vw, 520px);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.v2-cards-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.v2-audience-card {
    background: #fff;
    border-radius: 30px;
    padding: 30px 30px 24px;
    box-shadow: 0 8px 24px rgba(26, 32, 55, 0.09);
}

.v2-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.v2-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f7eddf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffb700;
}

.v2-chip {
    background: #f2e4ce;
    color: #9d6217;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 16px;
    text-transform: uppercase;
}

.v2-audience-card h3 {
    margin: 0 0 16px;
    color: #050f6d;
    font-size: 33px;
    line-height: 1.08;
    font-weight: 600;
}

.v2-audience-card p {
    margin: 0 0 24px;
    color: #767676;
    font-size: 17px;
    line-height: 1.45;
}

.v2-audience-card img {
    width: 100%;
    height: 286px;
    object-fit: cover;
    border-radius: 18px;
}

.v2-btn {
    margin-top: 18px;
    background: #060d71;
    color: #fff;
    border-radius: 14px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.v2-btn svg {
    width: 22px;
    height: 22px;
}

.v2-feature-icons {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    text-align: center;
}

.v2-feature-icons > div span {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #f7eddf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #050f6d;
}

.v2-feature-icons h4 {
    margin: 0 0 8px;
    color: #121949;
    font-size: 24px;
    font-weight: 700;
}

.v2-feature-icons p {
    margin: 0;
    color: #8a8a8a;
    font-size: 17px;
}

.v2-split-section {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.v2-split-section.reverse .v2-copy {
    order: 2;
}

.v2-split-section.reverse .v2-media {
    order: 1;
}

.v2-copy h3 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.1;
    color: #3b3b3b;
    font-weight: 700;
}

.v2-copy p {
    margin: 0 0 18px;
    color: #778095;
    font-size: 22px;
    line-height: 1.35;
    max-width: 620px;
}

.v2-btn-small {
    display: inline-block;
    background: #070f71;
    color: #fff;
    border-radius: 12px;
    padding: 13px 30px;
    font-size: 20px;
    font-weight: 600;
}

.v2-free-trial .v2-media img {
    animation: v2-float-updown 5s ease-in-out infinite;
}

.v2-free-trial .v2-floating {
    animation: v2-float-updown 5s ease-in-out infinite;
    animation-delay: 0.3s;
    right: 0;
    bottom: 6px;
    z-index: 3;
}

.v2-free-trial .v2-media {
    max-width: 560px;
    margin-left: auto;
}

.v2-free-dots {
    position: absolute;
    left: -22px;
    top: 56%;
    transform: translateY(-50%);
    width: 28px;
    height: 116px;
    background:
        radial-gradient(circle, #1fb364 3.6px, transparent 3.7px) 0 0/14px 16px transparent;
    z-index: 2;
    pointer-events: none;
}

.v2-tutor-finder {
    position: absolute;
    right: -78px;
    bottom: 66px;
    background: #fff;
    border-radius: 18px;
    padding: 8px 12px;
    width: min(236px, calc(100% - 46px));
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 14px 28px rgba(12, 17, 55, 0.14);
    border: 1px solid #e8edf4;
    overflow: hidden;
    animation: v2-float-updown 5s ease-in-out infinite;
    animation-delay: 0.6s;
    z-index: 4;
}

.v2-tutor-finder strong {
    display: block;
    color: #1f3b6d;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.v2-tutor-finder small {
    display: block;
    margin-top: 1px;
    color: #6e7b8e;
    font-size: 12px;
    line-height: 1.2;
}

@keyframes v2-float-updown {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.v2-media {
    position: relative;
}

.v2-media img {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(19, 25, 61, 0.12);
}

.v2-media.left img {
    margin-left: 0;
}

.v2-media.right img {
    margin-right: 0;
}

/* Keep Tutor Finder icon safe from generic media-image rules */
.v2-tutor-finder > img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    max-width: 34px !important;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 999px;
    box-shadow: none !important;
    flex-shrink: 0;
}

.v2-tutor-finder-content {
    min-width: 0;
}

.v2-tutor-finder-content strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-tutor-finder-content small {
    white-space: normal;
}

.v2-floating {
    position: absolute;
    right: 14px;
    bottom: 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(12, 17, 55, 0.14);
    padding: 12px 16px;
    font-size: 19px;
    font-weight: 700;
    color: #27497d;
}

.v2-stats-box {
    margin-top: 62px;
    background: #f7efdc;
    border-radius: 20px;
    padding: 42px 30px;
    text-align: center;
}

.v2-stats-box h3 {
    margin: 0 0 6px;
    color: #232937;
    font-size: 40px;
    font-weight: 700;
}

.v2-stats-box p {
    margin: 0;
    color: #545e71;
    font-size: 18px;
}

.v2-stats-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.v2-stats-grid strong {
    display: block;
    color: #1b2236;
    font-size: 40px;
    font-weight: 700;
}

.v2-stats-grid span {
    color: #697282;
    font-size: 16px;
}

.v2-classes-box {
    margin-top: 56px;
    background: #eef1f8;
    border-radius: 24px;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.v2-classes-box img {
    width: 100%;
    max-width: 560px;
    display: block;
}

.v2-classes-box h3 {
    margin: 0 0 16px;
    font-size: 44px;
    color: #2f3442;
}

.v2-mentors {
    margin-top: 64px;
}

.v2-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.v2-head-row h2 {
    margin: 0;
    color: #121b31;
    font-size: 48px;
    font-weight: 800;
}

.v2-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-outline-btn {
    border: 1px solid #d1d5dc;
    border-radius: 12px;
    color: #2d3446;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
}

.v2-nav-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid #bac2d0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5f6a7a;
}

.v2-nav-arrow svg {
    width: 18px;
    height: 18px;
}

.v2-mentor-conveyor {
    overflow: hidden;
}

.v2-mentor-track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: max-content;
    animation: v2-mentor-scroll 44s linear infinite;
}

@keyframes v2-mentor-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.v2-mentor-card {
    border-bottom: 1px solid #e6e8ef;
    padding-bottom: 12px;
    width: 320px;
    flex: 0 0 320px;
}

.v2-mentor-photo-link {
    display: block;
    position: relative;
}

.v2-mentor-card img {
    width: 100%;
    border-radius: 20px;
    height: 280px;
    object-fit: cover;
}

.v2-mentor-rate {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(16, 21, 45, 0.82);
    color: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.v2-mentor-rate svg {
    width: 14px;
    height: 14px;
    color: #ffc700;
}

.v2-mentor-rate span {
    font-size: 13px;
    font-weight: 700;
}

.v2-mentor-rate small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.v2-mentor-name {
    margin: 14px 0 8px;
    color: #20273a;
    font-size: 23px;
    font-weight: 700;
    display: block;
}

.v2-mentor-role {
    margin: 0;
    color: #6f798d;
    font-size: 16px;
}

.v2-mentor-desc {
    display: none;
}

.v2-mentor-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.v2-mentor-btn {
    background: #060d71;
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}

.v2-voices {
    margin-top: 60px;
    background: #03066f;
    color: #fff;
    padding: 56px 0;
}

.v2-voices h2 {
    margin: 0;
    font-size: 52px;
}

.v2-voices > .v2-container > p {
    margin: 10px 0 22px;
    color: #9fa8c8;
    font-size: 21px;
}

.v2-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.v2-voice-grid article {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
}

.v2-voice-grid .stars {
    color: #ffd54f;
    font-size: 24px;
}

.v2-voice-grid p {
    margin: 10px 0 14px;
    color: #d8def4;
    font-size: 18px;
    line-height: 1.5;
}

.v2-voice-grid strong {
    font-size: 18px;
}

.v2-paths {
    margin-top: 56px;
}

.v2-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.v2-path-grid article {
    border: 1px solid #e4e5e8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.v2-path-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.v2-path-grid h4 {
    margin: 16px 18px 8px;
    font-size: 20px;
    color: #252b39;
}

.v2-path-grid p {
    margin: 0 18px 18px;
    color: #687183;
    font-size: 14px;
}

.v2-become {
    margin-top: 54px;
}

.v2-become .v2-btn-small {
    border: 1px solid #070f71;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.v2-become .v2-btn-small:hover,
.v2-become .v2-btn-small:focus {
    background: #ffffff;
    color: #070f71;
    border-color: #070f71;
}

.v2-footer {
    margin-top: 58px;
    background: #02056f;
    color: #fff;
    padding: 0;
}

.v2-join-box {
    transform: translateY(-34px);
    background: #f7efdc;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.v2-join-box h3 {
    margin: 0 0 8px;
    color: #2f3442;
    font-size: 40px;
}

.v2-join-box p {
    margin: 0;
    color: #4f5868;
    font-size: 18px;
}

.v2-join-box form {
    display: flex;
    align-items: center;
    width: min(550px, 100%);
    background: #fff;
    border-radius: 999px;
    padding: 8px;
}

.v2-join-box input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 16px;
    padding: 8px 14px;
}

.v2-join-box button {
    border: 0;
    background: #02056f;
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 18px;
}

.v2-footer-grid {
    margin-top: 2px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 22px;
}

.v2-footer-grid h4 {
    margin: 0 0 14px;
    font-size: 24px;
}

.v2-footer-grid p,
.v2-footer-grid a {
    margin: 0;
    display: block;
    color: #d7ddf0;
    font-size: 16px;
    line-height: 1.5;
}

.v2-app-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 290px;
    background: #ffffff;
    color: #171f38;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 0;
    min-height: 56px;
    box-shadow: 0 2px 8px rgba(10, 16, 54, 0.08);
}

.v2-store-badge img {
    width: 21px;
    height: 21px;
    object-fit: contain;
    flex-shrink: 0;
}

.v2-store-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    justify-content: center;
}

.v2-store-badge small {
    font-size: 10px;
    letter-spacing: 0.3px;
    color: #4b5262;
    text-transform: uppercase;
}

.v2-store-badge strong {
    font-size: 16px;
    font-weight: 600;
    color: #121a34;
    line-height: 1.15;
}

.v2-bottom {
    margin-top: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.v2-bottom img {
    width: 118px;
    height: auto;
    display: block;
}

.v2-bottom span {
    color: #d8def2;
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.v2-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.v2-socials {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.v2-socials a {
    color: #d8def2;
    display: inline-flex;
}

.v2-socials svg {
    width: 16px;
    height: 16px;
}

.v2-email {
    color: #d8def2;
    font-size: 13px;
}

@media (max-width: 1600px) {
    .v2-audience-card h3 { font-size: 31px; }
    .v2-audience-card p { font-size: 16px; }
    .v2-copy h3 { font-size: 42px; }
    .v2-copy p { font-size: 20px; }
    .v2-head-row h2 { font-size: 44px; }
    .v2-voices h2 { font-size: 44px; }
}

@media (max-width: 1200px) {
    .v2-container { width: min(1240px, calc(100% - 28px)); }
    .v2-cards-grid,
    .v2-split-section,
    .v2-voice-grid,
    .v2-path-grid,
    .v2-feature-icons,
    .v2-stats-grid,
    .v2-footer-grid,
    .v2-classes-box { grid-template-columns: 1fr 1fr; }
    .v2-join-box { flex-direction: column; align-items: flex-start; }
    .v2-bottom { flex-wrap: wrap; }
    .v2-bottom-right { margin-left: auto; align-items: flex-end; }
    .v2-tutor-finder {
        right: 8px;
        bottom: 42px;
        width: min(250px, calc(100% - 24px));
    }
    .v2-tutor-finder strong { font-size: 13px; }
    .v2-tutor-finder small { font-size: 11px; }
    .v2-free-dots { left: -10px; }
}

@media (max-width: 768px) {
    .v2-cards-grid,
    .v2-split-section,
    .v2-voice-grid,
    .v2-path-grid,
    .v2-feature-icons,
    .v2-stats-grid,
    .v2-footer-grid,
    .v2-classes-box { grid-template-columns: 1fr; }

    .v2-audience-card h3 { font-size: 32px; }
    .v2-audience-card p,
    .v2-copy p,
    .v2-feature-icons p,
    .v2-path-grid p,
    .v2-footer-grid p,
    .v2-footer-grid a { font-size: 16px; }
    .v2-btn,
    .v2-btn-small,
    .v2-outline-btn,
    .v2-join-box button { font-size: 16px; }
    .v2-copy h3,
    .v2-head-row h2,
    .v2-voices h2,
    .v2-stats-box h3,
    .v2-classes-box h3,
    .v2-join-box h3 { font-size: 34px; }
    .v2-hero { height: 220px; }
    .v2-store-badge { max-width: 100%; }
    .v2-store-badge strong { font-size: 20px; }
    .v2-free-dots {
        left: 8px;
        top: 56%;
        width: 22px;
        height: 92px;
        background-size: 11px 14px;
    }
    .v2-tutor-finder {
        right: 8px;
        left: 56px;
        min-width: auto;
        min-height: 84px;
        padding: 10px 12px;
    }
    .v2-tutor-finder > img {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
        max-width: 40px !important;
    }
    .v2-tutor-finder strong { font-size: 18px; }
    .v2-tutor-finder small { font-size: 14px; }
    .v2-mentor-card {
        width: 272px;
        flex: 0 0 272px;
    }
    .v2-mentor-card img { height: 240px; }
    .v2-mentor-track { gap: 14px; animation-duration: 30s; }
    .v2-bottom-right {
        width: 100%;
        align-items: flex-start;
    }
    .v2-email { font-size: 13px; }
    .v2-bottom span {
        text-align: left;
        order: 3;
        flex: 0 0 100%;
    }
}
