/* Professional Legal Platform Design for Moje Pravo */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Royal Blue & White Professional Palette */
    --primary-900: #0e162a;    /* Royal blue - accent elements */
    --primary-800: #1a2332;    /* Darker royal blue */
    --primary-700: #293344;    /* Medium royal blue */
    --primary-600: #3d4a5f;    /* Light royal blue */
    --primary-500: #64748b;    /* Neutral gray */
    --primary-400: #94a3b8;    /* Light gray */
    --primary-300: #4b4b4b;    /* Lighter gray */
    --primary-200: #232323;    /* Very light gray */
    --primary-100: #ffffff;    /* Pure white - dominant */
    
    /* Royal Blue Accent Colors */
    --accent-blue: #0e162a;     /* Royal blue - primary accent */
    --accent-navy: #0a1220;     /* Deeper royal blue */
    --accent-gold: #b45309;     /* Professional gold accent */
    --accent-silver: #6b7280;   /* Professional silver */
    
    /* Status Colors - Muted Professional Versions */
    --success: #059669;         /* Muted green */
    --warning: #d97706;         /* Muted orange */
    --danger: #dc2626;          /* Muted red */
    --info: #0284c7;           /* Muted info blue */
    
    /* Royal Blue Gradients - Subtle */
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    --gradient-accent: linear-gradient(135deg, #0e162a 0%, #1a2332 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-warning: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --gradient-danger: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    
    /* Professional Shadows - Subtle */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    
    /* Glass Effect - Professional */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(14, 22, 42, 0.15);
    --glass-backdrop: blur(12px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-primary);
    color: var(--primary-900);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Mobile body padding override */
@media (max-width: 768px) {
    body {
        padding-top: 70px !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 65px !important;
    }
}

/* Mobile landscape orientation */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        padding-top: 60px !important;
    }
    
    .hero-fullscreen {
        height: calc(100vh - 60px) !important;
        margin-top: -60px !important;
        min-height: 400px;
    }
    
    .navbar {
        padding: 0.5rem 0 !important;
    }
}

/* Subtle Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(14, 22, 42, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(14, 22, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation - Professional */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-600) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-900) !important;
    background: rgba(14, 22, 42, 0.08);
}

/* Hero Section - Professional */
.hero-fullscreen {
    height: 100vh;
    background: transparent;
    position: relative;
    margin-top: 0; /* Pull back to account for body padding */
}

/* Minimal Hero Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    opacity: 0.03;
    animation: floatGentle 12s ease-in-out infinite;
}

.floating-icon i {
    font-size: 2rem;
    color: var(--accent-blue);
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 25px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-900);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-600);
    line-height: 1.6;
    max-width: 600px;
}

/* Professional Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Buttons - Professional */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-outline-hero {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-1px);
}

/* Trust Indicators - Professional */
.trust-indicators {
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    background: rgba(248, 250, 252, 0.12);
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.trust-icon.warning {
    background: var(--gradient-warning);
}

.trust-icon.info {
    background: linear-gradient(135deg, var(--info) 0%, var(--accent-blue) 100%);
}

.trust-icon.primary {
    background: var(--gradient-accent);
}

.trust-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-900);
}

.trust-text span {
    font-size: 0.9rem;
    color: var(--primary-400);
    font-weight: 500;
}

/* Hero Visual - Simplified */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-circle {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(30, 64, 175, 0.2);
}

.hero-main-icon {
    font-size: 6rem;
    color: white;
}

/* Justice Scale Design */
.justice-scale-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.scale-main {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: scaleFloat 6s ease-in-out infinite;
}

/* Scale Base */
.scale-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent-gold), #92400e);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
}

