/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #09090b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Privacy / Usage Policy Document Styles
   (Unchanged — legal pages are excluded)
   ============================================ */
.privacy {
    line-height: 1.8;
    color: #2c2c2c;
    background-color: #fafafa;
    min-height: 100vh;
    padding: 40px 0;
}

.privacy .container {
    max-width: 1000px;
    background-color: white;
    padding: 60px 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0 auto;
}

.privacy h1 {
    font-size: 2.3rem;
    font-weight: 200;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0rem;
}

.privacy h3 {
    font-size: 1rem;
    font-weight: 100;
    margin-bottom: 1.5rem;
    color: #7c7c7c;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.privacy .last-updated {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.privacy h2 {
    font-size: 1.6rem;
    font-weight: 200;
    margin: 2.5rem 0 1.5rem 0;
    color: #282828;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
    page-break-after: avoid;
}

.privacy h4 {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 2.5rem 0 0.25rem 0;
    color: #282828;
    text-align: left;
    page-break-after: avoid;
}

.privacy p {
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1rem;
    line-height: 1.5;
}

.privacy ul, .privacy ol {
    margin: 1rem 0 1.5rem 2rem;
    padding-left: 1rem;
}

.privacy li {
    margin-bottom: 0.8rem;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1rem;
    line-height: 1.5;
}

.privacy a {
    color: #0066cc;
    text-decoration: underline;
}

.privacy a:hover {
    color: #004499;
}

/* ============================================
   Typography
   ============================================ */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fafafa;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fafafa;
    text-align: center;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fafafa;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fafafa;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: #09090b;
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(33, 150, 243, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 30% 60%, rgba(33, 150, 243, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.hero-description {
    font-size: 1.05rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

/* Hero Icon (animated SVG) */
.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-svg {
    width: 340px;
    height: 340px;
    color: #2196F3;
    animation: icon-spin 90s linear infinite;
    filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.25));
}

@keyframes icon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-svg {
        animation: none;
    }
}

/* ============================================
   Download Buttons
   ============================================ */
.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.btn-primary:has(.store-badge) {
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
}

.btn-primary:has(.store-badge):hover {
    background: transparent;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(33, 150, 243, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 150, 243, 0.25);
    padding: 12px 24px;
    color: #64b5f6;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(33, 150, 243, 0.18);
    border-color: rgba(33, 150, 243, 0.4);
    transform: translateY(-2px);
}

.desktop-button {
    margin-top: 40px;
}

.desktop-label {
    font-size: 1rem;
}

.store-badge {
    height: 60px;
    width: auto;
}

.coming-soon {
    position: relative;
    opacity: 0.7;
}

.coming-soon-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 100px 0;
    background: #0f0f12;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(33, 150, 243, 0.25);
    background: rgba(33, 150, 243, 0.04);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: #fafafa;
    font-size: 1.3rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   Screenshots Section
   ============================================ */
.screenshots {
    padding: 100px 0;
    background: #09090b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 4rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot:hover {
    transform: scale(1.04);
}

.screenshot-item h4 {
    margin-bottom: 0.5rem;
    color: #fafafa;
}

.screenshot-item p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* ============================================
   Technical Highlights
   ============================================ */
.tech-highlights {
    padding: 100px 0;
    background: #0f0f12;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-highlights h2 {
    color: white;
}

.tech-highlights .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.tech-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.tech-bullet {
    color: #2196F3;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* ============================================
   Download CTA
   ============================================ */
.download-cta {
    padding: 100px 0;
    background: #09090b;
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(33, 150, 243, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.download-cta h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.download-cta p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
}

.download-cta .download-buttons {
    justify-content: center;
    position: relative;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #09090b;
    color: white;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #64b5f6;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
    }

    .hero-description {
        order: 3;
        margin-top: 2rem;
    }

    .hero-icon {
        order: 2;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-svg {
        width: 240px;
        height: 240px;
    }

    .icon-glow {
        width: 220px;
        height: 220px;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
    }

    .download-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .desktop-button {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .features,
    .screenshots,
    .tech-highlights,
    .download-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-svg {
        width: 200px;
        height: 200px;
    }

    .icon-glow {
        width: 180px;
        height: 180px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .store-badge {
        height: 50px;
    }
}

/* ============================================
   Privacy Policy Responsive (unchanged)
   ============================================ */
@media (max-width: 768px) {
    .privacy .container {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .privacy h1 {
        font-size: 2rem;
    }

    .privacy h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }

    .privacy p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .privacy li {
        font-size: 1rem;
        line-height: 1.5;
    }

    .privacy ul {
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacy .container {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .privacy h1 {
        font-size: 1.8rem;
    }

    .privacy h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem 0;
    }

    .privacy p {
        font-size: 0.95rem;
    }

    .privacy li {
        font-size: 0.95rem;
    }
}

/* ============================================
   i18n: FOUC Prevention
   ============================================ */
html.i18n-loading [data-i18n],
html.i18n-loading [data-i18n-html] {
  visibility: hidden;
}

/* ============================================
   i18n: RTL Support (Arabic)
   ============================================ */
[dir="rtl"] .guide-row {
  direction: rtl;
}
[dir="rtl"] .guide-row.reverse {
  direction: ltr;
}
[dir="rtl"] .guide-row > * {
  direction: rtl;
}
[dir="rtl"] .guide-row.reverse > * {
  direction: ltr;
}
[dir="rtl"] .features-grid {
  direction: rtl;
}
[dir="rtl"] .footer-links {
  direction: rtl;
}
[dir="rtl"] .tip-box {
  border-left: none;
  border-right: 4px solid #3b82f6;
  border-radius: 8px 0 0 8px;
}
[dir="rtl"] .warning-box {
  border-left: none;
  border-right: 4px solid #f59e0b;
  border-radius: 8px 0 0 8px;
}
[dir="rtl"] .privacy p,
[dir="rtl"] .privacy li {
  text-align: right;
}
[dir="rtl"] .privacy ul,
[dir="rtl"] .privacy ol {
  padding-left: 0;
  padding-right: 2rem;
  margin-left: 0;
  margin-right: 1rem;
}
[dir="rtl"] .tech-bullet {
  margin-right: 0;
  margin-left: 1rem;
}
}
