/* ============================================
   TuitioHub - Public Pages Shared Styles
   Modern SaaS Design System
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --primary-lighter: #A5B4FC;
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --accent-color: #F59E0B;
    --accent-dark: #D97706;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.3);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    --gradient-hero-animated: linear-gradient(-45deg, #4F46E5, #7C3AED, #EC4899, #6366F1);
    --gradient-gps: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 2rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   Navigation
   ============================================ */
.public-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.public-navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.public-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.public-navbar .navbar-brand svg,
.public-navbar .navbar-brand img {
    width: 400px;
    height: 75px;
}

.public-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-fast);
}

.public-navbar .nav-link:hover {
    color: var(--primary-color);
}

.public-navbar .nav-link.active {
    color: var(--primary-color);
}

.public-navbar .btn-nav-login {
    color: var(--primary-color);
    font-weight: 600;
}

.public-navbar .btn-nav-trial {
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.public-navbar .btn-nav-trial:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

/* Language Switcher in Navbar */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--bg-light);
    border-radius: 50px;
    margin-left: 0.5rem;
}

[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 0.5rem;
}

.lang-switch button {
    border: none;
    background: transparent;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-muted);
}

.lang-switch button.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.lang-switch button:hover:not(.active) {
    color: var(--text-dark);
}

/* ============================================
   Hero Section Base - Modern Animated
   ============================================ */
.hero-section {
    padding: 8rem 0 5rem;
    background: var(--gradient-hero-animated);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating particles effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
    animation: floatParticles 20s ease-in-out infinite;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-section p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-note span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Hero Image/Visual */
.hero-visual {
    position: relative;
}

.hero-visual img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-map-preview {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: white;
}

.section-dark {
    background: var(--text-dark);
    color: white;
}

.section-gradient {
    background: var(--gradient-primary);
    color: white;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-dark .section-title,
.section-gradient .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-dark .section-subtitle,
.section-gradient .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-icon.icon-gps {
    background: var(--gradient-gps);
}

.feature-icon.icon-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* GPS Showcase Feature Card */
.feature-card.gps-highlight {
    background: var(--gradient-gps);
    color: white;
    border: none;
}

.feature-card.gps-highlight .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card.gps-highlight h3 {
    color: white;
}

.feature-card.gps-highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-toggle {
    display: inline-flex;
    background: var(--bg-light);
    padding: 0.25rem;
    border-radius: 50px;
    margin-bottom: 3rem;
}

.pricing-toggle button {
    border: none;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-muted);
}

.pricing-toggle button.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    height: 100%;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.15);
    transform: translateY(-8px);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.2);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 35px 70px rgba(79, 70, 229, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin: 1.5rem 0;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pricing-price .period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.pricing-features li ion-icon {
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-pricing {
    width: 100%;
    padding: 0.875rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-pricing-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-pricing-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-pricing-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-pricing-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-lighter);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   How It Works / Steps
   ============================================ */
.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Step connector line */
.steps-container {
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

[dir="rtl"] .steps-container::before {
    left: 25%;
    right: 25%;
}

@media (max-width: 768px) {
    .steps-container::before {
        display: none;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero-animated);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-section .btn-hero-primary {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Footer
   ============================================ */
.public-footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand svg,
.footer-brand img {
    width: 40px;
    height: 40px;
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.footer-newsletter input::placeholder {
    color: var(--text-light);
}

.footer-newsletter button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-newsletter button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-lang-switch button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-lang-switch button.active,
.footer-lang-switch button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ============================================
   Forms
   ============================================ */
.form-floating-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control-custom {
    width: 100%;
    padding: 1rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: white;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-label-custom {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--text-dark);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.section-dark .stat-number,
.section-gradient .stat-number {
    color: white;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-dark .stat-label,
.section-gradient .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question ion-icon {
    transition: var(--transition-fast);
    color: var(--primary-color);
}

.faq-item.active .faq-question ion-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Slide in animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.in-view,
.slide-in-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.in-view {
    opacity: 1;
    transform: scale(1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Floating animation */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Bounce animation */
.bounce {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.gps-pulse {
    position: relative;
}

.gps-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    animation: gps-pulse-animation 2s infinite;
}

@keyframes gps-pulse-animation {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* ============================================
   Glassmorphism Effects
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Enhanced Hover Effects
   ============================================ */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Button hover shimmer effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::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;
}

.btn-shimmer:hover::before {
    left: 100%;
}

/* ============================================
   Modern Card Variants
   ============================================ */
.card-modern {
    background: white;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-gradient {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

/* ============================================
   Gradient Text
   ============================================ */
.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: var(--gradient-gps);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Trusted By / Logos
   ============================================ */
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.trusted-logos img {
    height: 40px;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

.trusted-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   Contact Info Cards
   ============================================ */
.contact-info-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Values Grid
   ============================================ */
.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 7rem 0 4rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .public-navbar .navbar-nav {
        padding: 1rem 0;
    }

    .lang-switch {
        margin: 1rem 0;
    }
}

/* ============================================
   RTL Support
   ============================================ */
[dir="rtl"] .hero-section {
    text-align: right;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
}

[dir="rtl"] .hero-note {
    justify-content: flex-start;
}

[dir="rtl"] .footer-description {
    text-align: right;
}

[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

[dir="rtl"] .pricing-features li {
    flex-direction: row-reverse;
}

[dir="rtl"] .pricing-features li ion-icon {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 768px) {
    [dir="rtl"] .hero-section {
        text-align: center;
    }

    [dir="rtl"] .hero-buttons {
        justify-content: center;
    }

    [dir="rtl"] .hero-note {
        justify-content: center;
    }
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.legal-content .last-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-toc {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.legal-toc h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.legal-toc a:hover {
    text-decoration: underline;
}

/* ============================================
   Utility Classes
   ============================================ */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.rounded-3 { border-radius: var(--border-radius); }
.rounded-4 { border-radius: var(--border-radius-lg); }
.rounded-5 { border-radius: var(--border-radius-xl); }

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-gps {
    background: var(--gradient-gps);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
button:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .public-navbar,
    .cta-section,
    .public-footer {
        display: none !important;
    }

    .legal-content {
        padding: 0;
    }
}