/* Scale Pillar */
.scale-pillar {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 120px;
    background: linear-gradient(to right, var(--accent-gold), #a16207, var(--accent-gold));
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(180, 83, 9, 0.4);
}

/* Scale Beam */
.scale-beam {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 6px;
    background: linear-gradient(to right, var(--accent-gold), #a16207, var(--accent-gold));
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(180, 83, 9, 0.4);
    animation: beamBalance 4s ease-in-out infinite;
}

/* Scale Pans */
.scale-pan {
    position: absolute;
    top: 10px;
    width: 50px;
    height: 50px;
}

.scale-pan-left {
    left: 10px;
    animation: panFloatLeft 4s ease-in-out infinite;
}

.scale-pan-right {
    right: 10px;
    animation: panFloatRight 4s ease-in-out infinite;
}

.pan-dish {
    width: 50px;
    height: 15px;
    background: linear-gradient(to bottom, #f59e0b, var(--accent-gold));
    border-radius: 50%;
    box-shadow: 
        0 2px 8px rgba(180, 83, 9, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
    position: relative;
}

.pan-dish::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50%;
}

/* Chains connecting pans to beam */
.pan-chain {
    position: absolute;
    top: -20px;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent-gold), #92400e);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}

/* Scale Glow Effect */
.scale-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

/* Decorative Stars */
.justice-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starTwinkle 2s ease-in-out infinite;
}

.star-1 {
    top: 20px;
    left: 30px;
    animation-delay: 0s;
}

.star-2 {
    top: 40px;
    right: 20px;
    animation-delay: 0.7s;
}

.star-3 {
    bottom: 60px;
    left: 20px;
    animation-delay: 1.4s;
}

/* Animations */
@keyframes scaleFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-8px) rotateY(5deg);
    }
}

@keyframes beamBalance {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-50%) rotate(-1deg);
    }
    75% {
        transform: translateX(-50%) rotate(1deg);
    }
}

@keyframes panFloatLeft {
    0%, 100% {
        transform: translateY(0px) rotate(-1deg);
    }
    50% {
        transform: translateY(-3px) rotate(1deg);
    }
}

@keyframes panFloatRight {
    0%, 100% {
        transform: translateY(0px) rotate(1deg);
    }
    50% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Remove excessive animations */
.orbit-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    opacity: 0.7;
}

/* Scroll Indicator - Minimal */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--primary-400);
    z-index: 2;
}

.scroll-text {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.scroll-arrow {
    font-size: 1.2rem;
    animation: gentleBounce 2s infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-fullscreen {
       min-height: 940px !important;
       margin-top: -90px !important;
    }

    .trust-indicators {
        display:none !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-outline-hero {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-circle {
        width: 180px;
        height: 180px;
    }
    
    .hero-main-icon {
        font-size: 4rem;
    }
    
    /* Justice scale responsive */
    .justice-scale-container {
        width: 220px;
        height: 220px;
    }
    
    .scale-main {
        width: 150px;
        height: 150px;
    }
    
    .scale-beam {
        width: 120px;
        height: 4px;
        top: 25px;
    }
    
    .scale-pillar {
        height: 90px;
        width: 6px;
        bottom: 12px;
    }
    
    .scale-base {
        width: 60px;
        height: 15px;
    }
    
    .scale-pan {
        width: 35px;
        height: 35px;
        top: 8px;
    }
    
    .pan-dish {
        width: 35px;
        height: 10px;
    }
    
    .pan-chain {
        height: 15px;
        top: -15px;
    }
    
    .scale-glow {
        width: 180px;
        height: 180px;
    }
    
    .star {
        width: 6px;
        height: 6px;
    }
    
    .trust-indicators {
        margin-top: 2rem;
    }
    
    .trust-item {
        padding: 0.75rem;
    }
    
    .trust-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        display: block !important;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        text-align: center !important;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}

/* Buttons - Professional */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    backdrop-filter: var(--glass-backdrop);
}

.btn-outline-primary:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Cards - Professional */
.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    color: var(--primary-900);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 64, 175, 0.2);
}

