@import url('../fonts/spline-sans/font.css');

:root {
    --primary-color: #FFCA28;
    --primary-color-rgb: 255, 202, 40;

    --text-color: #0a0a0a;
    --text-color-rgb: 10, 10, 10;

    --tab-bg: #0a0a0a;
    --tab-bg-rgb: 10, 10, 10;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Spline Sans', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin-bottom: 0;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 32px;
}

h5 {
    font-size: 20px;
}

.fs-14 {
    font-size: 16px;
}

.fs-18 {
    font-size: 16px;
}

.fs-24 {
    font-size: 20px;
}

@media (min-width: 810px) {
    h1 {
        font-size: 64px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 36px;
    }

    h5 {
        font-size: 24px;
    }

    .fs-18 {
        font-size: 18px;
    }

    .fs-24 {
        font-size: 24px;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 86px;
    }

    h2 {
        font-size: 56px;
    }

    h3 {
        font-size: 46px;
    }

}

.header {
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    position: sticky;
    inset-inline: 0;
    inset-block-start: 0;
    z-index: 1024;
    background-color: #fff;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #e9eaeb;
    background-color: #fff;
    color: var(--text-color, #0a0a0a);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary-color, #FFCA28);
    box-shadow: 0 0 0 3px rgba(255, 202, 40, 0.25);
}

.btn {
    --border-color: transparent;
    --bg-color: transparent;
    --border-radius: 58px;
    --padding-block: 16px;
    --padding-inline: 24px;
    --text-color: var(--text-color);

    padding: var(--padding-block) var(--padding-inline);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    border-width: 1px;
    border-style: solid;
    border-color: var(--border-color);
    color: var(--text-color);
    font-weight: 500;
    font-size: 18px;
    transition: 0.2s all;
}

@media (hover:hover) {
    .btn:hover {
        --bg-color: var(--bg-hover-color);
        --text-color: var(--text-hover-color);
        --border-color: var(--border-hover-color);
    }
}

.btn-primary {
    --bg-color: var(--primary-color);
    --border-color: transparent;
    --text-color: var(--text-color);

    --bg-hover-color: transparent;
    --text-hover-color: var(--primary-color);
    --border-hover-color: var(--primary-color);
}

.btn-secondary {
    --bg-color: transparent;
    --border-color: var(--primary-color);
    --text-color: var(--primary-color);

    --bg-hover-color: var(--primary-color);
    --text-hover-color: var(--text-color);
    --border-hover-color: transparent;
}

.btn-store {
    --border-color: var(--primary-color);

    --border-hover-color: var(--primary-color);
}

@media (hover:hover) {
    .btn-store:hover {
        opacity: 0.8;
    }
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding-inline: 20px;
    padding-top: 50px;
}

.hero-section>* {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    -webkit-user-select: none;
    user-select: none;
    aspect-ratio: 1.34705;
    background-color: var(--primary-color, #00f9ff);
    height: var(--framer-aspect-ratio-supported, 891px);
    opacity: .75;
    pointer-events: none;
    flex: none;
    gap: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    overflow: hidden;
    transform: translate(-50%);
    -webkit-mask: url('../images/pattern-blue.svg') 50% / cover no-repeat;
    -webkit-mask-source-type: alpha;
    mask: url('../images/pattern-blue.svg') 50% / cover no-repeat alpha;
    height: 290px;
}

@media (min-width: 810px) {
    .hero-section::before {
        height: auto;
    }
}

.main-title {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.sub-title {
    margin-bottom: 6px;
}

.brief {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 45px;
}

.text-primary {
    color: var(--primary-color);
}

@media (min-width: 810px) {
    .header {
        padding: 15px 20px;
    }

    .brief {
        font-size: 24px;
    }
}

@media (min-width: 1200px) {
    .header {
        padding: 30px;
    }
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-phones-container {
    position: relative;
    margin-top: 60px;
    height: 160px;
    overflow: hidden;
    max-width: 1170px;
}

@media (min-width: 810px) {
    .mobile-phones-container {
        height: 500px;
    }

    .store-buttons {
        flex-direction: row;
    }
}

.mobile-phones-container img {
    width: 100%;
    object-fit: cover;
}

.features-section {
    position: relative;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.features-section>* {
    position: relative;
    z-index: 1;
}

.features-section::before {
    content: '';
    -webkit-user-select: none;
    user-select: none;
    background: linear-gradient(297deg, #fefebe 0%, #00f9ff00 100%);
    opacity: .4;
    pointer-events: none;
    flex: none;
    gap: 10px;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

@media (min-width: 810px) {
    .features-section {
        padding: 80px 30px;
    }

    .features-cards {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (min-width: 1200px) {

    .features-section {
        padding: 120px 30px;
    }

    .features-cards {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.feature-card {
    padding: 30px;
    border-radius: 30px;
    background-color: #FEFEBE;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.feature-card-header h1 {
    opacity: 0.3;
    color: var(--primary-color);
}

.icon-container img {
    width: 60px;
    height: auto;
}

.font-bold {
    font-weight: bold;
}

.cta-section {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-inline: 20px;
    gap: 45px;
}

.cta-section>* {
    z-index: 1;
}

.cta-section::before {
    content: '';
    -webkit-user-select: none;
    user-select: none;
    background: linear-gradient(180deg, #00f9ff00 0%, var(--primary-color, #00f9ff) 50%, #00f9ff00 100%);
    opacity: .4;
    pointer-events: none;
    flex: none;
    position: absolute;
    inset: -224px 0 -61px;
    overflow: visible;
    -webkit-mask: url('../images/cta-pattern.svg') 50% / cover no-repeat;
    -webkit-mask-source-type: alpha;
    mask: url('../images/cta-pattern.svg') 50% / cover no-repeat alpha;
}

.cta-section .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-section .icon-container svg {
    max-width: 480px;
}

@media (min-width: 810px) {
    .cta-section {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-top: 120px;
        padding-inline: 30px;
        gap: 60px;
    }

    .cta-section>* {
        flex: 1 1 50%;
    }
}

@media (min-width: 1200px) {
    .cta-section {
        padding-bottom: 120px;
    }
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1200px) {
    .cta-content {
        gap: 40px;
    }
}

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

.pricing-section {
    padding-top: 60px;
    padding-inline: 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

@media (min-width: 810px) {
    .pricing-section {
        padding-top: 80px;
        padding-inline: 30px;
    }
}

@media (min-width: 810px) {
    .pricing-section {
        padding-bottom: 90px;
        padding-bottom: 90px;
        padding-inline: 30px;
    }
}

.plans-container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 500px));
    gap: 30px;
}

.plan {
    padding-inline: 30px;
    padding-block: 45px;
    border-radius: 24px;
    background-color: var(--bg);
    color: var(--color);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.plan.free {
    --bg: #0a0a0a;
    --color: #fff;
}

.plan.paid {
    --bg: var(--primary-color);
    --color: #0a0a0a;
}

.plan-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 20px;
}

.plan.free .plan-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan.paid .plan-header {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 18px;
}

.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

span.check {
    width: 24px;
    height: 25px;
    display: block;
}

span.uncheck {
    display: block;
    width: 24px;
    height: 24px;
}

.plan.free span.check {
    background-image: url('../images/check-white.svg');
}

.plan.paid span.check {
    background-image: url('../images/check-black.svg');
}

.plan.free span.uncheck {
    background-image: url('../images/cross-white.svg');
}

.plan.paid span.uncheck {
    background-image: url('../images/cross-black.svg');
}

.font-600 {
    font-weight: 600;
}

.newsettler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding-inline: 20px;
    padding-bottom: 40px;
    padding-top: 60px;
}

.newsettler-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 810px) {
    .newsettler {
        gap: 50px;
        padding-inline: 30px;
        padding-bottom: 45px;
        padding-top: 80px;
    }

    .newsettler-title {
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .newsettler {
        gap: 60px;
        padding-top: 90px;
    }

    .newsettler-title {
        gap: 30px;
    }
}

.newsettler-form {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
    border-radius: 24px;
    background-color: #0a0a0a;
    width: 100%;
    color: #fff;
}

.newsettler-form-heading {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.input-container {
    max-width: 650px;
    width: 100%;
    border-radius: 100px;
    display: flex;
    gap: 4px;
    background-color: #fff;
    padding: 12px;
    transition: 0.2s all;
    border: 3px solid transparent;
}

.input-container input {
    background: unset;
    border: unset;
    width: 100%;
    flex: 1;
    height: 55px;
    font-size: 18px;
}

.input-container input:focus {
    outline: unset;
}

.input-container:has(input:focus) {
    border-color: var(--primary-color);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-inline: 30px;
    padding-top: 36px;
    border-top: 1px solid gray;
    padding-bottom: 45px;
    color: gray;
}

@media (min-width: 810px) {
    .newsettler-form {
        padding: 25px;
    }
}

@media (min-width: 1200px) {
    .newsettler-form {
        padding: 45px;
    }
}

.benefits-section {
    padding-inline: 20px;
    padding-block: 60px;
}

.tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

@media (min-width:810px) {
    .tabs-wrapper {
        gap: 50px;
        flex-direction: row;
        align-items: center;
    }
}

.tab-buttons-container {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    border-inline-start: 4px solid #e9eaeb;
    padding-inline-start: 40px;
}

.tab-button {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    transition: 0.2s all;
    background-color: transparent;
    outline: 1px solid transparent;
    border: 0;
}

.tab-button.active {
    background-color: #0a0a0a;
    color: #fff;
}

.tab-button.active h5 {
    color: var(--primary-color);
}

.tab-button::before {
    content: '';
    height: calc(100% + 2px);
    position: absolute;
    inset-inline-start: -44px;
    inset-block: 0;
    width: 4px;
    background-color: var(--primary-color);
    opacity: 0;
    transition: 0.2s all;
}

.tab-button.active::before {
    opacity: 1;
}

@media (hover:hover) {
    .tab-button:hover {
        outline-color: var(--primary-color);
    }
}

.tabs-container {
    flex: 1 1 50%;
}

.tab {
    display: none;
    position: relative;
    flex: 1;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, ;
    width: fit-content;
    margin: auto;

}

.tab.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.2s;
    /* يعطي تأخير خفيف عند العرض */
}

.tab .image-background {
    aspect-ratio: 1/1;
    border-radius: 50%;
    max-width: 450px;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab .image-background img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.image-main {
    position: absolute;
    right: 50px;
    bottom: 20px;
}

.image-main img {
    max-width: 250px;
    object-fit: contain;
    transform: rotate(6deg);
    border-radius: 8px;
    box-shadow: 5px 5px 25px rgba(0 0 0 / 8%);
}
