html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
}

.hero-gradient {
    background: linear-gradient(135deg, #3B807D 0%, #0F395F 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #3B807D 0%, #0F395F 100%);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 128, 125, 0.3);
}

.section-title {
    background: linear-gradient(135deg, #3B807D 0%, #0F395F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3B807D 0%, #0F395F 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 128, 125, 0.3);
}

.btn-primary:hover {
    background: #2CB9A7;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(44, 185, 167, 0.4);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10000;
    max-height: 90vh;
    overflow-y: auto;
}

.rich-text-editor {
    min-height: 200px;
    border: 2px solid #e5e7eb;
    padding: 16px;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.rich-text-editor:focus {
    border-color: #3B807D;
    outline: none;
}

.toolbar {
    border: 2px solid #e5e7eb;
    border-bottom: none;
    padding: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px 12px 0 0;
}

.toolbar button {
    margin-right: 8px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toolbar button:hover {
    background: #3B807D;
    color: white;
    border-color: #3B807D;
}

.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stats-card {
    background: linear-gradient(135deg, #3B807D 0%, #0F395F 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(59, 128, 125, 0.2);
}

.stats-card-2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.2);
}

.stats-card-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(67, 233, 123, 0.2);
}

.stats-card-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(250, 112, 154, 0.2);
}

.nav-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.content-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

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

.input-field {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.input-field:focus {
    border-color: #3B807D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 128, 125, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 640px) {
    .nav-glass {
        padding: 0.5rem 0;
    }
    
    .dashboard-nav-btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
    
    .dashboard-card {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .rich-text-editor {
        min-height: 150px;
        font-size: 0.875rem;
    }
    
    .toolbar {
        padding: 0.5rem;
    }
    
    .toolbar button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}