.card-header {
    background: rgba(14, 22, 42, 0.05) !important;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 12px 12px 0 0 !important;
    padding: 1.25rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-900);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--primary-600);
}

/* Category Cards - Professional */
.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue) !important;
}

.category-icon {
    font-size: 2.5rem !important;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Forms - Professional */
.form-control, .form-select {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--primary-900);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-backdrop);
}

.form-control:focus, .form-select:focus {
    background: var(--glass-bg);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(14, 22, 42, 0.25);
    color: var(--primary-900);
}

.form-control::placeholder {
    color: var(--primary-400);
}

.form-label {
    color: var(--primary-200);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--primary-400);
}

/* Progress Wizard - Professional */
.progress-wizard {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.progress-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-700);
    border: 2px solid var(--primary-600);
    color: var(--primary-400);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.progress-step.active {
    background: var(--gradient-accent);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.4);
}

.progress-step.completed {
    background: var(--gradient-success);
    border-color: var(--success);
    color: white;
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.4);
}

.progress-step.completed::after {
    content: '✓';
    position: absolute;
    font-size: 1.2rem;
    font-weight: 900;
}

.progress-step.completed span {
    opacity: 0;
}

.progress {
    height: 8px;
    background: var(--primary-700);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--primary-600);
}

.progress-bar {
    background: var(--success);
    transition: width 1s ease;
    border-radius: 4px;
}

/* Question Cards - Professional */
.question-card {
    background: var(--glass-bg);
    border-left: 3px solid var(--accent-blue);
    border-radius: 8px;
    backdrop-filter: var(--glass-backdrop);
    transition: all 0.3s ease;
}

.question-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.question-number {
    background: var(--gradient-accent);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Result Cards - Professional */
.result-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.result-icon.high {
    color: var(--success);
}

.result-icon.medium {
    color: var(--warning);
}

.result-icon.low {
    color: var(--danger);
}

/* Success Meter - Professional */
.success-meter {
    background: var(--glass-bg);
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.success-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease;
}

.success-fill.high { 
    background: var(--gradient-success);
}

.success-fill.medium { 
    background: var(--gradient-warning);
}

.success-fill.low { 
    background: var(--gradient-danger);
}

/* Alerts - Professional */
.alert {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: var(--glass-backdrop);
    color: var(--primary-200);
}

.alert-info {
    border-left: 3px solid var(--info);
}

.alert-warning {
    border-left: 3px solid var(--warning);
}

.alert-success {
    border-left: 3px solid var(--success);
}

.alert-danger {
    border-left: 3px solid var(--danger);
}

/* Footer - Professional */
footer {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    margin-top: 3rem;
}

/* Minimal Animations */
.fade-in {
    animation: fadeInUp 0.4s ease forwards;
}

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

/* Loading Spinner */
.spinner-border {
    color: var(--accent-blue);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary-800);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-navy);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .progress-step {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    
    .hero-content {
        top: 100px;
    }

    .hero-visual {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-hero,
    .btn-outline-hero {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-circle {
        width: 150px;
        height: 150px;
    }
    
    .hero-main-icon {
        font-size: 3rem;
    }
    
    .trust-indicators .row {
        gap: 0.5rem;
    }
    
    .trust-item {
        padding: 0.5rem 0.75rem;
    }
    
    .trust-text strong {
        font-size: 1rem;
    }
    
    .trust-text span {
        font-size: 0.8rem;
    }
}

/* Section Backgrounds - Subtle */
.section-dark {
    background: var(--primary-900);
    backdrop-filter: blur(10px);
}

.section-light {
    background: rgba(248, 250, 252, 0.03);
    backdrop-filter: blur(10px);
}

/* Professional Text Colors */
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }

/* Subtle Glow Effects */
.glow-blue {
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.2);
}

.glow-green {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.2);
}

.glow-yellow {
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
}

.glow-red {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

/* Section Badges - Professional */
.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 20px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--primary-300);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works Section - Professional */
.how-it-works-section {
    background: rgba(248, 250, 252, 0.02);
    backdrop-filter: blur(10px);
}

