@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
    body.menu-open{
        overflow: hidden;
    }
}

section {
    height: 100vh;
    min-height: 600px;
}

section:nth-child(2) {
    height: 30vh;
    min-height: 300px;
    display: grid;
    place-items: center;
    text-align: center;
    padding-top: 10vh;
    margin-bottom: 30px;
}

section:nth-child(4) {
    padding-top: 0;
    margin-top: -50px;
}

.title {
    font-size: clamp(35px, 8vw, 70px);
    color: black;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    margin-inline: clamp(20px, 5vw, 50px);
    margin-top: 15px;
    align-items: center;
    gap: 10px;
}

.title img {
    width: clamp(40px, 8vw, 70px);
    height: auto;
    max-width: 70px;
    margin-left: 10%;
}

.title h3 {
    font-size: clamp(30px, 6vw, 60px);
    text-align: right;
    margin-right: 10%;
}

.title .title-element:nth-child(1) {
    margin-left: 10%;
    text-align: left;
}

.video-section {
    height: 200vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    padding: 0 20px;
}

.video-container {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#apple-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reveal-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-in-out;
}

.reveal-element.visible {
    transform: translateY(0);
    opacity: 1;
}

.tab {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.tab.visible {
    opacity: 1;
    transform: translateY(0);
}

.shrink-element {
    width: 100%;
    height: 100%;
    transition: all 1s ease-in-out;
}

.shrink-element.visible {
    width: 60%;
    height: 60%;
    border-radius: 100px;
}

section:nth-child(4) h1 {
    text-align: left;
    margin-left: clamp(20px, 5vw, 50px);
    font-size: clamp(30px, 6vw, 50px);
}

.tabs-section {
    position: relative;
    width: 100%;
    padding: 0 20px;
}

div.scroll-container {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    width: 100%;
    height: auto;
    min-height: 570px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 20px 0;
}

div.scroll-container::-webkit-scrollbar {
    display: none;
}

div.scroll-container .tab {
    width: clamp(280px, 85vw, 300px);
    height: auto;
    min-height: 500px;
    margin: 15px;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid #000;
    border-radius: 20px;
    flex-shrink: 0;
    font-family: Inter, sans-serif;
    cursor: pointer;
    transition: all 0.6s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

div.scroll-container .tab:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #ffffff, #ffffff 50%, rgba(113, 163, 193, 0.4));
    border: 1px solid rgba(113, 163, 193, 1);
}

div.scroll-container .tab h1 {
    margin-bottom: 20px;
    font-size: clamp(28px, 5vw, 40px);
    text-align: left;
    margin-left: 0;
    width: 100%;
    line-height: 1.2;
}

div.scroll-container .tab p {
    margin-bottom: 20px;
    text-align: left;
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.5;
    flex-grow: 1;
}

.nav-buttons {
    position: absolute;
    top: 100%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    gap: 10px;
}

.nav-buttons.left {
    right: calc(8% + 60px);
    border-radius: 100px;
}

.nav-buttons.right {
    right: 4%;
    border-radius: 100px;
}

.nav-btn {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: clamp(16px, 3vw, 20px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: scale(1);
}

.nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1);
}

.tab-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
}

section.info-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    place-items: center;
    gap: 20px;
    padding: 0 20px;
}

section .image {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    place-items: center;
    gap: 10px;
}

.footer {
    background-color: #000;
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(14px, 2.5vw, 16px);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #71a3c1;
}

.footer-text {
    font-size: clamp(12px, 2vw, 14px);
    color: #666;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: auto;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: clamp(20px, 5vw, 40px);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    margin: auto;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-title {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.modal-close {
    background: none;
    border: none;
    font-size: clamp(24px, 5vw, 32px);
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: scale(1.1);
}

.modal-body {
    color: #555;
    line-height: 1.6;
}

.modal-body h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: clamp(20px, 4vw, 24px);
}

.modal-body p {
    margin-bottom: 20px;
    font-size: clamp(14px, 2.5vw, 16px);
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #333;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: clamp(16px, 3vw, 18px);
}

.feature-item p {
    color: #666;
    font-size: clamp(12px, 2vw, 14px);
    margin: 0;
    line-height: 1.4;
}

body.modal-active {
    overflow: hidden;
}

body.modal-active .main-content {
    filter: blur(5px);
    transition: filter 0.4s ease;
}

section:nth-child(5) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
}

section:nth-child(5) .header {
    font-size: clamp(35px, 8vw, 60px);
    margin: 20px;
}

.products-container {
    width: 33%;
    max-width: 800px;
    margin: 20px;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.products-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.products-container .product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 40px);
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    font-family: Inter, sans-serif;
}

.products-container .product img {
    width: clamp(150px, 30vw, 200px);
    height: auto;
    border-radius: 50px;
    margin: clamp(15px, 5vw, 30px);
}

.products-container .product h1 {
    margin: clamp(15px, 3vw, 30px);
    font-size: clamp(24px, 5vw, 32px);
}

.products-container .product h3 {
    margin: clamp(10px, 2vw, 20px);
    font-size: clamp(14px, 3vw, 18px);
}

.products-container .product p {
    margin: clamp(10px, 2vw, 15px);
    font-size: clamp(12px, 2.5vw, 14px);
    line-height: 1.5;
    max-width: 500px;
}

