*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Intra';
    src: url('../fonts/Intra/Inter_24pt-Regular.ttf');
}

@font-face {
    font-family: 'Inria Sans';
    src: url('../fonts/Inria_Sans/InriaSans-Regular.ttf');
}

body {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Intra', serif;    
    color: #fff;
    user-select: none;
}

body::before {
    content: "";
    position: fixed;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-image: url('../images/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(4px);
    z-index: -1;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #fff;
}

#nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    /* background-color: red;  */
}

#nav-header-logo{
    display: flex;
    gap: 10px;
    height: 24px;
}

#nav-header img{
    height: 24px;
}


.horizontal-menu {
    display: flex;
    gap: 20px;
}

.clickable {
    font-family: 'Inria Sans', sans-serif;
}

.section {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    flex-shrink: 0;
}

#container-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

#container-body::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

#container-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

#start-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    
}

#start-page #nav-header-omni-text-logo{
    height: 100px;
}

#start-page h2{
 font-size: 64px;
 
}

#punchline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

#start-page > #dropdown {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.outline-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    transition: background-color 0.25s ease, color 0.25s ease;
    gap:10px;
    display: flex;
    align-items: center;
    
}

.outline-button img{
    height: 24px;
    width: 24px;
    filter: drop-shadow(0 3px 2px rgba(91, 91, 91, 0.8));
}

.outline-button:hover{
    background-color: #fff;
    color: #000;
}

#download-options label{
    display: flex;
    font-size: 18px;
    font-weight: bold;
}

#download-options{
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}


#supported-platforms{
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}


#supported-platforms img{
    height: 24px;
    width: 24px;
    object-fit: contain;
    filter: drop-shadow(0 3px 2px rgba(91, 91, 91, 0.8));
}

#nav-apps {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* background-color: blue; */
}
#nav-apps ul{
    gap:40px

}

#philosophy-page{
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
#philosophy-page h3{
    font-family: 'Inria Sans', sans-serif;
}
#philosophy-page > #title{
    font-size: 40px;
    font-family: 'Inria Sans', sans-serif;
    text-align: center;
}

#philosophy-intro{
    text-align: center;
    font-size: 18px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.philosophy-card {
    padding: 1.5rem;
    border-radius: 18px;
    text-align: center;
    max-width: 350px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.philosophy-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.philosophy-card h3 {
    font-size: 1.0rem;
    margin-bottom: 0.5rem;
}

.philosophy-card p {
    font-size: 0.90rem;
    line-height: 1.5;
    opacity: 0.88;
}

#check-app-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.app-page {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    padding: 3rem;
}

.preview-info {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Left info */
.preview-info h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.preview-info p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.preview-info > #features-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 10px;
}

.preview-info > #features-list li {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: fadeInRight 0.5s ease forwards;
    opacity: 0;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.37);
}

.preview-info > #features-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
    border-left-color: #fff;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.preview-canvas {
    flex: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#three-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#download-page {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    gap: 40px;
    padding: 50px;
}

#download-info {
    flex: 0.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

#apps-grid {
    flex:0.9;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    width: 100%;
    height: fit-content;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.app-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.app-card h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.app-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Dropdown Button Container */
.download-with-bit {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.download-with-bit:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Dropdown Options (Hidden by default) */
.download-with-bit .outline-button {
    width: 100%;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.download-with-bit:hover .outline-button {
    max-height: 40px;
    opacity: 1;
    margin-top: 8px;
    padding: 8px 0;
    pointer-events: auto;
}

.download-with-bit .outline-button:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}



@media (min-width: 900px) {
    .philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

#nav-apps a {
    opacity: 0.6;
    transition: opacity 0.3s, border-bottom-color 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

#nav-apps a.active {
    opacity: 1;
    border-bottom-color: #fff;
}

/* Feedback Page Styles */
#feedback-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0 10%;
}

#feedback-page-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    border: #fff solid 1px;
    border-radius: 20px;
    padding: 30px;
    /* background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); */
}

#feedback-page-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

#feedback-info {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.022);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

#notice {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

#notice h2, #feedback-info h2 {
    margin-bottom: 10px;
}

#notice-content {
    margin-top: 20px;
}
#notice-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

#notice-content p {
    line-height: 1.6;
    opacity: 0.9;
}

#social-media h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#social-media-icons {
    display: flex;
    gap: 20px;
}

#social-media-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

#social-media-icons img:hover {
    transform: scale(1.2);
}

#policy ul {
    display: flex;
    gap: 20px;
}

#policy a {
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

