/* =============================================
   Rokn Landing Page — Plain CSS
   Brand: Blue gradient (#7EC8E3 → #1976B5)
   ============================================= */

:root {
    --rokn-primary: #1976B5;
    --rokn-primary-light: #7EC8E3;
    --rokn-primary-dark: #0D4F7A;
    --rokn-white: #ffffff;
    --rokn-light-bg: #f5f8fc;
    --rokn-text: #2d3748;
    --rokn-text-muted: #718096;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.landing-page {
    font-family: 'Nunito', 'Segoe UI', Tahoma, sans-serif;
    color: var(--rokn-text);
    overflow-x: hidden;
    line-height: 1.6;
}

[dir="rtl"] body.landing-page {
    font-family: 'Segoe UI', Tahoma, 'Nunito', sans-serif;
}

.landing-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =============================================
   Navbar
   ============================================= */
.landing-navbar {
    background: var(--rokn-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-navbar .landing-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.navbar-brand span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rokn-primary);
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border: 2px solid var(--rokn-primary);
    border-radius: 20px;
    color: var(--rokn-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: var(--rokn-primary);
    color: var(--rokn-white);
    text-decoration: none;
}

/* =============================================
   Hero Section
   ============================================= */
.landing-hero {
    background: linear-gradient(135deg, var(--rokn-primary-light) 0%, var(--rokn-primary) 50%, var(--rokn-primary-dark) 100%);
    color: var(--rokn-white);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-slogan {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* =============================================
   App Store Buttons
   ============================================= */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid var(--rokn-white);
    color: var(--rokn-white);
    background: rgba(255, 255, 255, 0.1);
}

.store-btn:hover {
    background: var(--rokn-white);
    color: var(--rokn-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.store-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.available-on-text {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* =============================================
   Features Section
   ============================================= */
.landing-features {
    padding: 5rem 0;
    background: var(--rokn-white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--rokn-primary);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: var(--rokn-light-bg);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(25, 118, 181, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rokn-primary-light), var(--rokn-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--rokn-white);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--rokn-text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--rokn-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* =============================================
   Skills Section
   ============================================= */
.landing-skills {
    padding: 4rem 0;
    background: var(--rokn-light-bg);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: var(--rokn-white);
    border: 2px solid var(--rokn-primary-light);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rokn-primary);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: var(--rokn-primary);
    border-color: var(--rokn-primary);
    color: var(--rokn-white);
}

/* =============================================
   How It Works Section
   ============================================= */
.landing-how-it-works {
    padding: 5rem 0;
    background: var(--rokn-white);
    text-align: center;
}

.video-wrapper {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =============================================
   Footer
   ============================================= */
.landing-footer {
    background: linear-gradient(135deg, var(--rokn-primary-dark) 0%, var(--rokn-primary) 100%);
    color: var(--rokn-white);
    padding: 3.5rem 0 1.5rem;
}

.footer-cta {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--rokn-white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.footer-contact-info a {
    color: var(--rokn-white);
    text-decoration: none;
}

.footer-contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* =============================================
   Navbar — Nav Links & Layout
   ============================================= */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-link {
    color: var(--rokn-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--rokn-primary);
    text-decoration: none;
}

/* =============================================
   Footer — Nav Links
   ============================================= */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.footer-nav a {
    color: var(--rokn-white);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =============================================
   Static Page Content
   ============================================= */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.page-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--rokn-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.page-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rokn-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--rokn-text);
    margin-bottom: 1rem;
}

.page-content .intro-text {
    font-size: 1.1rem;
    text-align: center;
    color: var(--rokn-text-muted);
    margin-bottom: 2.5rem;
}

/* Contact Info Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--rokn-light-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 181, 0.1);
}

.contact-card .contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rokn-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card p {
    margin: 0;
    font-size: 1.05rem;
}

.contact-card a {
    color: var(--rokn-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Policy / Terms Content */
.policy-content {
    background: var(--rokn-light-bg);
    border-radius: 16px;
    padding: 2rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.policy-content h1,
.policy-content h2,
.policy-content h3 {
    color: var(--rokn-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    margin-bottom: 0.75rem;
}

.policy-content ul,
.policy-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

[dir="rtl"] .policy-content ul,
[dir="rtl"] .policy-content ol {
    padding-left: 0;
    padding-right: 1.5rem;
}

.empty-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--rokn-text-muted);
    font-size: 1.1rem;
}

/* About — Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.offer-card {
    background: var(--rokn-light-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.offer-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rokn-primary);
    margin-bottom: 0.75rem;
}

.offer-card p {
    font-size: 0.95rem;
    color: var(--rokn-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   RTL Overrides
   ============================================= */
[dir="rtl"] .navbar-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .store-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

/* =============================================
   Responsive — Mobile First
   ============================================= */
@media (max-width: 991.98px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .nav-links {
        display: none;
    }

    .page-content h1 {
        font-size: 1.6rem;
    }

    .page-content h2 {
        font-size: 1.2rem;
    }

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

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

@media (max-width: 575.98px) {
    .landing-hero {
        padding: 3rem 0 2.5rem;
    }

    .landing-hero h1 {
        font-size: 1.8rem;
    }

    .hero-slogan {
        font-size: 1.05rem;
    }

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

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .landing-features {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        margin-bottom: 0.5rem;
    }

    .landing-skills {
        padding: 3rem 0;
    }

    .skill-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .landing-how-it-works {
        padding: 3rem 0;
    }

    .landing-footer .footer-cta {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 36px;
    }

    .navbar-brand span {
        font-size: 1.1rem;
    }

    .lang-toggle {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .landing-hero h1 {
        font-size: 2.2rem;
    }

    .store-btn {
        padding: 0.65rem 1.4rem;
    }
}
