:root {
    --primary-color: #FF6B35;
    --secondary-color: #4A90E2;
    --background-color: #f4f7f6;
    --text-color: #333;
    --card-bg: #ffffff;
    --shadow: 0 10px 20px rgba(0,0,0,0.08);
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    min-height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
}

nav .logo {
    font-size: 1.8em;
    font-weight: 700;
}

nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin-left: 30px;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

nav .nav-links a:hover {
    opacity: 0.8;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.logo-main {
    margin-bottom: 2rem;
    perspective: 1000px; /* Create 3D space */
}

/* --- 3D Cube Animation --- */
.logo-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; /* Give space for the cube */
    perspective: 1200px;
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 25s linear infinite;
}

.cube:hover {
    animation-play-state: paused;
}

@keyframes rotate-cube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to   { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-sizing: border-box;
    /* A very subtle, dark, semi-transparent background to look solid but not harsh */
    background-color: rgba(0, 0, 0, 0.15);
}

.logo-cell {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    /* A much more subtle shadow for a gentle bevel effect */
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.2),
                inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

/* Positioning the 6 faces */
.front  { transform: rotateY(  0deg) translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.right  { transform: rotateY( 90deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.top    { transform: rotateX( 90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

/* Applying all 9 brand colors to the cells on each face */
.cube-face .logo-cell:nth-child(1) { background-color: #FF6B35; }
.cube-face .logo-cell:nth-child(2) { background-color: #F7C548; }
.cube-face .logo-cell:nth-child(3) { background-color: #2ED1A2; }
.cube-face .logo-cell:nth-child(4) { background-color: #4A90E2; }
.cube-face .logo-cell:nth-child(5) { background-color: #9013FE; }
.cube-face .logo-cell:nth-child(6) { background-color: #F5A623; }
.cube-face .logo-cell:nth-child(7) { background-color: #BD10E0; }
.cube-face .logo-cell:nth-child(8) { background-color: #50E3C2; }
.cube-face .logo-cell:nth-child(9) { background-color: #B8E986; }

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 20px auto 30px; /* auto for horizontal centering */
    line-height: 1.6;
}


/* Download badge to match Google Play badge style */
.download-badge {
    background-color: #000000;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 50px;
    width: 180px; /* restore original width */
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    border: 1px solid #333;
}

.download-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.badge-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.android-icon {
    font-size: 24px; /* restore original size */
    margin-right: 12px; /* restore original margin */
    color: #A4C639; /* Android green color */
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-line1 {
    font-size: 10px; /* restore original size */
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2px;
    color: #ffffff;
}

.badge-line2 {
    font-size: 18px; /* restore original size */
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
}

.download-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* consistent spacing between buttons */
    flex-wrap: wrap;
}

/* Keep original CTA button styles for other uses */
.cta-button {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Sections */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #777;
    margin-bottom: 4rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.2);
}

.card-icon-container {
    width: clamp(38px, 10vw, 50px);
    height: clamp(38px, 10vw, 50px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(10px, 3vw, 15px);
    font-size: clamp(20px, 5vw, 24px);
}

.card-content h3 {
    font-size: clamp(1rem, 4vw, 1.375rem); /* 16px to 22px */
    font-weight: 600;
    margin: 0 0 5px 0;
}

.card-content p {
    font-size: clamp(0.75rem, 2.5vw, 0.875rem); /* 12px to 14px */
    opacity: 0.9;
    margin: 0;
}

.card-content p span {
    font-weight: bold;
    margin-left: 2px;
}

.vip-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FFD700;
    color: #333;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
}

/* Tech Stack Section */
.tech-stack-section {
    background-color: #e9eef2;
}

.tech-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.tech-icon img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-icon:hover img {
    transform: scale(1.1);
}



/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-current-btn {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.lang-current-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.lang-current-btn i {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.lang-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 5px;
    display: none;
    min-width: 120px;
    z-index: 10;
}

.lang-option {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    color: var(--text-color);
    font-family: var(--font-family);
}

.lang-option:hover {
    background-color: #f0f0f0;
}

.lang-option.active {
    font-weight: bold;
    color: var(--primary-color);
}

/* Open state */
.language-switcher.open .lang-dropdown {
    display: block;
}

.language-switcher.open .lang-current-btn i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Play badge specific styling to match the APK button exactly */
.play-badge {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 50px !important; /* match APK badge height exactly */
    width: 180px !important; /* match APK badge width exactly */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0; /* use parent gap instead */
    vertical-align: middle; /* ensure horizontal alignment */
}
.play-badge img {
    height: 50px; /* make badge image same height as APK badge */
    width: 185px; /* slightly wider to appear same size as APK badge */
    object-fit: cover; /* stretch to fill the exact dimensions */
    display: inline-block;
}

/* Page-level styles used by delete.html and privacy-policy.html */
.nav-header {
    background: transparent;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo, .nav-logo:link, .nav-logo:visited {
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.15rem;
}
.nav-links { list-style: none; display: flex; gap: 18px; }
.nav-links a { color: var(--text-color); text-decoration: none; font-weight: 500; }

.deletion-container {
    max-width: 880px;
    margin: 36px auto;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 36px;
}
.page-header { text-align: left; margin-bottom: 6px; }
.page-title { font-size: 1.6rem; font-weight: 700; margin: 0 0 6px 0; }
.page-subtitle { color: #666; margin: 0 0 12px 0; }
.effective-date { color: #777; font-size: 0.95rem; margin-bottom: 16px; }
.intro-highlight { background: linear-gradient(90deg, rgba(250,250,250,1), rgba(245,247,250,1)); padding: 14px; border-radius: 8px; margin-bottom: 20px; }

.section { text-align: left; margin: 20px 0; }
.section-title { font-size: 1.125rem; margin-bottom: 10px; font-weight: 600; }

.data-list { list-style: disc; margin-left: 20px; }
.info-box, .highlight-box, .warning-box, .security-box { border-radius: 8px; padding: 14px; margin: 12px 0; background: #fafafa; border: 1px solid #eee; }
.highlight-box { background: linear-gradient(180deg, #fbfbff, #f7f9ff); border-color: #e6eefc; }
.warning-box { background: linear-gradient(180deg, #fff8f6, #fff6f3); border-color: #ffe9df; }
.security-box { background: linear-gradient(180deg, #f7fff9, #f0fff3); border-color: #e6f7ec; }
.contact-info ul { list-style: none; padding-left: 0; }
.link-primary { color: var(--primary-color); text-decoration: none; font-weight: 600; }

@media (max-width: 700px) {
    .deletion-container { padding: 20px; margin: 18px; }
    .nav-content { padding: 12px 16px; }
}

/* Page-level styles shared by deletion and policy pages */
.deletion-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    color: var(--primary-color);
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-color);
    font-size: 1.1em;
    opacity: 0.8;
}

.section {
    margin-bottom: 40px;
    text-align: left;
}

.section-title {
    color: var(--secondary-color);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.nav-header {
    position: relative;
    width: 100%;
    background: transparent;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
}

.nav-links li { margin-left: 12px; }

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover { opacity: 0.85; }

/* Responsive */
@media (max-width: 768px) {
    nav .nav-links {
        display: none; /* Simple hiding for demo, can be replaced with a hamburger menu */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