#policy a:hover {
    opacity: 1;
}


#nexina-product {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0.7;
    font-size: 12px;
}

#feedback-info form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#feedback-info label {
    font-weight: bold;
    margin-bottom: -5px;
}

#feedback-info input, 
#feedback-info textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

#feedback-info input:focus, 
#feedback-info textarea:focus {
    border-color: #fff;
    background: rgba(0, 0, 0, 0.4);
}

#feedback-info textarea {
    min-height: 120px;
    resize: vertical;
}

#feedback-info button {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: white;
    color: black;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, background-color 0.2s;
}

#feedback-info button:hover {
    transform: scale(1.02);
    background-color: #f0f0f0;
}

@media (max-width: 900px) {
    #feedback-page {
        flex-direction: column;
        padding: 50px 20px;
        overflow-y: auto;
        justify-content: flex-start;
    }
    
    #feedback-page-left, #feedback-page-right {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 500px) {
    body {
        height: auto;
        overflow-y: auto;
    }

    #container-body {
        scroll-snap-type: none;
        flex: none;
        height: auto;
        overflow: visible;
    }

    .section {
        height: auto;
        min-height: unset;
        scroll-snap-align: none;
    }

    #start-page > #dropdown, #check-app-indicator {
        display: none;
    }

    #nav-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .horizontal-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #start-page {
        gap: 20px;
        padding: 80px 20px 40px;
        justify-content: flex-start;
    }

    #start-page h2 {
        font-size: 28px;
        text-align: center;
    }

    #start-page #nav-header-omni-text-logo {
        height: 60px;
    }

    #download-options, #supported-platforms {
        flex-direction: column;
        gap: 15px;
    }

    #philosophy-page {
        padding: 30px 15px;
        gap: 20px;
    }

    #philosophy-page > #title {
        font-size: 24px;
    }

    #philosophy-intro {
        font-size: 14px;
    }

    .philosophy-card h3 {
        font-size: 1rem;
    }

    .philosophy-card p {
        font-size: 0.85rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .app-page {
        flex-direction: column;
        padding: 20px;
        height: auto;
        gap: 20px;
    }

    .preview-info {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .preview-info h1 {
        font-size: 1.5rem;
    }

    .preview-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .preview-info > #features-list li {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .preview-canvas {
        width: 100%;
        height: 300px;
        flex: none;
    }

    #download-page, #feedback-page {
        padding: 30px 15px;
        gap: 20px;
    }

    #apps-grid {
        flex-direction: column;
        gap: 15px;
    }

    #policy ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Policy Pages Styles */
#privacy-page, #terms-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    min-height: 100%;
    /* Disable scroll-snap for long policy content */
    scroll-snap-align: none;
}

#privacy-page.section, #terms-page.section {
    scroll-snap-align: none;
    height: auto;
    min-height: 100%;
}

.policy-container {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 3rem;
    color: #fff;
}

.policy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.last-updated {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    border-left: 3px solid rgba(255, 255, 255, 0.4);
    padding-left: 1rem;
}

.policy-section h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    opacity: 0.9;
}

.policy-section p {
    line-height: 1.7;
    opacity: 0.88;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-section ul ul {
    list-style-type: circle;
    margin-bottom: 0.5rem;
}

.policy-section li {
    opacity: 0.88;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: #fff;
}

.policy-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-section a:hover {
    color: #fff;
}

.contact-info {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0;
    line-height: 1.8;
}

/* Privacy Commitment Grid */
.privacy-commitment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.commitment-icon {
    font-size: 1.25rem;
    color: #4ade80;
}

/* Terms Summary Grid */
.terms-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.summary-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.summary-item:has(.summary-icon:contains("⚠")) .summary-icon {
    color: #fbbf24;
}

/* Back Button */
.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 2.5rem;
    padding: 12px 24px;
}

.back-button img {
    height: 20px;
    width: 20px;
}

/* Responsive adjustments for policy pages */
@media (max-width: 900px) {
    #privacy-page, #terms-page {
        padding: 2rem 1rem;
    }

    .policy-container {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .policy-container h1 {
        font-size: 2rem;
    }

    .policy-section h2 {
        font-size: 1.25rem;
    }

    .privacy-commitment,
    .terms-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    #privacy-page, #terms-page {
        padding: 1.5rem 0.75rem;
    }

    .policy-container {
        padding: 1.5rem 1rem;
    }

    .policy-container h1 {
        font-size: 1.75rem;
    }

    .policy-section h2 {
        font-size: 1.1rem;
        padding-left: 0.75rem;
    }
}
