/*
Theme Name: Ishgh Jaan - Indian Dating
Theme URI: https://ishqjaan.dating/
Author: Tachara LLC
Author URI: https://ishqjaan.dating/
Description: A stunning Indian dating theme with beautiful animations for finding true love within the Indian community worldwide.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ishghjaan
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ============================================
   CSS CUSTOM PROPERTIES - Ishgh Jaan Theme
   ============================================ */
:root {
    /* Color Palette - Warm Indian Inspired */
    --color-primary: #C41E3A;
    /* Rose Red */
    --color-primary-dark: #9B1A2F;
    --color-primary-light: #E63950;
    --color-secondary: #D4AF37;
    /* Gold */
    --color-secondary-dark: #B8972E;
    --color-accent: #40E0D0;
    /* Turquoise */
    --color-accent-glow: rgba(64, 224, 208, 0.4);

    /* Background Colors */
    --color-deep: #1A0A10;
    /* Deep burgundy-black */
    --color-deep-secondary: #2C0A16;
    --color-surface: rgba(255, 255, 255, 0.06);
    --color-surface-hover: rgba(255, 255, 255, 0.12);
    --color-surface-strong: rgba(255, 255, 255, 0.16);

    /* Text Colors */
    --color-text: #FEFEFE;
    --color-text-secondary: rgba(255, 255, 255, 0.85);
    --color-muted: rgba(255, 255, 255, 0.65);
    --color-border: rgba(255, 255, 255, 0.12);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--color-deep) 0%, rgba(196, 30, 58, 0.25) 50%, var(--color-deep-secondary) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    --gradient-gold: linear-gradient(135deg, var(--color-secondary) 0%, #F4D03F 50%, var(--color-secondary-dark) 100%);
    --gradient-button: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(196, 30, 58, 0.3) 0%, transparent 70%);

    /* Sizing & Spacing */
    --radius-xl: 2rem;
    --radius-lg: 1.25rem;
    --radius-md: 0.85rem;
    --radius-sm: 0.5rem;
    --radius-full: 999px;

    /* Shadows */
    --shadow-xl: 0 30px 80px rgba(26, 10, 16, 0.8);
    --shadow-glow: 0 0 40px rgba(196, 30, 58, 0.4);
    --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-soft: 0 20px 50px rgba(26, 10, 16, 0.5);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);

    /* Typography - English First */
    --font-heading: "Playfair Display", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-deep);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    min-height: 100vh;
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
    opacity: 0.9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   SITE WRAPPER & LAYOUT
   ============================================ */
.site-wrapper {
    min-height: 100vh;
    position: relative;
    background: var(--gradient-hero);
}

.main-content {
    overflow: hidden;
    position: relative;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: rgba(26, 10, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-medium);
}

.site-header.is-scrolled {
    background: rgba(26, 10, 16, 0.95);
    box-shadow: var(--shadow-soft);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.brand-mark {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.brand-mark:hover {
    transform: scale(1.02);
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-mark__text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

/* Language Toggle (Home) */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-toggle__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.lang-toggle__btn:hover {
    transform: translateY(-1px);
}

.lang-toggle__btn.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

body.lang-en .header-inner {
    flex-direction: row;
}

body.lang-en .primary-nav a::after {
    left: 0;
    right: auto;
}



/* Navigation */
.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-medium);
}

.primary-nav a:hover,
.primary-nav .current-menu-item>a {
    color: var(--color-secondary);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item>a::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 11rem 2rem 6rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Animated Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    animation: glow-pulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Particle Container */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg) scale(0);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) rotate(720deg) scale(1);
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-shapes span {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float-shape 20s infinite ease-in-out;
}

.floating-shapes span:nth-child(1) {
    width: 300px;
    height: 300px;
    background: rgba(196, 30, 58, 0.15);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.floating-shapes span:nth-child(2) {
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.12);
    top: 60%;
    left: 10%;
    animation-delay: 7s;
}

.floating-shapes span:nth-child(3) {
    width: 250px;
    height: 250px;
    background: rgba(64, 224, 208, 0.1);
    bottom: 20%;
    right: 25%;
    animation-delay: 14s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

/* Hero Content */
.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    color: var(--color-text);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-content h1 .text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
}

