/* Workbench Custom Styles */

:root {
    /* Color Palette from Icon */
    --primary-blue: #4A90E2;
    --primary-blue-light: #6BB6FF;
    --primary-blue-dark: #2563A0;
    --primary-blue-lighter: #9AD1FF;
    --secondary-purple: #9B59B6;
    --accent-teal: #16A085;
    --accent-green: #27AE60;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    --gradient-light: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue-lighter) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

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

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

/* Navigation */
.navbar {
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.55) !important;
    transition: all 0.3s ease;
     -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
}

.navbar .notch {
    display: none;
    position: absolute;
    background: url('../notch.png');
    background-image: -webkit-image-set(
        url('../notch.png') 1x,
        url('../notch@2x.png') 2x
    );
    background-image: image-set(
        url('../notch.png') 1x,
        url('../notch@2x.png') 2x
    );
    width: 244px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand {
    font-weight: 700;
    color: var(--dark-gray) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #1d1d1f !important;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
}

.navbar-nav .btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 0.8rem;
    padding: 0.35rem 1rem !important;
    line-height: 1.2;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.navbar-nav .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    color: white;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: var(--gradient-primary);
    border: none;
}

.btn-outline-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    top: -40px;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-icon {
    width: 400px;
    height: 400px;
    filter: drop-shadow(0 20px 40px rgba(74, 144, 226, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.15);
}

.feature-card:hover::before {
    left: 100%;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.icon-circle.bg-primary {
    background: var(--gradient-primary);
}

.icon-circle.bg-secondary {
    background: var(--gradient-secondary);
}

.icon-circle.bg-success {
    background: var(--gradient-accent);
}

.icon-circle.bg-info {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--secondary-purple) 100%);
}

/* User Cards */
.user-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.15);
}

.user-card .icon-circle {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* Benefits Section */
.benefits-image {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 20px 40px rgba(74, 144, 226, 0.2));
}

.benefit-item .icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

/* CTA Section */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="20" cy="20" r="20" fill="url(%23g)"/><circle cx="80" cy="80" r="25" fill="url(%23g)"/><circle cx="40" cy="70" r="15" fill="url(%23g)"/></svg>');
    background-size: 200px 200px;
    animation: float-bg 20s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes float-bg {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-badge {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.cta-badge:hover {
    transform: translateY(-5px) scale(1.05);
}

.cta-badge img {
    border-radius: 8px;
    transition: all 0.3s ease;
}

/*.Footer */
.footer {
	color: white;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (min-width: 992px) {
    .navbar {
        padding: 0;
        height: 44px;
    }
    .navbar .notch {
        display: block;
    }
    .navbar-nav .btn {
        position: relative;
        top: 3px;
    }
    .navbar-brand span {
        display: none;
    }
}
@media (max-width: 768px) {
    .navbar {
        padding-top: env(safe-area-inset-top, 20px);
        padding-bottom: 0.5rem;
    }
    
    .navbar-brand {
        margin-top: 0.5rem;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        width: 250px;
        height: 250px;
    }
    
    .hero-image::before {
        width: 300px;
        height: 300px;
    }

    .benefits-image {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Shadow */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}