.products-container .product button {
    margin-top: 10px;
    padding: clamp(12px, 3vw, 15px) clamp(20px, 5vw, 25px);
    font-family: Inter, sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
    background-color: #71a3c1;
    border-color: #71a3c1;
    color: white;
    border: 1px solid;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.products-container .product button:hover {
    background-color: #5a8aa0;
    color: white;
    border: 1px solid #71a3c1;
    cursor: pointer;
}

.preorder-section h1:nth-child(1) {
    text-align: center;
    font-size: clamp(30px, 6vw, 50px);
    margin-top: 70px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 40px);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#contact-form input {
    width: 100%;
    max-width: 600px;
    padding: clamp(12px, 3vw, 15px);
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: clamp(14px, 2.5vw, 16px);
}

#contact-form textarea {
    width: 100%;
    max-width: 600px;
    height: clamp(120px, 20vw, 150px);
    padding: clamp(12px, 3vw, 15px);
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: clamp(14px, 2.5vw, 16px);
    resize: vertical;
}

#contact-form button {
    padding: clamp(12px, 3vw, 15px) clamp(25px, 5vw, 30px);
    background-color: #71a3c1;
    border: none;
    color: white;
    font-size: clamp(14px, 2.5vw, 16px);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

#contact-form button:hover {
    background-color: #5a8aa0;
}

.status {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #71a3c1;
    color: white;
    padding: clamp(15px, 4vw, 20px);
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    height: auto;
    min-height: 150px;
    text-align: center;
    font-size: clamp(18px, 4vw, 32px);
}

.status button {
    background-color: #fff;
    color: #71a3c1;
    border: none;
    padding: clamp(10px, 3vw, 15px) clamp(20px, 4vw, 25px);
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-size: clamp(12px, 2.5vw, 14px);
}

.status button:hover {
    background-color: #ccc;
}

/* Tablet Specific Styles */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .title {
        font-size: clamp(45px, 7vw, 60px);
        margin-inline: clamp(30px, 4vw, 40px);
    }

    .title h3 {
        font-size: clamp(35px, 5vw, 50px);
    }

    div.scroll-container .tab {
        width: clamp(320px, 70vw, 350px);
        margin: 20px;
        padding: 25px;
    }

    .nav-buttons.left {
        right: calc(8% + 60px);
    }

    .nav-buttons.right {
        right: 3%;
    }
}

/* Mobile Specific Styles */
@media screen and (max-width: 767px) {
    section {
        height: auto;
        min-height: 80vh;
        padding: 20px 10px;
    }

    section:nth-child(2) {
        height: auto;
        min-height: 40vh;
        padding-top: 5vh;
        margin-bottom: 20px;
    }

    .title {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        gap: 20px;
        margin-inline: 20px;
    }

    .title .title-element:nth-child(1),
    .title h3 {
        text-align: center;
        margin: 0;
    }

    .title img {
        margin: 0 auto;
        grid-row: 2;
    }

    .title h3 {
        grid-row: 3;
    }

    .video-section {
        height: 150vh;
        padding: 0 10px;
    }

    .video-container {
        width: 95%;
        max-width: 400px;
    }

    section:nth-child(4) {
        margin-top: 0;
        padding-top: 20px;
    }

    section:nth-child(4) h1 {
        text-align: center;
        margin-left: 0;
    }

    .tabs-section {
        padding: 0 10px;
    }

    div.scroll-container {
        height: auto;
        min-height: 600px;
        padding: 10px 0;
    }

    div.scroll-container .tab {
        width: 85vw;
        max-width: 320px;
        margin: 10px;
        padding: 20px;
        min-height: 480px;
    }

    div.scroll-container .tab h1 {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 15px;
    }

    div.scroll-container .tab p {
        font-size: clamp(13px, 3vw, 15px);
        margin-bottom: 15px;
    }

    .nav-buttons {
        position: absolute;
        top: 105%;
        transform: translateY(-50%);
        z-index: 100;
        display: flex;
        gap: 10px;
    }

    .nav-buttons.left {
        right: calc(8% + 60px);
    }

    .nav-buttons.right {
        right: 3%;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    section:nth-child(5) {
        padding: 20px 10px;
    }

    .products-container {
        width: 95%;
        margin: 10px;
    }

    .products-container .product {
        padding: 20px 15px;
    }

    .modal-content {
        width: 95%;
        max-height: 85vh;
        padding: 25px 20px;
        margin: 10px;
    }

    .modal-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 15px;
    }

    .footer-links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    section.info-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    #contact-form {
        padding: 20px 10px;
    }

    .status {
        width: 95%;
        max-width: 350px;
        padding: 20px 15px;
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1400px) {
    .title {
        font-size: 80px;
        margin-inline: 80px;
    }

    .title h3 {
        font-size: 70px;
    }

    section:nth-child(4) h1 {
        font-size: 60px;
        margin-left: 80px;
    }

    div.scroll-container .tab {
        width: 350px;
        margin: 35px;
        padding: 35px;
    }

    div.scroll-container .tab h1 {
        font-size: 45px;
    }

    div.scroll-container .tab p {
        font-size: 17px;
    }
}

/* Ultra-wide Screen Support */
@media screen and (min-width: 1920px) {
    .title {
        font-size: 90px;
        margin-inline: 100px;
    }

    .title h3 {
        font-size: 80px;
    }

    section:nth-child(4) h1 {
        font-size: 70px;
        margin-left: 100px;
    }
}