/* Hero Buttons */
.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.button,
.wp-element-button,
button,
input[type="submit"] {
    border: none;
    border-radius: var(--radius-full);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.button--primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
}

.button--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button--primary:hover::before {
    left: 100%;
}

.button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.5), 0 0 60px rgba(196, 30, 58, 0.3);
}

.button--secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    padding: 1rem 2rem;
}

.button--secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Google Play Download Button */
.button--google-play {
    background: linear-gradient(135deg, #34A853 0%, #0F9D58 50%, #1DB954 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.4);
    font-size: 1.15rem;
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.button--google-play .google-play-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.button--google-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.button--google-play:hover::before {
    left: 100%;
}

.button--google-play:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(52, 168, 83, 0.5), 0 0 60px rgba(52, 168, 83, 0.3);
}

.button--wide {
    min-width: 200px;
}

.button--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-secondary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section--features {
    background: linear-gradient(180deg, var(--color-deep-secondary) 0%, var(--color-deep) 100%);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    color: var(--color-text);
}

.section__subtitle {
    color: var(--color-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.animate-in {
    animation: slide-up 0.6s ease forwards;
}

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-card), 0 0 40px rgba(212, 175, 55, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--gradient-button);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
    transition: transform var(--transition-medium);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.8;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.section--stats {
    background: var(--color-deep);
    padding: 5rem 2rem;
    position: relative;
}

.section--stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    opacity: 0;
    transform: scale(0.8);
}

.stat-item.animate-in {
    animation: scale-in 0.5s ease forwards;
}

@keyframes scale-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    color: var(--color-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.section--testimonials {
    background: linear-gradient(180deg, var(--color-deep) 0%, var(--color-deep-secondary) 100%);
    padding: 6rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate-in {
    animation: slide-up 0.6s ease forwards;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card__text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-button);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.testimonial-card__info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text);
}

.testimonial-card__info span {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.section--cta {
    background: var(--gradient-hero);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.2) 0%, transparent 70%);
    animation: cta-glow 6s ease-in-out infinite;
}

@keyframes cta-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--color-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-deep);
    padding: 3rem 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    text-align: right;
}

.footer a {
    color: var(--color-secondary);
    transition: color var(--transition-fast);
}

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

.footer-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__heart {
    color: var(--color-primary);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer__separator {
    color: var(--color-border);
}

/* ============================================
   FREE FEATURES SECTION
   ============================================ */
.section--free-features {
    background: linear-gradient(180deg, var(--color-deep) 0%, var(--color-deep-secondary) 100%);
    padding: 5rem 2rem;
    position: relative;
}

.section--free-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.free-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.free-feature-card {
    background: var(--gradient-card);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.free-feature-card.animate-in {
    animation: slide-up 0.6s ease forwards;
}

.free-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.free-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-card), 0 0 40px rgba(64, 224, 208, 0.2);
}

.free-feature-card:hover::before {
    transform: scaleX(1);
}

.free-feature-card__icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(64, 224, 208, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
    transition: transform var(--transition-medium);
}

.free-feature-card:hover .free-feature-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.free-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--color-text);
}

