:root {
    --primary-dark: #00009F;
    --primary-bright: #0066FF;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-bright) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 159, 0.3);
    transition: box-shadow 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 159, 0.4);
}

.navbar-brand {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: white !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 8px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link.active {
    color: white !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 159, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

header {
    background: linear-gradient(135deg, rgba(0, 0, 159, 0.95) 0%, rgba(0, 102, 255, 0.95) 100%);
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 159, 0.3);
}

header h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
    color: white !important;
}

header p {
    color: white !important;
}

.content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-bright), var(--primary-dark));
    border-radius: 16px 16px 0 0;
}

h2 {
    color: var(--primary-bright);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-bright), transparent);
    border-radius: 2px;
}

h3 {
    color: var(--primary-dark);
    font-weight: 600;
}

h5 {
    color: var(--text-dark);
}

p {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-light) !important;
}

.lead {
    color: var(--text-light);
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-bright);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-bright), var(--primary-dark));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
}

.feature-card h3 {
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-light);
}

code {
    background: var(--bg-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-dark);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Code block wrapper with copy button */
.code-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.code-wrapper .copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8f8f2;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    line-height: 1;
}

.code-wrapper .copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.code-wrapper .copy-btn:active {
    transform: translateY(0);
}

.code-wrapper .copy-btn.copied {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.3);
    color: #4ade80;
}

.code-wrapper .copy-btn.copied::after {
    content: ' Copied!';
    margin-left: 4px;
}

pre {
    background: #1e1e1e;
    color: #f8f8f2;
    padding: 16px 24px;
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

.code-wrapper pre {
    margin-bottom: 0;
    padding-right: 120px;
}

pre code {
    background: none;
    padding: 0;
    color: #f8f8f2;
    border: none;
}

.install-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-bright) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.install-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 15s ease-in-out infinite;
}

.install-section h2 {
    color: white !important;
}

.install-section h2::after {
    background: linear-gradient(90deg, white, transparent);
}

.install-section pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.install-section p {
    color: white !important;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.3);
    color: white !important;
    border-radius: 20px;
    font-size: 0.9em;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

a {
    color: var(--primary-bright);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

a:hover {
    color: var(--primary-dark);
}

.content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-bright);
    transition: width 0.3s ease;
}

.content a:hover::after {
    width: 100%;
}

.install-section a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Contact Form Styles */
.contact-form .form-control:focus {
    border-color: var(--primary-bright);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.25);
}

.feedback-form .form-control:focus {
    border-color: var(--primary-bright);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-bright));
    border: none;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
    background: linear-gradient(135deg, var(--primary-bright), var(--primary-dark));
}

.btn-outline-primary {
    color: var(--primary-bright);
    border-color: var(--primary-bright);
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-bright);
    border-color: var(--primary-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    color: white !important;
}

.text-primary {
    color: var(--primary-bright) !important;
}

/* Card enhancements */
.card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
}

.card-title {
    color: var(--text-dark);
}

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

.list-group-item h5,
.list-group-item h6 {
    color: var(--text-dark);
}

.list-group-item p {
    color: var(--text-light);
}

.accordion-button {
    color: var(--text-dark);
}

.accordion-body {
    color: var(--text-light) !important;
}

form label {
    color: var(--text-dark);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}
