:root {
    --glass-bg: rgba(255,255,255,0.7);
    --glass-blur: 8px;
    --svg-blob: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M200,60 Q260,100 220,200 Q180,300 100,260 Q40,200 100,120 Q160,40 200,60 Z' fill='%23667eea' fill-opacity='0.08'/%3E%3C/svg%3E");
}

body {
    background: var(--svg-blob) repeat fixed;
}

.glass-card, .modal-content {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--box-shadow-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(102,126,234,0.08);
    pointer-events: auto;
}

.modal-content * {
    pointer-events: auto !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    animation: gradientMove 12s ease-in-out infinite alternate;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.feature-card {
    transition: box-shadow 0.3s, transform 0.3s;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(102,126,234,0.08);
}

.feature-card:hover {
    box-shadow: 0 8px 32px rgba(102,126,234,0.15);
    transform: scale(1.04) translateY(-6px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: var(--box-shadow);
    transition: background 0.4s, box-shadow 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6b46c1 0%, #667eea 100%);
    box-shadow: 0 8px 32px rgba(102,126,234,0.15);
    transform: scale(1.05) translateY(-2px);
}

.card-title, h1, h2, h3, h4, h5 {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.lead, p, li {
    font-size: 1.08rem;
    color: #334155;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

.svg-bg {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    z-index: 0;
    background: var(--svg-blob);
    pointer-events: none;
}

/* Subtle fade-in for all sections */
section, .container, .card, .modal-content {
    animation: fadeIn 0.8s cubic-bezier(.39,.575,.565,1) both;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --box-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link.active {
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease-in-out;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

.feature-card .feature-icon {
    transition: transform 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.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%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

/* Hero Image Enhancement */
.hero-image-overlay {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.hero-overlay-content {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pricing Cards */
.pricing {
    font-size: 2.5rem;
    line-height: 1;
}

.card.border-primary {
    border-width: 2px !important;
    position: relative;
    transform: scale(1.05);
}

/* Forms */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Dashboard Styles */
.dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-lg);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: -webkit-match-parent;
    text-align: inherit;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Progress Bars */
.progress {
    height: 12px;
    border-radius: 6px;
    background-color: #f1f5f9;
}

.progress-bar {
    border-radius: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border-left: 4px solid var(--info-color);
}

.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border-left: 4px solid var(--warning-color);
}

/* Tables */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
    font-weight: 600;
    color: var(--dark-color);
}

/* Badges */
.badge {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .card.border-primary {
        transform: none;
    }
    
    .pricing {
        font-size: 2rem;
    }
}

/* Hero Section Responsive Improvements */
.hero-section .row {
    min-height: initial;
}

/* Hero image styles - disabled but kept for reference */
/*
.hero-image-container {
    width: 100%;
    padding: 0 2rem;
}

.hero-image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}
*/

@media (max-width: 992px) {
    .hero-section .row {
        min-height: 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .hero-section .row {
        min-height: 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Removed color-adjust for compatibility */
/* .color-adjust { }
   Use supported color properties instead. */

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

footer {
    background: #343a40;
    color: #fff;
    padding: 1.5rem 0;
}

footer a {
    color: #007bff;
}

footer a:hover {
    text-decoration: underline;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
}

.card-text {
    margin-bottom: 1rem;
}

.btn {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-top: 1px solid #dee2e6;
}

th {
    background: #f8f9fa;
}

blockquote {
    margin: 0;
    padding: 0.5rem 1rem;
    border-left: 0.25rem solid #007bff;
    background: #f8f9fa;
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote footer {
    font-size: 0.875rem;
    color: #6c757d;
}