.free-feature-card p {
    color: var(--color-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.8;
}

/* ============================================
   SURFACE & UTILITY CLASSES
   ============================================ */
.surface-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

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

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

/* ============================================
   CONTENT DIRECTION (LTR/RTL)
   ============================================ */
.content-ltr {
    direction: ltr;
    text-align: left;
}

.content-ltr .section__title {
    text-align: left;
}

.content-ltr .entry-content {
    text-align: left;
}

.content-ltr .entry-content p,
.content-ltr .entry-content li,
.content-ltr .entry-content h1,
.content-ltr .entry-content h2,
.content-ltr .entry-content h3,
.content-ltr .entry-content h4,
.content-ltr .entry-content h5,
.content-ltr .entry-content h6 {
    text-align: left;
}

.content-rtl {
    direction: rtl;
    text-align: right;
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal animation helper */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        padding: 7rem 1.5rem 5rem;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        /* flex-direction: column; Removed to fix overlap/overflow issues */
        gap: 1rem;
        padding: 1rem;
    }

    .primary-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 12rem 1rem 4rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-meta {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 4rem 1rem;
    }

    .feature-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item__number {
        font-size: 2.5rem;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section__eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .button--primary {
        width: 100%;
        justify-content: center;
    }

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

    .floating-shapes span {
        display: none;
    }
}

/* ============================================
   HELP & FAQ SECTION
   ============================================ */
.help-hero {
    position: relative;
    padding: 10rem 2rem 5rem;
    text-align: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0.3;
}

.help-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.section--faq {
    background: linear-gradient(180deg, var(--color-deep-secondary) 0%, var(--color-deep) 100%);
    padding: 5rem 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-item--open {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-glow-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-toggle {
    margin-right: auto;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-secondary);
    transition: transform var(--transition-medium);
}

.faq-item--open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item--open .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin: 0;
}

.faq-answer strong {
    color: var(--color-secondary);
}

/* ============================================
   SAFETY SECTION
   ============================================ */
.section--safety {
    background: var(--color-deep);
    padding: 5rem 2rem;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.safety-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.safety-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.safety-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-card);
}

.safety-card:hover::before {
    transform: scaleX(1);
}

.safety-card--emergency {
    border-color: rgba(196, 30, 58, 0.5);
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.1), rgba(255, 255, 255, 0.02));
}

.safety-card--emergency::before {
    background: var(--gradient-button);
}

.safety-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-button);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
}

.safety-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0 0 1rem;
    color: var(--color-text);
}

.safety-card h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin: 1.5rem 0 0.75rem;
}

.safety-card__content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.safety-card__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safety-card__content li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.safety-card__content li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.safety-card__content li strong {
    color: var(--color-text);
}

/* ============================================
   PRIVACY POLICY SECTION
   ============================================ */
.section--privacy {
    background: linear-gradient(180deg, var(--color-deep-secondary) 0%, var(--color-deep) 100%);
    padding: 4rem 2rem;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-medium);
}

.privacy-section:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.privacy-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-icon {
    font-size: 1.3rem;
}

.privacy-section h3 {
    font-size: 1.15rem;
    color: var(--color-secondary);
    margin: 1.5rem 0 0.75rem;
}

.privacy-section p {
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.privacy-section li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.privacy-section li::before {
    content: '◆';
    position: absolute;
    right: 0;
    color: var(--color-accent);
    font-size: 0.6rem;
    top: 0.5rem;
}

.privacy-section li strong {
    color: var(--color-text);
}

.privacy-note {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: var(--color-accent) !important;
    font-size: 0.95rem;
}

.privacy-section--update {
    text-align: center;
    background: transparent;
    border: none;
    padding: 2rem 0 0;
}

.update-date {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: var(--color-secondary);
}

.contact-info a:hover {
    color: var(--color-accent);
}

/* Contact Section in Help Page */
.section--contact {
    background: var(--gradient-hero);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.section--contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive adjustments for Help & Privacy */
@media (max-width: 768px) {
    .help-hero {
        padding: 8rem 1rem 4rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }

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

    .safety-card {
        padding: 1.5rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   BILINGUAL LANGUAGE SECTIONS
   ============================================ */
.language-section {
    padding: 0;
}

.language-section[dir="ltr"] {
    text-align: left;
}

.language-section[dir="ltr"] .section__header {
    text-align: left;
}

.language-section[dir="ltr"] .faq-question {
    text-align: left;
}

.language-section[dir="ltr"] .safety-card__content li::before,
.language-section[dir="ltr"] .privacy-section li::before {
    right: auto;
    left: 0;
}

.language-section[dir="ltr"] .safety-card__content li,
.language-section[dir="ltr"] .privacy-section li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.language-section[dir="ltr"] .faq-toggle {
    margin-right: 0;
    margin-left: auto;
}

.language-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--gradient-card);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}

.language-flag {
    font-size: 2rem;
}

.language-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
}

.language-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    background: var(--color-deep);
}

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.divider-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

