:root {
    --bg-main: #ffffff;
    --text-main: #171717;
    --text-muted: #52525b;
    --primary: #2563eb;
    --secondary: #db2777;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.05);
    --btn-bg: #171717;
    --btn-text: #ffffff;
    --btn-hover: #27272a;
}

:root.dark-theme {
    --bg-main: #0a0a0c;
    --text-main: #f5f5f7;
    --text-muted: #a1a1aa;
    --primary: #60a5fa; /* Adjusted for better dark mode visibility */
    --secondary: #f472b6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --btn-bg: rgba(255, 255, 255, 0.1);
    --btn-text: #ffffff;
    --btn-hover: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 32px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.org-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.theme-toggle:hover {
    background: var(--glass-border);
}

:root:not(.dark-theme) .sun-icon { display: none; }
:root.dark-theme .moon-icon { display: none; }

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.scroll-wrapper {
    position: relative;
    z-index: 1; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    text-align: center;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    pointer-events: none; /* Let canvas capture inner clicks/moves */
}

.title {
    font-size: clamp(3rem, 12vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
}

.subtitle {
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

.products-section {
    width: 100%;
    max-width: 1200px;
    padding: clamp(3rem, 6vw, 4rem) 1.5rem clamp(4rem, 10vw, 8rem) 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto; /* enable interactions for products */
}

.section-title {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    width: 100%;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 2.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12);
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-title {
    font-size: clamp(2.2rem, 7vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.product-desc {
    font-size: clamp(1rem, 3vw, 1.15rem);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-playstore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--btn-bg);
    border: 1px solid var(--glass-border);
    padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 32px);
    border-radius: 100px;
    text-decoration: none;
    color: var(--btn-text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-playstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    background: var(--btn-hover);
}

.play-icon {
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-small {
    font-size: clamp(0.55rem, 2vw, 0.65rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.btn-large {
    font-size: clamp(0.9rem, 3vw, 1.15rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* APP SCREENSHOT GALLERY */
.product-gallery {
    display: flex;
    gap: 1.5rem;
    margin-top: 3.5rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    width: 100%;
    scrollbar-width: thin; 
    scrollbar-color: var(--glass-border) transparent;
}

.product-gallery::-webkit-scrollbar {
    height: 8px;
}
.product-gallery::-webkit-scrollbar-track {
    background: transparent;
}
.product-gallery::-webkit-scrollbar-thumb {
    background-color: var(--glass-border);
    border-radius: 10px;
}

.app-screenshot {
    max-height: clamp(280px, 40vh, 380px);
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.app-screenshot:hover {
    transform: scale(1.02);
}

/* FOOTER */
footer {
    padding: 2rem 1.5rem 4rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    pointer-events: auto;
}

.footer-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.6;
}

/* POLICY PAGE SPECIFICS */
.policy-section {
    width: 100%;
    max-width: 900px;
    padding: clamp(6rem, 10vw, 8rem) 1.5rem clamp(4rem, 10vw, 8rem) 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.policy-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.policy-card h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.policy-card h3 {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.policy-card p, .policy-card ul {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.policy-card ul {
    padding-left: 1.8rem;
}

.policy-card li {
    margin-bottom: 0.5rem;
}

.policy-card hr {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 2.5rem 0;
    width: 100%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