/* Remove excessive background decorations */
.section-bg-decoration {
    display: none;
}

/* Process Steps - Simplified */
.process-step {
    position: relative;
    z-index: 2;
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -10px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: rgba(30, 64, 175, 0.15);
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

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

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--primary-300);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-200);
}

.feature-item i {
    color: var(--success);
    font-size: 0.9rem;
}

/* CTA Button - Professional */
.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--gradient-accent);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Categories Section - Professional */
.categories-section {
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(10px);
}

/* Remove excessive background patterns */
.categories-bg,
.grid-pattern,
.floating-particles {
    display: none;
}

/* Enhanced Category Cards - Simplified */
.enhanced-category-card {
    height: 100%;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.category-card-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.enhanced-category-card:hover .category-card-inner {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.category-icon-container {
    position: relative;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.enhanced-category-card:hover .category-icon {
    background: rgba(30, 64, 175, 0.15);
    border-color: var(--accent-blue);
    transform: scale(1.1);
}

.category-number {
    background: var(--gradient-accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.category-content {
    flex: 1;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 0.75rem;
}

.category-description {
    color: var(--primary-300);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--primary-400);
}

.stat-item i {
    color: var(--success);
}

.category-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-900);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 20px;
    color: var(--primary-100);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-btn:hover {
    background: var(--gradient-accent);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-1px);
}

/* Help Card - Simplified */
.help-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.help-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
}

.help-card h4 {
    color: var(--primary-900);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.help-card p {
    color: var(--primary-300);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Contact Cards - Professional */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-cta .btn {
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.05);
}

/* Remove excessive patterns and animations */
.testimonials-bg,
.quote-patterns,
.testimonial-waves,
.faq-bg,
.question-marks,
.faq-gradient-waves {
    display: none;
}

/* Testimonial Cards - Professional */
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: var(--shadow-sm);
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--primary-200);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.avatar-circle.primary {
    background: var(--gradient-accent);
}

.avatar-circle.success {
    background: var(--gradient-success);
}

.avatar-circle.info {
    background: linear-gradient(135deg, var(--info) 0%, var(--accent-blue) 100%);
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-100);
    margin-bottom: 0.2rem;
}

.user-location {
    color: var(--primary-400);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.case-type {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--primary-300);
}

.case-type i {
    color: var(--accent-blue);
}

.success-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
}

.success-badge i {
    color: var(--success);
    font-size: 1rem;
}

.success-badge span {
    color: var(--success);
    font-weight: 500;
}

/* FAQ Section - Professional */
.faq-section {
    background: rgba(248, 250, 252, 0.02);
    backdrop-filter: blur(10px);
}

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

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(248, 250, 252, 0.05);
}

.question-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.question-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.question-content h4 {
    color: var(--primary-200);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.question-toggle {
    width: 30px;
    height: 30px;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .question-toggle {
    background: var(--gradient-accent);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    border-top: 1px solid var(--glass-border);
}

.answer-content {
    padding: 1.5rem;
    color: var(--primary-300);
    font-size: 1rem;
    line-height: 1.6;
}

/* Remove excessive styling elements */
.answer-highlights,
.security-features,
.coverage-areas {
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--primary-200);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
}

.highlight-item i {
    color: var(--success);
}

/* Testimonial Summary - Simplified */
.testimonial-summary {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

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

.summary-stat h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.25rem;
}

.summary-stat p {
    color: var(--primary-400);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Professional Modal Styling */
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid var(--glass-border);
}

.modal-title {
    color: var(--primary-100);
}

.btn-close {
    filter: invert(1);
}

.navbar-toggler {
    background-color: var(--primary-900);
}

@keyframes tiltScale {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

.hero-circle.animate-tilt {
    animation: tiltScale 4s ease-in-out infinite;
    transform-origin: center;
}