/* Responsive adjustments for bilingual sections */
@media (max-width: 768px) {
    .language-header {
        padding: 1.5rem;
    }

    .language-flag {
        font-size: 1.5rem;
    }

    .language-title {
        font-size: 1.25rem;
    }

    .language-divider {
        padding: 2rem 1rem;
    }

    .divider-line {
        max-width: 100px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .hero::before,
    .floating-shapes,
    #particles-container {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   MOBILE NAVIGATION & RESPONSIVE FIXES
   ============================================ */

.mobile-nav-toggle {
    display: none;
    /* Hidden on desktop */
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1002;
    /* Higher than header z-index */
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform, opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .header-inner {
        padding: 0.5rem 1.5rem;
        flex-wrap: wrap;
        /* Allow wrapping if needed, though we position absolute nav */
    }

    /* Show Toggle */
    .mobile-nav-toggle {
        display: flex;
        order: 10;
        /* Ensure it is at the end or specific position */
    }

    /* Brand Logo */
    .brand-mark {
        z-index: 1002;
    }

    /* Primary Nav Overlay */
    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 100vh;
        background: rgba(10, 5, 8, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* changed from center to avoid cutting off top items */
        padding-top: 120px;
        /* Push menu down below header/safe area */
        overflow-y: auto;
        /* Allow scrolling if menu is tall */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-20px);
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .primary-nav a {
        font-size: 1.5rem;
        padding: 0.5rem;
        display: block;
    }

    .primary-nav a::after {
        display: none;
        /* Remove underline effect on mobile for cleaner look */
    }

    /* Language Toggle Fix */
    .lang-toggle {
        display: flex;
        margin: 0;
        z-index: 1002;
    }

    /* Order adjustment based on row-reverse (L->R visual) */
    /* Items: Brand, MobileToggle, Nav, LangToggle */
    /* We want: [Brand (Left)] ... [Lang] [Toggle (Right)] */

    /* Since flex-direction is row-reverse (L->R):
       1. Brand
       2. Mobile Toggle
       3. Nav (Hidden/Fixed)
       4. Lang Toggle
    */

    /* To visually arrange: Brand (Left), Lang (Right-ish), Toggle (Right-Far) */
    .header-inner {
        display: flex;
        /* Force LTR direction for mobile header control explicitly if needed, 
           or keep row-reverse (L->R). Let's stick to existing row-reverse.
           Start (Left): Brand.
           End (Right): Lang, Toggle. 
        */
        justify-content: space-between;
        align-items: center;
    }

    .brand-mark {
        margin-left: auto;
        /* Push others to right? No, jusitfy-between handles it */
        flex-grow: 1;
    }

    .mobile-nav-toggle {
        margin-left: 1rem;
        /* Space from Lang */
    }

    /* Hamburger Animation */
    .mobile-nav-toggle.is-active .hamburger-inner {
        background-color: transparent;
    }

    .mobile-nav-toggle.is-active .hamburger-inner::before {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.is-active .hamburger-inner::after {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* Footer Responsive Improvements */
.footer {
    padding: 3rem 2rem;
    background: var(--color-deep-secondary);
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer__links a {
    color: var(--color-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--color-secondary);
}

.footer__separator {
    color: var(--color-border);
    font-size: 0.8rem;
}

.footer__brand {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer__separator {
        display: none;
    }

    .footer__brand {
        flex-direction: column;
    }
}


/* ============================================
   APP DOWNLOAD BANNER
   ============================================ */
.app-download-banner {
    background: linear-gradient(90deg, var(--color-deep-secondary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 101;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.store-badge {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.store-badge img {
    height: 28px;
    width: auto;
    display: block;
}

.store-badge:hover {
    transform: scale(1.05);
}

.animate-pulse {
    animation: banner-pulse 2s infinite ease-in-out;
}

@keyframes banner-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .banner-content {
        gap: 0.5rem;
        flex-direction: row;
        /* Ensure row layout */
        flex-wrap: nowrap;
        /* Prevent wrapping if possible, or use wrap */
        justify-content: center;
    }

    .banner-text {
        font-size: 0.75rem;
    }

    .store-badge img {
        height: 22px;
        /* Slightly smaller for mobile header */
    }

    .google-play-hero-btn img {
        height: 40px !important;
        /* Override inline style for mobile */
    }
}

.google-play-hero-btn {
    transition: transform var(--transition-fast);
    display: inline-block;
}

.google-play-hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}