:root {
    /* Color Tokens (Light Mode Default) */
    --primary: #007AFF;
    --primary-gradient: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
    --bg-color: #F0F7FF; /* Softer light blue for light mode */
    --card-bg: rgba(255, 255, 255, 0.82);
    --text-primary: #1C1C1E;
    --text-secondary: #3A3A3C;
    --glass-border: rgba(255, 255, 255, 0.3);
    --accent-blue: #007AFF;
    --accent-purple: #AF52DE;
    --accent-green: #34C759;
    --accent-red: #FF3B30;
    --overlay-bg: rgba(255, 255, 255, 0.95);
    --overlay-text: #1C1C1E;
}

body.dark-mode {
    --bg-color: #000000;
    --card-bg: rgba(28, 28, 30, 0.7);
    --text-primary: #FFFFFF;
    --text-secondary: #EBEBF5;
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(28, 28, 30, 0.6);
    --overlay-bg: rgba(20, 20, 22, 0.96);
    --overlay-text: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

#app-logo-nav {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.app-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
@media (max-width: 600px) {
    .app-name { font-size: 1rem; }
}
@media (max-width: 400px) {
    .app-name { display: none; } /* Show only logo on very small screens */
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.glass-select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.glass-btn {
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.glass-btn:active {
    transform: scale(0.95);
}

/* Hero */
.hero {
    padding: 140px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.platform-badges {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
}

.platform-badges i {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.platform-badges i:hover {
    opacity: 1;
}

.btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Phone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 680px;
    border-radius: 48px;
    border: 14px solid #1a1a1a;
    background: #000;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #2c2c2c;
    border-radius: 10px;
    z-index: 2;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    margin: 0;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technical Excellence Section */
/* Punch-hole camera */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    z-index: 5;
    box-shadow: inset 0 0 2px #000;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    min-height: 480px; /* Increased to fit multilingual content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Gallery - Professional Card Style */
.gallery-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.02);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.gallery-container {
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
}

.gallery-scroll {
    overflow-x: auto;
    padding: 40px 10px;
    scrollbar-width: none; /* Hide for better look, drag & arrows handle it */
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.gallery-scroll:active {
    cursor: grabbing;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-nav-btn {
    position: absolute;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.15);
}

.gallery-nav-btn.left { left: 10px; }
.gallery-nav-btn.right { right: 10px; }

@media (max-width: 900px) {
    .gallery-nav-btn { display: none; }
    .gallery-container { padding: 0; }
}

.screenshots-row {
    display: flex;
    gap: 30px;
    width: max-content;
}

.screenshot-card {
    width: 260px;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.screenshot-img-wrapper {
    aspect-ratio: 9/20;
    width: 100%;
    background: #000;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid var(--glass-border);
}

.screenshot-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show entire screenshot in gallery too */
    display: block;
}

.screenshot-caption {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-align: center;
    padding: 0 10px 5px;
}

/* Animations & More */
footer {
    padding: 60px 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.social-links-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-card {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.social-card i,
.social-card svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    transition: transform 0.3s ease;
    display: inline-block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.social-card:hover {
    transform: translateY(-5px);
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 112, 243, 0.3);
}

.social-card:hover i,
.social-card:hover svg {
    transform: scale(1.1);
}

#footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-image { order: -1; }
    .phone-mockup { width: 220px; height: 450px; }
    .screenshot-card { width: 220px; }
    
    .nav-container { padding: 0 10px; gap: 8px; }
    .glass-select { font-size: 0.8rem; padding: 4px 8px; }
}

/* --- New Sections Styling --- */

/* How it Works */
.how-it-works {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.how-it-works h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.step-card {
    padding: 50px 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.step-number {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.15;
    color: var(--primary);
}

.step-card i {
    width: 64px;
    height: 64px;
    color: var(--primary);
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Privacy Section */
.privacy-section {
    padding: 80px 5%;
}

.privacy-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 50px;
    border-radius: 40px;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.privacy-container h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
}

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

.privacy-item i {
    width: 56px;
    height: 56px;
    color: #34c759;
    margin-bottom: 25px;
}

.privacy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.privacy-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Premium / Pricing */
.pricing-section {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-title {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-content: center;
}

.pricing-card {
    padding: 50px 40px;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.pricing-card.premium {
    border: 2px solid var(--primary);
    background: rgba(0, 112, 243, 0.03);
}

.pricing-card.premium::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.pricing-features li i {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.pricing-features li.included i {
    color: #34c759;
}

.pricing-features li.excluded {
    opacity: 0.4;
}

.pricing-features li.excluded i {
    color: #ff3b30;
}

/* Pricing Hover Overlay */
.pricing-details-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    padding: 40px;
    border-radius: 35px;
    text-align: center;
}

.pricing-card:hover .pricing-details-overlay {
    opacity: 1;
    pointer-events: auto;
}

.details-content {
    width: 100%;
}

.details-content h4 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pros, .cons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros h5 {
    color: #34c759;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cons h5 {
    color: #ff3b30;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pros p, .cons p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}


@media (max-width: 600px) {
    .how-it-works h2, .pricing-title h2 { font-size: 2.2rem; }
    .privacy-container { padding: 40px 25px; }
    .pricing-card { padding: 40px 25px; }
}

/* Premium Slide-up Overlay for Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: var(--overlay-bg); /* Use matching theme color */
    color: var(--overlay-text);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto; /* Allow scrolling for long text */
    
    /* Animation state - Hidden below the card */
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 10;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:hover .feature-overlay {
    opacity: 1;
    transform: translateY(0);
}

.feature-overlay p {
    margin: 0;
    font-weight: 500;
}


.footer-legal {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}
