/* NotchNest Modern Minimal Design - GitHub Pages Compatible */

/* CSS Reset and Base */
*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

::before,
::after {
    --tw-content: '';
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    line-height: inherit;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: #0a0a0f;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1f 50%, #0f0a1a 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Typography Reset */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

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

p {
    margin: 0;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background and Layout */
.background-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(26, 10, 31, 0.6) 0%, rgba(10, 10, 15, 0.9) 50%, #0a0a0f 100%);
    opacity: 0.9;
}

.rain {
    background-image: url('assets/rain.gif');
    background-size: 120px 120px;
    animation: rain-fall 25s linear infinite;
}

@keyframes rain-fall {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}

/* Main Layout */
.main-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 1rem;
}

.content-wrapper {
    width: 100%;
    max-width: 800px;
    padding: 4rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.app-showcase {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.app-icon-wrapper {
    flex-shrink: 0;
    position: relative;
}

.app-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255, 255, 255, 0.1) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 120px;
    justify-content: space-between;
}

.app-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.version-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', monospace;
}

.app-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.download-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.download-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 40px;
}

.download-btn:hover {
    transform: translateY(-1px) scale(1.05);
}

.download-btn img {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.download-btn:hover img {
    opacity: 1;
}

.product-hunt-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 40px;
    min-width: 160px;
}

.product-hunt-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.download-icon {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.ph-icon {
    width: 16px;
    height: 16px;
    color: inherit;
}

/* Demo Section */
.demo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.demo-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.demo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.demo-video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.demo-info {
    display: flex;
    justify-content: center;
}

.system-requirement {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.os-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: 'Inter', monospace;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.feature-image-container {
    flex-shrink: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-image {
    width: 320px;
    height: 320px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dynamic-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    scroll-margin-top: 2rem;
    /* Ensures proper scroll positioning */
    padding-top: 1rem;
    /* Additional top padding for better visibility */
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq-answer {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.faq-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-link:hover {
    color: #7c8ef7;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
    margin-top: 2rem;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #7c8ef7;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.loading-text {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 0 1rem;
        gap: 3rem;
    }

    .demo-card,
    .feature-card {
        padding: 1.5rem;
    }

    .app-showcase {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .app-title {
        font-size: 1.75rem;
        justify-content: center;
    }

    .download-section {
        justify-content: center;
        width: 100%;
    }

    .product-hunt-btn {
        min-width: 160px;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-image-container {
        padding: 1rem;
    }

    .settings-image {
        width: 280px;
        height: 280px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: row;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 0.75rem;
    }

    .demo-card,
    .feature-card,
    .faq-card {
        padding: 1.25rem;
    }

    .app-title {
        font-size: 1.5rem;
    }

    .download-section {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .product-hunt-btn {
        min-width: 180px;
    }

    .feature-image-container {
        padding: 0.5rem;
    }

    .settings-image {
        width: 240px;
        height: 240px;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Accessibility and Animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

/* Utility Classes for Compatibility */
.pointer-events-none {
    pointer-events: none;
}

.fixed {
    position: fixed;
}

.inset-0 {
    inset: 0px;
}

.z-10 {
    z-index: 10;
}

.m-0 {
    margin: 0px;
}

.h-dvh {
    height: 100dvh;
}

.w-dvw {
    width: 100dvw;
}

.-scale-x-\[1\] {
    --tw-scale-x: -1;
    transform: scaleX(var(--tw-scale-x));
}

.bg-repeat {
    background-repeat: repeat;
}

.opacity-10 {
    opacity: 0.1;
}

.mix-blend-overlay {
    mix-blend-mode: overlay;
}

/* Dark theme compatibility */
.notchnest-body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background-color: #000000;
    color: white;
}

/* Privacy Policy Specific Styles */
.nav-section {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.back-button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.back-button svg {
    width: 16px;
    height: 16px;
    color: inherit;
}

.privacy-header-section {
    display: flex;
    justify-content: center;
}



.privacy-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.privacy-content-section {
    display: flex;
    justify-content: center;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.privacy-intro {
    margin-bottom: 2.5rem;
    text-align: center;
}

.privacy-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.privacy-intro-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.privacy-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.privacy-text strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.privacy-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #7c8ef7;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
}

/* Privacy Page Responsive Design */
@media (max-width: 768px) {
    .privacy-card {
        padding: 1.5rem;
    }

    .privacy-title {
        font-size: 1.75rem;
    }

    .privacy-section-title {
        font-size: 1.5rem;
    }

    .privacy-intro-text {
        font-size: 1rem;
    }

    .privacy-header-section .app-showcase {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-card {
        padding: 1.25rem;
    }

    .privacy-title {
        font-size: 1.5rem;
    }

    .privacy-section-title {
        font-size: 1.25rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}